A method for automatic generation of a bill of materials for a gas delivery apparatus

CN122988958APending Publication Date: 2026-10-27SHANGHAI ZHENGFAN TECH +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611206658.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-10
Publication Date
2026-10-27

AI Technical Summary

Technical Problem

[0003]现有人工设计模式存在四大固有缺陷:(1)缺乏设备系列的标准化编码体系,无法实现基于工况参数的确定性自动匹配

Benefits of technology

[0018]本申请所述的一种气体输送设备物料清单的自动生成方法,通过多维分层编码实现输入气体介质后自动输出唯一适配设备系列,彻底替代人工逐条核对参数,大幅提升选型效率;采用配置参数表标记语法统一管理配置互斥、级联约束,规避人为误选;通过生成可逆配置摘要码打通全链路数据联动;通过执行气体兼容性安全筛选、品牌匹配筛选、配套零件自动关联展开、电控标识数量自动计算,四阶段物料筛选,消除气体安全隐患;从而解决现有技术中选型流程碎片化、物料筛选依赖人工、以及气体兼容性校验无法保证完整性的技术问题。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122988958A_ABST
    Figure CN122988958A_ABST
Patent Text Reader

Abstract

The application provides a kind of gas delivery equipment bill of materials automatic generation method, belongs to material management technical field, through multidimensional layered coding realizes the unique adaptation equipment series after input gas medium is automatically output, replaces artificial check parameter completely, greatly improves selection efficiency;Adopt configuration parameter table mark syntax unified management configuration mutual exclusion, cascade constraint, avoid human error selection;Through generating reversible configuration abstract code, open full link data linkage;Through executing gas compatibility safety screening, brand matching screening, supporting parts automatic association expansion, automatic calculation of electric control identification quantity, four-stage material screening, eliminate gas safety hazard;Thus solve the technical problems of selection process fragmentation, material screening relies on artificial, and gas compatibility verification cannot guarantee the integrity in the prior art.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of material management technology, and more specifically, relates to a method for automatically generating a bill of materials for gas conveying equipment. Background Technology

[0002] In semiconductor manufacturing, various special gases (such as silane SiH4, chlorine Cl2, hydrogen fluoride HF, and nitrogen trifluoride NF3) need to be supplied to process equipment. These gases possess hazardous properties such as flammability, toxicity, corrosiveness, and oxidizing properties. Different gases place strict and different requirements on the valve materials, sealing materials, pipeline design, and safety interlock configurations of the gas delivery equipment. The selection and design of gas delivery equipment must ensure complete compatibility between the material selection and the gas characteristics; any incorrect selection may lead to gas leaks, equipment corrosion, or even explosions. Currently, the selection and design of gas delivery equipment adopts a segmented manual operation mode. During the equipment type determination phase, engineers manually consult the SEMI standard manual and bidding technical requirements based on parameters such as gas medium type, target flow rate, and operating pressure. Through manual calculation and parameter verification, they determine the equipment model and basic configuration from scratch. During the flowchart design phase, after determining the equipment configuration, they rely on CAD tools to draw the PID (Pipeline and Instrumentation) flowchart from scratch. It is not possible to directly reuse drawings corresponding to mature configurations between different projects. During the bill of materials generation phase, engineers manually summarize the model, specifications, and quantity of each material based on the selected configuration and brand, enter and verify each item to form the BOM list.

[0003] The existing manual design mode has four inherent defects: (1) It lacks a standardized coding system for equipment series, making it impossible to achieve deterministic automatic matching based on operating parameters. (2) There is no data linkage mechanism between configuration information and bill of materials, making it impossible to automatically drive BOM generation. (3) The generation of bill of materials requires multiple cross-screening processes, which are prone to errors and pose safety hazards when handled manually. (4) There are mutually exclusive relationships between configuration parameters, and manual screening cannot automatically handle cascading constraints. Summary of the Invention In view of this, the purpose of this application is to provide an automatic method for generating a bill of materials for gas conveying equipment. This method can achieve deterministic automatic matching of equipment series through multi-dimensional hierarchical coding, use reversible configuration digest codes to connect the data of equipment configuration, PID drawings, and bill of materials, and automatically generate a complete bill of materials that meets gas safety constraints based on four-stage cascaded filtration. This eliminates safety hazards caused by manual design and improves the automation level of the entire process of equipment design, quotation, and production.

[0004] This application provides an embodiment of a method for automatically generating a bill of materials for gas conveying equipment, the method comprising the following steps: Receive raw parameters of device, gas, flow rate, and gas supply type input by the user, call the gas attribute vector table to parse the gas information, and generate the target gas attribute vector; Based on the user-inputted raw parameters and the generated target gas attribute vector, the device series coding table is invoked to perform a hierarchical screening process, including device type matching, gas compatibility matching, flow rate adaptation verification, and gas supply type verification, to lock in a unique compliant device series; throughout the process, safety blocking logic is set, and the process is terminated if no matching series is found. Based on the locked, unique compliant equipment series, the corresponding mechanical and electrical control configurations of the equipment are loaded by calling the configuration parameter table, and mutually exclusive configurations are automatically controlled according to the preset marks in the configuration parameter table. The final configuration set is locked after user confirmation. Based on the locked, unique compliant device series and the final configuration set, the configuration code fixed bit sequence table is called to bind the device series and all configuration information in a fixed bit sequence encoding method, and a reversible configuration digest code is generated. Based on the locked, unique compliant equipment series, the material classification table is called to load all material classifications for the equipment, and the selected brands for all material classifications of the current equipment are synchronized and unified. Based on the analyzed gas information, the identified unique compliant equipment series and final configuration set, and the unified brand results, the parameter details table, material library, and parts comparison table are called to execute a four-stage screening process, including gas compatibility and safety screening, brand matching screening, automatic association and expansion of matching parts, and automatic calculation of the number of electrical control labels, to obtain a set of compliant materials; an anomaly blocking mechanism is set up throughout the process. The obtained compliant material set is merged and deduplicated to generate a standard BOM. The material price library is then called to match the unit price of the materials, automatically calculate the amount of each item and the total cost of the equipment, and generate a BOM quotation.

[0005] In some embodiments, the method further includes the following steps: PID drawings are generated by matching the generated reversible configuration digest code with the drawing library. If the secondary parameters of the electrical control are switched, the original materials are deleted and the four-stage screening process is re-executed. After merging and deduplication, a compliant production BOM is generated.

[0006] In some embodiments, the original parameters of device, gas, flow rate, and gas supply type input by the user are validated. If the gas name is empty, or if the gas name is not matched in the gas attribute vector table, an error message is output. If the match is successful, the chemical properties, physical state, and hazard level of SEMI are extracted and combined into a target gas attribute vector in the form of a triple.

[0007] In some embodiments, the step of invoking the device series coding table to perform a hierarchical filtering process includes the following steps: Traverse the equipment series coding table and filter the first-level result set that matches the equipment type selected by the user; if the first-level result set is empty, terminate the process; wherein, the coding rule of the equipment series coding table is: series code = equipment type identifier + chemical property code + physical state code + grade code, and each gas uniquely corresponds to one equipment series code record; Iterate through each series record in the first-level result set, and compare its chemical property code, physical state code, and grade code fields with the target gas attribute vector. If all match, retain the unique series to the second-level result set; if the second-level result set is empty, terminate the process. Obtain the lower limit and upper limit traffic fields of the unique series in the second-level result set, and determine whether the traffic value entered by the user is within the range. If it is, confirm the series and include it in the third-level result set; otherwise, terminate the process. Obtain the unique series of gas supply type label set field in the third-level result set, determine whether it includes the gas supply type input by the user, and if it does, confirm the series and use it as the fourth-level result set; Count the number of records in the fourth-level result set. If the number is equal to one, lock in the unique compliant device series.

[0008] In some embodiments, the configuration parameter table stores all configuration options corresponding to each device type, as well as mutual exclusion and cascading tags; wherein, configuration mutual exclusion and linkage are implemented based on the declarative tag syntax within the configuration parameter table.

[0009] In some embodiments, generating a reversible configuration digest code includes the following steps: Load the fixed-order character array corresponding to the device type, and fill in the parameter codes corresponding to each configuration in order; A series of codes and configuration characters are combined to form a configuration digest code; wherein, the reversible configuration digest code serves as a unique index for drawing retrieval and BOM linkage updates.

[0010] In some embodiments, the reference reference fixture and the robot arm base are rigidly fixed by means of screw connection, positioning pin, rigid clamp, or integrated machining; if there are installation position and / or attitude deviations, the complete six-degree-of-freedom rigid body transformation relationship between the reference reference fixture and the robot arm base coordinate system is determined by external calibration.

[0011] In some embodiments, the four-stage screening process includes the following steps: Based on the gas codes of the materials in the parameter details table, a three-state judgment is performed to retain compliant materials and generate the first-stage BOM result set; if all special materials with gas codes do not match the current medium, BOM generation is blocked. Iterate through each material row in the first-stage BOM result set, query the material library using the specification code and the selected brand as the composite search key, update the complete information of the material code, name, specification, and brand, and generate the second-stage BOM result set; if no matching material is found, the process terminates. Iterate through each material row in the second-stage BOM result set, retrieve the corresponding auxiliary parts such as brackets and connectors for the main material based on the parts lookup table, automatically calculate the quantity of auxiliary parts according to the lookup formula and add the material row to generate the third-stage BOM result set. Traverse each material row in the third-stage BOM result set, count global variables, parse the three types of electronic control formulas: segmentation conditions, four arithmetic operations, and material quantity references, construct a variable-dependent directed acyclic graph and perform topological sorting to generate the fourth-stage BOM result set as a compliant material set.

[0012] In some embodiments, the method further includes the following steps: When the camera position changes during the trajectory acquisition and coordinate transformation stages, the rigid body transformation relationship between the original camera coordinate system and the current camera coordinate system is determined by using fixed world reference markers, external positioning devices, environmental feature matching, multiple reference reference fixtures or their combinations; after updating the source trajectory based on the rigid body transformation relationship, reference reference fixture locking and trajectory transformation are then performed.

[0013] In some embodiments, a corresponding robot adaptation parameter set is invoked for different robotic arm devices; the robot adaptation parameter set includes one or more of the following: coordinate axis mapping relationship, length unit conversion relationship, posture representation method, rigid body transformation relationship from reference tooling to robotic arm base coordinate system, trajectory file format rules, and kinematic constraints.

[0014] In some embodiments, the robot control system performs one or more of the following processes based on the trajectory file: unit conversion, coordinate axis mapping, posture expression transformation, time parameter generation, velocity planning, inverse kinematics solution, safety verification, and control command generation.

[0015] In some embodiments, an automatic bill of materials generation apparatus for gas conveying equipment is also provided, the apparatus comprising: The first generation module is used to receive the user's input of raw parameters such as device, gas, flow rate, and gas supply type, call the gas attribute vector table to parse the gas information, and generate the target gas attribute vector. The first locking module is used to call the equipment series coding table to perform a hierarchical screening process based on the user-input raw parameters and the generated target gas attribute vector. This process includes equipment type matching, gas compatibility matching, flow rate adaptation verification, and gas supply type verification to lock in a unique compliant equipment series. Throughout the process, a safety blocking logic is set up, and the process is terminated if no matching series is found. The second locking module is used to load the mechanical and electrical control configurations of the corresponding equipment by calling the configuration parameter table based on the locked unique compliant equipment series, and automatically manage mutually exclusive configurations according to the preset marks in the configuration parameter table, and lock the final configuration set after user confirmation; The second generation module is used to bind the device series and all configuration information in a fixed bit order encoding manner by calling the configuration code fixed bit order table based on the locked unique compliant device series and the final configuration set, and generate a reversible configuration digest code. The synchronization module is used to load all material categories for a locked, unique compliant equipment series by calling the material classification table and synchronizing the selected brands of all material categories for the current equipment. The acquisition module is used to perform a four-stage screening process based on the parsed gas information, the locked unique compliant equipment series and the final configuration set, and the unified brand results. It calls the parameter details table, the material library, and the parts comparison table. This process includes gas compatibility and safety screening, brand matching screening, automatic association and expansion of matching parts, and automatic calculation of the number of electronic control labels to obtain a set of compliant materials. An anomaly blocking mechanism is set up throughout the process. The third generation module is used to merge and deduplicate the obtained compliant material set, generate a standard BOM, and call the material price library to match the unit price of the materials, automatically calculate the amount of each item and the total cost of the equipment, and generate a BOM quotation.

[0016] In some embodiments, an electronic device is also provided, including: a processor, a memory, and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the memory via the bus, and when the machine-readable instructions are executed by the processor, the steps of the automatic generation method for a gas conveying equipment bill of materials as described above are performed.

[0017] In some embodiments, a computer-readable storage medium is also provided, on which a computer program is stored, which, when executed by a processor, performs the steps of the automatic generation method for a gas conveying equipment bill of materials as described in any of the preceding embodiments.

[0018] The method for automatically generating a bill of materials for gas conveying equipment described in this application automatically outputs a unique series of compatible equipment after inputting a gas medium through multi-dimensional hierarchical coding, completely replacing manual parameter verification and significantly improving selection efficiency. It adopts a configuration parameter table tagging syntax to uniformly manage configuration mutual exclusion and cascading constraints, avoiding human error in selection. It enables full-link data linkage by generating reversible configuration digest codes. Through a four-stage material screening process—gas compatibility safety screening, brand matching screening, automatic association and expansion of matching parts, and automatic calculation of electrical control identification quantities—it eliminates gas safety hazards. This solves the technical problems of fragmented selection processes, reliance on manual material screening, and the inability to guarantee the completeness of gas compatibility verification in existing technologies. Attached Figure Description

[0019] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0020] Figure 1 A flowchart illustrating the automatic generation method of the bill of materials for the gas conveying equipment according to an embodiment of this application is shown; Figure 2 This paper illustrates a diagram of the device list management interface according to an embodiment of this application. Figure 3 This document shows a diagram of the parameter selection and configuration checkbox interface in an embodiment of this application. Figure 4 This paper shows a diagram of the device type drop-down selection interface according to an embodiment of this application; Figure 5 This application shows a diagram of the special gas medium selection interface according to an embodiment of the present application; Figure 6 This application illustrates a unified configuration interface for material brands according to an embodiment of the present application. Figure 7 This document shows a flowchart illustrating the BOM generation process progress of an embodiment of this application. Figure 8 This diagram illustrates the detailed bill of materials display interface of an embodiment of this application. Figure 9 A schematic diagram of the structure of the automatic bill of materials generation device for the gas conveying equipment described in the embodiments of this application is shown; Figure 10 A schematic diagram of the structure of the electronic device described in an embodiment of this application is shown. Detailed Implementation

[0021] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. It should be understood that the accompanying drawings in this application are for illustrative and descriptive purposes only and are not intended to limit the scope of protection of this application. Furthermore, it should be understood that the schematic drawings are not drawn to scale. The flowcharts used in this application illustrate operations implemented according to some embodiments of this application. It should be understood that the operations in the flowcharts may not be implemented in sequence, and steps without logical contextual relationships may be reversed or implemented simultaneously. In addition, those skilled in the art, guided by the content of this application, may add one or more other operations to the flowcharts, or remove one or more operations from the flowcharts.

[0022] Furthermore, the described embodiments are merely some, not all, of the embodiments of this application. The components of the embodiments of this application described and illustrated herein can typically be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.

[0023] It should be noted that the term "comprising" will be used in the embodiments of this application to indicate the presence of the features declared thereafter, but does not exclude the addition of other features.

[0024] In view of the technical problems raised in the background art, this application provides an automatic method for generating a bill of materials for gas conveying equipment. It can achieve deterministic automatic matching of equipment series through multi-dimensional hierarchical coding, use reversible configuration digest codes to connect the data of equipment configuration, PID drawings and bill of materials, and automatically generate a complete bill of materials that meets gas safety constraints based on four-stage cascade filtration. This eliminates the safety hazards caused by manual design and improves the automation level of the entire process of equipment design, quotation and production.

[0025] The following is in conjunction with the instruction manual appendix. Figure 1 -Instruction manual included Figure 8 This application provides a more detailed description of the method for automatically generating a bill of materials for a gas conveying device, as detailed in the appendix to the specification. Figure 2 -Instruction manual included Figure 8 This is a schematic diagram of the system operation interface corresponding to the embodiments of this application, fully demonstrating the interactive page of the entire process of this method from parameter input, equipment matching, configuration selection, brand setting, material verification to BOM output; Attached Figure 2 This is the interface for managing the overall device list, with attachments. Figure 3 For the parameter selection and configuration checkbox interface, attached Figure 4 For the device type drop-down selection interface, see below. Figure 5 For selecting interfaces for special gas media, attached Figure 6 A unified configuration interface for material brands is provided. Figure 7 Generate a progress interface for the BOM (Bill of Materials), with attachments. Figure 8 To provide a detailed bill of materials display interface, the method includes the following steps: S1. Receive the user's input of raw parameters such as device, gas, flow rate, and gas supply type, call the gas attribute vector table to parse the gas information, and generate the target gas attribute vector. S2. Based on the user-inputted raw parameters and the generated target gas attribute vector, the device series coding table is called to perform a hierarchical screening process, including device type matching, gas compatibility matching, flow rate adaptation verification, and gas supply type verification, to lock in the unique compliant device series; throughout the process, safety blocking logic is set, and the process is terminated if no matching series is found. S3. Based on the locked unique compliant equipment series, the corresponding mechanical and electrical control configurations of the equipment are loaded by calling the configuration parameter table, and mutually exclusive configurations are automatically controlled according to the preset marks in the configuration parameter table. The final configuration set is locked after user confirmation. S4. Based on the locked unique compliant device series and the final configuration set, call the configuration code fixed bit sequence table to bind the device series and all configuration information in a fixed bit sequence encoding method, and generate a reversible configuration digest code; S5. Based on the locked unique compliant equipment series, call the material classification table to load all material classifications for the equipment, and synchronize and unify the selected brands of all material classifications for the current equipment. S6. Based on the analyzed gas information, the unique compliant equipment series and final configuration set, and the unified brand results, the parameter details table, material library, and parts comparison table are called to perform a four-stage screening process, including gas compatibility safety screening, brand matching screening, automatic association and expansion of matching parts, and automatic calculation of the number of electrical control labels, to obtain a set of compliant materials; an anomaly blocking mechanism is set up throughout the process. S7. Merge and deduplicate the obtained set of compliant materials to generate a standard BOM, and call the material price library to match the unit price of the materials, automatically calculate the amount of each item and the total cost of the equipment, and generate a BOM quotation.

[0026] First, it should be noted that the core concept of the automatic generation method for a gas conveying equipment bill of materials provided in this application lies in not writing specific selection judgment logic and material calculation logic in the program code, but pre-constructing a multi-level rule data table. This data table structure and stores all industrial knowledge, including gas attributes, equipment series codes, configuration mutual exclusion tags, positional mapping, material screening rules, part relationships, and quantity calculation formulas, using field values ​​and logical relationships between fields. During runtime, the computer sequentially reads records from each data table and automatically executes series matching, configuration linkage, safety blocking, and bill of materials generation based on the preset semantic rules of each field, making the entire process completely data-driven. The complete technical solution of this method is described below in the order of the actual execution steps.

[0027] Step S1 mainly involves receiving the selection parameters input by the user and constructing the original input parameter set.

[0028] The parameter input interface is drawn on the monitor, and the interface contains four input controls: The device name drop-down selection box reads options from a preset device type enumeration set, which includes multiple fixed values ​​such as "Full Auto GC / GR" (fully automatic gas holder / gase rack), "Full Auto BSGS / BSGR" (fully automatic high-flow gas holder / gase rack), "Semi Auto VMB / VMP" (semi-automatic splitter cabinet / splitter panel), and "Semi Auto VDB / VDP" (semi-automatic high-flow splitter cabinet / splitter panel); The gas name search input box allows users to enter a gas name or select from a list of gases provided by the system. This field is required. The flow rate input box allows users to enter a value (in slpm) or leave it blank. The gas supply type selection box allows users to choose Type1 (1+0 ISO) or Type2 (1+1 ISO), or leave it blank.

[0029] The current values ​​of each control are read sequentially. The device name is stored as "User-selected Device Name", the gas name is stored as "User-input Gas Name", the flow rate value (stored as a null value if not entered by the user) is stored as "User Target Flow Rate", and the gas supply type (stored as a null value if not selected by the user) is stored as "User Gas Supply Type". These four values ​​together constitute the original input parameter set. The system then checks if "User-input Gas Name" is null; if so, execution terminates and an error message is displayed; otherwise, step S2 continues.

[0030] Before parsing the gas name input by the user, a gas attribute vector table has been pre-established. The structure of this table is shown in Table 1 below.

[0031]

[0032] Table 1 The key design element of this table is to transform gas safety characteristics from unstructured name text into a standardized multidimensional vector consisting of three non-empty fields. SEMI chemical properties are classified according to the internationally recognized SEMI standard; physical states distinguish between liquefied and compressed gases; and hazard levels are quantified numerically to determine the degree of danger. These three elements together constitute the gas's unique attribute vector. All subsequent compatibility assessment steps only need to read this vector as a comparison benchmark.

[0033] Based on the aforementioned gas attribute vector table, the following operations are performed: Using the obtained "user-input gas name" as the query key, an exact match query is performed on the "gas name" field in the gas attribute vector table. If the query returns an empty result, an error message is generated and the process terminates. If the query returns a matching record, the values ​​of the "SEMI Chemical Properties," "Physical State," and "Hazard Level" fields of that record are extracted and combined sequentially into a triplet. This triplet is then stored as the target gas attribute vector. For example, the attribute vector for HCl gas is: Toxic (T), Liquefied (L), 1.

[0034] Step S2 mainly involves multi-level hierarchical screening to match a unique compliant equipment series.

[0035] First-level filtering: Matching based on the device type field.

[0036] Before starting the first level of screening, a device series coding table was pre-established. This table, based on the SEMI standard, constructs a multi-dimensional hierarchical coding system, structuring the multi-dimensional discrete information that traditionally requires manual comprehensive judgment into a coding sequence that can be parsed layer by layer by a computer. Its structural design is shown in Table 2 below.

[0037]

[0038] Table 2 The key design feature of this equipment series coding table is that the series code is composed of four independent dimensions: equipment type, chemical property code, physical status code, and grade code, concatenated according to a fixed rule. The coding rule is: Series Code = Equipment Type Identifier + Chemical Property Code + Physical Status Code + Grade Code. For example, FCT1 = FC (Full Auto GC / GR Equipment Type Identifier) ​​+ T (Toxic / Corrosive) + L1 (Liquefaction Grade 1). Each gas name uniquely belongs to a series code in this coding system, such as HCl→FCT1, HBr→FCT1, NF3→FCT2. This unique mapping relationship provides a deterministic data foundation for the cascade matching algorithm. The four coding dimensions are independent of each other and each has a clear industrial semantics, allowing the computer to filter layer by layer according to each dimension.

[0039] The data in Table 3 below are all from the standardized equipment series library actually constructed in this application.

[0040]

[0041] Table 3 Based on the above data table, perform the first-level filtering: Read the "User-selected device name" value stored in step S1. Create an empty set named the first-level result set. Iterate through each record in the device series code table. For the current record, read its "Device Type" field value and perform a string comparison with "User-selected device name". If they match, add a complete copy of the record to the first-level result set; if they do not match, skip it.

[0042] After the traversal is complete, if the first-level result set is empty, an error message "No series for the corresponding device type exists" is displayed and the process terminates. If it is not empty, the result is passed to the second-level filter. For example, if the user selects "Full Auto GC / GR", the first-level result set includes all series under this device type, such as FCT1~FCT5, FCF1~FCF5, FCL1~FCL5, and FRI1~FRI2.

[0043] Second-level screening: compatibility matching based on gas properties.

[0044] Read the stored target gas attribute vector (e.g., toxic, corrosive, liquefied gas, 1) and receive the first-level result set. Create an empty set named the second-level result set. Iterate through each series record in the first-level result set. For the current record, read its "chemical property code" field value and compare it with the chemical property value in the target gas attribute vector. The specific comparison rules are: chemical property code F corresponds to spontaneous combustion or flammability, T corresponds to toxicity, and I corresponds to inertness. If the match is consistent, the record passes; otherwise, it is discarded. If the chemical property comparison passes, continue reading the "physical state code" field value (L or C) of the series record and compare it with the physical state value (liquefied gas or compressed gas) in the target gas attribute vector. If they do not match, the record is discarded. If the physical state comparison passes, the computer further reads the "hazard level code" field value of the series record and compares it with the hazard level value in the target gas attribute vector. If they do not match, the record is discarded. Only when all three dimensions of the comparison pass is the series record added to the second-level result set.

[0045] Since each gas name uniquely belongs to a series code in the construction of the equipment series coding table, by comparing the gas attribute vector with each dimension of the series code, the candidate set will inevitably be reduced to a unique series or zero.

[0046] The second-level result set contains the number of records. If this number is zero, it indicates that the target gas is incompatible with all candidate device series, and a global safety block is immediately executed: all intermediate data in memory is cleared, an alarm message "No series found, please check gas name or contact administrator" is displayed on the interface, and execution is terminated. This block operation cannot be bypassed, ensuring that incompatible gases cannot enter subsequent processes. If this number is greater than zero (which should be exactly one under normal data maintenance), the second-level result set is passed to the third-level filter.

[0047] Third-level filtering: Skip filtering based on numerical matching of traffic range.

[0048] Read the stored "User Target Flow" value and check if it is null. If null, it indicates the user did not provide flow conditions, and the condition is skipped: directly copy the second-level result set to the third-level result set and proceed to the fourth-level filter. If not null, read the lower and upper limits of the unique series in the second-level result set and check if the user-input flow value is within the range. If within the range, confirm the series; if outside the range, output "Flow value exceeds the series' adaptation range [Min_Flow~Max_Flow slpm]" and terminate the process. Pass the confirmed result as the third-level result set to the fourth-level filter.

[0049] Level 4 filtering: Skip filtering based on matching gas supply type tag set conditions.

[0050] Read the stored "User Gas Supply Type" value. If it's null, skip the condition and directly copy the third-level result set to the fourth-level result set. If it's not null, read the "Gas Supply Type Label Set" field value (a list of strings) of the unique series in the third-level result set. Search this list for a string that exactly matches the user's selection. If it exists, confirm the series; otherwise, output "This series does not support the selected gas supply type" and terminate. Use the confirmed result as the fourth-level result set.

[0051] The system counts the number of records in the fourth-level result set. If the count is zero, the system terminates with an error message; if the count is greater than one, the system terminates with an error message and prompts for additional parameters. The core constraint of this application is that for any valid combination of input parameters, the system must output a unique serial number or explicitly terminate with an error message, and must never output multiple ambiguous results. If the count is one, the system extracts the serial code and the Chinese description field value of that unique record, marking them as the final matching serial code and the final matching serial name.

[0052] Step S3 mainly involves visual configuration interaction and mutual exclusion linkage processing.

[0053] Before loading configuration options, a configuration parameter table (i.e., a configuration option linkage rule table) is pre-established. This table stores all configuration options corresponding to each device type and their mutual exclusion flags, and its structure is shown in Table 4 below.

[0054]

[0055] Table 4 The key design element of this configuration parameter table lies in the prefix syntax carried by the parameter formula field. The values ​​of the parameter formula field define several behaviors for this option: {default} indicates that this option is automatically pre-selected when the system loads the configuration interface; {_EP} indicates that when this option is selected, it triggers mutually exclusive linkage of EP-type options; {_VV} indicates that this option belongs to the VV class and is subject to mutual exclusion control of EP-type options. {M2:1 / 4,1 / 2}, cascading control: restricts the dropdown options of M2 to 1 / 4 and 1 / 2. This field can be empty, indicating that this option does not participate in any mutually exclusive linkage. Furthermore, this field can be expanded later to add necessary function relationships.

[0056] This design encodes mutual exclusion or cascading relationships between configurations using declarative markup syntax at the data layer, which is then processed uniformly by a general parsing engine. This eliminates the need to write independent judgment logic for each mutual exclusion or cascading relationship between configurations. When adding a new device type or a new relationship between configurations, only the values ​​of parameter formula fields need to be added or modified in the configuration parameter table; no modification to the program code is required.

[0057] Based on the above configuration parameter table, perform the following operations: Using the final matching series code as a condition, the configuration parameter table is queried from the equipment type to which it belongs (inversely deduced from the series code) to obtain all configuration option records corresponding to that equipment type. The obtained configuration options are divided into a mechanical configuration list (M series) and an electrical control configuration list (E series) according to their respective professional fields, and rendered onto the user interface respectively. The configuration option records are traversed, and for options whose parameter formula fields contain the {default} marker, they are automatically set to a pre-selected state. An empty selected configuration set is initialized to track the configuration code values ​​of the configuration options currently selected by the user.

[0058] The configuration mutual exclusion linkage processing based on prefix marker fields continuously captures user actions of checking and dechecking configuration options. Each time an action is captured, the configuration code of the operated option and the action type (check or decheck) are identified. When a check action is captured, the configuration code of that option is added to the selected configuration set; the parameter formula field value of that option is retrieved from the configuration parameter table; if the field contains the {EP} marker, a linkage hiding sub-process is triggered, iterating through all configuration options in the current interface. For options whose parameter description field values ​​are prefixed with VV (i.e., parameter description text starting with VV), the interface visibility of these options is set to hidden; simultaneously, it checks whether the configuration codes of these VV options are already in the selected configuration set, and if so, they are removed and dechecked. When an unchecking operation is detected, the configuration code for that option is removed from the selected configuration set; the parameter formula field value for that option is queried from the configuration parameter table; if the field contains the {_EP} flag, the computer further checks whether any other options with parameter formulas containing {_EP} exist in the selected configuration set; if none exist, all previously hidden VV-type options are made visible (but not automatically selected); if they still exist, they remain hidden. After the user clicks "Confirm," the selected configuration set is frozen as the final configuration selection set. This set records the configuration codes ultimately selected by the user and their corresponding parameter code values.

[0059] Step S4 mainly involves generating a reversible configuration digest code.

[0060] Before generating the configuration digest code, a fixed bit order table (i.e., bit order mapping table) for configuration codes is pre-established. This table defines a fixed 18-bit configuration code arrangement bit order for each device type, and its structure design is shown in Table 5 below (taking the Full Auto GC / GR device type as an example).

[0061]

[0062] Table 5 The key design feature of this bit sequence mapping table is that the mapping relationship between bit sequences and configuration codes is fixed and immutable. Each bit sequence corresponds to a specific configuration function, and the value of each bit comes from the parameter code value (numbers 1~9 or letters a~z) selected by the user for that configuration code in step S3. This fixed mapping relationship ensures the reversibility of the configuration digest code, allowing the complete configuration combination to be directly decoded from the code itself without querying the database. In this system, the configuration digest code simultaneously performs three functions: lossless configuration encoding, drawing matching index key, and data linkage trigger (configuration change → code change → automatic triggering of BOM recalculation).

[0063] Based on the above bit order mapping table, perform the following encoding operation: Based on the device type to which the final matching series code belongs, load the corresponding configuration code fixed position table. Create a character array of length 18. Process in order from position 1 to 18: For position N, find the corresponding configuration code in the fixed position table, and then search for the parameter code value selected by the user for that configuration code in the final configuration selection set obtained in step S3. If found, fill the Nth position of the array with the parameter code character; if the configuration code is not selected by the user (i.e., the user has not made any changes and there is no default value), fill in the default parameter code value corresponding to the configuration code (i.e., the parameter code of the option marked as {default} in the configuration parameter table). After all 18 positions are filled, concatenate the character array into a continuous string in order, and then append the obtained final matching series code and the hyphen "-" to the left to form a complete configuration digest code. For example: FCT1-121212111211112112. Mark the complete configuration digest code as the current configuration digest code.

[0064] Step S5 mainly involves unified management and control of material brands.

[0065] A material classification table is pre-established, and its structure is shown in Table 6 below.

[0066]

[0067] Table 6 The key design element of this table lies in the "Equipment Type" field. When a user selects a brand for any material category, the system searches for all other categories of the same type based on this field value, forcing the brands to be synchronized for consistency. This achieves data-level automation of the industrial constraint of brand unification for material categories of the same equipment type.

[0068] Based on the above material classification table, perform the following operations: Query the material classification table using the obtained final matching series code to obtain all material classification records corresponding to that series, and organize them into a classification list for display on the interface. Create a brand selection mapping table, assigning a material classification number with a value of the brand string selected by the user. When the user selects a brand for any category, update the mapping table and read the equipment type field value of that category record. Iterate through all other categories in the classification list with the same field value, forcibly overwriting their brand values ​​with the same selection, and simultaneously refresh the interface display. After user confirmation, freeze the brand selection mapping table as the "final brand mapping table" and pass it to the subsequent BOM generation steps.

[0069] Step S6 mainly involves generating a compliant material set through a four-stage cascaded filtering process.

[0070] The first stage of bill of materials generation: gas compatibility and safety screening.

[0071] Before generating the bill of materials (BOM), a core parameter detail table is pre-established. This table records the material details corresponding to each configuration parameter under each equipment series and serves as the data foundation for automatic BOM generation. Its structure is shown in Table 7 below.

[0072]

[0073] Table 7 The key design features of this parameter detail table are as follows: The gas code field employs a three-state semantic approach. When the gas code is empty, it indicates that the material is a general-purpose material (such as pipe fittings or supports), applicable to all gases and not limited by gas type. When the gas code is not empty, it indicates that the material is only applicable to a specific gas and must completely match the gas name of the current equipment to be retained. The specification code field and the brand field together form a composite search key for accurate material retrieval during the brand matching phase. The detail formula field stores configuration-driven quantity formulas. The formulas use an asterisk (*) prefix to reference the user-selected value corresponding to the configuration code, achieving linkage between quantity and configuration parameters.

[0074] Based on the above parameter details, the computer performs the first stage of gas compatibility screening: Read the gas name corresponding to the obtained target gas attribute vector (i.e., the gas name input by the user), and the obtained final configuration selection set. Using the final matching series code and each configuration code in the final configuration selection set as conditions, query the corresponding material row set in the parameter details table. For configuration rows where the "no" value in the "no" field is "no", it is only used to generate the configuration digest code (already completed in step S4) and does not participate in the BOM screening at this stage. For each material row obtained from the query, the computer reads its "gas code" field value and performs a three-state determination:

[0075] After all material rows have been scanned, a global security check is performed: the total number of material rows with non-empty gas codes (denoted as N_total) and the total number of material rows with non-empty gas codes and successful matches (denoted as N_matched) are counted. If N_total is greater than zero and N_matched is equal to zero, it is determined that all material rows with specified gases do not match the current equipment's gas, and a global security block is immediately executed, outputting the error message "Gas screening failed, all material rows with specified gases do not match the current equipment's gas, please notify the administrator to check the parameter details configuration," and terminating the BOM generation for this equipment.

[0076] The technical significance of this global termination check lies in the fact that, unlike the conventional database WHERE filter which only returns empty results, it adds an integrity safety check step. When all material rows for the specified gases do not match, instead of silently returning an empty result (which could lead to the use of an incomplete BOM in subsequent manufacturing processes), it actively terminates the process and reports an error, thus eliminating the safety hazard of missing critical gas-compatible materials in the BOM from a mechanism perspective.

[0077] If the verification passes (i.e., N_matched is greater than zero), delete all material rows marked as to be deleted, and retain all material rows marked as to be retained, forming the first-stage BOM result set, which is then passed to the bill of materials to generate the second stage. Specific implementation examples: The equipment gas is HCl, and the following material rows are listed in the parameter details table:

[0079] If at least one line in the non-empty gas code rows (HBr, HCl, H2, Cl2) matches HCl (membrane valve B) → verification passes → delete the three mismatched lines → keep the line with an empty gas code and membrane valve B. If all non-empty gas code rows in the parameter details table are written as "H2" (no HCl) → N_matched=0 → trigger global termination → output error message.

[0080] The second stage of bill of materials generation: brand matching and screening.

[0081] Read the obtained final brand mapping table. Iterate through each material row in the first-stage BOM result set. For the current material row, read its specification code field value. If the specification code is empty or an empty string, the material is a non-brand-related material (such as processed parts, labels, etc.) and is directly retained; if the specification code is not empty, the computer uses the composite search key of "the specification code value and the selected brand corresponding to the material category in the final brand mapping table" to accurately search in the preset material library.

[0082] The retrieval logic of the material library is as follows: It searches the material library for a unique material record that satisfies both the specification code and the brand. The uniqueness of the composite key is guaranteed by the material library design, ensuring that the combination of "specification code + brand" is globally unique. The specification code is an abstract code representing the material's specifications (e.g., the specification code M8MVLVV for a diaphragm valve represents a 1 / 2-inch, EP, 316L stainless steel diaphragm valve). The same specification code has different material codes under different brands; different specification codes under the same brand also correspond to different material codes. Therefore, [specification code, brand] constitutes a deterministic two-element index key.

[0083] If a unique material record is found, the computer updates the material code, material name, specifications, brand, and other fields of the current material line to the corresponding values ​​in that record and retains the updated material line. If zero records are found, an error message is marked in the log column of that line, and BOM generation for that device is terminated, and the administrator is notified. After all material lines have been processed, the second-stage BOM result set is formed and passed to the third stage of bill of materials generation.

[0084] The third stage of bill of materials generation: automatic association and expansion based on the parts lookup table.

[0085] A parts reference table is pre-established to address the need for matching brackets, quick-connect couplings, and other related parts for core materials such as main valve components. Its structural design is shown in Table 8 below.

[0086]

[0087] Table 8 The key design feature of this parts lookup table is that it explicitly presents the knowledge of the required brackets, connectors, and other accessories for main valve components in industrial practice as a structured reference record. After selecting a main component, it automatically searches for and adds auxiliary components, eliminating omissions that may occur due to manual memorization and searching. One source material code can be associated with multiple target material records, achieving a one-to-many cascading expansion.

[0088] Based on the parts lookup table, perform the following operations: Load all records in the parts lookup table. Iterate through each material row in the second-stage BOM result set. For the current material row, use [current equipment name, material category of the material row, material code of the material row] as the search criteria to find a matching record in the parts lookup table. If a matching record set is found, for each matching record, calculate the associated part quantity according to its matching formula field: if the formula is 1:1, the associated quantity is equal to the quantity of the source material row multiplied by 1. Then, insert a new material row below the current material row, with its material code taken from the target material code field value of the matching record, its quantity taken from the calculated associated quantity, and other fields obtained from the material library. If no matching record is found, skip it (this material has no associated parts). After all material rows have been processed, the third-stage BOM result set is formed and passed to the fourth stage of bill of materials generation. Specific implementation examples: The equipment is set to Full Auto GC / GR. The BOM contains a line for a diaphragm valve (material code 100000000175, quantity = 6). The system retrieves a matching record from the parts lookup table; the target material code is 100003000419 (diaphragm valve bracket), and the lookup formula is 1:1. The system automatically inserts a line below the diaphragm valve line: "Material code 100003000419, quantity 6".

[0090] Fourth stage of bill of materials generation: automatic calculation of electrical control identifier quantity.

[0091] This step targets electrical control type materials (IO modules, solenoid valves, bases, connectors, etc.), whose quantity is not a fixed value, but dynamically determined according to the global DI / DO / AI / AO statistical values. Calculation is performed using the formulas defined in the detail formula field in the parameter detail table, as well as the electrical control formula and valve type formula fields in the material library. This application adopts two sets of independent but coordinated formula engines.

[0092] Formula type a: segmented conditional expression.

[0093] Syntax: {Condition 1, Value 1}, {Condition 2, Value 2} ...; Example: {DI<=16, 1}, {16<DI<=32, 2}, {DI>32, 3}; Meaning: returns 1 when the global DI quantity ≤16; returns 2 when 16<DI≤32; returns 3 when >32; Parsing method: judge the conditional expressions in sequence according to the writing order, stop and return the corresponding value when the first true condition is hit.

[0094] The comparison operators supported by conditional expressions include: <=,<,>,>=.

[0095] Variables in conditions (DI, DO, AI, AO) are replaced with global statistical values during parsing.

[0096] Formula type b: variable dependency expression.

[0097] Syntax: Variable name= [Expression]; The expression may include: other variable names (such as DNUM = QNUM + 4), global statistical variables (QNUM, GGPARA), four arithmetic operators (+, -, ×, ÷); Variable definition: QNUM=pneumatic valve quantity=sum of the quantities of all material rows in the BOM whose valve type identifier field value is solenoid valve; DNUM=solenoid valve quantity=QNUM+4; DBNUM=baffle quantity=GGPARA-DNUM; DCZNUM=solenoid valve plug assembly quantity=DNUM; JNUM=quick coupling quantity=GGPARA; GGPARA=base specification parameter value=numerical value extracted from the specification code field in the material library record corresponding to the current material row; Example: Material row: Solenoid valve V114-5LOUB; Electrical control formula: DNUM = QNUM + 4; Meaning: The required quantity of this material = the total quantity of all pneumatic valves in the BOM + 4; Material line: Valve island base STV-SV-20; Electrical control formula: DNUM <= 20, 20 or 20 <DNUM<=24,24; Meaning: When the total number of solenoid valves is ≤20, select a 20-position base; when 20 < the total number of solenoid valves is ≤24, select a 24-position base.

[0098] Formula type c: Reference expression.

[0099] Syntax: NUM{material code}; Meaning: Refers to the current calculated quantity of the specified material code in the BOM; Example: Material line: Base 6ES71936BP000DA0; The electronic control formula is: {NUM100004100419+NUM100004100662+NUM100004100647+NUM100004100731-NUM100004100218}; Meaning: Number of bases = (Number of DI modules + Number of DO modules + Number of AI modules + Number of AO modules - Number of connectors); Construction of the dependency graph and evaluation of the topological sort: When there are variable references between material rows, a directed acyclic graph (DAG) with variable dependencies needs to be constructed: Material A (solenoid valve): DNUM = QNUM + 4; Material B (baffle): DBNUM = GGPARA - DNUM; Dependency relationship: B→A (B's DNUM depends on A's DNUM calculation result); A→QNUM (A depends on the global statistic QNUM); Topological sorting: First, calculate QNUM → calculate DNUM of material A → calculate DBNUM of material B.

[0100] Based on the above formula system, perform the following operations: Global statistics sub-step: Traverse all material rows in the third stage BOM result set, and calculate the global variable values. DI total = Σ (number of material rows with DI in the electrical control identifier), DO total, AI total, AO total are calculated similarly; QNUM = Σ (number of material rows with valve type identifier "solenoid valve").

[0101] The variable dependency graph construction sub-step is as follows: Traverse the material rows containing electronic control formulas or valve formulas, parse the variable names referenced in the formulas, and establish a dependency graph between variables and material rows.

[0102] Topological sorting sub-step: Perform a topological sort on the dependency graph to determine the evaluation order of each material row. If a circular dependency is detected, terminate the process with an error.

[0103] The sequential evaluation sub-step is as follows: For each material row, in topological order, replace the variables in the formula with the currently known values; parse the piecewise conditional expression or calculate the arithmetic expression; and write the calculation result into the quantity field of the material row, overwriting the original basic quantity.

[0104] After all the electronically controlled materials have been processed, the fourth-stage BOM result set is formed.

[0105] Step S7 mainly involves merging and deduplicating the four-stage filtered material set obtained in step S6, outputting a standardized material list that can be directly delivered to production, and automatically calculating the cost of individual items and the entire machine by associating it with the material price library.

[0106] Specifically, it iterates through all material rows in the fourth-stage BOM result set. It groups rows by material code field, merging rows with the same material code. The quantity of the merged row equals the sum of the quantities of all rows. Other fields (material name, specifications, brand, etc.) retain the value of the first row to appear. Finally, it outputs the final standard BOM list, with each row containing the fields: material code, material name, specifications, brand, quantity, and unit.

[0107] A material price database is pre-established and updated regularly by purchasing personnel. Its structure is shown in Table 9 below.

[0108]

[0109] Table 9 Based on this material price database, perform the following operations: Iterate through each material line in the final bill of materials, retrieving the corresponding unit price from the material price database using the material code as the key. Calculate the unit cost for each material: cost = unit price × quantity. Sum the costs of all material lines to obtain the total cost per unit. Output a complete BOM (Bill of Materials) quote containing material code, material name, specifications, brand, quantity, unit, unit price, cost, and total cost to the user interface, and support export.

[0110] Furthermore, in other embodiments, When a user triggers the PID flowchart generation operation, the current configuration digest code (a complete 18-character string) generated in the step is used as the search key. The longest prefix matching algorithm is executed in the drawing template library: first, the complete 18-character configuration digest code is searched in the template library; if no completely matching template is found, the last character of the code string is removed, and the search is repeated; this process is repeated until the closest matching template is found. In the blank reserved area of ​​the matched template drawing, the machine writes the configuration parameter description text corresponding to the unmatched part (the truncated last few characters). The generated complete drawing is renamed with the complete configuration digest code, stored, and returned to the user.

[0111] Furthermore, when users need to convert the quotation BOM into a production BOM, electrical control designers can access the secondary parameter filtering interface to modify the secondary parameter options of the electrical control configuration. The replacement scope is located in the parameter details table based on [series number, configuration code, primary parameter code]. All secondary parameter codes and their corresponding material line sets are obtained, denoted as the default module M_default and the user-selected module M_new. In the generated BOM, all material lines with material source M_default are located and deleted from the BOM. All material lines contained in M_new are inserted into the BOM. For the newly inserted material lines, the fourth-stage filtering process (gas filtering, brand filtering, part expansion, electrical control calculation) is re-executed to ensure that the new module materials have also undergone all safety checks. Lines with the same material code are merged, the quantities are summarized, and the updated production BOM is output.

[0112] The following example, using the user selecting Full Auto GC / GR device type and HCl gas, illustrates the complete execution process of this method: User input: Equipment name: Full Auto GC / GR, Gas name: "HCl" (flow rate and gas supply type left blank). The gas attribute vector table is queried to obtain the attribute vector for HCl: (toxic, corrosive, liquefied gas, 1). The equipment series coding table is traversed. The first level of filtering retains all Full Auto GC / GR series (FCL1~FCL5, FCF1~FCF4, FCT1~FCT3, FRI1~FRI2); the second level of filtering compares the chemical property code T, physical state code C, and grade code 1 with the HCl attribute vector one by one, uniquely matching the FCT1 series (toxic corrosive liquefied gas 1+1 fully automatic gas holder); the third and fourth levels are skipped because no user input was provided; finally, the series code FCT1 is determined.

[0113] Load the configuration parameter table corresponding to the Full Auto GC / GR equipment type, displaying the mechanical configurations of M1~M8 and the electrical control configurations of E1~E10. When the user selects the EP option for M1 (the parameter formula contains {_EP}), the system automatically hides all VV class purge pipeline options in M2, leaving only the EP class options visible.

[0114] According to the fixed position table of configuration codes, the user-selected parameter code values ​​of each configuration code are read in sequence, concatenated into an 18-bit digest code, and then appended with a series of codes to form FCT1-121212111211112112.

[0115] The user can query the material classification table to obtain all material classifications (pressure reducing valves, shut-off valves, filters, etc.) corresponding to the FCT1 series. The user can then select the brand in sequence, and the system will automatically synchronize the brands of the same equipment type classification.

[0116] BOM Generation Stage: Stage 1: Perform a three-state judgment on each material row in the parameter details table using HCl as the condition, retain material rows with gas codes that are empty or equal to HCl, and delete material rows with gas codes such as HBr and H2. Global verification passes. Stage 2: Search and update material information in the material library using the [specification code, selected brand] composite key. Stage 3: Find the associated brackets, connectors, and other parts of the main valve in the parts lookup table and automatically add them. Stage 4: Globally calculate the DI / DO / AI / AO values ​​and the number of pneumatic valves, and solve the formula expressions of each electronically controlled material in order of topology sorting.

[0117] After merging identical material code lines, output the final BOM. Retrieve the unit price from the material price database, multiply it by the quantity, and summarize the total cost.

[0118] The longest prefix match is performed in the drawing template library using the configuration digest code to generate a PID flowchart.

[0119] By completing all the steps described above, a fully automated process is achieved, from user input to bill of materials and quotation output.

[0120] This application provides an automatic method for generating a bill of materials for gas conveying equipment. It achieves deterministic automatic matching of equipment series through multi-dimensional hierarchical coding and cascade matching, realizes data linkage between configuration and drawings by generating reversible configuration digest codes through configuration code splicing, and automatically generates a complete and gas-safe bill of materials through a multi-stage cascaded filtering algorithm (gas compatibility → brand matching → parts association → electrical control calculation). This solves the technical problems of fragmented selection process, reliance on manual material screening, and inability to guarantee the completeness of gas compatibility verification in the prior art.

[0121] Based on the same inventive concept, this application also provides an automatic bill of materials generation device for gas conveying equipment. Since the principle of the device in this application is similar to the automatic bill of materials generation method for gas conveying equipment described above, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be described again.

[0122] As per the instruction manual Figure 9 As shown in the illustration, this application also provides an automatic bill of materials generation device for gas conveying equipment, the device comprising: The first generation module 901 is used to receive the user's input of raw parameters such as device, gas, flow rate, and gas supply type, call the gas attribute vector table to parse the gas information, and generate the target gas attribute vector. The first locking module 902 is used to call the equipment series coding table to perform a hierarchical screening process based on the user-input raw parameters and the generated target gas attribute vector. This process includes equipment type matching, gas compatibility matching, flow rate adaptation verification, and gas supply type verification to lock in a unique compliant equipment series. The entire process is equipped with safety blocking logic, and the process is terminated if no matching series is found. The second locking module 903 is used to load the mechanical and electrical control configuration of the corresponding equipment by calling the configuration parameter table based on the locked unique compliant equipment series, and automatically manage mutually exclusive configurations according to the preset marks in the configuration parameter table, and lock the final configuration set after user confirmation. The second generation module 904 is used to bind the device series and all configuration information in a fixed bit order encoding manner by calling the configuration code fixed bit order table based on the locked unique compliant device series and the final configuration set, and generate a reversible configuration digest code. Synchronization module 905 is used to load all material categories for a locked, unique compliant equipment series by calling the material classification table and synchronizing the selected brands of all material categories for the current equipment. The acquisition module 906 is used to perform a four-stage screening process based on the parsed gas information, the locked unique compliant equipment series and the final configuration set, and the unified brand results. This process includes calling the parameter details table, the material library, and the parts comparison table. The screening process includes gas compatibility and safety screening, brand matching screening, automatic association and expansion of matching parts, and automatic calculation of the number of electrical control labels to obtain a set of compliant materials. An anomaly blocking mechanism is set up throughout the process. The third generation module 907 is used to merge and deduplicate the obtained compliant material set, generate a standard BOM, and call the material price library to match the material unit price, automatically calculate the amount of each item and the total cost of the equipment, and generate a BOM quotation.

[0123] The automatic bill of materials generation device for gas conveying equipment described in this application can achieve deterministic automatic matching of equipment series through multi-dimensional hierarchical coding, and use reversible configuration digest codes to connect the data of equipment configuration, PID drawings and bill of materials. Relying on four-stage cascade filtration, it automatically generates a complete bill of materials that meets gas safety constraints, eliminates safety hazards caused by manual design, and improves the automation level of the entire process of equipment design, quotation and production.

[0124] Based on the same concept of the present invention, as shown in the appendix to the specification. Figure 10 As shown in the figure, an embodiment of this application provides the structure of an electronic device 1000, which includes: at least one processor 1001, at least one network interface 1004 or other user interface 1003, a memory 1005, and at least one communication bus 1002. The communication bus 1002 is used to realize the connection and communication between these components. The electronic device 1000 may optionally include a user interface 1003, including a display (e.g., touch screen, LCD, CRT, holographic imaging, or projector, etc.), a keyboard, or a clicking device (e.g., mouse, trackball, touchpad, or touch screen, etc.).

[0125] Memory 1005 may include read-only memory and random access memory, and provides instructions and data to processor 1001. A portion of memory 1005 may also include non-volatile random access memory (NVRAM).

[0126] In some implementations, memory 1005 stores executable modules or data structures, or subsets thereof, or extended sets thereof: Operating system 10051 contains various system programs used to implement various basic business functions and handle hardware-based tasks; Application module 10052 contains various applications, such as launchers, media players, and browsers, to implement various application functions.

[0127] In this embodiment of the application, the processor 1001 executes steps such as an automatic generation method for a bill of materials for a gas conveying device by calling a program or instruction stored in the memory 1005.

[0128] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, performs steps such as those in an automatic method for generating a bill of materials for a gas conveying device.

[0129] Specifically, the storage medium can be a general-purpose storage medium, such as a portable disk or hard drive. When the computer program on the storage medium is run, it can improve the automation level of the entire process of equipment design, pricing, and production.

[0130] In the embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. The apparatus embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and there may be other division methods in actual implementation. Furthermore, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Additionally, the mutual coupling or direct coupling or communication connection shown or discussed may be through some communication interface, and the indirect coupling or communication connection of the apparatus or units may be electrical, mechanical, or other forms.

[0131] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0132] In addition, the functional units in the embodiments provided in this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0133] If a function is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0134] Finally, it should be noted that the above embodiments are merely specific implementations of this application, used to illustrate the technical solutions of this application, and not to limit them. The protection scope of this application is not limited thereto. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still modify or easily conceive of changes to the technical solutions described in the foregoing embodiments, or make equivalent substitutions for some of the technical features, within the scope of the technology disclosed in this application; and these modifications, changes, or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application. All should be covered within the protection scope of this application. Therefore, the protection scope of this application should be determined by the protection scope of the claims.

Claims

1. A method for automatically generating a bill of materials for a gas conveying device, characterized in that, The method includes the following steps: Receive raw parameters of equipment, gas, flow rate, and gas supply type input by the user, call the gas attribute vector table to parse the gas information, and generate the target gas attribute vector; Based on the user-inputted raw parameters and the generated target gas attribute vector, the device series coding table is invoked to perform a hierarchical screening process, including device type matching, gas compatibility matching, flow rate adaptation verification, and gas supply type verification, to lock in a unique compliant device series; throughout the process, safety blocking logic is set, and the process is terminated if no matching series is found. Based on the locked, unique compliant equipment series, the corresponding mechanical and electrical control configurations of the equipment are loaded by calling the configuration parameter table, and mutually exclusive configurations are automatically controlled according to the preset marks in the configuration parameter table. The final configuration set is locked after user confirmation. Based on the locked, unique compliant device series and the final configuration set, the configuration code fixed bit sequence table is called to bind the device series and all configuration information in a fixed bit sequence encoding method, and a reversible configuration digest code is generated. Based on the locked, unique compliant equipment series, the material classification table is called to load all material classifications for the equipment, and the selected brands for all material classifications of the current equipment are synchronized and unified. Based on the analyzed gas information, the identified unique compliant equipment series and final configuration set, and the unified brand results, the parameter details table, material library, and parts comparison table are called to execute a four-stage screening process, including gas compatibility and safety screening, brand matching screening, automatic association and expansion of matching parts, and automatic calculation of the number of electrical control labels, to obtain a set of compliant materials; an anomaly blocking mechanism is set up throughout the process. The obtained set of compliant materials is merged and deduplicated to generate a standard BOM. The material price library is then called to match the unit price of the materials, automatically calculate the amount of each item and the total cost of the equipment, and generate a BOM quotation.

2. The method for automatically generating a bill of materials for a gas conveying device according to claim 1, characterized in that, The method further includes the following steps: PID drawings are generated by matching the generated reversible configuration digest code with the drawing library. If the secondary parameters of the electrical control are switched, the original materials are deleted and the four-stage screening process is re-executed. After merging and deduplication, a compliant production BOM is generated.

3. The method for automatically generating a bill of materials for a gas conveying device according to claim 1, characterized in that, in, The system validates the user-inputted raw parameters for equipment, gas, flow rate, and gas supply type. If the gas name is empty, or if the gas name is not matched in the gas attribute vector table, an error message is output. After a successful match, the chemical properties, physical state, and hazard level of SEMI are extracted and combined into a target gas attribute vector in the form of a ternary set.

4. The method for automatically generating a bill of materials for a gas conveying device according to claim 3, characterized in that, The process of calling the device series coding table to perform the hierarchical filtering includes the following steps: Traverse the equipment series coding table and filter the first-level result set that matches the equipment type selected by the user; if the first-level result set is empty, terminate the process; wherein, the coding rule of the equipment series coding table is: series code = equipment type identifier + chemical property code + physical state code + grade code, and each gas uniquely corresponds to one equipment series code record; Iterate through each series record in the first-level result set, and compare its chemical property code, physical state code, and grade code fields with the target gas attribute vector. If all match, retain the unique series to the second-level result set; if the second-level result set is empty, terminate the process. Obtain the lower limit and upper limit traffic fields of the unique series in the second-level result set, and determine whether the traffic value entered by the user is within the range. If it is, confirm the series and include it in the third-level result set; otherwise, terminate the process. Obtain the unique series of gas supply type label set field in the third-level result set, determine whether it includes the gas supply type input by the user, and if it does, confirm the series and use it as the fourth-level result set; Count the number of records in the fourth-level result set. If the number is equal to one, lock in the unique compliant device series.

5. The method for automatically generating a bill of materials for a gas conveying device according to claim 4, characterized in that, The configuration parameter table stores all configuration options corresponding to each device type, as well as mutual exclusion and cascading tags; among them, configuration mutual exclusion and linkage are implemented based on the declarative tag syntax in the configuration parameter table.

6. The method for automatically generating a bill of materials for a gas conveying device according to claim 5, characterized in that, The generation of the reversible configuration digest code includes the following steps: Load the fixed-order character array corresponding to the device type, and fill in the parameter codes corresponding to each configuration in order; A series of codes and configuration characters are combined to form a configuration digest code; wherein, the reversible configuration digest code serves as a unique index for drawing retrieval and BOM linkage updates.

7. The method for automatically generating a bill of materials for a gas conveying device according to claim 6, characterized in that, The four-stage screening process includes the following steps: Based on the gas codes of the materials in the parameter details table, a three-state judgment is performed to retain compliant materials and generate the first-stage BOM result set; if all special materials with gas codes do not match the current medium, BOM generation is blocked. Iterate through each material row in the first-stage BOM result set, query the material library using the specification code and selected brand as the composite search key, update the complete information of material code, name, specification, and brand, and generate the second-stage BOM result set; if no matching material is found, the process terminates. Iterate through each material row in the second-stage BOM result set, retrieve the corresponding auxiliary parts such as brackets and connectors for the main material based on the parts lookup table, automatically calculate the quantity of auxiliary parts according to the lookup formula and add the material row to generate the third-stage BOM result set. Traverse each material row in the third-stage BOM result set, count global variables, parse the three types of electronic control formulas: segmentation conditions, four arithmetic operations, and material quantity references, construct a variable-dependent directed acyclic graph and perform topological sorting to generate the fourth-stage BOM result set as a compliant material set.

8. An automatic bill of materials generation device for gas conveying equipment, characterized in that, The device includes: The first generation module is used to receive the user's input of raw parameters such as device, gas, flow rate, and gas supply type, call the gas attribute vector table to parse the gas information, and generate the target gas attribute vector. The first locking module is used to call the equipment series coding table to perform a hierarchical screening process based on the user-input raw parameters and the generated target gas attribute vector. This process includes equipment type matching, gas compatibility matching, flow rate adaptation verification, and gas supply type verification to lock in a unique compliant equipment series. Throughout the process, a safety blocking logic is set up, and the process is terminated if no matching series is found. The second locking module is used to load the mechanical and electrical control configurations of the corresponding equipment by calling the configuration parameter table based on the locked unique compliant equipment series, and automatically manage mutually exclusive configurations according to the preset marks in the configuration parameter table, and lock the final configuration set after user confirmation. The second generation module is used to bind the device series and all configuration information in a fixed bit order encoding manner by calling the configuration code fixed bit order table based on the locked unique compliant device series and the final configuration set, and generate a reversible configuration digest code. The synchronization module is used to load all material categories for a locked, unique compliant equipment series by calling the material classification table and synchronizing the selected brands of all material categories for the current equipment. The acquisition module is used to perform a four-stage screening process based on the parsed gas information, the locked unique compliant equipment series and the final configuration set, and the unified brand results. It calls the parameter details table, the material library, and the parts comparison table. This process includes gas compatibility and safety screening, brand matching screening, automatic association and expansion of matching parts, and automatic calculation of the number of electronic control labels to obtain a set of compliant materials. An anomaly blocking mechanism is set up throughout the process. The third generation module is used to merge and deduplicate the obtained compliant material set, generate a standard BOM, and call the material price library to match the unit price of the materials, automatically calculate the amount of each item and the total cost of the equipment, and generate a BOM quotation.

9. An electronic device, characterized in that, include: The device includes a processor, a memory, and a bus. The memory stores machine-readable instructions executable by the processor. When the electronic device is running, the processor communicates with the memory via the bus. When the machine-readable instructions are executed by the processor, they perform the steps of an automatic method for generating a bill of materials for a gas conveying device as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, performs the steps of an automatic method for generating a bill of materials for a gas conveying device as described in any one of claims 1 to 7.