Method for automatically generating a piping specification based on a piping material code and extension rules

By constructing a seven-digit coding system and an integrated data dictionary, piping specifications are automatically generated, solving the problem of fragmented coding rules in the shipbuilding industry, realizing autonomous unification and standardization of coding, and improving design efficiency and data reuse capabilities.

CN123178405APending Publication Date: 2026-11-27SHANGHAI WAIGAOQIAO SHIP BUILDING CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

The lack of an independent and unified piping system coding system in the shipbuilding industry has led to fragmented coding rules, incompatible data, duplicate coding and investment, and difficulty in guaranteeing coding quality. Piping system specifications rely on manual compilation, which is inefficient and of poor quality, and cannot support the automatic generation and reuse of subsequent basic component libraries.

Method used

A seven-digit coding system is constructed, an integrated data dictionary is established, field values ​​and association matching and linkage constraint rules are configured, three sets of material code combination data are generated, a main table and sub-table structured design is adopted, piping system specifications are automatically generated, and closed-loop management is achieved through status flow.

Benefits of technology

It has achieved independent unification and standardization of piping system coding, reduced duplicate coding, improved coding accuracy and flexibility, reduced workload and error rate, and improved design efficiency and data reuse capability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123178405A_ABST
    Figure CN123178405A_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of ship piping coding and specification automation, and discloses a method for automatically generating a piping specification based on piping material coding and extension rules, which constructs a seven-digit coding system; establishes an integrated data dictionary, configures the value range of each field, and sets the matching and linkage constraint rules between fields; divides and generates three groups of material coding combination data based on the integrated data dictionary, and selects and filters multiple sets of complete rules as needed for each group; selects a ship type and a ship number, and selects one set from each of the three groups of complete rules for cross-group permutation and combination to automatically assemble and generate a valid seven-digit code; configures a piping specification, automatically fills in the main table by selecting the code through a drop-down menu, selects the sub-table based on the dictionary, and automatically generates the specification according to a preset template. The present application realizes independent and unified coding standards, standardized generation of coding combinations, and automatic output of specifications, thereby improving the standardization and efficiency of piping design.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of automated ship piping system coding and specification technology, specifically a method for automatically generating piping specifications based on piping material coding and extension rules. Background Technology

[0002] In ship piping system design, pipe material coding and piping system specification preparation are crucial links connecting design and construction. Pipe material coding is used to uniquely identify the specifications and grades of materials such as pipes, flanges, and connectors, while piping system specifications are used to fully express the design parameters and configuration requirements of the piping system. Both directly affect design efficiency, material procurement accuracy, and construction quality.

[0003] For a long time, the piping system coding system in the shipbuilding industry has exhibited a distinctly fragmented nature. In the cruise ship construction sector, piping system codes are often scattered and embedded within the production and design processes of individual companies, or directly reference external general coding standards, failing to form an independent, unified, and widely adopted coding system. The coding structure, field definitions, and applicable rules are externally driven, leaving companies lacking the right to define and adapt standards, making it difficult to meet the personalized needs of cruise ship design and high-standard construction. Similarly, in the civil ship and offshore engineering sectors, a dedicated and unified piping system coding system has not been established. Companies often adopt scattered and temporary coding methods, resulting in inconsistent coding rules, data incompatibility and reuse, and a lack of standardized and reusable coding specifications.

[0004] Cruise ship piping system coding relies on external general standards, while the civilian ship and offshore engineering sectors lack dedicated and unified piping system coding specifications. The coding rules of the three sectors are fragmented and the data is incompatible, resulting in the same material being repeatedly coded and invested in different projects, and cross-ship types cannot be universally reused. There is a lack of correlation constraints between coding fields, and coding combinations rely on manual experience judgment, resulting in a large number of invalid and unreasonable coding combinations, making it difficult to guarantee coding quality. Piping system specifications rely on manual compilation and manual compilation, resulting in poor configuration flexibility, large workload, long cycle, high error rate, and inability to support the automatic generation and reuse of subsequent basic component libraries. Summary of the Invention

[0005] To address the shortcomings of existing technologies, this invention provides a method for automatically generating pipe specifications based on pipe material coding and extension rules. This solves the problems mentioned in the background, such as the lack of an independent and unified pipe coding system with inter-field correlation constraints in existing technologies, which leads to the inability to standardize and reuse pipe design data, and the reliance on manual compilation of pipe specifications, resulting in low efficiency and poor quality.

[0006] This invention provides the following technical solution: a method for automatically generating pipe specifications based on pipe material coding and extension rules, comprising the following steps: Step S1: Construct a seven-digit coding system, wherein the seven-digit code includes, in sequence: pipe grade field, main material field, pipe standard field, grade field, flange standard field, flange pressure rating field, and wall thickness rating field; Step S2: Establish an integrated data dictionary, configure the value range of each field in the integrated data dictionary, configure the association matching and linkage constraint rules between each field and each level, and configure special dictionary data for pipe connectors and flange connectors. Step S3: Based on the integrated data dictionary and the association matching and linkage constraint rules, divide and generate three sets of material code combination data: the first set is the combination data of main material field, pipe standard field, grade field and wall thickness grade field; the second set is the combination data of flange standard field and flange pressure grade field; and the third set is the combination data of pipe grade limitation rules. Step S4: Select and filter each set of combined data as needed, and customize multiple sets of rules; Step S5: Select the ship type and ship number, select one set of rules from the three sets of rules that are suitable for the current ship type and ship number, and arrange and combine the three sets of selected rules across groups to automatically assemble and generate a valid seven-digit code that is suitable for the ship number and ship type. Step S6: Configure the piping system specification sheet. Each piping system specification sheet corresponds to a set of seven-digit codes. The structured design of main table and sub-table is adopted. The specification sheet is configured first and then automatically generated. After the configuration is completed, the data is automatically integrated according to the preset template to generate the piping system specification sheet.

[0007] Preferably, in step S1, the pipe grade field is denoted as A, the main material field is denoted as B1, the pipe standard field is denoted as B2, the grade field is denoted as B3, the flange standard field is denoted as C1, the flange pressure rating field is denoted as C2, and the wall thickness rating field is denoted as D. The value of the pipe grade field is either Grade I or Grade II.

[0008] Preferably, in step S2: establishing an integrated data dictionary includes: importing a piping system standard data dictionary, which contains piping system standard data for cruise ships, civilian ships and offshore vessels, and completing the entry of basic data such as pipe grade, main material, pipe standard, grade, flange parameters, wall thickness and connectors into the database; establishing a classification directory with the coded field as the node, and constructing a three-level index directory architecture.

[0009] Preferably, in step S2, configuring the association matching and linkage constraint rules between each field and each level includes: Encoding rule definition: In the encoding configuration interface, define the value rules, linkage constraints and field associations of each digit in the seven-digit code, and complete the preset of the underlying rules for the three sets of material codes; Linkage logic preset: The hierarchical linkage from B1 to B2 to B3, the matching of C1 and C2, and the pipe grade limitation are pre-bound in the integrated data dictionary; Batch generation and parsing of codes: Based on the integrated data dictionary and linkage rules, all legal code combinations are automatically generated in batches; the built-in parsing engine decomposes the meaning of all fields and parameter information of any seven-bit code.

[0010] Preferably, in step S3, the generation of the first set of combined data includes: automatically bringing out the matching B2 pipe standard when B1 main material is selected; automatically bringing out the matching B3 grade after B2 is selected; the D wall thickness grade is an independent field with no associated rules; and automatically generating compliant B1, B2, B3, and D combined data according to the preset linkage logic of the integrated data dictionary. The generation of the second set of combined data includes: automatically generating valid combination data of C1 flange standard and C2 flange pressure rating based on the matching relationship of the integrated data dictionary; The generation of the third set of combined data includes: selecting pipe grade I or II, then selecting pipe standard B2, and B3 automatically bringing out the existing combined data in conjunction with B2. Only useless entries are allowed to be removed, and no additional non-standard data can be added; then selecting flange pressure grade C2 to generate combined data containing A, B2, B3, and C2.

[0011] Preferably, in step S4, for the combined data of the first group, the second group and the third group, the combined data within each group is freely selected and filtered; the data range is simplified by the set of rules, reducing the number of invalid combinations of the subsequent seven-digit codes.

[0012] Preferably, in step S5, a set of rules suitable for the current ship type and ship number is selected from the three sets of rules and then arranged and combined across groups.

[0013] Preferably, in step S6, after selecting the target seven-digit code from the drop-down menu in the main table configuration, all core parameters of the seven-digit code are automatically extracted from the integrated data dictionary and populated into the main table; in the sub-table configuration, based on the project design requirements, the connection parameters are selected from the predefined pipe connection and flange connection special data in the integrated data dictionary. The sub-table configuration also includes: drop-down selection of elbows and tees, including the standards and parameters of at least the connecting parts; automatic execution of design specifications and matching rule logic verification to block non-compliant configurations; online preview of the complete specifications recommended by the system and automatically generated, and triggering the generation of piping specifications upon confirmation.

[0014] Preferably, after the configuration is completed in step S6, standard specifications are output and the entire process is managed in a closed loop: The system automatically formats the piping specifications according to the preset standard template and outputs a piping specification that is just the right size for a single page. The generated piping system specifications are subject to status flow control, with a closed-loop flow of three statuses: pending configuration, pending review, and reviewed. Once the review is approved, the specifications are archived and become effective. The rules and parameter data accumulated in the approved and archived piping specifications can be reused in batches with one click, automatically driving the generation, deployment and cross-project reuse of the basic component library.

[0015] Preferably, historical data reuse is also included: When creating new projects of the same type of ship, retrieve existing complete sets of rules and historical coding results; The original rules were reduced and adjusted for adaptation. Generate a unique seven-digit code, piping specifications, and basic component library data for the new project.

[0016] Compared with the prior art, the present invention has the following beneficial effects: 1. This invention constructs an independent and unified seven-digit coding system covering multiple ship types, including cruise ships, civilian ships, and offshore engineering vessels. This replaces the current situation where cruise ships rely on external general standards and civilian ships and offshore engineering vessels lack exclusive coding specifications. It realizes the independent definition and unification of pipeline coding standards, and the same material can be reused in different projects, reducing duplicate coding and duplicate investment.

[0017] 2. This invention configures the value range of each field and the association matching and linkage constraint rules between fields through an integrated data dictionary. This enables the coding combination to be automatically generated based on dictionary linkage logic, replacing the coding method that relies on manual experience judgment. This reduces the generation of invalid and unreasonable coding combinations and improves the standardization and accuracy of coding.

[0018] 3. This invention divides the coding into three groups of material coding combination data according to business logic, supports the selection and filtering of multiple sets of rules as needed, and performs cross-group arrangement and combination according to ship type and ship number of the set of rules, realizing the standardized generation of coding combination and ship type differentiation adaptation, and reducing the number of invalid combinations of the subsequent seven-digit coding.

[0019] 4. This invention adopts a structured design of main table and sub-table in the piping system specification. The main table data is automatically filled according to the code drop-down selection, and the sub-table data is flexibly selected based on the dictionary. This replaces the manual method of sorting and compiling specifications line by line, reducing workload and error rate, and shortening the compilation cycle.

[0020] 5. This invention, through the standard template output of piping system specifications, and the closed-loop flow of three states—pending configuration, pending review, and reviewed—achieves process control, making the specification preparation and review process standardized and transparent. The rules and parameter data in the reviewed and archived piping system specifications can be reused in batches, automatically driving the generation, deployment, and cross-project reuse of the basic component library, opening up the data link between coding, specifications, and component library, and improving the standardization and reuse efficiency of the entire design process. Attached Figure Description

[0021] Figure 1 This is a flowchart of the present invention; Figure 2 This is a diagram of the entry interface of the piping system specification management system of this invention; Figure 3 This is a diagram of the data dictionary definition - pipe grade definition interface of this invention; Figure 4 This is a diagram of the interface for generating and configuring material coding rules in this invention; Figure 5 An interface diagram is generated for the material coding of this invention. Detailed Implementation

[0022] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0023] Please see Figure 1-5 A method for automatically generating pipe specifications based on pipe material coding and extension rules includes the following steps: Step S1: Construct a seven-digit coding system, wherein the seven-digit code includes, in sequence: pipe grade field, main material field, pipe standard field, grade field, flange standard field, flange pressure rating field, and wall thickness rating field; Specifically, the pipe grade field is denoted as A, the main material field as B1, the pipe standard field as B2, the grade field as B3, the flange standard field as C1, the flange pressure rating field as C2, the wall thickness rating field as D, and the pipe grade field is designated as either Grade I or Grade II. Step S2: Establish an integrated data dictionary, configure the value range of each field in the integrated data dictionary, configure the association matching and linkage constraint rules between each field and each level, and configure special dictionary data for pipe connectors and flange connectors. Specifically, establishing an integrated data dictionary includes: importing a piping system standard data dictionary, which contains piping system standard data for cruise ships, civilian ships, and offshore vessels; completing the entry of basic data on pipe grades, main materials, pipe standards, grades, flange parameters, wall thickness, and connectors into the database; and establishing a classification directory with coded fields as nodes to construct a three-level index directory architecture. Configure the association matching and linkage constraint rules between each field and each level, including: Encoding rule definition: In the encoding configuration interface, define the value rules, linkage constraints and field associations of each digit in the seven-digit code, and complete the preset of the underlying rules for the three sets of material codes; Linkage logic preset: The hierarchical linkage from B1 to B2 to B3, the matching of C1 and C2, and the pipe grade limitation are pre-bound in the integrated data dictionary; Batch generation and parsing of codes: Based on the integrated data dictionary and linkage rules, all legal code combinations are automatically generated in batches; the built-in parsing engine can decompose the meaning of all fields and parameter information of any seven-bit code; Step S3: Based on the integrated data dictionary and the association matching and linkage constraint rules, divide and generate three sets of material code combination data: the first set is the combination data of main material field, pipe standard field, grade field and wall thickness grade field; the second set is the combination data of flange standard field and flange pressure grade field; and the third set is the combination data of pipe grade limitation rules. Specifically, the generation of the first set of combined data includes: automatically bringing out the matching B2 pipe standard when B1 main material is selected; automatically bringing out the matching B3 grade after B2 is selected; the D wall thickness grade is an independent field with no associated rules; and automatically generating compliant B1, B2, B3, and D combined data according to the preset linkage logic of the integrated data dictionary. The generation of the second set of combined data includes: automatically generating valid combination data of C1 flange standard and C2 flange pressure rating based on the matching relationship of the integrated data dictionary; The generation of the third set of combined data includes: selecting pipe grade I or II, then selecting pipe standard B2, and B3 automatically bringing out the existing combined data in conjunction with B2. Only useless entries are allowed to be removed, and no additional non-standard data can be added; then selecting flange pressure grade C2 to generate combined data containing A, B2, B3, and C2. Step S4: Select and filter each group of combined data as needed, customize multiple sets of rules, and freely select and filter the combined data within each group for the first, second, and third groups of combined data; simplify the data range through the set of rules to reduce the number of invalid combinations of the subsequent seven-digit codes; Step S5: Select the ship type and ship number, select one set of rules from the three sets of rules that are suitable for the current ship type and ship number, arrange and combine the three sets of rules across groups, automatically assemble and generate a valid seven-digit code that is suitable for the ship number and ship type, and select one set of rules from the three sets of rules that are suitable for the current ship type and ship number and arrange and combine them across groups. Step S6: Configure the piping system specification sheet. Each piping system specification sheet corresponds to a set of seven-digit codes. A structured design with main tables and sub-tables is adopted. The specification sheet is configured first and then automatically generated. After the configuration is completed, the data is automatically integrated according to the preset template to generate the piping system specification sheet. Specifically, in the main table configuration, after selecting the target seven-digit code from the drop-down menu, all core parameters of the seven-digit code are automatically extracted from the integrated data dictionary and populated into the main table; in the sub-table configuration, based on the project design requirements, the connection parameters are selected from the predefined pipe connection and flange connection data in the integrated data dictionary. The sub-table configuration also includes: drop-down selection of elbows and tees, including the standards and parameters of at least the connecting parts; automatic execution of design specifications and matching rule logic verification to block non-compliant configurations; online preview of the complete specifications recommended by the system and automatically generated, and triggering the generation of piping specifications upon confirmation.

[0024] After configuration is complete, standard specifications will be output and the entire process will be managed in a closed loop. The system automatically formats the piping specifications according to the preset standard template and outputs a piping specification that fits perfectly on a single page. It manages the status flow of the generated piping specifications, setting up a closed-loop flow of three statuses: pending configuration, pending review, and reviewed. Once the review is approved, the specifications are archived and take effect. The system can reuse the rules and parameter data accumulated in the reviewed and archived piping specifications in batches with one click, automatically driving the generation, deployment, and cross-project reuse of the basic component library.

[0025] Historical data reuse: When creating a new project of the same type of ship, retrieve the existing complete set of rules and historical coding results; make deletions and adjustments to adapt to the original rules; generate a new project-specific seven-digit code, piping specifications and basic component library data.

[0026] In one specific embodiment, this is achieved through an encoding rule configuration engine and a specification intelligent generation tool: I. Construction of the Seven-bit Encoding System and Configuration of Linkage Rules A seven-digit coding system is constructed, comprising the following seven digits in sequence: pipe grade field, main material field, pipe standard field, grade field, flange standard field, flange pressure rating field, and wall thickness rating field. For ease of reference, the pipe grade field is denoted as A, the main material field as B1, the pipe standard field as B2, the grade field as B3, the flange standard field as C1, the flange pressure rating field as C2, and the wall thickness rating field as D.

[0027] II. Establish an integrated data dictionary. Environment preparation and global configuration of the data dictionary: First, the system is initialized. The system administrator uniformly imports the piping system standard data dictionary applicable to cruise ships, civilian ships and offshore vessels. This data dictionary contains piping system standard data for cruise ships, civilian ships and offshore vessels. The imported data covers all basic data such as pipe grade, main material, pipe standard, grade, flange parameters, wall thickness and various connectors, and completes the basic data entry.

[0028] Based on this, a classification directory is established with the encoded field as the node, and a three-level index directory architecture is constructed to facilitate quick retrieval and retrieval when defining encoding rules, generating combined data, and configuring specifications.

[0029] In the coding configuration interface, the value rules, linkage constraints, and field associations of each digit in the seven-digit code are defined one by one, completing the preset of the underlying rules for the three sets of material codes. Specifically, the following linkage logic is pre-bound in the integrated data dictionary: the hierarchical linkage from B1 to B2 to B3, that is, when the main material B1 is selected, the matching pipe standard B2 is automatically brought out, and when B2 is selected, the matching grade B3 is automatically brought out; the matching relationship between C1 and C2; and the pipe grade limitation relationship.

[0030] Based on the aforementioned integrated data dictionary and linkage rules, the system automatically generates all legal code combinations in batches. At the same time, the built-in parsing engine can completely decompose the meaning of all fields and parameter information of any seven-digit code with one click.

[0031] Third, based on the integrated data dictionary and the rules of association matching and linkage constraints, three sets of material code combination data are divided and generated.

[0032] The first group is a combination of data including the main material field, pipe standard field, grade field, and wall thickness grade field, namely the B1B2B3D combination data. Its generation method is as follows: selecting the B1 main material automatically brings up the matching B2 pipe standard; selecting B2 automatically brings up the matching B3 grade; the D wall thickness grade is an independent field with no associated rules; based on the preset linkage logic of the integrated data dictionary, multiple compliant B1B2B3D combination data entries are automatically generated in batches.

[0033] The second group consists of combined data of the flange standard field and the flange pressure rating field, namely the C1C2 combined data. It is generated by automatically generating valid combined data of C1 flange standard and C2 flange pressure rating based on the matching relationship of the integrated data dictionary.

[0034] The third group is the combination data of pipe grade limitation rules. The generation method is as follows: select the value of the pipe grade field as Grade I or Grade II, then select B2 pipe standard, B3 will automatically bring out the existing combination data along with B2, only useless entries are allowed to be removed, and no additional non-standard data can be added; then select C2 flange pressure level to generate combination data containing A, B2, B3 and C2.

[0035] After generating the three sets of combined data, for the first, second, and third sets of combined data, you can freely select and filter the combined data within each set. For example, the first set, B1B2B3D, has 100 combined data entries; you can select 50 of them to generate rule set A, and select 60 of them to generate rule set B. By using complete sets of rules, you can simplify the data range and reduce the number of invalid combinations in the subsequent seven-digit codes.

[0036] IV. Select and filter each set of combined data as needed, and customize multiple sets of rules; 5. After selecting the ship type and ship number, for each of the three sets of combination rules, match a set of rules suitable for that ship type and ship number from each set. Arrange and combine the three selected sets of rules across groups to output a batch of project-specific, compliant, and non-redundant valid and complete seven-digit code sets. The generated seven-digit codes are suitable for that ship number and can be directly used for the piping system design of that project.

[0037] VI. Configure piping system specifications. Each piping system specification corresponds to a complete professional interpretation of a set of seven-digit codes. The specification adopts a structured design of main tables and sub-tables. The configuration process is to configure first and then automatically generate.

[0038] Main table configuration: After selecting the target seven-digit code from the drop-down menu, the system automatically extracts all the core parameters of the seven-digit code from the integrated data dictionary, and the main table is automatically populated and generated without the need for manual entry.

[0039] Sub-table configuration: Flexible selection based on actual project design requirements. Drag and drop parameters from predefined pipe and flange connection data in the integrated data dictionary. Furthermore, from the built-in pipe and flange connection database in the integrated data dictionary, users can select standards and parameters for at least one connection such as elbows and tees. The system automatically performs design specification and matching rule logic checks, blocking non-compliant configurations. Designers can preview the system-recommended and automatically generated complete specifications online, and trigger generation with a single click after confirmation.

[0040] During generation, the system automatically formats the piping specifications according to the preset A4 standard template, outputting a piping specification that is just the right size for a single page.

[0041] Process control and extended reuse: The generated piping system specifications enter a closed loop of three states: pending configuration, pending review, and reviewed. After the review is approved, they are officially archived and take effect. The rules and parameter data accumulated in the reviewed and archived piping system specifications can be reused in batches with one click, automatically driving the generation, deployment and cross-project reuse of the basic component library.

[0042] Specific implementation methods for historical data reuse: When creating new projects of the same type, existing mature rules and historical coding results can be directly retrieved. Based on the original rules, deletions and adjustments can be made to adapt them without reconfiguring from scratch. A unique seven-digit code, piping specifications, and basic component library data for the new project can be generated with one click, enabling rapid replication and implementation of the project.

[0043] Detailed implementation of seven-bit code parsing: For any seven-digit code that has been generated, it is broken down by the built-in parsing engine. Taking a specific code as an example, the parsing engine reads the pipe grade field, main material field, pipe standard field, grade field, flange standard field, flange pressure rating field and wall thickness rating field in the seven-digit code in sequence. It extracts the specific parameter information corresponding to each field from the integrated data dictionary and outputs the complete field meaning and parameter information of the code for automatic filling in of the specification main table and subsequent design calls.

[0044] Although embodiments of the invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the appended claims and their equivalents.

Claims

1. A method for automatically generating pipe specifications based on pipe material coding and extension rules, characterized in that, Includes the following steps: Step S1: Construct a seven-digit coding system, wherein the seven-digit code includes, in sequence: pipe grade field, main material field, pipe standard field, grade field, flange standard field, flange pressure rating field, and wall thickness rating field; Step S2: Establish an integrated data dictionary, configure the value range of each field in the integrated data dictionary, configure the association matching and linkage constraint rules between each field and each level, and configure special dictionary data for pipe connectors and flange connectors. Step S3: Based on the integrated data dictionary and the association matching and linkage constraint rules, divide and generate three sets of material code combination data: the first set is the combination data of main material field, pipe standard field, grade field and wall thickness grade field; the second set is the combination data of flange standard field and flange pressure grade field; and the third set is the combination data of pipe grade limitation rules. Step S4: Select and filter each set of combined data as needed, and customize multiple sets of rules; Step S5: Select the ship type and ship number, select one set of rules from the three sets of rules that are suitable for the current ship type and ship number, and arrange and combine the three sets of selected rules across groups to automatically assemble and generate a valid seven-digit code that is suitable for the ship number and ship type. Step S6: Configure the piping system specification sheet. Each piping system specification sheet corresponds to a set of seven-digit codes. The structured design of main table and sub-table is adopted. The specification sheet is configured first and then automatically generated. After the configuration is completed, the data is automatically integrated according to the preset template to generate the piping system specification sheet.

2. The method for automatically generating pipe specifications based on pipe material coding and extension rules according to claim 1, characterized in that, In step S1, the pipe grade field is denoted as A, the main material field is denoted as B1, the pipe standard field is denoted as B2, the grade field is denoted as B3, the flange standard field is denoted as C1, the flange pressure rating field is denoted as C2, and the wall thickness rating field is denoted as D. The value of the pipe grade field is either Grade I or Grade II.

3. The method for automatically generating pipe specifications based on pipe material coding and extension rules according to claim 1, characterized in that, In step S2: establishing an integrated data dictionary includes: importing a piping system standard data dictionary, which contains piping system standard data for cruise ships, civilian ships and offshore vessels, and completing the entry of basic data such as pipe grade, main material, pipe standard, grade, flange parameters, wall thickness and connectors into the database; establishing a classification directory with the coded field as the node, and constructing a three-level index directory architecture.

4. The method for automatically generating pipe specifications based on pipe material coding and extension rules according to claim 2, characterized in that, In step S2, configuring the association matching and linkage constraint rules between each field and each level includes: Encoding rule definition: In the encoding configuration interface, define the value rules, linkage constraints and field associations of each digit in the seven-digit code, and complete the preset of the underlying rules for the three sets of material codes; Linkage logic preset: The hierarchical linkage from B1 to B2 to B3, the matching of C1 and C2, and the pipe grade limitation are pre-bound in the integrated data dictionary; Batch generation and parsing of codes: Based on the integrated data dictionary and linkage rules, all legal code combinations are automatically generated in batches; the built-in parsing engine decomposes the meaning of all fields and parameter information of any seven-bit code.

5. The method for automatically generating pipe specifications based on pipe material coding and extension rules according to claim 3, characterized in that, In step S3, the generation of the first set of combined data includes: when B1 main material is selected, the matching B2 pipe standard is automatically brought out; after B2 is selected, the matching B3 grade is automatically brought out; the D wall thickness grade is an independent field with no associated rules; according to the preset linkage logic of the integrated data dictionary, compliant B1, B2, B3, and D combined data are automatically generated. The generation of the second set of combined data includes: automatically generating valid combination data of C1 flange standard and C2 flange pressure rating based on the matching relationship of the integrated data dictionary; The generation of the third set of combined data includes: selecting pipe grade I or II, then selecting pipe standard B2, and B3 automatically bringing out the existing combined data in conjunction with B2. Only useless entries are allowed to be removed, and no additional non-standard data can be added; then selecting flange pressure grade C2 to generate combined data containing A, B2, B3, and C2.

6. The method for automatically generating pipe specifications based on pipe material coding and extension rules according to claim 1, characterized in that, In step S4, for the combined data of the first group, the second group and the third group, the combined data within each group is freely selected and filtered; the data range is simplified by the set of rules to reduce the number of invalid combinations of the subsequent seven-digit codes.

7. The method for automatically generating pipe specifications based on pipe material coding and extension rules according to claim 1, characterized in that, In step S5, a set of rules suitable for the current ship type and ship number is selected from the three sets of rules and then arranged and combined across groups.

8. The method for automatically generating pipe specifications based on pipe material coding and extension rules according to claim 1, characterized in that, In step S6, in the main table configuration, after selecting the target seven-digit code from the drop-down menu, all core parameters of the seven-digit code are automatically extracted from the integrated data dictionary and populated into the main table; in the sub-table configuration, based on the project design requirements, the connection parameters are selected from the predefined pipe connection and flange connection special data in the integrated data dictionary. The sub-table configuration also includes: drop-down selection of elbows and tees, including the standards and parameters of at least the connecting parts; automatic execution of design specifications and matching rule logic verification to block non-compliant configurations; online preview of the complete specifications recommended by the system and automatically generated, and triggering the generation of piping specifications upon confirmation.

9. The method for automatically generating pipe specifications based on pipe material coding and extension rules according to claim 1, characterized in that, After completing the configuration in step S6, standard specifications are output and the entire process is managed in a closed loop. The system automatically formats the piping specifications according to the preset standard template and outputs a piping specification that is just the right size for a single page. The generated piping system specifications are subject to status flow control, with a closed-loop flow of three statuses: pending configuration, pending review, and reviewed. Once the review is approved, the specifications are archived and become effective. The rules and parameter data accumulated in the approved and archived piping specifications can be reused in batches with one click, automatically driving the generation, deployment and cross-project reuse of the basic component library.

10. The method for automatically generating pipe specifications based on pipe material coding and extension rules according to claim 1, characterized in that, This also includes historical data reuse: When creating new projects of the same type of ship, retrieve existing complete sets of rules and historical coding results; The original rules were reduced and adjusted for adaptation. Generate a unique seven-digit code, piping specifications, and basic component library data for the new project.