A method, device and electronic equipment for querying ship hull part numbers

By providing hull part marking query methods during hull production, and using preset databases to determine and display part markings, the problem of inefficiency of designers when frequently modifying and adding new parts is solved, and more efficient part query and marking configuration is achieved.

CN114996409BActive Publication Date: 2025-05-13SHANGHAI WAIGAOQIAO SHIP BUILDING CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210756176.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-29
Publication Date
2025-05-13
Estimated Expiration
2042-06-29

AI Technical Summary

Technical Problem

During the hull production process, designers need to frequently modify and add new parts, resulting in the need to re-assign ID numbers. The entire process is inefficient and consumes a lot of time and manual resources.

Method used

A method for querying hull parts labels is provided. By detecting the user's query operation, the target associated parts associated with the parts to be queried is determined in the preset hull part label database, and whether there is a part label. If it exists, it is extracted. If it does not exist, it is configured to configure the preset initial label, and display the corresponding label or label modification interface.

Benefits of technology

Improves the efficiency of hull parts query and reduces the time and labor resource consumption of designers when looking for parts that have not yet been configured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114996409B_ABST
    Figure CN114996409B_ABST
Patent Text Reader

Abstract

The present disclosure provides a method, device and electronic device for querying the hull part number, which detects the query operation of the user on the part to be queried in the current hull; in response to the query operation, multiple target associated parts associated with the part to be queried are determined in a preset hull part number database; for each target associated part, it is determined whether the hull part number database stores the part number corresponding to the target associated part; if so, the part number corresponding to the target associated part is extracted; if not, a preset initial number is configured for the target associated part; for the target associated part with the part number, the part number is displayed; for the target associated part without the part number, the preset initial number is displayed and the associated part is marked. The efficiency of the hull part number query can be improved, and it is convenient for designers to find hull parts that have not been configured with part numbers.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of shipbuilding, and in particular to a method, device and electronic equipment for querying ship hull part numbers. Background Art

[0002] With the continuous development of shipping technology, in the process of cargo circulation, ocean transportation has assumed an increasingly important role due to its large carrying capacity and low freight rates. As the ocean transportation business continues to expand, the demand for ships is also increasing. Shipbuilding companies need to manufacture a large number of different types of ships to meet the different needs of ocean transportation business.

[0003] In the current hull production process, after the designers have completed or partially completed the drawing of the assembly drawings, if some structures need to be modified at this time, especially when new parts are added, the parts need to be re-assigned ID numbers. This change requires all the drawings that have been drawn to be refreshed, and at the same time, the newly added panels and parts are manually screened out in the parts list, and the ID numbers of the parts that have not been used are determined, and new ID numbers are manually assigned to the newly added parts. This process requires a lot of time and labor resources, and is inefficient. Summary of the invention

[0004] The embodiments of the present disclosure at least provide a method, device and electronic device for querying hull part numbers, which can improve the efficiency of hull part query and facilitate designers to find hull parts that have not been assigned part numbers.

[0005] The present disclosure provides a method for querying a hull part number, the method comprising:

[0006] Detect the user's query operation on the parts to be queried in the current hull;

[0007] In response to the query operation, a plurality of target associated parts associated with the part to be queried are determined in a preset hull part number database;

[0008] For each of the target-related parts, determining whether a part number corresponding to the target-related part is stored in the hull part number database;

[0009] If it exists, extract the part number corresponding to the target associated part; if it does not exist, configure a preset initial number for the target associated part;

[0010] For the target associated part that has the part number, the part number is displayed; for the target associated part that does not have the part number, the preset initial number is displayed and the associated part is marked.

[0011] In an optional implementation manner, the target associated part has a primary associated part type and a secondary associated part type, and the query operation is performed to determine multiple target associated parts associated with the part to be queried in a preset hull part number database, specifically including:

[0012] Determine a plurality of primary associated part types associated with the part to be queried;

[0013] For each of the primary associated part types, a plurality of primary associated parts belonging to the primary associated part type are determined in a preset hull part number database;

[0014] Determine whether there is a corresponding secondary associated part type for the part to be queried. If so, take the primary associated part as the part to be queried, and repeatedly determine multiple primary associated part types associated with the part to be queried; for each primary associated part type, determine multiple primary associated parts belonging to the primary associated part type in a preset hull part number database until there is no secondary associated part type associated with the part to be queried;

[0015] All of the primary associated parts are determined as the target associated parts.

[0016] In an optional implementation manner, the detecting user's query operation on the part to be queried in the current hull specifically includes:

[0017] Detecting the user's input operation in the preset human-computer interaction interface;

[0018] The part name inputted in the input operation is determined, and the part to be queried is determined according to the part name.

[0019] In an optional implementation manner, after displaying the part number for the target associated part that has the part number, and displaying the preset initial number and marking the associated part for the target associated part that does not have the part number, the method further includes:

[0020] Detecting a user's label modification operation on the target associated part whose part label does not exist in the hull part label database;

[0021] In response to the label modification operation, determining a target configuration label input by a user;

[0022] The preset initial label is replaced by the target configuration label.

[0023] In an optional implementation manner, the method for extracting the part number corresponding to the target associated part specifically includes:

[0024] The part number corresponding to the target associated part is extracted from the hull part number database through a preset application programming interface.

[0025] The embodiment of the present disclosure also provides a device for querying the number of a hull part, the device comprising:

[0026] A detection module is used to detect the user's query operation on the parts to be queried in the current hull;

[0027] A determination module, configured to determine, in response to the query operation, a plurality of target associated parts associated with the part to be queried in a preset hull part number database;

[0028] A judgment module, used for judging, for each of the target-related parts, whether a part number corresponding to the target-related part is stored in the hull part number database;

[0029] An extraction module, configured to extract the part number corresponding to the target associated part if it exists; if it does not exist, configure a preset initial number for the target associated part;

[0030] A display module is used to display the part number for the target associated part that has the part number; and to display the preset initial number and mark the target associated part for the target associated part that does not have the part number.

[0031] In an optional implementation manner, the determining module is specifically configured to:

[0032] Determine a plurality of primary associated part types associated with the part to be queried;

[0033] For each of the primary associated part types, a plurality of primary associated parts belonging to the primary associated part type are determined in a preset hull part number database;

[0034] Determine whether there is a corresponding secondary associated part type for the part to be queried. If so, take the primary associated part as the part to be queried, and repeatedly determine multiple primary associated part types associated with the part to be queried; for each primary associated part type, determine multiple primary associated parts belonging to the primary associated part type in a preset hull part number database until there is no secondary associated part type associated with the part to be queried;

[0035] All of the primary associated parts are determined as the target associated parts.

[0036] In an optional implementation manner, the detection module is specifically used to:

[0037] Detecting the user's input operation in the preset human-computer interaction interface;

[0038] The part name inputted in the input operation is determined, and the part to be queried is determined according to the part name.

[0039] In an optional implementation manner, the device further includes a modification module, wherein the modification module is configured to:

[0040] Detecting a user's label modification operation on the target associated part whose part label does not exist in the hull part label database;

[0041] In response to the label modification operation, determining a target configuration label input by a user;

[0042] The preset initial label is replaced by the target configuration label.

[0043] In an optional implementation manner, the extraction module is specifically used to:

[0044] The part number corresponding to the target associated part is extracted from the hull part number database through a preset application programming interface.

[0045] An embodiment of the present disclosure also provides an electronic device, including: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate through the bus, and when the machine-readable instructions are executed by the processor, the above-mentioned method for querying hull part numbers, or steps in any possible implementation of the above-mentioned method for querying hull part numbers are executed.

[0046] The embodiments of the present disclosure also provide a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for querying the hull part number mentioned above or the steps in any possible implementation of the method for querying the hull part number mentioned above is executed.

[0047] The disclosed embodiment provides a method, device and electronic device for querying the hull part number, which detects the query operation of the user on the part to be queried in the current hull; in response to the query operation, multiple target associated parts associated with the part to be queried are determined in a preset hull part number database; for each target associated part, it is determined whether the hull part number database stores the part number corresponding to the target associated part; if so, the part number corresponding to the target associated part is extracted; if not, a preset initial number is configured for the target associated part; for the target associated part with the part number, the part number is displayed; for the target associated part without the part number, the preset initial number is displayed and the associated part is marked. The efficiency of the hull part number query can be improved, and it is convenient for designers to find hull parts that have not been configured with part numbers.

[0048] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following briefly introduces the drawings required for use in the embodiments. The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present disclosure and are used together with the specification to illustrate 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 ordinary technicians in this field, other relevant drawings can also be obtained based on these drawings without creative work.

[0050] Figure 1 A flow chart of a method for querying ship hull part numbers provided by an embodiment of the present disclosure is shown;

[0051] Figure 2 A flow chart showing another method for querying the hull part number provided by an embodiment of the present disclosure;

[0052] Figure 3 A schematic diagram of a hull part number query device provided by an embodiment of the present disclosure is shown;

[0053] Figure 4 A schematic diagram of an electronic device provided by an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0054] In order to make the purpose, technical scheme and advantages of the embodiments of the present disclosure clearer, the technical scheme in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all of the embodiments. The components of the embodiments of the present disclosure generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present disclosure provided in the drawings is not intended to limit the scope of the present disclosure for protection, but merely represents the selected embodiments of the present disclosure. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present disclosure.

[0055] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0056] The term "and / or" herein only describes an association relationship, indicating that three relationships may exist. For example, A and / or B may represent the following three situations: A exists alone, A and B exist at the same time, and B exists alone. In addition, the term "at least one" herein represents any combination of at least two of any one or more of a plurality of. For example, including at least one of A, B, and C may represent including any one or more elements selected from the set consisting of A, B, and C.

[0057] Research has found that in the current hull production process, after the designers have completed or partially completed the drawing of the assembly drawings, if some structures need to be modified at this time, especially when new parts are added, the parts need to be re-assigned ID numbers. This change requires all the drawings that have been drawn to be refreshed, and at the same time, the newly added panels and parts must be manually screened out in the parts list, and the ID numbers of the parts that have not been used must be determined. New ID numbers must be manually assigned to the newly added parts. This process requires a lot of time and labor resources and is inefficient.

[0058] Based on the above research, the present disclosure provides a method, device and electronic device for querying hull part numbers, which detects the query operation of the user for the part to be queried in the current hull; in response to the query operation, multiple target-related parts associated with the part to be queried are determined in the preset hull part number database; for each target-related part, it is determined whether the part number corresponding to the target-related part is stored in the hull part number database; if it exists, the part number corresponding to the target-related part is extracted; if it does not exist, a preset initial number is configured for the target-related part; for the target-related part with a part number, the part number is displayed; for the target-related part without a part number, the preset initial number is displayed and the associated part is marked. The efficiency of hull part number query can be improved, and it is convenient for designers to find hull parts that have not been configured with part numbers.

[0059] To facilitate understanding of the present embodiment, a method for querying a hull part number disclosed in the present embodiment is first introduced in detail. The execution subject of the method for querying a hull part number provided in the present embodiment is generally a computer device with certain computing capabilities, and the computer device includes, for example: a terminal device or a server or other processing device, and the terminal device may be a user equipment (UE), a mobile device, a user terminal, a terminal, a cellular phone, a cordless phone, a personal digital assistant (PDA), a handheld device, a computing device, a vehicle-mounted device, a wearable device, etc. In some possible implementations, the method for querying a hull part number may be implemented by a processor calling a computer-readable instruction stored in a memory.

[0060] See also Figure 1 FIG. 1 is a flow chart of a method for querying a hull part number provided by an embodiment of the present disclosure, the method comprising steps S101 to S105, wherein:

[0061] S101, detecting a user's query operation on a part to be queried in the current hull.

[0062] In a specific implementation, the detection of the user's query operation can be achieved through a human-computer interaction interface, which displays elements such as a text input box and a query button. The user can enter the part name of the part to be queried in the text input box and click the query button to trigger the query operation.

[0063] As a possible implementation manner, detecting the user's query operation on the parts to be queried in the current hull may specifically be: detecting the user's input operation in a preset human-computer interaction interface; determining the part name input by the input operation, and determining the part to be queried based on the part name.

[0064] S102: In response to the query operation, a plurality of target associated parts associated with the part to be queried are determined in a preset hull part number database.

[0065] In a specific implementation, after the user triggers a query operation, the backend server can query multiple target associated parts associated with the part to be queried in a preset hull part number database based on the part name of the part to be queried input by the user.

[0066] It should be noted that the hull part number database may be composed of a plurality of completed layers of hull design drawings, and stores each hull part in each drawing and its corresponding ID number.

[0067] Here, the association relationship between the target associated parts and the parts to be queried may include an attribution relationship. For example, for structural parts of the type of hull frame, the associated parts associated with it may include: plates, pads, through holes, patch plates, elbow plates, etc., among which the association relationship between parts of the types of plates, pads, through holes, patch plates, elbow plates, etc. and parts of the type of hull frame is an attribution relationship.

[0068] As a possible implementation, the target associated part has a primary associated part type and a secondary associated part type. The target associated part may be determined based on the following method:

[0069] S1021. Determine a plurality of primary associated part types associated with the part to be queried.

[0070] In a specific implementation, the association relationship between the target associated part and the part to be queried may include a primary association relationship and a secondary association relationship. The part type with a primary association relationship between the target associated part and the part to be queried is the primary associated part type; the part type with a secondary association relationship between the target associated part and the part to be queried is the primary associated part type.

[0071] In one example, when the part to be queried is a hull part of the plate frame type, the primary associated part types that have a primary association relationship with it may include: plate type, pad type, through hole type, elbow plate type and other types of hull parts; and for the through hole type hull parts, there are also hull parts of the patch plate type, then the association relationship between the hull parts of the patch plate type and the hull parts of the through hole type is a primary association relationship, and the association relationship between the hull parts of the patch plate type and the hull parts of the plate frame type is a secondary association relationship, and the hull parts of the patch plate type are secondary associated part types of the hull parts of the plate frame type.

[0072] S1022. For each of the primary associated part types, determine a plurality of primary associated parts belonging to the primary associated part type in a preset hull part number database.

[0073] In one example, when the part to be queried is a hull part of the plate frame type, if its corresponding primary associated part type is the plate type, all hull parts belonging to the plate type are extracted from the preset hull part number database as primary associated parts.

[0074] S1023, determining whether there is a corresponding secondary associated part type for the part to be queried; if so, taking the primary associated part as the part to be queried, and repeatedly determining multiple primary associated part types associated with the part to be queried; for each of the primary associated part types, determining multiple primary associated parts belonging to the primary associated part type in a preset hull part number database, until there is no secondary associated part type associated with the part to be queried.

[0075] In one example, when the part to be queried is a hull part of the plate frame type, and the corresponding primary associated part type is a hull part of the through hole type, the part to be queried has a corresponding secondary associated part type: a hull part of the patch plate type. At this time, the primary associated parts belonging to the through hole type are used as the part to be queried, and all hull parts belonging to the through hole type are extracted from the preset hull part number database, and the above steps are repeated until the part to be queried no longer has the associated secondary associated part type.

[0076] S1024. Determine all of the primary associated parts as the target associated parts.

[0077] S103: for each of the target-related parts, determine whether the part number corresponding to the target-related part is stored in the hull part number database.

[0078] In the specific implementation, some of the hull parts stored in the hull part number database are original hull parts, which have been configured with corresponding part numbers, while some parts are newly added hull parts due to factors such as hull design modifications and have not yet been configured with corresponding part numbers. Therefore, these hull parts need to be specially marked to facilitate designers to view.

[0079] S104. If it exists, extract the part number corresponding to the target associated part; if it does not exist, configure a preset initial number for the target associated part.

[0080] In a specific implementation, for a target associated part that already has a part number, the part number of the target associated part is extracted from a preset hull part number database; and for a part number that does not exist in the preset hull part number database, the part number of the target associated part is set to a preset initial number.

[0081] Here, the preset initial number can be set to 0, and can be selected according to actual needs during the specific implementation process, and no specific limitation is made here.

[0082] As a possible implementation, the part number corresponding to the target associated part may be extracted from the hull part number database through a preset application programming interface.

[0083] In one example, the Python string for extracting the part number of the part associated with the plate type target can be: "HULL.PAN('%s').PLA(1:999).POSITION_NUMBER" % (panelname); the Python string for extracting the part number of the part associated with the pad type target can be: "HULL.PAN(' %s').DOU(1:999).POSITION_NUMBER" % (panelname); the Python string for extracting the part number of the part associated with the filler type target can be: "HULL.PAN(' %s').CUT(1:999).CLIP(1:3).POS_NO" %(panelname);The Python string for extracting the part number of the associated part of the bracket type target can be: "HULL.PAN('%s').BRA(1:999).POSITION_NUMBER" %(panelname);The Python string for extracting the part number of the associated part of the profile type target can be: "HULL.PAN('%s').STI(1:999).POSITION_NUMBER" %(panelname)。

[0084] S105. For the target associated part that has the part number, display the part number; for the target associated part that does not have the part number, display the preset initial number and mark the target associated part.

[0085] In a specific implementation, the target associated parts with part numbers and their corresponding part numbers are displayed on the human-computer interaction interface. For the target associated parts without part numbers, the target associated parts and the preset initial numbers are displayed, and the target associated parts without part numbers are specially marked.

[0086] Specifically, the target-related parts may be displayed by a classified display method, and the corresponding target-related parts may be displayed under corresponding categories according to different types of the target-related parts.

[0087] In this way, designers can intuitively distinguish target-associated parts with existing part numbers and newly added target-associated parts that have not yet been configured with part numbers, making it easier for designers to configure new part numbers for newly added hull parts based on the used part numbers.

[0088] The disclosed embodiment provides a method for querying the hull part number, which detects the query operation of the user on the part to be queried in the current hull; in response to the query operation, multiple target associated parts associated with the part to be queried are determined in a preset hull part number database; for each target associated part, it is determined whether the hull part number database stores the part number corresponding to the target associated part; if so, the part number corresponding to the target associated part is extracted; if not, a preset initial number is configured for the target associated part; for the target associated part with the part number, the part number is displayed; for the target associated part without the part number, the preset initial number is displayed and the associated part is marked. The efficiency of the hull part number query can be improved, and it is convenient for designers to find hull parts that have not been configured with part numbers.

[0089] See also Figure 2 FIG. 2 is a flowchart of another method for querying the number of a hull part provided by an embodiment of the present disclosure, wherein the method comprises steps S201 to S207, wherein:

[0090] S201, detecting a user's query operation on a part to be queried in the current hull;

[0091] S202, in response to the query operation, determining a plurality of target associated parts associated with the part to be queried in a preset hull part number database;

[0092] S203, for each of the target-related parts, determining whether the hull part number database stores a part number corresponding to the target-related part;

[0093] S204, if it exists, extract the part number corresponding to the target associated part; if it does not exist, configure a preset initial number for the target associated part;

[0094] S205. For the target associated part that has the part number, display the part number; for the target associated part that does not have the part number, display the preset initial number and mark the target associated part.

[0095] Here, steps S201 to S205 are substantially the same as steps S101 to S105, have the same implementation methods and can achieve the same implementation effects, and thus will not be described in detail.

[0096] S206, detecting a user's operation of modifying the number of the target associated part whose part number does not exist in the hull part number database.

[0097] In a specific implementation, since the target associated part that does not have a part number in the hull part number database displayed to the user has a preset initial number displayed, the user can modify the part number of the target associated part that does not have a part number in the hull part number database in the human-computer interaction interface.

[0098] Specifically, a label modification button may be displayed on the human-computer interaction interface, and the user may click the label modification button and input the target configuration label that is desired to be modified.

[0099] S207, in response to the label modification operation, determining the target configuration label input by the user; and replacing the preset initial label with the target configuration label.

[0100] As a possible implementation, based on the currently existing part numbers, recommended part numbers other than the currently existing parts may be pushed to the user.

[0101] The disclosed embodiment provides a method for querying the hull part number, which detects the query operation of the user on the part to be queried in the current hull; in response to the query operation, multiple target associated parts associated with the part to be queried are determined in a preset hull part number database; for each target associated part, it is determined whether the hull part number database stores the part number corresponding to the target associated part; if so, the part number corresponding to the target associated part is extracted; if not, a preset initial number is configured for the target associated part; for the target associated part with the part number, the part number is displayed; for the target associated part without the part number, the preset initial number is displayed and the associated part is marked. The efficiency of the hull part number query can be improved, and it is convenient for designers to find hull parts that have not been configured with part numbers.

[0102] Those skilled in the art will appreciate that, in the above method of specific implementation, the order in which the steps are written does not imply a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of the steps should be determined by their functions and possible internal logic.

[0103] Based on the same inventive concept, the embodiment of the present disclosure also provides a device for querying hull part numbers corresponding to the method for querying hull part numbers. Since the principle of solving the problem by the device in the embodiment of the present disclosure is similar to the method for querying hull part numbers in the embodiment of the present disclosure, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.

[0104] See also Figure 3 , Figure 3 A schematic diagram of a device for querying ship hull part numbers provided by an embodiment of the present disclosure. Figure 3 As shown in , the query device 300 for the hull part number provided by the embodiment of the present disclosure includes:

[0105] The detection module 310 is used to detect the user's query operation on the parts to be queried in the current hull;

[0106] A determination module 320, for determining, in response to the query operation, a plurality of target associated parts associated with the part to be queried in a preset hull part number database;

[0107] A determination module 330 is used to determine, for each target-related part, whether a part number corresponding to the target-related part is stored in the hull part number database;

[0108] An extraction module 340 is used to extract the part number corresponding to the target associated part if it exists; if it does not exist, configure a preset initial number for the target associated part;

[0109] The display module 350 is used to display the part number for the target associated part that has the part number; for the target associated part that does not have the part number, display the preset initial number and mark the target associated part.

[0110] In an optional implementation manner, the determining module 320 is specifically configured to:

[0111] Determine a plurality of primary associated part types associated with the part to be queried;

[0112] For each of the primary associated part types, a plurality of primary associated parts belonging to the primary associated part type are determined in a preset hull part number database;

[0113] Determine whether there is a corresponding secondary associated part type for the part to be queried. If so, take the primary associated part as the part to be queried, and repeatedly determine multiple primary associated part types associated with the part to be queried; for each primary associated part type, determine multiple primary associated parts belonging to the primary associated part type in a preset hull part number database until there is no secondary associated part type associated with the part to be queried;

[0114] All of the primary associated parts are determined as the target associated parts.

[0115] In an optional implementation manner, the detection module 310 is specifically used to:

[0116] Detecting the user's input operation in the preset human-computer interaction interface;

[0117] The part name inputted in the input operation is determined, and the part to be queried is determined according to the part name.

[0118] In an optional implementation manner, the device further includes a modification module, wherein the modification module is configured to:

[0119] Detecting a user's label modification operation on the target associated part whose part label does not exist in the hull part label database;

[0120] In response to the label modification operation, determining a target configuration label input by a user;

[0121] The preset initial label is replaced by the target configuration label.

[0122] In an optional implementation manner, the extraction module 340 is specifically used to:

[0123] The part number corresponding to the target associated part is extracted from the hull part number database through a preset application programming interface.

[0124] For descriptions of the processing flow of each module in the device and the interaction flow between each module, reference may be made to the relevant descriptions in the above method embodiment, which will not be described in detail here.

[0125] The disclosed embodiment provides a device for querying the hull part number, which detects the query operation of the user on the part to be queried in the current hull; in response to the query operation, multiple target associated parts associated with the part to be queried are determined in a preset hull part number database; for each target associated part, it is determined whether the hull part number database stores the part number corresponding to the target associated part; if so, the part number corresponding to the target associated part is extracted; if not, a preset initial number is configured for the target associated part; for the target associated part with the part number, the part number is displayed; for the target associated part without the part number, the preset initial number is displayed and the associated part is marked. The efficiency of the hull part number query can be improved, and it is convenient for designers to find hull parts that have not been configured with part numbers.

[0126] Those skilled in the art will appreciate that, in the above method of specific implementation, the order in which the steps are written does not imply a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of the steps should be determined by their functions and possible internal logic.

[0127] Corresponds to Figure 1-Figure 2 The present disclosure also provides an electronic device 400, such as Figure 4 FIG. 4 is a schematic diagram of the structure of an electronic device 400 provided in an embodiment of the present disclosure, including:

[0128] Processor 41, memory 42, and bus 43; memory 42 is used to store execution instructions, including memory 421 and external memory 422; memory 421 here is also called internal memory, which is used to temporarily store operation data in processor 41 and data exchanged with external memory 422 such as hard disk. Processor 41 exchanges data with external memory 422 through memory 421. When the electronic device 400 is running, the processor 41 communicates with the memory 42 through bus 43, so that the processor 41 executes Figure 1 and Figure 2 The steps of the method for querying the hull part number in.

[0129] The embodiment of the present disclosure also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method for querying the hull part number described in the above method embodiment are executed. The storage medium can be a volatile or non-volatile computer-readable storage medium.

[0130] The disclosed embodiment also provides a computer program product, which includes computer instructions. When the computer instructions are executed by a processor, the steps of the method for querying the hull part number described in the above method embodiment can be executed. For details, please refer to the above method embodiment, which will not be repeated here.

[0131] The computer program product may be implemented in hardware, software or a combination thereof. In one optional embodiment, the computer program product is implemented as a computer storage medium. In another optional embodiment, the computer program product is implemented as a software product, such as a software development kit (SDK).

[0132] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. In the several embodiments provided in the present disclosure, it should be understood that the disclosed device and method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For 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 mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of the device or unit can be electrical, mechanical or other forms.

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

[0134] In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0135] If the 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 that is executable by a processor. Based on this understanding, the technical solution of the present disclosure, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present disclosure. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0136] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present disclosure, which are used to illustrate the technical solutions of the present disclosure, rather than to limit them. The protection scope of the present disclosure is not limited thereto. Although the present disclosure is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed in the present disclosure, or can easily think of changes, or make equivalent replacements for some of the technical features therein; 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 be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims

1. A method for querying the number of hull parts, characterized in that: include: Detect the user's query operation on the parts to be queried in the current hull; In response to the query operation, a plurality of target associated parts associated with the part to be queried are determined in a preset hull part number database; For each of the target-related parts, determining whether a part number corresponding to the target-related part is stored in the hull part number database; If it exists, extract the part number corresponding to the target associated part; if it does not exist, configure a preset initial number for the target associated part; For the target associated part that has the part number, the part number is displayed; for the target associated part that does not have the part number, the preset initial number is displayed and the target associated part is marked; The target associated part has a primary associated part type and a secondary associated part type. According to the query operation, multiple target associated parts associated with the part to be queried are determined in a preset hull part number database, specifically including: Determine a plurality of primary associated part types associated with the part to be queried; For each of the primary associated part types, a plurality of primary associated parts belonging to the primary associated part type are determined in a preset hull part number database; Determine whether there is a corresponding secondary associated part type for the part to be queried. If so, take the primary associated part as the part to be queried, and repeatedly determine multiple primary associated part types associated with the part to be queried; for each primary associated part type, determine multiple primary associated parts belonging to the primary associated part type in a preset hull part number database until there is no secondary associated part type associated with the part to be queried; All of the primary associated parts are determined as the target associated parts.

2. The method according to claim 1, characterized in that: The detection user's query operation on the parts to be queried in the current hull specifically includes: Detecting the user's input operation in the preset human-computer interaction interface; The part name inputted in the input operation is determined, and the part to be queried is determined according to the part name.

3. The method according to claim 1, characterized in that After displaying the part number for the target associated part with the part number, and displaying the preset initial number and marking the associated part for the target associated part without the part number, the method further includes: Detecting a user's label modification operation on the target associated part whose part label does not exist in the hull part label database; In response to the label modification operation, determining a target configuration label input by a user; The preset initial label is replaced by the target configuration label.

4. The method according to claim 1, characterized in that The method for extracting the part number corresponding to the target associated part specifically includes: The part number corresponding to the target associated part is extracted from the hull part number database through a preset application programming interface.

5. A device for querying the number of hull parts, characterized in that: The device comprises: A detection module is used to detect the user's query operation on the parts to be queried in the current hull; A determination module, configured to determine, in response to the query operation, a plurality of target associated parts associated with the part to be queried in a preset hull part number database; A judging module, for judging, for each of the target-related parts, whether a part number corresponding to the target-related part is stored in the hull part number database; An extraction module, configured to extract the part number corresponding to the target associated part if it exists; if it does not exist, configure a preset initial number for the target associated part; A display module, for displaying the part number for the target associated part that has the part number; for the target associated part that does not have the part number, displaying the preset initial number and marking the target associated part; The determination module is specifically used for: Determine a plurality of primary associated part types associated with the part to be queried; For each of the primary associated part types, a plurality of primary associated parts belonging to the primary associated part type are determined in a preset hull part number database; Determine whether there is a corresponding secondary associated part type for the part to be queried. If so, take the primary associated part as the part to be queried, and repeatedly determine multiple primary associated part types associated with the part to be queried; for each primary associated part type, determine multiple primary associated parts belonging to the primary associated part type in a preset hull part number database until there is no secondary associated part type associated with the part to be queried; All of the primary associated parts are determined as the target associated parts.

6. The device according to claim 5, characterized in that The device further comprises a modification module, wherein the modification module is configured to: Detecting a user's label modification operation on the target associated part whose part label does not exist in the hull part label database; In response to the label modification operation, determining a target configuration label input by a user; The preset initial label is replaced by the target configuration label.

7. An electronic device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps of the method for querying the hull part number as described in any one of claims 1 to 4 are performed.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed by a processor, executes the steps of the method for querying the hull part number as claimed in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Associated information query method and device, electronic equipment and readable storage medium

    CN112685453A

  • Intelligent retrieval method and device, electronic equipment and storage medium

    CN114610955A