Ship outfitting piece coating calculation method and system, electronic equipment and storage medium
By constructing a computational model linking design space and material categories, the error problem caused by traditional manual selection of paint codes was solved, achieving accurate matching of paint codes, reducing rework and material waste, improving design efficiency and standardization, and adapting to the needs of digital shipbuilding.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-01-06
- Publication Date
- 2026-04-03
AI Technical Summary
Traditional ship outfitting paint design relies on manual selection of paint codes, resulting in a high error rate, making it difficult to meet the design requirements of digital shipbuilding, and easily leading to rework and material waste.
By establishing multiple relationships between design space information, materials, and coating processes, an automated calculation model is constructed to achieve accurate matching of coating codes. This includes determining the relationships between spatial codes, key attribute parameters, coating process parameters, and material categories, constructing a relational calculation model, and outputting the corresponding coating codes.
It improves the accuracy of paint code matching, reduces rework and material waste, enhances design efficiency and standardization, and adapts to the digital shipbuilding needs of larger, more complex, and more intelligent ships.
Smart Images

Figure CN121786980A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of shipbuilding technology, and more specifically, to a calculation method, system, electronic device, and storage medium for painting ship outfitting components. Background Technology
[0002] In shipbuilding, painting processes directly affect a ship's corrosion resistance, durability, and aesthetic appearance. Beyond hull structure corrosion protection, the more complex aspect involves matching suitable painting solutions to a vast number of outfitting components, based on their respective working environments and corrosion requirements. The traditional ship outfitting component painting design process involves the painting management department providing painting process documents (in two-dimensional form) based on the painting requirements of different areas of the ship. Outfitting designers then manually select the outfitting painting codes based on these documents. However, limited by factors such as differences in experience among outfitting designers and incomplete information access, this manual selection method is highly prone to errors in choosing outfitting painting codes, leading to rework in subsequent outfitting component construction and material waste.
[0003] As ships continue to develop towards larger, more complex, and more intelligent designs, the requirements for ship outfitting and painting design are also increasing. Traditional design methods that rely on manual matching of two-dimensional files are difficult to meet the design needs of digital shipbuilding. Summary of the Invention
[0004] The purpose of this application is to provide a calculation method, system, electronic device, and storage medium for ship outfitting component painting. By establishing multiple relationships between design spatial information, outfitting component materials, and painting processes and codes, an automated calculation model is constructed to solve the problems of scattered information in traditional two-dimensional files and the susceptibility to errors in manual selection. It achieves accurate matching of painting codes, reduces rework and material waste, improves design efficiency and standardization, and adapts to the needs of digital shipbuilding.
[0005] Firstly, a method for calculating the painting of ship outfitting components is provided, including:
[0006] S1. Determine the spatial codes and key attribute parameters of each design space of the ship, and establish the correlation between the spatial codes and key attribute parameters, which is denoted as the first correlation relationship;
[0007] S2. Determine the coating process parameters and coating codes, and establish the association between the coating codes and coating process parameters, which is denoted as the second association relationship;
[0008] S3. Based on the key attribute parameters of the ship design space and the material categories of outfitting components, determine the corresponding painting process parameters, establish the correlation between the painting process parameters and the key attribute parameters and the material categories of outfitting components, and denote it as the third correlation relationship;
[0009] S4. Based on the first to third association relationships, establish an association calculation model between spatial codes and outfitting material categories and corresponding painting codes;
[0010] S5. Obtain the material category of the outfitting component, and determine the spatial code of the design space where the outfitting component is located by the interference between the outfitting component and the design space. Input the spatial code and the material category of the outfitting component into the association calculation model, and output the painting code corresponding to the current outfitting component.
[0011] In one feasible approach, in step S1, the key attribute parameters of a single design space include space code, design space name, design space medium, medium pH value, design space temperature, design space type, whether galvanizing is permitted, and whether there is a concealed space.
[0012] In one feasible approach, the coating process parameters corresponding to a single coating code include at least the coating sequence, paint type, film thickness, and color.
[0013] In one feasible approach, in step S2, the attribute parameters of the design space include the protection level, and the coating code is prioritized based on different protection levels, with higher protection levels having higher priorities.
[0014] In one feasible approach, the steps of the associated computation model to calculate the coating code include:
[0015] Determine whether the outfitting component belongs to a single design space based on the spatial code; if so, directly output the painting code associated with the current spatial code and the material category of the outfitting component; otherwise, proceed to the next step.
[0016] Determine the space codes corresponding to the design spaces spanned by the outfitting components;
[0017] The corresponding paint codes are determined based on the spatial codes and the material categories of the outfitting components;
[0018] The highest priority paint code is determined as the paint code for the current outfitting part.
[0019] In one feasible embodiment, prior to step S5, the following steps are also included:
[0020] Establish an outfitting component type library; the outfitting component type library includes special type components and regular type components;
[0021] Establish a special type of component painting code library; the special type of component code library stores the component number of the special type of component, and the component number is bound to the corresponding painting code, which is recorded as non-standard painting code; the priority of non-standard painting code is higher than the priority of the painting code corresponding to spatial code.
[0022] In one feasible embodiment, after step S4 and before step S5, the following is also included:
[0023] Determine whether the outfitting component belongs to a special category of component; if not, proceed to step S5; if yes, proceed to the next step.
[0024] Read the component number of the outfitting;
[0025] The non-standard paint code is retrieved from the component number and output as the paint code of the current outfitting part.
[0026] Secondly, a ship outfitting coating calculation system is also provided, including:
[0027] The attribute definition module is used to determine the spatial codes and key attribute parameters of each design space of the ship, and to establish the association relationship between the spatial codes and key attribute parameters, which is denoted as the first association relationship;
[0028] The coating parameter definition module is used to determine coating process parameters and coating codes, and to establish the association between coating codes and coating process parameters, which is referred to as the second association relationship.
[0029] The coating parameter and attribute association module is used to determine the corresponding coating process parameters based on the key attribute parameters of the ship design space and the material category of the outfitting components, and to establish the association relationship between the coating process parameters and the key attribute parameters and the material category of the outfitting components, which is referred to as the three association relationship;
[0030] The model building module is used to establish a calculation model for the association between spatial codes and outfitting material categories and corresponding painting codes based on the first to third association relationships;
[0031] The calculation module is used to obtain the material category of the outfitting parts, and determine the spatial code of the design space where the outfitting parts are located by the interference between the outfitting parts and the design space. The spatial code and the material category of the outfitting parts are input into the association calculation model, and the painting code corresponding to the current outfitting parts is output.
[0032] Thirdly, an electronic device is also provided, comprising: a processor and a memory storing computer program instructions. When the processor executes the computer program instructions, it implements the steps in the aforementioned method for calculating the painting of ship outfitting components.
[0033] Fourthly, a computer-readable storage medium is also provided, on which computer program instructions are stored, which, when executed by a processor, implement the steps in the aforementioned calculation method for painting ship outfitting components.
[0034] Compared with the prior art, the beneficial effects of this application include at least the following:
[0035] In the ship outfitting component painting calculation method of this application, step S1 determines the spatial codes and key attribute parameters of each design space of the ship and establishes a first correlation between the two, avoiding the drawbacks of scattered information and difficulty in accurate acquisition in traditional two-dimensional process documents, and providing comprehensive data support for subsequent matching. Step S2 determines the painting process parameters and painting codes, and establishes a second correlation between the two, clarifying the correspondence between the painting codes and actual construction requirements, reducing the misunderstanding of process documents caused by differences in experience among designers. Step S3 determines the corresponding painting process parameters based on the key attribute parameters of the design space and the material category of the outfitting components, and establishes a third correlation, so that the painting process parameters can fully adapt to the actual working conditions and material characteristics of the outfitting components, further improving the accuracy of matching. Step S4 integrates the first to third correlations to construct a correlation calculation model between spatial codes, outfitting component material categories and painting codes, systematizing and automating the scattered matching logic, and better adapting to the digital shipbuilding needs under the background of the development of larger, more complex and intelligent ships. Step S5 obtains the material category of the outfitting component and the spatial code of the design space it is located in, and inputs them into the associated calculation model to output the corresponding painting code. This replaces the traditional manual selection method, which to a certain extent reduces the rework of outfitting component construction and material waste caused by incorrect code selection. At the same time, it helps to improve the efficiency and standardization of ship outfitting painting design. Attached Figure Description
[0036] 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 this application 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.
[0037] Figure 1 This is a flowchart illustrating a method for calculating the painting of ship outfitting components, as shown in an embodiment of this application.
[0038] Figure 2 This is a table of key attribute parameters for a design space as shown in an embodiment of this application.
[0039] Figure 3 This is a parameter table showing a coating code and coating process parameters in an embodiment of this application.
[0040] Figure 4 This application provides an example of a parameter table relating a coating code to key attribute parameters and a material category.
[0041] Figure 5 This is a painting code parameter table for a special type of outfitting component, as shown in an embodiment of this application.
[0042] Figure 6 This is a schematic diagram of the structure of an electronic device according to an embodiment of this application. Detailed Implementation
[0043] 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. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. The components of the embodiments of this application described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.
[0044] 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.
[0045] like Figure 1 As shown in the embodiment of this application, a method for calculating the painting of ship outfitting components is provided, including:
[0046] S1. Determine the spatial codes and key attribute parameters of each design space of the ship, and establish the association between the spatial codes and key attribute parameters, which is denoted as the first association. In the first association, the key attribute parameters of the design space can be retrieved through the spatial code.
[0047] S2. Determine the coating process parameters and coating codes, and establish the association between the coating codes and coating process parameters, denoted as the second association; in the second association, the other item can be retrieved by using either the coating code or the coating process parameters.
[0048] S3. Based on the key attribute parameters of the ship design space and the material categories of outfitting components, determine the corresponding painting process parameters, establish the association relationship between the painting process parameters and the key attribute parameters and the material categories of outfitting components, and denote it as the third association relationship; in the third association relationship, the third item can be retrieved by using any two of the painting process parameters and the key attribute parameters and the material categories of outfitting components.
[0049] S4. Based on the first to third association relationships, establish an association calculation model between spatial codes and outfitting material categories and corresponding painting codes;
[0050] S5. Obtain the material category of the outfitting component, and determine the spatial code of the design space where the outfitting component is located by the interference between the outfitting component and the design space. Input the spatial code and the material category of the outfitting component into the association calculation model, and output the painting code corresponding to the current outfitting component.
[0051] In the ship outfitting component painting calculation method of this application, step S1 determines the spatial codes and key attribute parameters of each design space of the ship and establishes a first correlation between the two, avoiding the drawbacks of scattered information and difficulty in accurate acquisition in traditional two-dimensional process documents, and providing comprehensive data support for subsequent matching. Step S2 determines the painting process parameters and painting codes, and establishes a second correlation between the two, clarifying the correspondence between the painting codes and actual construction requirements, reducing the misunderstanding of process documents caused by differences in experience among designers. Step S3 determines the corresponding painting process parameters based on the key attribute parameters of the design space and the material category of the outfitting components, and establishes a third correlation, so that the painting process parameters can fully adapt to the actual working conditions and material characteristics of the outfitting components, further improving the accuracy of matching. Step S4 integrates the first to third correlations to construct a correlation calculation model between spatial codes, outfitting component material categories and painting codes, systematizing and automating the scattered matching logic, and better adapting to the digital shipbuilding needs under the background of the development of larger, more complex and intelligent ships. Step S5 obtains the material category of the outfitting component and the spatial code of the design space it is located in, and inputs them into the associated calculation model to output the corresponding painting code. This replaces the traditional manual selection method, which to a certain extent reduces the rework of outfitting component construction and material waste caused by incorrect code selection. At the same time, it helps to improve the efficiency and standardization of ship outfitting painting design.
[0052] In some embodiments, in step S1, such as Figure 2 As shown, the key attribute parameters of a single design space include the design space name (i.e., Figure 2 (The cabin array), design space medium, medium pH value, design space temperature (i.e., Figure 2 (In the cabin temperature and continuous temperature), design space type (i.e.) Figure 2 The types of compartments, whether galvanizing is permitted, and whether there are concealed spaces are all considered. Figure 2 The first relationship is shown. Each row of data can represent the key attribute parameters of a design space. The corresponding spatial code can be determined based on the large region, medium region, etc. to which the design space belongs. Figure 2 The cabin code is the space code, such as HM01000, HM01060, etc.
[0053] In some embodiments, such as Figure 3 The diagram illustrates the second association, and from... Figure 3 It can be seen that the coating process parameters corresponding to a single coating code can include at least the coating sequence, paint matching, film thickness, and color.
[0054] In some embodiments, Figure 4This demonstrates a third relationship. For example, in Figure 4 In this context, the space code is the compartment code (e.g., HM01010); key attribute parameters include the design space name, design space medium, medium pH value, design space temperature, design space type, and whether galvanizing is permitted. For example, the space corresponding to space code HM01010 has the design space name as a transformer room, the design space type (compartment type) as "no" (indicating it's a general functional compartment); the medium type as dry (air), the medium pH value as "no" (indicating the medium in this compartment is dry air, and pH value does not need to be recorded); the design space temperature includes the space temperature and the minimum and maximum temperatures; and the "whether galvanizing is permitted" field indicates whether galvanizing is allowed. Furthermore, Figure 4 Each line also indicates the relationship between coating process parameters and key attribute parameters, that is... Figure 4 The paint codes within the code. Additionally, internal paint codes (e.g.) can be set. Figure 4 The DX painting code in the code is used to quickly identify the corresponding design space or outfitting part.
[0055] and, Figure 4 Each line also identifies the material category (i.e., the material category of the outfitting component), and the material category of each line corresponds to the space code of the design space and the corresponding painting code.
[0056] In some embodiments, in step S2, the attribute parameters of the design space may include the protection level. The painting code is prioritized based on the different protection levels, with higher protection levels having higher priority. Different design spaces have different key attribute parameters, resulting in different protection levels for the same outfitting component in different design spaces.
[0057] In some embodiments, the step of calculating the coating code using the associated computational model may include:
[0058] Determine whether the outfitting component belongs to a single design space based on the spatial code; if so, directly output the painting code associated with the current spatial code and the material category of the outfitting component; otherwise, proceed to the next step.
[0059] Determine the space codes corresponding to the design spaces spanned by the outfitting components;
[0060] The corresponding paint codes are determined based on the spatial codes and the material categories of the outfitting components;
[0061] The highest priority paint code is determined as the paint code for the current outfitting part.
[0062] It should be noted that step S1 also includes establishing the ship's design space and a three-dimensional design model containing outfitting components. In the step of determining whether an outfitting component belongs to a single design space based on the spatial code of the associated calculation model, that is, determining the design space involved by the outfitting component through the interference between the outfitting component and the design space, and after determining the design space interfered with by the outfitting component, the spatial codes of these design spaces are then read.
[0063] The key attribute parameters of the design space include the protection level parameter. This protection level is a safety protection standard determined based on factors such as the harshness of the environment and the risk of corrosion in the design space. It is used to quantify the protection requirements of different design spaces for outfitting component coating. For example, design spaces that are in direct contact with media, such as oil tanks and water tanks, have a higher protection level than design spaces with dry air environments, such as ordinary walkways, due to their high corrosion risk. Design spaces with high temperature and humidity or acidic or alkaline media have a higher protection level than design spaces with normal temperature, dry conditions and neutral media. Based on the differences in protection levels, the technical solution establishes a priority rule for coating codes. The higher the protection level, the higher the priority of the corresponding coating code. This setting allows the coating solution to prioritize meeting the most stringent protection requirements of the environment in which the outfitting component is located. Because the key attribute parameters of different design spaces differ, the corrosion risk and environmental pressure faced by the same outfitting component in different design spaces will be different, and the corresponding protection level will also be different. This allows for the matching of coating codes with different priorities, ensuring the adaptability of the coating solution to the actual working conditions.
[0064] When calculating the paint code, the correlation calculation model first determines whether the outfitting component belongs to a single design space based on the spatial code. If it belongs to a single design space, it directly outputs the paint code associated with that spatial code and the material category of the outfitting component. This approach can quickly complete paint code matching in simple scenarios, improving design efficiency. If the outfitting component spans multiple design spaces, it further determines the spatial codes corresponding to all the design spaces it crosses. Then, based on each spatial code and the material category of the outfitting component, it determines the paint code corresponding to each design space. Finally, it selects the paint code with the highest priority as the final paint code for the outfitting component. This cross-space processing logic ensures that the outfitting component receives sufficient protection in different environmental areas, avoiding problems such as coating failure and outfitting component corrosion due to insufficient protection in some areas. This reduces subsequent rework and material waste, while maintaining the standardization and consistency of paint design, better adapting to the multi-scenario paint requirements brought about by the increasing size and complexity of ships.
[0065] In some embodiments, prior to step S5, the following may also be included:
[0066] Establish an outfitting component type library; the outfitting component type library includes special type components and regular type components;
[0067] Establish a special-category component painting code library; this library stores the component numbers of special-category components, and each component number is bound to a corresponding painting code, denoted as an unconventional painting code; the unconventional painting code has a higher priority than the painting code corresponding to the spatial code. See also Figure 5 This is a table of unconventional painting codes for special types of parts.
[0068] Therefore, after step S4 and before step S5, the following may also be included:
[0069] Determine whether the outfitting component belongs to a special category of component; if not, proceed to step S5; if yes, proceed to the next step.
[0070] Read the component number of the outfitting;
[0071] The non-standard paint code is retrieved from the part number and output as the paint code of the current outfitting part.
[0072] In this embodiment, after the association calculation model is built in step S4 and before step S5 is executed, this refined technical solution further improves the comprehensiveness of paint code matching by adding classification storage and priority determination logic, especially adapting to the personalized paint requirements of special types of parts, as follows:
[0073] First, the solution establishes an outfitting component type library. This library is a classification system based on the functional characteristics and working environment of outfitting components, clearly distinguishing between special and conventional components. Conventional components refer to outfitting components with ordinary working environments and protection requirements conforming to general standards, such as ordinary piping systems, hull support brackets, and standard connecting fasteners. Special components, on the other hand, refer to outfitting components with special working scenarios, special functional requirements, or protection requirements that differ from the conventional category, such as heating coils, steam liner pipes, cable penetrations, and high-pressure pipeline joints. These components often face high temperatures, high pressures, strong corrosion, or contact with special media, making conventional coating solutions insufficient to meet their protection requirements. Simultaneously, a special component coating code library is established. This library serves as a dedicated storage medium for coating codes of special components, storing unique component numbers for each component. Each component number is bound to a corresponding coating code, which is designated as an unconventional coating code. The solution explicitly prioritizes unconventional coating codes over the spatially coded coating codes, ensuring that the specific coating requirements of special components are met first.
[0074] Subsequently, in the specific process, after step S4, a special component determination step is executed first: First, it is determined whether the outfitting part to be painted belongs to a special component category. If the determination result is no, it means that the outfitting part is a regular component, and its painting requirements can be adapted through the existing associated calculation model. Therefore, step S5 is executed, that is, the painting code is matched with the material category of the outfitting part through spatial coding. If the determination result is yes, it means that the outfitting part needs to be adapted to a special painting scheme. At this time, the component number of the outfitting part is read, and the corresponding non-standard painting code is accurately queried in the special component painting code library through the component number. The non-standard painting code is then directly output as the painting code of the current outfitting part.
[0075] The core logic of this design lies in addressing the unique characteristics of special-type components. Moving beyond conventional spatial coding and material category matching, it uses pre-defined, dedicated coating codes with higher priority to ensure that these components receive precisely matched coating solutions. This avoids issues such as coating failures, component corrosion, or functional malfunctions caused by conventional matching logic failing to adequately consider specific operating conditions. Simultaneously, the standardized type and code libraries make the identification and coating code matching process for special-type components more standardized, reducing errors from manual judgment of special components. This further minimizes rework and material waste caused by improper coating code selection, broadening the applicability of the entire coating calculation method. It covers the general needs of conventional components while accurately responding to the personalized needs of special components, better supporting the comprehensiveness and reliability of ship outfitting and coating design.
[0076] Furthermore, this application also provides an embodiment of a ship outfitting paint calculation system, which includes:
[0077] The attribute definition module is used to determine the spatial codes and key attribute parameters of each design space of the ship, and to establish the association relationship between the spatial codes and key attribute parameters, which is denoted as the first association relationship;
[0078] The coating parameter definition module is used to determine coating process parameters and coating codes, and to establish the association between coating codes and coating process parameters, which is referred to as the second association relationship.
[0079] The coating parameter and attribute association module is used to determine the corresponding coating process parameters based on the key attribute parameters of the ship design space and the material category of the outfitting components, and to establish the association relationship between the coating process parameters and the key attribute parameters and the material category of the outfitting components, which is denoted as the third association relationship;
[0080] The model building module is used to establish a calculation model for the association between spatial codes and outfitting material categories and corresponding painting codes based on the first to third association relationships;
[0081] The calculation module is used to obtain the material category of the outfitting parts, and determine the spatial code of the design space where the outfitting parts are located by the interference between the outfitting parts and the design space. The spatial code and the material category of the outfitting parts are input into the association calculation model, and the painting code corresponding to the current outfitting parts is output.
[0082] This ship outfitting coating calculation system, through the coordinated operation of various functional modules, systematically achieves the matching and output of coating codes, as follows: The attribute definition module, as the data foundation building unit, is responsible for determining the spatial codes and key attribute parameters of each design space on the ship and establishing the first association. Key attribute parameters may include parameters reflecting the environmental characteristics of the design space, such as compartment medium type, temperature range, whether galvanizing is permitted, and protection level. This module, through integration, avoids matching deviations caused by data dispersion in traditional design. The coating parameter definition module focuses on standardizing coating-related parameters, determining coating process parameters and coating codes, and establishing the second association. Coating process parameters include core construction requirements such as paint matching system, film thickness, coating sequence, and color. The coating code is a unified identifier for these process parameters, providing a standardized basis for subsequent rapid matching. The coating parameter and attribute association module determines the corresponding coating process parameters based on the key attribute parameters of the design space and the material category of the outfitting components. The system can cover common ship outfitting materials such as carbon steel, stainless steel, and copper, and establishes a third correlation to ensure that the painting process parameters can accurately adapt to the working environment and material characteristics of the outfitting components, reducing protection failures caused by mismatch between working conditions and processes. The model building module integrates the first to third correlations to construct a correlation calculation model between spatial codes, outfitting component material categories, and painting codes, systematizing and automating the scattered matching logic and eliminating reliance on manual experience. The calculation module, as the execution unit, obtains the material category of the outfitting component to be painted and the spatial code of its design space, inputs it into the correlation calculation model, and outputs the corresponding painting code. The entire system process realizes standardized processing from basic data integration and parameter correlation to code output, which not only reduces the error rate of painting codes caused by manual selection and reduces rework of outfitting components and material waste, but also improves the efficiency of painting design and better adapts to the digital shipbuilding needs in the context of the development of larger, more complex, and more intelligent ships.
[0083] Corresponding to the above method embodiments, such as Figure 6 As shown, this application also provides an electronic device, which includes a processor and a memory storing computer program instructions. The processor and memory can communicate with each other via a communication bus. The processor executes the computer program instructions, and the memory stores the computer program instructions.
[0084] The processor can be a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement this embodiment. The memory can include high-speed RAM or non-volatile memory, such as at least one disk storage device. The processor executes at least one computer program instruction to implement the steps shown in the embodiment of the ship outfitting paint calculation method.
[0085] Corresponding to the above method embodiments, this application also provides a computer-readable storage medium storing computer program instructions, one or more of which, when executed by a processor, implement the steps shown in the embodiment of the ship outfitting component painting calculation method.
[0086] The computer storage medium can be a tangible medium that may contain or store programs for use by or in conjunction with an instruction execution system, apparatus, or device. The computer storage medium can be a machine-readable signal medium or a machine-readable storage medium. The computer storage medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0087] Corresponding to the above method embodiments, this application also provides a computer program product, wherein the instructions in the computer program product, when executed by a processor, implement the steps shown in the embodiment of the ship outfitting component painting calculation method.
[0088] The above description is only a partial embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A method for calculating the painting of ship outfitting components, characterized in that, include: S1. Determine the spatial codes and key attribute parameters of each design space of the ship, and establish the association between the spatial codes and key attribute parameters, which is denoted as the first association relationship; S2. Determine the coating process parameters and coating codes, and establish the association between the coating codes and coating process parameters, which is denoted as the second association relationship; S3. Based on the key attribute parameters of the ship design space and the material categories of outfitting components, determine the corresponding painting process parameters, establish the correlation between the painting process parameters and the key attribute parameters and the material categories of outfitting components, and denote it as the third correlation relationship; S4. Based on the first to third association relationships, establish an association calculation model between spatial codes and outfitting material categories and corresponding painting codes; S5. Obtain the material category of the outfitting component, and determine the spatial code of the design space where the outfitting component is located by the interference between the outfitting component and the design space. Input the spatial code and the material category of the outfitting component into the association calculation model, and output the painting code corresponding to the current outfitting component.
2. The method for calculating the painting of ship outfitting components according to claim 1, characterized in that, In step S1, the key attribute parameters of a single design space include space code, design space name, design space medium, medium pH value, design space temperature, design space type, whether galvanizing is allowed, and whether there is a hidden space.
3. The method for calculating the painting of ship outfitting components according to claim 1, characterized in that, The coating process parameters corresponding to a single coating code include at least the coating sequence, paint matching, film thickness, and color.
4. The method for calculating the painting of ship outfitting components according to claim 1, characterized in that, In step S2, the attribute parameters of the design space include the protection level. The coating code is prioritized based on the different protection levels, with higher protection levels having higher priorities.
5. The method for calculating the painting of ship outfitting components according to claim 4, characterized in that, The steps for calculating the coating code using the correlation calculation model include: Determine whether the outfitting component belongs to a single design space based on the spatial code; if so, directly output the painting code associated with the current spatial code and the material category of the outfitting component; otherwise, proceed to the next step. Determine the space codes corresponding to the design spaces spanned by the outfitting components; The corresponding paint codes are determined based on the spatial codes and the material categories of the outfitting components; The highest priority paint code is determined as the paint code for the current outfitting part.
6. The method for calculating the painting of ship outfitting components according to claim 4 or 5, characterized in that, Before step S5, the following is also included: Establish an outfitting component type library; the outfitting component type library includes special type components and regular type components; Establish a special type of component painting code library; the special type of component code library stores the component number of the special type of component, and the component number is bound to the corresponding painting code, which is recorded as non-standard painting code; the priority of non-standard painting code is higher than the priority of the painting code corresponding to spatial code.
7. The method for calculating the painting of ship outfitting components according to claim 6, characterized in that, After step S4 and before step S5, the following is also included: Determine whether the outfitting component belongs to a special category of component; if not, proceed to step S5; if yes, proceed to the next step. Read the component number of the outfitting; The non-standard paint code is retrieved from the component number and output as the paint code of the current outfitting part.
8. A calculation system for painting ship outfitting components, characterized in that, include: The attribute definition module is used to determine the spatial codes and key attribute parameters of each design space of the ship, and to establish the association between the spatial codes and key attribute parameters, which is denoted as the first association relationship; The coating parameter definition module is used to determine coating process parameters and coating codes, and to establish the association between coating codes and coating process parameters, which is referred to as the second association relationship. The coating parameter and attribute association module is used to determine the corresponding coating process parameters based on the key attribute parameters of the ship design space and the material category of the outfitting components, and to establish the association relationship between the coating process parameters and the key attribute parameters and the material category of the outfitting components, which is denoted as the third association relationship; The model building module is used to establish a calculation model for the association between spatial codes and outfitting material categories and corresponding painting codes based on the first to third association relationships; The calculation module is used to obtain the material category of the outfitting parts, and determine the spatial code of the design space where the outfitting parts are located by the interference between the outfitting parts and the design space. The spatial code and the material category of the outfitting parts are input into the association calculation model, and the painting code corresponding to the current outfitting parts is output.
9. An electronic device, characterized in that, The electronic device includes a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, it implements the ship outfitting paint calculation method as described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer program instructions, which, when executed by a processor, implement the ship outfitting paint calculation method as described in any one of claims 1-7.