Ship principle design review method, review system and readable storage medium
By training a multi-modal large model for drawing review, the problems of low efficiency of manual review and inconsistent standards in ship principle design are solved, automated review and unified standards are realized, and review efficiency is significantly improved.
Patent Information
- Application Number
- CN202411254736.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-09
- Publication Date
- 2024-11-26
AI Technical Summary
In ship principle design, the problems of low manual review efficiency, inconsistent standards and easy to miss lead to inefficient design review.
By training pre-training multimodal large model, obtain the drawing review model, pre-process the schematic diagram, output the review information, and obtain the final review results through re-examination, use the review results for training data, and establish an automated review system to Improve the efficiency of evaluation.
It realizes automated drawing review and unified review standards, which significantly improves the review efficiency of ship principle design and avoids the omissions and inconsistent problems of manual review.
Smart Images

Figure CN119026250A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of ship design, and in particular to a review method, review system and readable storage medium for ship principle design. Background Art
[0002] When designing the ship's principle, designers use 2D CAD software to draw the principle drawings. During the principle design review, the principle drawings will be reviewed according to the design specifications, including that the drawings should be clear, there should be no obstructions between elements such as text and lines, and the sizes of elements such as text and lines should be appropriate. Due to the variety and complexity of the principle drawings, there are no clear quantitative indicators in the above review specifications, and they rely on experienced design supervisors to make subjective manual judgments, which leads to problems such as low efficiency of manual review, inconsistent standards, and easy omissions. Summary of the invention
[0003] In view of the shortcomings of the related art mentioned above, the purpose of the present invention is to provide a review method, review system and readable storage medium for ship principle design, which are used to solve the problems of low efficiency, inconsistent standards and easy omissions in manual review.
[0004] To achieve the above-mentioned and other related purposes, the present invention provides a method for reviewing the principle design of a ship, the method comprising the following steps:
[0005] The drawing review large model is obtained by training the pre-trained multimodal large model;
[0006] Based on the input requirements of the drawing review model, pre-process the format of the schematic drawing to be reviewed;
[0007] Based on the input pre-processed schematic diagram, the drawing review model outputs review information;
[0008] Conduct re-examination based on the review information to obtain the final review results;
[0009] The review results are used as training data to train the drawing review model.
[0010] Optionally, the step of obtaining the drawing review big model by training the pre-trained multimodal big model is:
[0011] Prepare training dataset;
[0012] Based on the pre-trained multimodal large model, the drawing review large model is obtained using the training dataset.
[0013] Optionally, the training data set is historical schematic diagrams and corresponding review comments, including qualified schematic diagrams without comments and schematic diagrams with comments.
[0014] Optionally, the preprocessing steps are:
[0015] Convert schematics into image format;
[0016] Split the converted schematic into multiple images according to the set size.
[0017] Optionally, the review information output by the drawing review model includes review information of the drawing layout, review information of the drawing element size, and review information of the distinction between the background image and the main image.
[0018] Optionally, the review information of the drawing layout includes: situations where text is obviously blocked by lines, situations where text overlaps with other text in a large area, and situations where lines overlap.
[0019] Optionally, the review information of the drawing element size includes: whether the line size is appropriate, whether the text size is appropriate, and whether the legend size is appropriate.
[0020] Optionally, the review information of the degree of distinction between the background image and the main image includes: the color distinction between the background image and the main image and the line distinction between the background image and the main image.
[0021] A review system for executing the review method for ship principle design as described above, the review system comprising:
[0022] Data management module, used to manage training data and business data during review;
[0023] Model management module, used for the training of drawing review large models, testing of drawing review large models, and service deployment of drawing review large models;
[0024] Drawing processing module, used to pre-process the schematic diagram to be reviewed;
[0025] The user interaction module is used for users to trigger review operations to review review information, call other module functions, and output and save review results.
[0026] A readable storage medium storing computer instructions, wherein the computer instructions are used to cause the computer to execute the ship principle design review method as described above.
[0027] As described above, the review method, review system and readable storage medium of the ship principle design of the present invention have the following beneficial effects: the method uses the drawing review large model to automatically extract, read and review the drawings. Compared with manual review, the method can automatically analyze whether the drawings meet the requirements of various review items and output the review results. Since the single large model review can maintain a unified review standard and significantly improve the review efficiency, the intelligent review of the ship principle design is realized. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 Shown is a flow chart of a method for reviewing a ship principle design according to an embodiment of the present invention.
[0029] Figure 2 Shown is a schematic diagram of a review system in an embodiment of the present invention.
[0030] Component number description
[0031] 10 Data Management Module
[0032] 20 Model Management Module
[0033] 30 Drawing processing module
[0034] 40 User Interaction Module DETAILED DESCRIPTION
[0035] The following describes the embodiments of the present invention through specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention.
[0036] For example, when describing the embodiments of the present invention in detail, for the sake of convenience, the cross-sectional view showing the device structure will not be partially enlarged according to the general scale, and the schematic view is only an example, which should not limit the scope of protection of the present invention. In addition, in actual production, the three-dimensional space dimensions of length, width and depth should be included.
[0037] For ease of description, spatial relational terms such as "under", "below", "below", "below", "above", "on", etc. may be used herein to describe the relationship of one element or feature shown in the drawings to other elements or features. It will be understood that these spatial relational terms are intended to include other directions of the device in use or operation in addition to the directions depicted in the drawings. In addition, when a layer is referred to as being "between" two layers, it can be the only layer between the two layers, or there can be one or more intervening layers. As used herein, "between..." means including the end point values.
[0038] In the context of the present application, a structure in which a first feature is described as being "above" a second feature may include embodiments in which the first and second features are formed in direct contact, and may also include embodiments in which additional features are formed between the first and second features, such that the first and second features may not be in direct contact.
[0039] It should be noted that the illustrations provided in this embodiment are only used to illustrate the basic concept of the present invention in a schematic manner, and therefore the illustrations only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.
[0040] like Figure 1 As shown, the present invention provides a method for reviewing the principle design of a ship, and the specific steps of the method include:
[0041] S1. Obtain the drawing review large model by training the pre-trained multimodal large model.
[0042] By training the pre-trained polymorphic large model so that the pre-trained polymorphic large model continuously adjusts the weight parameters within the model, a more accurate drawing review large model is obtained, which enables the drawing review large model to obtain more accurate results when reviewing the schematic diagram.
[0043] Specifically, preparation work is first performed to collect training data sets. The accuracy of the drawing review model is affected by the training data set. In this embodiment, the drawing review model is used to review schematics, so the training data set is historical schematics and corresponding review comments, where the types of schematics include qualified schematics without comments and schematics with comments. For example, review comments: The text at the (XX, XX) position of the drawing is largely blocked by lines, and the lines at the (XX, XX) position are too thick.
[0044] After the training data set is determined, the training data set is input into the pre-trained multimodal large model for training, thereby obtaining the drawing review large model.
[0045] S2. Based on the input requirements of the drawing review model, pre-process the format of the schematic drawing to be reviewed.
[0046] Convert drawing file type: Since schematics are usually drawn using CAD software, the initial format of the schematics is the DWG format file. The drawing review model needs to convert the schematic format into a picture before reviewing the schematic.
[0047] Image segmentation: segment the converted schematic diagram to separate a complete schematic diagram into multiple smaller images. For example, a complete image of 8000×6000 pixels can be segmented into 240 images with each image being 500×400 pixels. It should be noted that the number of images segmented can be determined according to the situation. By segmenting a complete image into multiple small images, the drawing review model will review each segmented small image and give the review result. This setting can reduce the amount of image data in a single review process and avoid omissions in the review of the schematic diagram.
[0048] S3. Based on the input pre-processed schematic diagram, the drawing review model outputs review information.
[0049] The review information includes review information on the drawing layout, review information on the size of drawing elements, and review information on the distinction between the background image and the main image.
[0050] The review information of the drawing layout refers to whether the drawing layout is clear and the location of the unsatisfactory items, including: whether the text is obviously blocked by lines, whether there is a large overlap between texts, and whether there is overlap between lines. For example: the text at the (XX, XX) position of the drawing is blocked by a large area of lines.
[0051] The review information of the drawing element size refers to whether the drawing element size is appropriate and the location of the unsatisfactory items, including: whether the line size is appropriate, whether the text size is appropriate, and whether the legend size is appropriate. For example: the text size at the (XX, XX) position of the drawing is too large.
[0052] The review information of the distinction between the background image and the main image refers to whether the distinction between the background image and the main image is clear and the location of the unsatisfactory items, including: whether the color distinction between the background image and the main image is clear, whether the line distinction between the background image and the main image is clear. For example: There is no opinion on the distinction between the background image and the main image of this drawing.
[0053] S4. Conduct re-examination based on the review information to obtain the final review results.
[0054] After the model outputs the review information of the schematic diagram, it is summarized and manually reviewed by the review experts, who first compare whether the schematic diagram and the review information correspond, and then correct and supplement the review opinions to obtain the final review results.
[0055] S5. Use the review results as training data to train the drawing review model.
[0056] The review results revised by experts are added to the training data set to increase the sample size of the training data set, and the accuracy of the large model review is improved by continuing to train the drawing review large model.
[0057] The present application also provides a review system for executing the above method, the review system comprising a data management module 10 , a model management module 20 , a drawing processing module 30 and a user interaction module 40 .
[0058] The data management module 10 is used to manage the training data of the model and the business data during the review, wherein the business data refers to the data generated in the entire process from inputting the schematic diagram into the large model for review to outputting the review results; the model management module 20 is used for training the drawing review large model, testing the drawing review large model and service deployment of the drawing review large model; the drawing processing module 30 is used to pre-process the schematic diagram to be reviewed; the user interaction module 40 is used for the user to trigger the review operation to review the review information, call other module functions, output and save the review results.
[0059] The present application also provides a readable storage medium storing computer instructions, wherein the computer instructions are used to enable the computer to execute the above-mentioned ship principle design review method.
[0060] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the art may modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by a person of ordinary skill in the art without departing from the spirit and technical concept disclosed by the present invention shall still be covered by the claims of the present invention.
Claims
1. A review method for ship principle design, It is characterized in that The steps of the method include: The drawing review large model is obtained by training the pre-trained multimodal large model; Based on the input requirements of the drawing review model, pre-process the format of the schematic drawing to be reviewed; Based on the input pre-processed schematic diagram, the drawing review model outputs review information; Conduct re-examination based on the review information to obtain the final review results; The review results are used as training data to train the drawing review model.
2. The method for reviewing the ship principle design according to claim 1, Features: The steps of obtaining the drawing review large model by training the pre-trained multimodal large model are: Prepare training dataset; Based on the pre-trained multimodal large model, the drawing review large model is obtained using the training dataset.
3. The method for reviewing the ship principle design according to claim 2, Features: The training data set is historical schematic diagrams and corresponding review comments, including qualified schematic diagrams without comments and schematic diagrams with comments.
4. The ship principle design review method according to claim 1, Features: The steps of the pretreatment are: Convert schematics into image format; Split the converted schematic into multiple images according to the set size.
5. The method for reviewing the ship principle design according to claim 1, Features: The review information output by the drawing review model includes review information of the drawing layout, review information of the drawing element size, and review information of the distinction between the background image and the main image.
6. The method for reviewing the ship principle design according to claim 5, Features: The review information of the drawing layout includes: situations where text is obviously blocked by lines, situations where text overlaps with other text over a large area, and situations where lines overlap.
7. The method for reviewing the ship principle design according to claim 5, Features: The review information of the drawing element size includes: whether the line size is appropriate, whether the text size is appropriate, and whether the legend size is appropriate.
8. The method for reviewing the ship principle design according to claim 5, Features: The review information of the degree of distinction between the background image and the main image includes: the color distinction between the background image and the main image and the line distinction between the background image and the main image.
9. A review system for executing the review method for ship principle design according to any one of claims 1 to 8, Features: The review system includes: Data management module, used to manage training data and business data during review; Model management module, used for the training of drawing review large models, testing of drawing review large models, and service deployment of drawing review large models; Drawing processing module, used to pre-process the schematic diagram to be reviewed; The user interaction module is used for users to trigger review operations to review review information, call other module functions, and output and save review results.
10. A readable storage medium storing computer instructions, Features: The computer instructions are used to enable the computer to execute the ship principle design review method according to any one of claims 1-8.
