A lightweight design method for ship outfitting models

By lightweight designing the ship outfit model, sorting out and generating a lightweight model structure tree, the problems of slow opening and poor interactive operation experience caused by excessive model data in ship design are solved, and the model loading time and space proportion is reduced, as well as the improvement of model design efficiency is achieved.

CN114169075BActive Publication Date: 2025-06-13JIANGNAN SHIPYARD (GRP) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111503803.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-10
Publication Date
2025-06-13
Estimated Expiration
2041-12-10

AI Technical Summary

Technical Problem

As digital design technology is becoming more and more widely used in ship design, ship design is gradually becoming larger and more complex, resulting in an abnormally large amount of model data, resulting in problems such as slow model opening and poor interactive operation experience.

Method used

By sorting out the smallest nodes of each equipped professional model, the whole-page lightweight model generation and light structure tree construction are carried out based on the heavy model structure tree, the model information is compared with the light model structure structure tree, the structure tree difference information is generated, and the light model structure tree is added, updated and deleted based on the difference information.

Benefits of technology

The replacement of counterweight models is realized, reducing the model loading time and model space proportion, improving the efficiency of model opening, editing and other related operations, greatly reducing the amount of data interaction, and effectively improving the efficiency of model design.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114169075B_ABST
    Figure CN114169075B_ABST
Patent Text Reader

Abstract

The present invention provides a lightweight design method for a ship outfitting model, belonging to the technical field of ship design and construction. The present invention includes the following steps: sorting out the minimum nodes for lightweighting the outfitting professional models; generating a full-version lightweight model and constructing a lightweight structure tree based on the heavy model structure tree; comparing the model information between the heavy model structure tree and the lightweight model structure to generate structure tree difference information; adding, updating, and deleting lightweight model nodes to the lightweight model structure tree according to the difference information. The present invention is beneficial to model opening, editing, and other related operations, greatly reducing the data interaction volume and effectively improving the model design efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a lightweight design method for a ship outfitting model, belonging to the technical field of ship design and construction. Background Art

[0002] With the increasingly widespread application of digital design technology in ship design, ship design has gradually developed towards being large-scale and complex. The geometric relationships and geometric features included in the model are becoming more and more complex, and the model data volume is getting larger and larger (hereinafter, this model will be collectively referred to as: heavy model), resulting in an extremely large total model data volume used, causing problems such as slow model opening and poor interactive operation experience. Therefore, there is a need for a lightweight model of the heavy model to replace the heavy model during the design application process, which does not contain non-geometric information in the design model and only retains the geometric topological relationship of the model product structure (hereinafter, this model will be collectively referred to as: light model, and the tree-like structure product used to manage the light model product is called: lightweight model product structure tree, hereinafter referred to as: light model structure tree). Without affecting the design use, it reduces the model data volume, facilitates model opening, editing, and design inspection by shipowners / ship surveyors, and can also be applied to multiple scenarios such as model design, model inspection, inspection, and ship operation and maintenance support, and has high practicability in the entire ship design and construction process.

[0003] Therefore, it is urgent to study a lightweight design method and system for ship outfitting models. While realizing the replacement of the heavy model, reducing the model loading time and the proportion of model space occupied will be beneficial to model opening, editing, and other related operations; greatly reducing the data interaction volume and improving the model design efficiency. Summary of the Invention

[0004] In view of the above-mentioned disadvantages of the prior art, the purpose of the present invention is to provide a lightweight design method for ship outfitting models, which is used to solve the problems in the prior art that with the increasingly widespread application of digital design technology in ship design, ship design has gradually developed towards being large-scale and complex, the geometric relationships and geometric features included in the model are becoming more and more complex, the model data volume is getting larger and larger, resulting in an extremely large total model data volume used, causing problems such as slow model opening and poor interactive operation experience.

[0005] To achieve the above purpose and other related purposes, the present invention provides a lightweight design method for ship outfitting models, including the following steps:

[0006] S1. Sort out the minimum nodes for lightweighting each outfitting professional model;

[0007] S2. Generate a full-version lightweight model and construct a light structure tree based on the heavy model structure tree;

[0008] S3. Compare the model information between the heavy model structure tree and the light model structure to generate structure tree difference information;

[0009] S4. Add, update, and delete lightweight model nodes to the lightweight model structure tree according to the difference information.

[0010] In an embodiment of the present invention, the judgment rule is specifically as follows:

[0011] Iron outfitting parts: When the current iron outfitting part object is an assembly node or a part node, and its node type is a node object of SOEFoundation or SOESystemPart, it is the minimum node;

[0012] Equipment: When the current equipment object is an assembly node or a part node, and the attribute value of the node EquipmentRemark is "E", it is the minimum node.

[0013] In an embodiment of the present invention, the steps of generating a full-version lightweight model and constructing a lightweight structure tree based on the heavy model structure tree include: determining the degree of model lightweight conversion according to the engineering application scenario, and selecting a suitable model lightweight method according to the size of the design software or model file data, directly generating a lightweight model file based on the design model or obtaining a lightweight model through the design software.

[0014] In an embodiment of the present invention, the steps of directly generating a lightweight model file based on the design model or obtaining a lightweight model through the design software include: first, traverse the structure tree of the heavy model, and obtain the model lightweight conversion nodes that meet the judgment rule according to the minimum node judgment rule of model lightweighting, that is, the minimum model lightweight nodes; then generate a lightweight model for the obtained heavy model, and record the context path information, path identification ID, and lightweight model identification ID of the current model node; finally, construct the Root node of the lightweight model structure tree or create sub-levels in sequence according to the recorded information, and record the path identification ID information for each created level; after the required paths are created, mount the structure tree to the generated lightweight model and record the path identification ID and lightweight model identification ID information.

[0015] In an embodiment of the present invention, the steps of comparing the model information between the heavy model structure tree and the light model structure to generate structure tree difference information include: traversing the heavy model structure tree, and obtaining all model information that meets the conversion conditions according to the model lightweight conversion conditions; comparing the model information in the heavy model structure tree with the light model structure tree to generate structure tree difference information.

[0016] In an embodiment of the present invention, the specific method for traversing the counterweight model structure tree and obtaining all model information that meets the conversion conditions according to the model lightweight conversion conditions is as follows: First, obtain the counterweight model structure tree object, traverse the hierarchical objects of the counterweight model structure tree, and according to the minimum node judgment rule of model lightweighting, obtain all the outfitting lightweight model minimum nodes in the counterweight model structure tree that meet the judgment rule, and sequentially obtain the context path, each path node identification ID, and lightweight model identification ID information of the current outfitting lightweight model minimum node.

[0017] In an embodiment of the present invention, the specific method for comparing the model information in the counterweight model structure tree with the lightweight model structure tree to generate the structure tree difference information is as follows: According to the obtained model information, query one by one in the lightweight model structure tree according to the same path information, and compare the path identification ID recorded in the attributes of each hierarchical node in the lightweight model structure tree and the conversion identification ID in the lightweight model to obtain the new and updated difference status; then, based on the context path of the lightweight model already mounted in the lightweight model structure tree and the information of each path node identification ID, query the information in the counterweight model structure tree in turn to determine whether the current lightweight model exists in the counterweight model structure tree, so as to obtain the deletion difference status.

[0018] In an embodiment of the present invention, the specific method for adding, updating, and deleting lightweight model nodes in the lightweight model structure tree according to the difference information is as follows: According to the engineering application scenario and the difference information, add, update, and delete lightweight model nodes in the lightweight model structure tree.

[0019] In an embodiment of the present invention, the specific method for adding, updating, and deleting lightweight model nodes is as follows:

[0020] 1) According to the engineering application scenario and the difference information, add, update, and delete lightweight model nodes in the lightweight model structure tree;

[0021] Addition: First, query the model lightweight conversion node in the counterweight model structure tree according to the context path information in the reference difference information, generate its lightweight model based on the node model, and mount it according to the path information. If the current model level does not exist, the level can be created according to the model information, and the ID of the corresponding level is recorded in the form of an attribute; for the mounted node, its level ID and lightweight conversion identification ID will be recorded in the form of an attribute;

[0022] Update: First, based on the context path information in the reference difference information, find the node to be updated in the heavy model, and generate its lightweight model based on the node model; then open the lightweight model structure tree, find the corresponding lightweight model level through the model path and the level ID, and unload the queried lightweight model node; finally, mount the newly generated lightweight model under its corresponding path, and record its level ID and lightweight conversion identification ID in the form of attributes.

[0023] Deletion: Based on the path information in the difference information, find the corresponding lightweight model node in the lightweight model structure tree according to the path, and unload the lightweight model node.

[0024] 2) According to the engineering application scenario, update through a single computer or through the linkage of multiple computers.

[0025] As described above, a lightweight design method for a ship outfitting model of the present invention has the following beneficial effects:

[0026] The present invention realizes the use of a substitute for the heavy model, reduces the model loading time and the proportion of model space occupation, is beneficial to model opening, editing and other related operations, greatly reduces the data interaction volume, and effectively improves the model design efficiency. Description of the Drawings

[0027] Figure 1 It shows a flowchart of a lightweight design method for a ship outfitting model in an embodiment of the present invention. Detailed Embodiments

[0028] The following uses specific specific examples to illustrate the embodiments of the present invention. Those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments. Various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that, without conflict, the following embodiments and the features in the embodiments can be combined with each other.

[0029] It should be noted that the diagrams provided in the following embodiments only illustrate the basic concept of the present invention in a schematic manner. Therefore, only the components related to the present invention are shown in the diagrams, rather than being drawn according to the number, shape and size of the components in actual implementation. The type, quantity and proportion of each component in actual implementation can be arbitrarily changed, and the component layout type may also be more complex.

[0030] Please refer to Figure 1 , the present invention provides a lightweight design method for a ship outfitting model, including the following steps:

[0031] S1. Sort out the minimum nodes for the lightweighting of each outfitting professional model:

[0032] According to the engineering application scenarios, determine the minimum nodes for the conversion of lightweight models in each specialty, and sort out the judgment rules for the minimum lightweight nodes in each specialty;

[0033] Currently, the types of components for the lightweight conversion of the steel outfitting professional model are mainly two categories: steel outfitting parts and equipment. The specific judgment rules are as follows:

[0034] Steel outfitting parts: For the current steel outfitting part objects that are assembly nodes or part nodes, the node objects with the node type of SOEFoundation or SOESystemPart are the minimum nodes;

[0035] Equipment: For the current equipment objects that are assembly nodes or part nodes, the node objects with the attribute value of "E" for the node EquipmentRemark are the minimum nodes;

[0036] S2. Generate the overall lightweight model and construct the lightweight structure tree based on the heavy model structure tree:

[0037] According to the engineering application scenarios, determine the degree of lightweight conversion of the model, and select a suitable model lightweighting method based on the size of the design software or model file data. Generate the lightweight model file directly based on the design model or obtain the lightweight model through the design software;

[0038] The steps for directly generating the lightweight model file based on the design model or obtaining the lightweight model through the design software are as follows: First, traverse the structure tree of the heavy model, and according to the judgment rules for the minimum nodes of model lightweighting, obtain the model lightweighting conversion nodes that meet the judgment rules, that is, the minimum nodes of model lightweighting; then generate the lightweight model for the obtained heavy model, and record the context path information, path identification ID, and lightweight model identification ID of the current model node; finally, construct the Root node of the lightweight model structure tree or create sub - levels in sequence according to the recorded information, and record the path identification ID information for each created level; after the required paths are created, mount the structure tree for the generated lightweight model and record the path identification ID and lightweight model identification ID information;

[0039] Context path: Used to specify the tree - level path of a certain node object in the current structure tree;

[0040] Path identification ID: The unique identifier for each level node in the structure tree;

[0041] Lightweight model identification ID: Used to record the unique identifier generated during the lightweight conversion of the current model. This identifier is determined by the actual state of the current conversion model; the conversion identifier ID value will change for the same model object in any modified scenario.

[0042] In a specific scenario, lightweight model generation and lightweight model structure construction for the entire version can be directly performed based on the current heavy model, that is, when performing lightweight model generation and lightweight model construction; first, it is judged whether the currently specified lightweight model structure tree exists. If it exists, the existing lightweight structure tree is deleted. If it does not exist, lightweight model generation is performed on the current heavy model according to the minimum lightweight node rule in the heavy model structure tree in sequence, and the context path information, path identification ID, and lightweight model identification ID of the current model node are recorded in sequence; finally, the Root node of the lightweight model structure tree is constructed in sequence according to the recorded information or a sub - level is created, and at the same time, according to the lightweight model path, the lightweight model is mounted in the lightweight structure tree according to the lightweight model path information in sequence.

[0043] S3. Compare the model information between the heavy model structure tree and the lightweight model structure to generate structure tree difference information:

[0044] Traverse the heavy model structure tree. According to the model lightweight conversion conditions, obtain all model information that meets the conversion conditions: First, obtain the heavy model structure tree object, traverse the hierarchical object of the heavy model structure tree, and according to the minimum node judgment rule of model lightweight, obtain all the minimum nodes of the outfitting lightweight model in the heavy model structure tree that meet the judgment rule, and obtain the context path, each path node identification ID, and lightweight model identification ID information of the minimum node of the current outfitting lightweight model in sequence;

[0045] Based on the model information in the heavy model structure tree, compare it with the lightweight model structure tree to generate structure tree difference information:

[0046] According to the obtained model information, query one by one in the lightweight model structure tree according to the same path information, and compare the path identification ID recorded in the attributes of each hierarchical node in the lightweight model structure tree and the conversion identification ID in the lightweight model to obtain the added and updated difference status; then, based on the context path of the lightweight model already mounted in the lightweight model structure tree and each path node identification ID information, query the information in the heavy model structure tree in sequence to judge whether the current lightweight model exists in the heavy model structure tree, so as to obtain the deleted difference status; S4. Add, update, and delete lightweight model nodes in the lightweight model structure tree according to the difference information:

[0047] The specific method for adding, updating, and deleting lightweight model nodes in the lightweight model structure tree according to the difference information is as follows:

[0048] 1) Add, update, and delete lightweight model nodes in the lightweight model structure tree according to the engineering application scenario and the difference information;

[0049] New addition: First, find the model lightweight conversion node in the heavy model structure tree according to the context path information in the reference difference information. Generate its lightweight model based on this node model, and mount it according to the path information. If the current model level does not exist, the level can be created according to the model information, and the ID of the corresponding level is recorded in the form of an attribute; for the mounted node, its level ID and lightweight conversion identification ID are recorded in the form of attributes.

[0050] Update: First, find the node to be updated in the heavy model according to the context path information in the reference difference information, and generate its lightweight model based on this node model; then open the lightweight model structure tree, find the corresponding lightweight model level through the model path and level ID, and unmount the queried lightweight model node; finally, mount the newly generated lightweight model under its corresponding path, and record its level ID and lightweight conversion identification ID in the form of attributes.

[0051] Deletion: Based on the path information in the difference information, find the corresponding lightweight model node in the lightweight model structure tree according to the path, and unmount this lightweight model node.

[0052] In some scenarios, the appropriate model lightweighting method can be selected according to specific requirements. For example, if the update time of the required lightweight model is long, the method in S2 can be directly selected to perform a full-version update on the required lightweight model; if the update time of the currently required lightweight model is short, the methods in S3 and S4 can be selected to perform on-demand updates on the lightweight model, or the combination of S2, S3, and S4 can be selected to generate a full version of the initial lightweight model, and then perform on-demand updates on the changed lightweight models.

[0053] 2) Determine the outfitting lightweight update mode based on the engineering adaptation scenario

[0054] Ship design is originally a long design process. Through continuous modification and optimization of the design model, it has reached its optimal design layout; therefore, the update mode or update method of the outfitting model lightweighting needs to be considered from multiple aspects. On the one hand, when the design stage is at a peak or other stages, the outfitting model may have design or model position changes within a day or several hours; on the other hand, when the required ship outfitting quantity is large and the model data is large, the generation or update time of the outfitting model lightweighting cannot meet the actual design changes. To meet the above similar scenarios, the outfitting model lightweighting update mode can be divided into the following two types:

[0055] Mode 1: Update through a single computer

[0056] When there is a time limit requirement for model updates, it is necessary to divide the update time limit stage of the ship design cycle according to the actual update time limit requirements of model lightweighting and the different frequencies of new addition and update of the ship design cycle model design; based on the divided stage time and update time limit, through computer background task management or other means, perform automatic updates at specific times according to the time distribution; in special cases, manual triggering of updates is also supported.

[0057] Mode 2: Update through the linkage of multiple computers

[0058] When the number of outfitting model lightweightings is large and the data volume of the lightweight model is large, and it is impossible to update the lightweight model within a specific time limit, the lightweight model can be updated through the linkage of multiple computers; first, determine the optimal allocation level path based on the construction principle of the heavy model structure; then allocate the determined level path to different computers as the input information for the update of the lightweight model structure tree; finally, compare the models on the same path of the heavy model structure tree and the lightweight model structure tree according to the allocated path information, and update the specified-level parts under the specified lightweight model structure tree based on the difference information; different computers process the models of different-level nodes in the structure tree, and there is no mutual constraint between the computers, and they operate independently of each other.

[0059] In summary, while the present invention realizes the use of a substitute for the heavy model, it reduces the model loading time and the proportion of model space occupied, which is beneficial to model opening, editing, and other related operations, greatly reduces the data interaction volume, and effectively improves the model design efficiency. Therefore, the present invention effectively overcomes various drawbacks in the prior art and has high industrial utilization value.

[0060] The above embodiments are only illustrative of the principles and effects of the present invention, and are not used to limit the present invention. Any person familiar with this technology can modify or change the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or changes made by those with ordinary knowledge in the technical field without departing from the spirit and technical ideas disclosed by the present invention should still be covered by the claims of the present invention.

Claims

1. A lightweight design method for a ship fitting-out model, characterized in that: it includes the following steps: S1. Sort out the minimum nodes for lightweighting the models of each fitting-out specialty; the step of sorting out the minimum nodes for lightweighting the models of each fitting-out specialty includes: according to the engineering application scenario, determine the minimum nodes for the conversion of the lightweight models of each specialty, and sort out the judgment rules for the minimum lightweight nodes of each specialty; S2. Generate a full-version lightweight model and construct a lightweight structure tree based on the heavy model structure tree; The step of generating a full-version lightweight model and constructing a lightweight structure tree based on the heavy model structure tree includes: according to the engineering application scenario, determine the degree of lightweight conversion of the model, and select a suitable model lightweighting method according to the size of the design software or model file data, directly generate a lightweight model file based on the design model or obtain a lightweight model through the design software; wherein, the step of directly generating a lightweight model file based on the design model or obtaining a lightweight model through the design software includes: first, traverse the structure tree of the heavy model, and according to the judgment rules of the minimum nodes for model lightweighting, obtain the model lightweight conversion nodes that meet the judgment rules, that is, the minimum nodes for model lightweighting; then generate a lightweight model for the obtained heavy model, and record the context path information, path identification ID, and lightweight model identification ID of the current model node; finally, construct the Root node of the lightweight model structure tree or create sub-levels in sequence according to the recorded information, and record the path identification ID information for each created level; after the required paths are created, mount the structure tree for the generated lightweight model and record the path identification ID and lightweight model identification ID information; S3. Compare the model information between the heavy model structure tree and the lightweight model structure to generate structure tree difference information; the step of comparing the model information between the heavy model structure tree and the lightweight model structure to generate structure tree difference information includes: traverse the heavy model structure tree, and according to the model lightweight conversion conditions, obtain all model information that meets the conversion conditions; based on the model information in the heavy model structure tree, compare the information with the lightweight model structure tree to generate structure tree difference information; Among them, the specific method for traversing the heavy model structure tree and obtaining all model information that meets the model lightweight conversion conditions is: first obtain the heavy model structure tree object, traverse the hierarchical object of the heavy model structure tree, and according to the judgment rules of the minimum nodes for model lightweighting, obtain all the minimum nodes of the fitting-out lightweight models in the heavy model structure tree that meet the judgment rules, and sequentially obtain the context path, each path node identification ID, and lightweight model identification ID information of the minimum nodes of the current fitting-out lightweight model; S4. Add, update, and delete lightweight model nodes in the lightweight model structure tree according to the difference information.

2. The lightweight design method for a ship fitting-out model according to claim 1, characterized in that: the judgment rule is specifically: Iron and steel parts: The current iron and steel parts object is an assembly node or a part node, and the node object whose node type is SOEFoundation or SOESystemPart is the smallest node; Equipment: The current equipment object is an assembly node or a part node. The node object whose EquipmentRemark attribute value is "E" is the minimum node.

3. A lightweight design method for a ship outfitting model according to claim 1, Features: The specific method of generating structure tree difference information by comparing the model information in the heavy model structure tree with the light model structure tree is as follows: according to the obtained model information, query one by one in the light model structure tree according to the same path information, and compare the path identification ID recorded in the node attributes of each level in the light model structure tree and the conversion identification ID in the lightweight model to obtain the added and updated difference status therein; then, based on the lightweight model context path mounted in the light model structure tree and the identification ID information of each path node, query the heavy model structure tree in turn to determine whether the current lightweight model exists in the heavy model structure tree, so as to obtain the deleted difference status therein.

4. A lightweight design method for a ship outfitting model according to claim 1, Features: The specific method for adding, updating, and deleting lightweight model nodes in the lightweight model structure tree according to the difference information is: adding, updating, and deleting lightweight model nodes in the lightweight model structure tree according to the engineering application scenario and the difference information.

5. A lightweight design method for a ship outfitting model according to claim 4, Features: The specific method of adding, updating and deleting the lightweight model node is as follows: 1) Add, update, and delete lightweight model nodes in the lightweight model structure tree according to the engineering application scenario and difference information; New: First, refer to the context path information in the difference information, query the model lightweight conversion node according to the path in the heavy model structure tree, and generate its lightweight model based on the node model, and mount it according to the path information. If the current model level does not exist, the level can be created according to the model information, and the ID of the corresponding level will be recorded in the form of attributes; for the mounted node, its level ID and lightweight conversion identification ID will be recorded in the form of attributes; Update: First, refer to the context path information in the difference information to find the node to be updated in the heavy model, and generate its lightweight model based on the node model; then open the lightweight model structure tree, find the corresponding lightweight model level through the model path and level ID, and uninstall the queried lightweight model node; finally, mount the newly generated lightweight model to its corresponding path, and record its level ID and lightweight conversion identification ID in the form of attributes; Delete: Based on the path information in the difference information, find the corresponding lightweight model node in the lightweight model structure tree according to the path, and uninstall the lightweight model node; 2) Update through a single computer or through the linkage of multiple computers according to the engineering application scenario.

Citation Information

Patent Citations

  • Complex large-scale electromechanical mixed loading three-dimensional model simplification method

    CN111783272A

  • Oversized model lightweight method based on ship feature extraction and electronic equipment

    CN113591208A