A method, device, electronic device, and storage medium for inspecting a hull grillage

By obtaining and running the hull model one by one, the abnormal problems caused by the unsynchronized update of the hull Schme file is solved, and fast and accurate stent inspection is achieved, improving inspection efficiency and accuracy.

CN115203822BActive Publication Date: 2025-08-01SHANGHAI WAIGAOQIAO SHIP BUILDING CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210750810.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-28
Publication Date
2025-08-01
Estimated Expiration
2042-06-28

AI Technical Summary

Technical Problem

During the ship modeling process, the Schme file of the board rack cannot be updated synchronously, resulting in an exception. In the traditional method, it is necessary to manually run the Scheme statements of each board rack in sequence, which consumes manpower and cannot quickly troubleshoot abnormal board racks.

Method used

By obtaining the hull model's rack list and target hull information files, run the hull information statements one by one, determine whether the hull information is abnormal based on the operation results, use the command statements in the Tribon software to activate and protect the hull information sub-file, clear the original hull information file to eliminate the fusion information, and improve the accuracy of the inspection.

Benefits of technology

It realizes rapid and accurate inspection of the hull panel frame, reduces manpower consumption, and improves inspection efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115203822B_ABST
    Figure CN115203822B_ABST
Patent Text Reader

Abstract

The present disclosure provides a hull grillage inspection method, device, electronic device, and storage medium. The method includes: obtaining a grillage list of any segment in a generated hull model and a target grillage information file corresponding to the segment; for any grillage number in the grillage list of the segment, retrieving a grillage information sub-file corresponding to the grillage number; for each of the grillage information sub-files, running the grillage information statements one by one in the order of the statement numbers of the grillage information statements in the grillage information sub-file of the grillage; and determining whether there is an abnormality in the grillage information of each grillage in the grillage list according to the running results of each grillage information sub-file in the segment. In this way, fast and accurate inspection operations can be realized for the hull grillage.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of hull modeling, and in particular, to a method, device, electronic device, and storage medium for inspecting a hull grillage. Background Art

[0002] Currently, with the rapid development of the shipbuilding industry and computers, people combine computer technology with ship design technology. Before ship construction, they perform data modeling on the ship through a computer to achieve the design of the ship. However, when performing ship modeling, the Schme file of the grillage describes the basic information of the grillage and the parts on the grillage. When the basic information changes, such as the deletion of the referenced grillage, name change, or modification of the Tag number of the part, the Schme file of this grillage is not updated synchronously at this time, which will cause anomalies. Therefore, it is necessary to open the Scheme file in the Scheme editor and click Run this or Run All to run the Scheme statements for inspection.

[0003] In the traditional method, it is necessary to manually run the Scheme statements of each grillage in turn to check whether there are syntax errors in the grillage. Since there are many grillages in the section, it consumes a lot of manpower and cannot quickly identify the abnormal grillages. Summary of the Invention

[0004] The embodiments of the present disclosure at least provide a method, device, electronic device, and storage medium for inspecting a hull grillage. In this way, rapid and accurate inspection operations can be performed on the hull grillage.

[0005] The embodiments of the present disclosure provide a method for inspecting a hull grillage, and the method includes:

[0006] Obtain the grillage list of any section in the generated hull model, and the target grillage information file corresponding to the section; wherein, each grillage list records a plurality of grillage numbers; the target grillage information file includes grillage information sub-files of a plurality of grillages;

[0007] For any grillage number in the grillage list of the section, retrieve the grillage information sub-file corresponding to the grillage number; wherein, each grillage information sub-file records a plurality of grillage information statements; the grillage information statements are used to describe the basic information of the grillage and the parts on the grillage;

[0008] For each grillage information sub-file, run the grillage information statements one by one in the order of the statement numbers of the grillage information statements in the grillage information sub-file of the grillage;

[0009] According to the running results of each grillage information sub-file in the section, determine whether there are anomalies in the grillage information of each grillage in the grillage list.

[0010] In an alternative embodiment, before obtaining the target frame information file corresponding to the segment, the method further includes:

[0011] Clearing the original frame information file of the generated hull model; wherein, the original frame information file includes frame information sub-files corresponding to at least two segments with frame fusion information;

[0012] According to the segment number of any segment of the generated hull model, screening out the target frame information file corresponding to the segment; the target frame information file is a file obtained by removing the frame fusion information from the original frame information file.

[0013] In an alternative embodiment, after determining whether there is an abnormality in the frame information of each frame in the frame list according to the operation result of each frame information sub-file in the segment, the method further includes:

[0014] If it is determined that the frame information of any frame is abnormal, a prompt box indicating that there is an abnormality in the frame information of the frame is popped up.

[0015] In an alternative embodiment, after determining whether there is an abnormality in the frame information of each frame in the frame list according to the operation result of each frame information sub-file in the segment, the method further includes:

[0016] If it is determined that the frame information of any frame is normal, no prompt box is popped up.

[0017] In an alternative embodiment, each frame information statement is represented with a keyword identifying the statement type at the beginning and a delimiter at the end, wherein the keyword is a predefined string for describing the basic information of the frame and the parts on the frame.

[0018] The embodiments of the present disclosure further provide a hull frame inspection device, the device includes:

[0019] An acquisition module, configured to acquire the frame list of any segment in the generated hull model, and the target frame information file corresponding to the segment; wherein, each frame list records a plurality of frame numbers; the target frame information file contains frame information sub-files of a plurality of frames;

[0020] An extraction module, configured to extract the frame information sub-file corresponding to the frame number for any frame number in the frame list of the segment; wherein, each frame information sub-file records a plurality of frame information statements; the frame information statements are used to describe the basic information of the frame and the parts on the frame.

[0021] An operating module, configured to run each statement of the frame information statements in the frame information sub-file of each said frame in the order of the statement numbers of the frame information statements in the frame information sub-file of the frame;

[0022] A determining module, configured to determine whether there is an abnormality in the frame information of each frame in the frame list according to the running results of the frame information sub-files of each frame in the segment.

[0023] In an alternative embodiment, the apparatus further includes a clearing module, and the clearing module is configured to:

[0024] Clear the original frame information file of the generated hull model; wherein, the original frame information file includes frame information sub-files corresponding to at least two segments with frame fusion information;

[0025] According to the segment number of any segment of the generated hull model, filter out the target frame information file corresponding to the segment; the target frame information file is a file obtained by removing the frame fusion information from the original frame information file.

[0026] In an alternative embodiment, the apparatus further includes an exception prompting module, and the exception prompting module is configured to:

[0027] If it is determined that the frame information of any frame is abnormal, then pop up a prompt box indicating that there is an abnormality in the frame information of the frame.

[0028] In an alternative embodiment, the apparatus further includes a normal processing module, and the normal processing module is configured to:

[0029] If it is determined that the frame information of any frame is normal, then do not pop up a prompt box.

[0030] In an alternative embodiment, each of the frame information statements in the retrieval module is represented with a keyword identifying the statement type at the beginning and a delimiter at the end, wherein the keyword is a predefined string for describing the basic information of the frame and the parts on the frame.

[0031] An embodiment of the present disclosure further provides an electronic device, including: a processor, a memory, and a bus. The memory stores machine-readable instructions executable by the processor. When the electronic device runs, the processor communicates with the memory through the bus. When the machine-readable instructions are executed by the processor, the steps in the above embodiments are executed.

[0032] An embodiment of the present disclosure further provides a computer storage medium, on which a computer program is stored. When the computer program is run by a processor, the steps in the above embodiments are executed.

[0033] A hull grillage inspection method, device, electronic device, and storage medium provided by an embodiment of the present disclosure, the method comprising: obtaining a grillage list of any segment in a generated hull model, and a target grillage information file corresponding to the segment; for any grillage number in the grillage list of the segment, retrieving a grillage information sub-file corresponding to the grillage number; for each of the grillage information sub-files, running the grillage information statements one by one in the order of the statement numbers of the grillage information statements in the grillage information sub-file of the grillage; and determining whether there is an abnormality in the grillage information of each grillage in the grillage list according to the running results of each grillage information sub-file in the segment. In this way, rapid and accurate inspection operations can be achieved for the hull grillage.

[0034] To make the above objects, features, and advantages of the present disclosure more obvious and understandable, the following specifically enumerates preferred embodiments and, in conjunction with the accompanying drawings, provides detailed descriptions as follows. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] To more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following briefly introduces the drawings required to be used in the embodiments. The accompanying drawings are incorporated into the specification and form a part of the specification. These drawings illustrate embodiments that conform to the present disclosure and, together with the specification, are used to explain the technical solutions of the present disclosure. It should be understood that the following drawings only illustrate certain embodiments of the present disclosure and should not be regarded as limiting the scope. For those of ordinary skill in the art, other related drawings can be obtained based on these drawings without creative efforts.

[0036] Figure 1 Shows a flowchart of a hull grillage inspection method provided by an embodiment of the present disclosure;

[0037] Figure 2 Shows a flowchart of another hull grillage inspection method provided by an embodiment of the present disclosure;

[0038] Figure 3 Shows a program execution flowchart of the hull grillage inspection method provided by an embodiment of the present disclosure;

[0039] Figure 4 Shows a schematic diagram of a hull grillage inspection device provided by an embodiment of the present disclosure;

[0040] Figure 5 Shows a schematic diagram of a hull grillage inspection device provided by an embodiment of the present disclosure;

[0041] Figure 6 Shows a schematic diagram of an electronic device provided by an embodiment of the present disclosure.

[0042] Illustration:

[0043] 400 - Hull model grillage inspection device, 410 - Acquisition module, 420 - Retrieval module, 430 - Operation module, 440 - Determination module, 450 - Clearing module, 460 - Abnormal prompt module, 470 - Normal processing module, 600 - Electronic device, 610 - Processor, 620 - Memory, 621 - Internal memory, 622 - External memory, 630 - Bus. Detailed implementation manners

[0044] To make the objectives, technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only some of the embodiments of the present disclosure, rather than all the embodiments. The components of the embodiments of the present disclosure described and illustrated herein can be arranged and designed in various different configurations. Therefore, the detailed description of the embodiments of the present disclosure provided in the accompanying drawings is not intended to limit the scope of the present disclosure to be protected, but merely represents selected embodiments of the present disclosure. All other embodiments obtained by those skilled in the art based on the embodiments of the present disclosure without creative efforts belong to the scope of protection of the present disclosure.

[0045] It should be noted that like reference numerals and letters denote like items in the following figures. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.

[0046] The term "and / or" in this document merely describes an association relationship and indicates that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the term "at least one" in this document means any one of multiple types or any combination of at least two of multiple types. For example, including at least one of A, B, and C may represent including any one or more elements selected from the set composed of A, B, and C.

[0047] It has been found through research that currently, after the hull production designer completes the sectional modeling, it is necessary to manually run the Scheme statements of each grillage in sequence to check whether there are syntax errors in the grillage. For example, when a profile is divided into two, the Tag number is not updated synchronously, resulting in an incorrect model topology relationship. Since there are many grillages in a section, it is necessary to run the Schme files of each grillage in sequence, which is labor-consuming and cannot quickly identify abnormal grillages.

[0048] Based on the above research, the present disclosure provides a method for inspecting a hull grillage. By obtaining a grillage list of any section in the generated hull model and the target grillage information file corresponding to the section; for any grillage number in the grillage list of the section, retrieving the grillage information sub-file corresponding to the grillage number; for each of the grillage information sub-files, running the grillage information statements one by one in the order of the statement numbers of the grillage information statements in the grillage information sub-file of the grillage; and determining whether the grillage information of each grillage in the grillage list is abnormal according to the running results of each grillage information sub-file in the section. In this way, rapid and accurate inspection operations can be performed on the hull grillage.

[0049] For ease of understanding of this embodiment, first, a method for inspecting a hull grillage disclosed in the embodiments of the present disclosure will be introduced in detail. The execution subject of the method for inspecting a hull grillage provided in the embodiments of the present disclosure is generally a computer device with certain computing capabilities. Such a computer device includes, for example: a terminal device, a server, or other processing devices. The terminal device may be a user equipment (UE), a mobile device, a user terminal, a terminal, a personal digital assistant (PDA), a computing device, etc. In some possible implementation manners, the method for inspecting a hull grillage may be implemented by a processor calling computer-readable instructions stored in a memory.

[0050] Please refer to Figure 1 as shown in Figure 1 the flowchart of a method for inspecting a hull grillage provided in an embodiment of the present disclosure. The method for inspecting a hull grillage provided in an embodiment of the present disclosure, as Figure 1 shown in

[0051] S101: Obtain a grillage list of any section in the generated hull model and the target grillage information file corresponding to the section.

[0052] Here, since the hull model is generated in sections when the hull model is generated, each generated hull model includes multiple sections, and each section has a corresponding section number, such as section FB01. Each section corresponds to a grillage list and a target grillage information file.

[0053] Among them, each grillage list records multiple grillage numbers, such as grillage number 101 - BK1; the target grillage information file contains grillage information sub-files of multiple grillages. The file type of the target grillage information file may be a Schme file and is stored in the SB_OGDB database of Tribon software.

[0054] S102: For any panel number in the segmented panel list, retrieve the panel information sub-file corresponding to the panel number.

[0055] Here, after retrieving the panel information sub-file of the panel number using Tribon software, execute command statements, such as pan_modify(panel, mode), to activate the panel, enabling the current user to exclusively occupy the panel information sub-file of the panel and preventing other users from modifying the panel information sub-file during subsequent inspections, thus avoiding affecting the inspection results.

[0056] Among them, each panel information sub-file records multiple panel information statements; the panel information statements are used to describe the basic information of the panel and the parts on the panel.

[0057] Further, in an optional implementation manner, each of the panel information statements is represented with a keyword identifying the statement type at the beginning and a delimiter at the end.

[0058] Here, the basic information described by the panel information statements can be the basic information such as the specifications, positions, reference objects, and topological relationships of the panel and the parts on the panel.

[0059] Among them, the keyword is a predefined string used to describe the basic information of the panel and the parts on the panel. If the keyword exceeds 3 characters, it can be abbreviated to 3 characters. For example, the keyword PANEL can be abbreviated to PAN.

[0060] Among them, each panel information statement is constructed as follows:

[0061] statement_keyword, key1,......, keyN=value,......;

[0062] key1~keyn can be the panel name, reference object name, symmetry, type, etc.

[0063] key1=value~keyN=value can be dimensions, specifications, etc., and can be a reference to other parts or panels. For example, the panel number pan=101 - BX17B.

[0064] Exemplarily, the keyword can include the following basic information:

[0065]

[0066]

[0067] S103: For each of the said sub-files of rack information, run the rack information statements one by one in the order of the statement numbers of the rack information statements in the sub-file of the rack information of the rack.

[0068] Here, for each of the said sub-files of rack information, first, use the command statement for obtaining the number, such as group_next(panel, act, group), to obtain the statement number GroupNumber of the rack information statement in the sub-file of the rack information of the rack, then execute the command statement for obtaining the statement, such as stmt_get(panel, group), to obtain the rack information statement of the line with the statement number GroupNumber, and then use the statement execution statement, such as stmt_exec(group, statement), to run the rack information statement. After running the rack information statement, according to the order of the statement numbers of the rack information statements, obtain the next statement number, obtain the rack information statement, run the next rack information statement, until all the rack information statements corresponding to the statement numbers in the sub-file of the rack information are run. Furthermore, use the command statement for obtaining the rack, such as pan_list_active(), to obtain the number of the next activated rack and save and exit the operation of the current rack through the exit command, such as pan_store(). Through the above process, run all the rack information statements corresponding to the next rack number until all the sub-files of the rack information in the rack information file corresponding to this segment are run.

[0069] S104: Determine whether there is an abnormality in the rack information of each rack in the rack list according to the running results of each sub-file of the rack information in the segment.

[0070] Furthermore, in an optional implementation manner, after determining whether there is an abnormality in the rack information of each rack in the rack list according to the running results of each sub-file of the rack information in the segment, the method further includes:

[0071] If it is determined that there is an abnormality in the rack information of any rack, a prompt box indicating that there is an abnormality in the rack information of the rack is popped up.

[0072] Here, when checking that there is an abnormality in the rack information of any rack, the rack information statements with abnormalities are marked with colors, for example, the abnormal rack information statements are marked in red, and after checking the rack information of all the racks corresponding to this segment, a prompt box indicating that there is an abnormality in the rack information of the rack is popped up in sequence.

[0073] Still further, in an optional implementation manner, after determining whether there is an abnormality in the rack information of each rack in the rack list according to the running results of each sub-file of the rack information in the segment, the method further includes:

[0074] If the grillage information of any grillage is determined to be normal, no prompt box will pop up.

[0075] A hull grillage inspection method provided by an embodiment of the present disclosure includes obtaining a grillage list of any section in a generated hull model and a target grillage information file corresponding to the section; for any grillage number in the grillage list of the section, retrieving a grillage information sub-file corresponding to the grillage number; for each grillage information sub-file, running the grillage information statements one by one in the order of the statement numbers of the grillage information statements in the grillage information sub-file of the grillage; and determining whether the grillage information of each grillage in the grillage list is abnormal according to the running results of each grillage information sub-file in the section. In this way, rapid and accurate inspection operations can be performed on the hull grillage.

[0076] Please refer to Figure 2 , Figure 2 which is a flowchart of another hull grillage inspection method provided by an embodiment of the present disclosure. The hull grillage inspection method provided by an embodiment of the present disclosure, as Figure 2 shown in, the method includes:

[0077] S201: Clear the original grillage information file of the generated hull model.

[0078] Among them, the original grillage information file includes grillage information sub-files corresponding to at least two sections with grillage fusion information.

[0079] Here, clear the original grillage information file corresponding to the generated hull model to be inspected in the engineering item of Tribon software. Since the grillage information in the grillage information sub-files of at least two section grillages in the original grillage information file is fused, when inspecting the grillage information in the grillage information sub-file of any section, the grillage information in the grillage information sub-files of other sections will affect it. Clearing the original grillage information file of the generated hull model can avoid the influence of the grillage information in the grillage information sub-files of other sections and improve the accuracy of grillage inspection.

[0080] Among them, the original grillage information file can be a SQL file copy of the grillage information in the SB_OGDB database.

[0081] S202: Filter out the target grillage information file corresponding to the section according to the section number of any section in the generated hull model.

[0082] Among them, the target grillage information file is a file obtained by removing the grillage fusion information from the original grillage information file.

[0083] Here, the grillage information file of the generated hull model is regenerated using a generation command, and the target grillage information file corresponding to the section is filtered out according to the section number of any section of the generated hull model.

[0084] Exemplarily, in the Planar Hull module of Tribon, execute the Planar->Schme->Extract Schme command to automatically regenerate the Schme files of all grillages within the section in the Schme folder.

[0085] S203: Obtain the grillage list of any section in the generated hull model and the target grillage information file corresponding to the section.

[0086] S204: For any grillage number in the grillage list of the section, retrieve the sub-grillage information file corresponding to the grillage number.

[0087] S205: For each sub-grillage information file, run the grillage information statements one by one in the order of the statement numbers of the grillage information statements in the sub-grillage information file of the grillage.

[0088] S206: Determine whether there is an abnormality in the grillage information of each grillage in the grillage list according to the running results of each sub-grillage information file in the section.

[0089] Among them, the descriptions of steps S203 to S206 can refer to the descriptions of steps S101 to S104, and can achieve the same technical effects and solve the same technical problems, which will not be elaborated here.

[0090] Please refer to Figure 3 , Figure 3 which is the program execution flowchart of the hull grillage inspection method provided by the embodiments of the present disclosure.

[0091] As Figure 3As shown, first, in the editing interface of Tribon software, execute step S301 to obtain the section number input by the user, then execute step S302 to obtain the grillage list corresponding to the section according to the section number, execute step S303 to select grillage N in the grillage list, use the command statement to obtain the grillage information sub-file of grillage N, and execute step S304 to obtain the statement number GroupNumber of the grillage information statement in the grillage information sub-file, execute step S305 to extract the grillage information statement corresponding to the statement number GroupNumber, execute step S306 to run the grillage information statement, execute step S307 to check whether there is an error. If there is no error in the grillage information statement, then execute step S308 to extract the statement number following grillage N, and execute step S309 to determine whether the next statement number has reached the end of the grillage information sub-file. If not, continue to execute step S306 to check whether there is an error in the grillage information statement corresponding to this statement number until all the grillage information statements in the grillage information sub-file have been checked, then execute step S310 to save and directly exit this grillage, and execute step S311 to determine whether the grillages in the grillage list have been run. If so, end the program flow; if not, then execute step S312 to select grillage N+1, that is, continue to obtain the grillage information sub-file of the next grillage, and loop to execute steps S304 to S311 until all the grillage information sub-files in this section have been run, and end the program flow; if there is an error, then execute step S313 to record the error information, and execute step S314 to directly exit this grillage, and then execute step S313 to determine whether the grillages in the grillage list have been executed. If not, then execute step S312 to select grillage N+1, and loop to execute steps S304 to S311 until all the grillage information sub-files in this section have been run, and end the program flow; if so, directly end the program flow.

[0092] The hull grillage inspection method provided by the embodiments of the present disclosure includes emptying the original grillage information file of the generated hull model; screening out the target grillage information file corresponding to the segment according to the segment number of any segment of the generated hull model; the target grillage information file is a file obtained by removing the grillage fusion information from the original grillage information file; obtaining the grillage list of any segment in the generated hull model and the target grillage information file corresponding to the segment; for any grillage number in the grillage list of the segment, retrieving the grillage information sub-file corresponding to the grillage number; for each grillage information sub-file, running the grillage information statements one by one in the order of the statement numbers of the grillage information statements of the grillage; and determining whether there is an abnormality in the grillage information of each grillage in the grillage list according to the running results of each grillage information sub-file in the segment. In this way, the influence of the grillage fusion information in the original grillage information file can be eliminated, and the inspection of the grillage can be quickly realized while improving the accuracy of the inspection.

[0093] Those skilled in the art can understand that in the above method of the specific embodiment, the writing order of each step does not mean a strict execution order that constitutes any limitation on the implementation process, and the specific execution order of each step should be determined according to its function and possible internal logic.

[0094] Based on the same inventive concept, the embodiments of the present disclosure also provide a hull grillage inspection device corresponding to the hull grillage inspection method. Since the principle of solving problems by the device in the embodiments of the present disclosure is similar to that of the above hull grillage inspection method in the embodiments of the present disclosure, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be elaborated.

[0095] Please refer to Figures 4 to 5 , Figure 4 which is one of the schematic diagrams of a hull grillage inspection device provided by the embodiments of the present disclosure. Figure 5 which is the second schematic diagram of a hull grillage inspection device provided by the embodiments of the present disclosure. As shown in Figure 4 the hull grillage inspection device 400 provided by the embodiments of the present disclosure includes:

[0096] An acquisition module 410, configured to acquire the grillage list of any segment in the generated hull model and the target grillage information file corresponding to the segment; wherein, each grillage list records a plurality of grillage numbers; the target grillage information file includes grillage information sub-files of a plurality of grillages.

[0097] A retrieval module 420, configured to retrieve the grillage information sub-file corresponding to the grillage number for any grillage number in the grillage list of the segment; wherein, each grillage information sub-file records a plurality of grillage information statements; the grillage information statements are used to describe the basic information of the grillage and the parts on the grillage.

[0098] An operation module 430, configured to run the frame information statements one by one for each of the frame information sub-files according to the statement number sequence of the frame information statements in the frame information sub-file of the frame.

[0099] A determination module 440, configured to determine whether there is an abnormality in the frame information of each frame in the frame list according to the operation results of each frame information sub-file in the segment.

[0100] In an optional implementation manner, the device further includes a clearing module 450, and the clearing module 450 is configured to:

[0101] Clear the original frame information file of the generated hull model; wherein, the original frame information file includes frame information sub-files corresponding to at least two segments with frame fusion information.

[0102] According to the segment number of any segment of the generated hull model, filter out the target frame information file corresponding to the segment; the target frame information file is a file obtained by removing the frame fusion information from the original frame information file.

[0103] In an optional implementation manner, the device further includes an exception prompt module 460, and the exception prompt module 460 is configured to:

[0104] If it is determined that the frame information of any frame is abnormal, then pop up a prompt box indicating that the frame information of the frame is abnormal.

[0105] In an optional implementation manner, the device further includes a normal processing module 470, and the normal processing module 470 is configured to:

[0106] If it is determined that the frame information of any frame is normal, then do not pop up a prompt box.

[0107] In an optional implementation manner, each of the frame information statements in the retrieval module 420 is represented with a keyword identifying the statement type at the beginning and a delimiter at the end, where the keyword is a predefined string for describing the basic information of the frame and the parts on the frame.

[0108] For the description of the processing flow of each module in the device and the interaction flow between the modules, reference can be made to the relevant descriptions in the above method embodiments, which will not be elaborated here.

[0109] A hull grillage inspection device provided by an embodiment of the present disclosure includes an acquisition module configured to acquire a grillage list of any subsection in a generated hull model and a target grillage information file corresponding to the subsection; a retrieval module configured to retrieve, for any grillage number in the grillage list of the subsection, a grillage information sub-file corresponding to the grillage number; an execution module configured to execute, for each of the grillage information sub-files, the grillage information statements one by one in the order of the statement numbers of the grillage information statements in the grillage information sub-file of the grillage; and a determination module configured to determine whether there is an abnormality in the grillage information of each grillage in the grillage list according to the execution results of each grillage information sub-file in the subsection. In this way, rapid and accurate inspection operations can be performed on the hull grillage.

[0110] Based on the same inventive concept, an embodiment of the present application also provides an electronic device.

[0111] An embodiment of the present disclosure also provides an electronic device 600, as Figure 6 shown, which is a schematic structural diagram of the electronic device 600 provided by an embodiment of the present disclosure, including:

[0112] A processor 610, a memory 620, and a bus 630; the memory 620 is used to store execution instructions, including an internal memory 621 and an external memory 622; the internal memory 621 here is also called the main memory and is used to temporarily store the operation data in the processor 610 and the data exchanged with the external memory 622 such as a hard disk. The processor 610 exchanges data with the external memory 622 through the internal memory 621. When the electronic device 600 runs, communication is performed between the processor 610 and the memory 620 through the bus 630, so that the processor 610 can execute the steps of the hull grillage inspection method shown in the above method embodiment.

[0113] An embodiment of the present disclosure also provides a computer storage medium, on which a computer program is stored. When the computer program is run by a processor, it executes the steps of the hull grillage inspection method described in the above method embodiment. Wherein, the storage medium can be a volatile or non-volatile computer-readable storage medium.

[0114] An embodiment of the present disclosure also provides a computer program product, which carries program codes. The instructions included in the program codes can be used to execute the steps of the hull grillage inspection method described in the above method embodiment. For details, refer to the above method embodiment, which will not be elaborated here.

[0115] Among them, the above computer program product can be specifically implemented by means of hardware, software, or a combination thereof. In an alternative embodiment, the computer program product is specifically embodied as a computer storage medium. In another alternative embodiment, the computer program product is specifically embodied as a software product, such as a Software Development Kit (SDK), and so on.

[0116] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the systems and devices described above can refer to the corresponding processes in the foregoing method embodiments, and will not be elaborated herein. In several embodiments provided in the present disclosure, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of the units is only a logical functional division, and there may be other division methods in actual implementation. For another example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection between each other can be through some communication interfaces. The indirect coupling or communication connection of the devices or units can be in an electrical, mechanical, or other form.

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

[0118] In addition, in each embodiment of the present disclosure, the functional units can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit.

[0119] When the above-mentioned functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such an understanding, the technical solution of the present disclosure, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present disclosure. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical discs that can store program codes.

[0120] Finally, it should be noted that the above-mentioned embodiments are only specific implementation manners of the present disclosure, used to illustrate the technical solutions of the present disclosure, rather than limiting them. The protection scope of the present disclosure is not limited thereto. Although the present disclosure has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: any person skilled in the art within the technical scope disclosed by the present disclosure can still modify the technical solutions recorded in the foregoing embodiments or can easily think of changes, or perform equivalent replacements on some of the technical features; and these modifications, changes, or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure and should all be covered by the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be subject to the protection scope of the claims.

Claims

1. A method for inspecting a hull grillage, characterized in that, The method includes: Obtaining a grillage list of any segment in the generated hull model, and the target grillage information file corresponding to the segment; wherein, each grillage list records multiple grillage numbers; the target grillage information file contains grillage information sub-files of multiple grillages; For any grillage number in the grillage list of the segment, retrieving the grillage information sub-file corresponding to the grillage number; wherein, each grillage information sub-file records multiple grillage information statements; the grillage information statements are used to describe the basic information of the grillage and the parts on the grillage; each grillage information statement is represented with a keyword identifying the statement type at the beginning and a delimiter at the end, wherein the keyword is a predefined string for describing the basic information of the grillage and the parts on the grillage; For each grillage information sub-file, running the grillage information statements one by one in the order of the statement numbers of the grillage information statements in the grillage information sub-file of the grillage; Determining whether there is an abnormality in the grillage information of each grillage in the grillage list according to the running results of each grillage information sub-file in the segment; Before obtaining the target grillage information file corresponding to the segment, clearing the original grillage information file of the generated hull model; wherein, the original grillage information file includes grillage information sub-files corresponding to at least two segments with grillage fusion information; Filtering out the target grillage information file corresponding to the segment according to the segment number of any segment in the generated hull model; the target grillage information file is a file obtained by removing the grillage fusion information from the original grillage information file.

2. The method according to claim 1, wherein After determining whether there is an abnormality in the grillage information of each grillage in the grillage list according to the running results of each grillage information sub-file in the segment, the method further includes: If it is determined that the grillage information of any grillage is abnormal, popping up a prompt box indicating that there is an abnormality in the grillage information of the grillage.

3. The method according to claim 1, characterized in that, After determining whether there is an abnormality in the grillage information of each grillage in the grillage list according to the running results of each grillage information sub-file in the segment, the method further includes: If it is determined that the grillage information of any grillage is normal, not popping up a prompt box.

4. A hull model grillage inspection device, characterized in that, The device includes: An obtaining module, configured to obtain a grillage list of any segment in the generated hull model, and the target grillage information file corresponding to the segment; wherein, each grillage list records multiple grillage numbers; the target grillage information file contains grillage information sub-files of multiple grillages; A retrieving module, configured to retrieve the grillage information sub-file corresponding to any grillage number in the grillage list of the segment; wherein, each grillage information sub-file records multiple grillage information statements; the grillage information statements are used to describe the basic information of the grillage and the parts on the grillage; each grillage information statement is represented with a keyword identifying the statement type at the beginning and a delimiter at the end, wherein the keyword is a predefined string for describing the basic information of the grillage and the parts on the grillage; An operation module, configured to run the frame information statements one by one for each of the sub-files of the frame information according to the statement number sequence of the frame information statements in the sub-files of the frame information of the frame; A determination module, configured to determine whether there is an abnormality in the frame information of each frame in the frame list according to the operation results of the sub-files of the frame information of each frame in the segment; A clearing module, configured to clear the original frame information file of the generated hull model; wherein, the original frame information file includes sub-files of the frame information corresponding to at least two segments with frame fusion information; according to the segment number of any segment of the generated hull model, the target frame information file corresponding to the segment is filtered out; the target frame information file is a file obtained by removing the frame fusion information from the original frame information file.

5. The device according to claim 4, characterized in that, The apparatus further includes an abnormality prompt module, and the abnormality prompt module is configured to: If it is determined that there is an abnormality in the frame information of any frame, a prompt box indicating that there is an abnormality in the frame information of the frame is popped up.

6. A computer device, characterized in that, Including: A processor, a memory and a bus, where the memory stores machine-readable instructions executable by the processor. When the computer device runs, the processor communicates with the memory through the bus. When the machine-readable instructions are executed by the processor, the steps of the hull model frame inspection method according to any one of claims 1 to 3 are executed.

7. A computer storage medium, characterized in that, A computer program is stored on the computer storage medium, and when the computer program is run by the processor, the steps of the hull model frame inspection method according to any one of claims 1 to 3 are executed.

Citation Information

Patent Citations

  • Ship body segmented hoisting design method and design platform based on three-dimensional model

    CN111737877A

  • Shelf device and projection device to be used in relation to shelf device

    JP2013202667A