Air pipe production information input method, computer device and storage medium
By automatically acquiring and processing information on ductwork components, and utilizing a pallet configuration table to automatically input ductwork production information, the problem of low efficiency in manual input is solved, and input efficiency and accuracy are improved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- GUANGZHOU SHIPYARD INTERNATIONAL LTD
- Filing Date
- 2026-05-29
- Publication Date
- 2026-07-24
AI Technical Summary
In existing technologies, the input of duct production information relies on manual judgment and input, resulting in low efficiency.
By responding to user operations, the system automatically obtains ductwork components under the target object level, extracts target information, and automatically enters ductwork production information based on a preset tray configuration table, including material information and processing of area level names.
It enables batch automatic entry of duct production information, improving entry efficiency, reducing manual operation, avoiding entry errors, and ensuring entry accuracy.
Smart Images

Figure CN122452168A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of ventilation technology for ships, and in particular to a method for inputting duct production information, a computer device, and a storage medium. Background Technology
[0002] In the field of ship design and manufacturing, ventilation systems, as an important component of ship electromechanical systems, directly affect the comfort, safety, and operational efficiency of ships through their design and construction quality.
[0003] The layout of ship ventilation system ducts (hereinafter referred to as "ducts") needs to meet relevant requirements. Different scenarios have requirements for the material and thickness of ducts. They need to be divided into different trays according to different materials, thicknesses and layouts to facilitate the subsequent procurement and construction stages.
[0004] In existing practices, the tray information for air ducts mainly relies on manual identification and entry. However, this manual identification and entry method results in relatively low efficiency in entering air duct production information. Summary of the Invention
[0005] This application provides a method, computer equipment, and storage medium for inputting duct production information, aiming to solve the problem of low input efficiency of duct production information caused by the traditional method of relying on manual judgment and manual input.
[0006] In a first aspect, embodiments of this application provide a method for inputting duct production information, the method comprising: In response to the user's trigger action, determine the target object level selected by the user; Obtain all ductwork components under the target object level; Take the first duct assembly among all duct assemblies as the target duct assembly and extract the target information of the target duct assembly. Based on the target information and the preset pallet configuration table, the target production information of the target duct assembly is obtained; Write the target production information into the attributes of the target duct assembly, make the next duct assembly of the target duct assembly a new target duct assembly, and return to the step of extracting the target information of the target duct assembly until the target duct assembly is the last duct assembly among all duct assemblies.
[0007] A further technical solution is that the target information includes material information and region level name, and the extraction of the target information of the target duct assembly includes: Obtain the attribute string of the target duct fitting; Based on the attribute string, determine the material information of the target duct fitting; In addition, obtain the area level name where the target duct assembly is located.
[0008] A further technical solution is that the attribute string contains multiple fields connected by a preset delimiter, and determining the material information of the target duct fitting based on the attribute string includes: The attribute string is split using the preset delimiter to obtain multiple field information; The material field is determined from multiple fields of information; Based on the material field, the material information of the target duct fitting is determined.
[0009] A further technical solution is that the target production information includes a target pallet number, and the target production information of the target duct assembly is obtained based on the target information and a preset pallet configuration table, including: Based on the regional hierarchy name, determine the installation stage type of the target duct fitting; Based on the installation stage type and the material information, the target pallet number corresponding to the target duct assembly is found from the preset pallet configuration table.
[0010] A further technical solution is that, based on the regional hierarchical name, determining the installation stage type of the target duct fitting includes: Extract the identifier character at a preset position from the region hierarchy name; The installation stage type of the target duct fitting is determined based on the preset mapping relationship between the identification characters and the installation stage type.
[0011] A further technical solution is that, based on the installation stage type and the material information, the step of searching for the target pallet number corresponding to the target duct assembly from a preset pallet configuration table includes: Based on the material information, determine the target row or target column from the preset tray configuration table; Based on the installation stage type, determine the corresponding target column or target row from the preset tray configuration table; Extract the data from the cells defined by the target row and the target column, and use it as the target tray number.
[0012] A further technical solution is that the installation stage type includes segments, total segments, or areas; the preset pallet configuration table includes segment columns, total segment columns, and area columns; and the step of searching for the target pallet number corresponding to the target duct assembly from the preset pallet configuration table according to the installation stage type and the material information includes: Based on the material information, select the target material row corresponding to the material information in the preset tray configuration table; If the installation stage type is segmented, then the content of the segmented column in the target material row will be used as the target tray number corresponding to the target duct fitting; If the installation stage type is "total segment", then the content of the "total segment" column in the target material row will be used as the target tray number corresponding to the target duct fitting. If the installation stage type is a region, then the content of the region column in the target material row will be used as the target tray number corresponding to the target duct fitting.
[0013] A further technical solution is that the method further includes: If the material information of the target duct fitting is missing, or the corresponding preset tray number in the preset tray configuration table is empty, an error message will be output, and the current target duct fitting will be skipped, and the process will continue to traverse the next duct fitting.
[0014] Secondly, embodiments of this application also provide a computer device, which includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the above-described method.
[0015] Thirdly, embodiments of this application also provide a computer-readable storage medium storing a computer program that, when executed by a processor, can implement the above-described method.
[0016] This application provides a method, computer device, and storage medium for inputting duct production information. The method includes: responding to a user's trigger operation, determining a target object level selected by the user; obtaining all duct components under the target object level; selecting the first duct component among all duct components as the target duct component and extracting target information from the target duct component; obtaining target production information for the target duct component based on the target information and a preset tray configuration table; writing the target production information into the attributes of the target duct component; designating the next duct component of the target duct component as the new target duct component; returning to the step of extracting the target information of the target duct component; and repeating this process until the target duct component is the last duct component among all duct components.
[0017] This application embodiment automatically obtains all ductwork components under the target object level in response to the user's level selection operation, traverses each ductwork component, automatically extracts target information, and obtains the target production information of the target ductwork component based on the target information and the preset tray configuration table. The target production information is then automatically entered. In this way, batch automatic entry of duct production information can be realized without the need for manual identification and entry by the user, reducing manual operation and greatly improving the efficiency of duct production information entry.
[0018] Furthermore, since no manual judgment or data entry is required from the user, errors caused by fatigue or negligence during manual operation can be avoided. Through standardized automatic processing, the accuracy of duct production information entry is improved. Attached Figure Description
[0019] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0020] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0021] One or more embodiments are illustrated by way of example with reference numerals in the accompanying drawings. These illustrations do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the figures in the drawings are not to be limited by scale.
[0022] Figure 1 A flowchart illustrating the first embodiment of the method for inputting duct production information provided in this application; Figure 2 A schematic diagram of the interactive interface in the method for entering air duct production information provided in this application; Figure 3 Another schematic diagram of the interactive interface in the method for entering air duct production information provided in this application; Figure 4 A schematic diagram of the design tree provided for this application; Figure 5 A schematic diagram of the hierarchical relationship in the design tree provided for this application; Figure 6 A naming diagram of the regional hierarchy provided for this application; Figure 7 A schematic diagram of the preset tray configuration table provided in this application; Figure 8 A schematic diagram of the tray number filling area provided in this application; Figure 9 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Detailed Implementation
[0023] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0024] The following disclosure provides numerous different embodiments or examples for implementing various structures of this application. To simplify the disclosure, specific examples of components and arrangements are described below. These are merely examples and are not intended to limit the scope of this application. Furthermore, reference numerals and / or letters may be repeated in different examples. Such repetition is for simplification and clarity and does not in itself indicate a relationship between the various embodiments and / or arrangements discussed.
[0025] It should be understood that, when used in this specification and the appended claims, the terms "comprising" and "including" indicate the presence of the described features, integrals, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or collections thereof.
[0026] It should also be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the scope of the application. As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise.
[0027] It should also be further understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0028] As used in this specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if [described condition or event] is detected" may be interpreted, depending on the context, as "once determined," "in response to determination," "once [described condition or event] is detected," or "in response to detection of [described condition or event]."
[0029] To address the aforementioned issues, this application provides a method for automatically entering duct production information, which enables batch automatic entry of duct production information without requiring manual user identification and entry, thereby reducing manual operations and significantly improving the efficiency and accuracy of duct production information entry.
[0030] See Figure 1 , Figure 1 A flowchart illustrating a first embodiment of a method for inputting duct production information provided in this application is shown. The method may include the following steps: Step 110: In response to the user's trigger action, determine the target object level selected by the user.
[0031] In this embodiment, combined with Figures 2-4 The interactive interface shown allows users to trigger actions that may include: clicking the "CE" button and selecting the target object level (e.g., SITE level) from the pop-up options; then selecting the desired configuration strategy from the "Tray Configuration" drop-down list, such as selecting "Hospital Ship Ductwork" as the current preset tray configuration table; finally, clicking the "Automatic Writing of Square Duct Trays" button at the bottom of the interface to generate a trigger signal. In response to this trigger action, the system initiates the automatic entry of ductwork production information.
[0032] In 3D modeling software (such as AM software), the Design Explorer design tree can contain multiple levels, for example, such as... Figure 5 As shown, it can include SITE→ZONE→HVAC→BRAN / HSLIST→HSPOOL. Specifically, the SITE level is the parent level of ZONE, ZONE is the parent level of HVAC, and so on. Here, SITE represents a model of a certain area, ZONE represents a model of a segment or main section of a certain area, HVAC represents a model of a duct in a segment or main section, BARN represents a model of a branch duct in a certain duct, and HSPOOL represents a specific fabricable duct segment (such as an assembly duct) and corresponds to a fabrication drawing.
[0033] Step 120: Obtain all ductwork fittings under the target object level.
[0034] The target object level can be the SITE level or a ZONE level under the SITE level. When the target object level is the SITE level, the ductwork fittings contained in all ZONE levels under the SITE level are obtained; when the target object level is a ZONE level under the SITE level, the ductwork fittings corresponding to that single ZONE level are obtained.
[0035] The duct fittings described in this application can be duct assembly pipes, i.e. tubular components used in ventilation systems.
[0036] In step 120, all the duct fittings under the target object level can be stored in a newly created array (or list) so that information can be extracted, calculated and written one by one in the future by looping or indexing (such as array [0], array [1]).
[0037] Step 130: Take the first duct assembly among all duct assemblies as the target duct assembly and extract the target information of the target duct assembly.
[0038] The target information may include material information, installation stage type, etc.
[0039] Step 140: Based on the target information and the preset pallet configuration table, obtain the target production information of the target duct assembly.
[0040] The preset tray configuration table can contain multiple configuration templates (e.g.) Figure 3 The configuration templates shown (e.g., "Default 1", "Default 2", "Hospital Ship Air Duct", "Hospital Ship Air Duct Accessories") correspond to a specific engineering scenario or project standard (e.g., "Hospital Ship Air Duct" in the screenshot). The tray configuration table records the mapping relationship between attribute feature values and production information fields. This application can flexibly select a tray configuration table from multiple configuration templates to suit current business needs. Furthermore, the preset tray configuration table is not fixed static data but supports dynamic maintenance and expansion in the backend database. Users can add or update the configuration table at any time according to changes in actual engineering standards, thereby greatly improving the system's versatility and adaptability.
[0041] The target production information can be pallet number information, such as segment pre-installed pallet number, main segment pre-installed pallet number, and area installation pallet number.
[0042] In step 140, the system can use the extracted "target information" as an index key to search and match in the tray configuration table, thereby obtaining the corresponding "target production information".
[0043] Step 150: Write the target production information into the attributes of the target duct assembly, make the next duct assembly of the target duct assembly the new target duct assembly, and return to the step of extracting the target information of the target duct assembly until the target duct assembly is the last duct assembly among all duct assemblies.
[0044] For ease of understanding, combined with Figure 5 As shown, assume that all ductwork fittings include HSPOOL DFD001, HSPOOL DFD002, HSPOOL DFD003, HSPOOL DFD004...HSPOOL DFD00N. In practice, the system first selects HSPOOL DFD001 as the target ductwork fitting. After completing the input of its target production information, it automatically updates the next ductwork fitting, HSPOOL DFD002, as the new target ductwork fitting and continues the input of target production information. This process repeats until all ductwork fittings have been traversed and processed.
[0045] Since the tray number is filled in on a HSPOOL basis (i.e., one tray number is filled in for each duct assembly pipe), based on this, in the program settings of this invention, after selecting the target object level, it is necessary to collect all HSPOOL duct assembly pipes contained in the selected target object level in order to further fill in the tray number.
[0046] This embodiment automatically obtains all ductwork components under the target object level in response to the user's level selection operation, traverses each ductwork component, automatically extracts target information, and obtains the target production information of the target ductwork component based on the target information and the preset tray configuration table. The target production information is then automatically entered. In this way, batch automatic entry of duct production information can be realized without the need for manual identification and entry by the user, reducing manual operation and greatly improving the efficiency of duct production information entry.
[0047] Furthermore, since no manual judgment or data entry is required from the user, errors caused by fatigue or negligence during manual operation can be avoided. Through standardized automatic processing, the accuracy of duct production information entry is improved.
[0048] In some embodiments, the target information includes material information and region level name. For details, please refer to the second embodiment, which provides a specific explanation of how to extract the target information of the target duct fitting based on the first embodiment.
[0049] In the second embodiment, extracting the target information of the target duct assembly includes: Step 131: Obtain the attribute string of the target duct fitting.
[0050] Specifically, in this embodiment, the attribute string of the duct fitting can be pre-stored in the user-defined attribute ":GSI_System" of the AM software.
[0051] During the ship design phase, relevant duct production information can be pre-entered into this attribute field. Therefore, this step directly reads the ":GSI_System" attribute value of the duct assembly by calling the software interface, thereby obtaining the attribute string containing production information.
[0052] Step 132: Determine the material information of the target duct fitting based on the attribute string.
[0053] In some embodiments, the attribute string contains multiple fields connected by a preset delimiter. Step 132, determining the material information of the target duct fitting based on the attribute string, includes: Step 1321: Use the preset delimiter to split the attribute string to obtain multiple field information.
[0054] In one specific embodiment of this application, the preset separator can be set to a specific letter character, such as the letter "x". To more clearly illustrate the implementation process of this solution, the following is a specific explanation using "x" as the preset separator: Assuming the obtained attribute string is "circular duct x elliptical duct x 1.2 x galvanized thin steel plate x fireproof x Q / GSI254-2023", by dividing the attribute string with the character "x" as the separator, multiple independent field information can be obtained, namely: "circular duct", "elliptical duct", "1.2", "galvanized thin steel plate", "fireproof" and "Q / GSI254-2023".
[0055] It should be noted that this application does not limit the specific form of the preset separator. Besides the letter "x" in the above embodiments, the preset separator can also be any other character or character combination, such as an English comma (,), a semicolon (;), a vertical bar (|), a space, a tab character, or special symbols (such as #, *). Anything that can accurately divide the attribute string into multiple independent fields is within the scope of protection of this application.
[0056] Step 1322: Determine the material field from multiple fields of information.
[0057] Step 1323: Determine the material information of the target duct fitting based on the material field.
[0058] For steps 1322-1323, from multiple fields such as "circular duct", "elliptical duct", "1.2", "galvanized thin steel sheet", "fireproof" and "Q / GSI254-2023", it can be determined that "galvanized thin steel sheet" is the material field.
[0059] Based on the material field of "galvanized thin steel sheet", it can be determined that the material information of the target duct fitting is galvanized thin steel sheet.
[0060] Step 133: Obtain the area level name where the target duct fitting is located.
[0061] In some embodiments, the target production information includes a target pallet number. For details, please refer to the third embodiment. The third embodiment, based on the second embodiment, provides a detailed explanation of how to obtain the target production information of the target duct assembly based on the target information and a preset pallet configuration table.
[0062] In the third embodiment, obtaining the target production information of the target duct assembly based on the target information and a preset pallet configuration table may include the following steps: Step 141: Based on the area hierarchy name, determine the installation stage type of the target duct fitting.
[0063] In some embodiments, determining the installation stage type of the target duct fitting based on the regional hierarchy name includes: Step 1411: Extract the identifier character at a preset position in the region hierarchy name.
[0064] Step 1412: Determine the installation stage type of the target duct fitting based on the preset mapping relationship between the identification character and the installation stage type.
[0065] In steps 1411-1412, the identification character can be a letter, a number (such as 0-9), a special symbol (such as #, *, -, etc.), or a combination of letters and numbers. As long as the identification character or character combination can serve as a unique identifier to distinguish different installation stage types and can be extracted and mapped through a preset location, it is within the protection scope of this application. This application does not strictly limit the specific form of the identification character.
[0066] The preset position can be any position set according to the actual naming convention, such as the 1st, 2nd, 3rd, 4th, 5th position, or the last position. As long as the position can consistently carry the identification characters used to distinguish the installation stage type, it is within the protection scope of this application. This application does not strictly limit the specific value of the preset position.
[0067] The preset mapping relationship can be a correspondence between letters and installation stages, or a correspondence between numbers (such as 1, 2, 3) or specific symbols (such as '#') and installation stages. The specific mapping relationship can be set and adjusted according to the actual situation, and this application does not make any specific limitations on it.
[0068] Taking the preset mapping relationship between letters and installation stages as an example, the preset mapping relationship between the identifier character and the installation stage type can be set as follows: When the identifier character is "X", the corresponding installation stage type is "total segment". When the identifier character is "Z", the corresponding installation stage type is a region; When the identifier character is any character other than "X" and "Z", the corresponding installation stage type is segmented.
[0069] Let's take the fourth position in the region hierarchy name as an example for illustration.
[0070] Specifically, combined Figure 6 The following example illustrates the process for determining the installation stage type: Example 1: If the target ductwork assembly's area level name is Figure 6 The fourth identifier character of the "3H-U287" shown is "U". Since "U" belongs to other identifier characters, based on the above mapping relationship, it can be determined that the installation stage type of this target duct fitting is segmented.
[0071] Example 2: If the target ductwork assembly's area level name is Figure 6 The fourth identifier character of the "3H-XL017A" shown is "X". Based on the above mapping relationship, the installation stage type of this target duct fitting is determined to be "general section".
[0072] Example 3: If the regional level name of the target duct assembly is "3H-ZL720", extract its fourth identifier character as "Z". Based on the above mapping relationship, determine that the installation stage type of the target duct assembly is regional.
[0073] Step 142: Based on the installation stage type and the material information, find the target pallet number corresponding to the target duct assembly from the preset pallet configuration table.
[0074] In some embodiments, the step of searching for the target pallet number corresponding to the target duct assembly from a preset pallet configuration table based on the installation stage type and the material information includes: Step 1421: Determine the target row or target column from the preset tray configuration table based on the material information.
[0075] Step 1422: Determine the corresponding target column or target row from the preset tray configuration table according to the installation stage type.
[0076] Step 1423: Extract the data from the cells defined by the target row and the target column, and use it as the target tray number.
[0077] The installation phase type may include segments, total segments, or regions.
[0078] The header of the pre-configured tray configuration table includes material, segment, main segment, and area, which correspond to the duct material, segment pre-installed tray number, main segment pre-installed tray number, and area installation tray number, respectively. See Figure 7 .
[0079] The table header can be a row header, so the preset tray configuration table can be as shown in Table 1 below:
[0080] In Table 1, assuming the material information is galvanized thin steel sheet and the installation stage type is general section, the column containing the galvanized thin steel sheet can be determined as the target column and the row containing the general section as the target row. The data in the cell defined by the target row and the target column, such as SVZ1 in Table 1, can be used as the target pallet number, that is, the general section pre-installed pallet number of the target duct assembly.
[0081] The table header can be a list header, and the preset tray configuration table can be as shown in Table 2 below:
[0082] In Table 2, assuming the material information is galvanized thin steel sheet and the installation stage type is segmented, the row containing the galvanized thin steel sheet can be determined as the target row and the column containing the segment as the target column. The data in the cell defined by the target row and the target column, such as KVZ1 in Table 2, can be used as the target pallet number, that is, the segmented pre-installed pallet number of the target duct fitting.
[0083] As shown in Table 2, the preset pallet configuration table includes segment columns, total segment columns, and area columns. The step of searching for the target pallet number corresponding to the target duct assembly from the preset pallet configuration table based on the installation stage type and the material information includes: 1) Based on the material information, select the target material row corresponding to the material information in the preset tray configuration table; For example, assuming the material information is galvanized thin steel sheet, the row containing the galvanized thin steel sheet is taken as the target material row.
[0084] 2) If the installation stage type is segmented, then the content of the segmented column (i.e., the second column) in the target material row shall be used as the target tray number corresponding to the target duct fitting; Specifically, as shown in Table 2, the content of the segmented column in the target material row is KVZ1. KVZ1 can be used as the target tray number corresponding to the target duct assembly, that is, as the segmented pre-installation tray number of the target duct assembly.
[0085] 3) If the installation stage type is "total section", then the content of the "total section" column (i.e., the third column) in the target material row shall be used as the target tray number corresponding to the target duct fitting; Specifically, as shown in Table 2, the content of the total segment column in the target material row is SVZ1. SVZ1 can be used as the target pallet number corresponding to the target duct assembly, that is, as the total segment pre-installation pallet number of the target duct assembly.
[0086] 4) If the installation stage type is a region, then the content of the region column (i.e. the fourth column) in the target material row shall be used as the target tray number corresponding to the target duct fitting.
[0087] Specifically, as shown in Table 2, the content of the region column in the target material row is VVZ1. VVZ1 can be used as the target tray number corresponding to the target duct fitting, that is, as the region installation tray number of the target duct fitting.
[0088] After determining the target tray number, the target tray number, such as SVZ1, can be automatically written into the attribute field: GSIHVAC_PlanUnit, as shown below. Figure 8 As shown, this attribute field is used to store the attribute value of the tray number corresponding to the air duct.
[0089] In some optional embodiments, this application also has fault tolerance processing functionality. Specifically, the method further includes: if the material information of the current target duct fitting is missing, or the corresponding preset tray number in the preset tray configuration table is empty, then an error message is output, and the current target duct fitting is skipped, and the process continues to traverse the next duct fitting.
[0090] For example, during the segmentation of the attribute string, if valid material information is detected, the system can trigger an exception handling mechanism. For instance, the system can generate and display a pop-up message, such as "Material information is missing for a certain duct assembly; please complete it before proceeding!", to remind the user to supplement the missing data. Simultaneously, the program will automatically skip the tray information filling step for the current target duct assembly and continue traversing and processing the next duct assembly until all pending duct assemblies have been traversed and their tray information automatically filled.
[0091] For example, after the system successfully matches the material information and installation stage type of the ductwork fittings, if it further detects that the corresponding cross cell (i.e., the cell defined by the target row and target column) in the preset tray configuration table is empty, the system will trigger a corresponding missing item prompt mechanism. Specifically, the system can generate and display a prompt pop-up window, such as "The content of a certain row and column in the configuration table is empty. Please complete it before proceeding!" Subsequently, the program will automatically skip the tray number extraction and filling steps for the current target ductwork fitting and continue to traverse and process the next ductwork fitting until the traversal of all pending ductwork fittings and the automatic filling of tray information are completed.
[0092] Based on the above embodiments, this application utilizes AM secondary development tools to achieve intelligent input of information for duct model trays in ship ventilation systems. In practical applications, this tool not only significantly improves the input speed of duct tray information and solves the technical pain point of low efficiency in traditional manual input, but also effectively avoids the risk of errors that may be caused by human operation. Through an automated information marking mechanism, this invention ensures the accuracy of duct tray information, providing reliable data support for subsequent production and manufacturing.
[0093] Corresponding to the above method for entering duct production information, this application also provides a device for entering duct production information. This device includes a unit for executing the above method for entering duct production information, and can be configured in a desktop computer, tablet computer, laptop computer, or other terminal.
[0094] like Figure 9 As shown in the figure, this application provides a computer device including a processor 111, a communication interface 112, a memory 113, and a communication bus 114, wherein the processor 111, the communication interface 112, and the memory 113 communicate with each other through the communication bus 114. Memory 113 is used to store computer programs; In one embodiment of this application, the processor 111, when executing the program stored in the memory 113, implements the method for inputting duct production information provided in any of the foregoing method embodiments, including: In response to the user's trigger action, determine the target object level selected by the user; Obtain all ductwork components under the target object level; Iterate through each of the duct fittings and extract the target information of the target duct fitting; Based on the target information and the preset pallet configuration table, the target production information of the target duct assembly is obtained; Write the target production information into the attributes of the target duct assembly.
[0095] It will be understood by those skilled in the art that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program may be stored in a storage medium, which is a computer-readable storage medium. The computer program is executed by at least one processor in the computer system to implement the process steps of the embodiments of the above methods.
[0096] Therefore, this application embodiment also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the steps of the duct production information input method provided in any of the foregoing method embodiments, including: In response to the user's trigger action, determine the target object level selected by the user; Obtain all ductwork components under the target object level; Iterate through each of the duct fittings and extract the target information of the target duct fitting; Based on the target information and the preset pallet configuration table, the target production information of the target duct assembly is obtained; Write the target production information into the attributes of the target duct assembly.
[0097] The storage medium is a physical, non-transient storage medium, such as a USB flash drive, external hard drive, read-only memory (ROM), magnetic disk, or optical disk, or any other physical storage medium capable of storing program code. The computer-readable storage medium can be non-volatile or volatile.
[0098] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this application.
[0099] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For example, the division of each unit is merely a logical functional division, and there may be other division methods in actual implementation. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed.
[0100] The steps in the methods of this application embodiment can be adjusted, merged, or deleted according to actual needs. The units in the apparatus of this application embodiment can be merged, divided, or deleted according to actual needs. Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0101] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, a terminal, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application.
[0102] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.
[0103] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Since these modifications and variations fall within the scope of the claims and their equivalents, this application also intends to include these modifications and variations.
[0104] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all be covered within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method for inputting duct production information, characterized in that, The method includes: In response to the user's trigger action, determine the target object level selected by the user; Obtain all ductwork components under the target object level; Take the first duct assembly among all duct assemblies as the target duct assembly and extract the target information of the target duct assembly. Based on the target information and the preset pallet configuration table, the target production information of the target duct assembly is obtained; Write the target production information into the attributes of the target duct assembly, make the next duct assembly of the target duct assembly a new target duct assembly, and return to the step of extracting the target information of the target duct assembly until the target duct assembly is the last duct assembly among all duct assemblies.
2. The method according to claim 1, characterized in that, The target information includes material information and region level name. Extracting the target information of the target duct fitting includes: Obtain the attribute string of the target duct fitting; Based on the attribute string, determine the material information of the target duct fitting; In addition, obtain the area level name where the target duct assembly is located.
3. The method according to claim 2, characterized in that, The attribute string contains multiple fields connected by a preset delimiter. Determining the material information of the target duct fitting based on the attribute string includes: The attribute string is split using the preset delimiter to obtain multiple field information; The material field is determined from multiple fields of information; Based on the material field, the material information of the target duct fitting is determined.
4. The method according to claim 2, characterized in that, The target production information includes the target pallet number. The target production information for the target ductwork assembly, obtained based on the target information and a preset pallet configuration table, includes: Based on the regional hierarchy name, determine the installation stage type of the target duct fitting; Based on the installation stage type and the material information, the target pallet number corresponding to the target duct assembly is found from the preset pallet configuration table.
5. The method according to claim 4, characterized in that, The determination of the installation stage type of the target duct fitting based on the regional hierarchy name includes: Extract the identifier character at a preset position from the region hierarchy name; The installation stage type of the target duct fitting is determined based on the preset mapping relationship between the identification characters and the installation stage type.
6. The method according to claim 4, characterized in that, The step of searching for the target pallet number corresponding to the target duct assembly from a preset pallet configuration table based on the installation stage type and the material information includes: Based on the material information, determine the target row or target column from the preset tray configuration table; Based on the installation stage type, determine the corresponding target column or target row from the preset tray configuration table; Extract the data from the cells defined by the target row and the target column, and use it as the target tray number.
7. The method according to claim 4, characterized in that, The installation stage type includes segment, total segment, or area; the preset pallet configuration table includes segment columns, total segment columns, and area columns; and the step of searching for the target pallet number corresponding to the target duct assembly from the preset pallet configuration table based on the installation stage type and the material information includes: Based on the material information, select the target material row corresponding to the material information in the preset tray configuration table; If the installation stage type is segmented, then the content of the segmented column in the target material row will be used as the target tray number corresponding to the target duct fitting; If the installation stage type is "total segment", then the content of the "total segment" column in the target material row will be used as the target tray number corresponding to the target duct fitting. If the installation stage type is a region, then the content of the region column in the target material row will be used as the target tray number corresponding to the target duct fitting.
8. The automatic data entry method for duct trays according to any one of claims 1 to 7, characterized in that, The method further includes: If the material information of the target duct fitting is missing, or the corresponding preset tray number in the preset tray configuration table is empty, an error message will be output, and the current target duct fitting will be skipped, and the process will continue to traverse the next duct fitting.
9. A computer device, characterized in that, The computer device includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the method as described in any one of claims 1-8.
10. A computer-readable storage medium, characterized in that, The storage medium stores a computer program that, when executed by a processor, can implement the method as described in any one of claims 1-8.