Ship equipment attribute management and regional pallet table generation method and device
By using equipment graphic templates with preset associated database attributes and CAD secondary development technology in ship electrical design, the problems of data omissions and inconsistencies caused by manual operation are solved, and the automatic generation of equipment lists and pallet tables is realized, improving design efficiency and data accuracy.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SHANGHAI WAIGAOQIAO SHIP BUILDING CO LTD
- Filing Date
- 2026-01-08
- Publication Date
- 2026-04-10
AI Technical Summary
In current ship electrical design, the creation of equipment lists and pallet tables relies on manual operations, which leads to data omissions and errors, inconsistencies between drawings and attribute information, and the lack of a unified management platform, making it impossible to achieve efficient design and automatic data aggregation.
The system uses a pre-defined database attribute-based device graphic template to be dragged and dropped onto the drawing to create a ship electrical system diagram. It also displays and verifies the device attributes, generates a device list and a regionalized tray table, and implements parameterized management through CAD secondary development, MySQL storage, and C# server-side development.
It has achieved a fully integrated process from system diagram drawing to bill of materials creation, which has improved data accuracy and work efficiency, reduced manual processing work, and optimized supply chain management.
Smart Images

Figure CN121833708A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application belongs to the technical field of ship electrical technology, and in particular, relates to a ship equipment attribute management and regionalized tray table generation method and device. BACKGROUND
[0002] In the existing ship electrical design process, the preparation of the equipment list and the tray table mainly relies on the manual arrangement of the Excel table by the design personnel. This method has many deficiencies, as follows: manual input cannot realize the parameterized management of the CAD object attributes, which leads to the easy omission and error of data, seriously affecting the accuracy of the design data; the drawing and the attribute information are mutually separated, and they cannot be updated in real time or bidirectionally, so that the data consistency in the design process is difficult to guarantee; there is no unified attribute management platform, the equipment information collection and verification efficiency is low, and the demand for efficient design cannot be met; the report generation relies on the subjective operation of the design personnel, the equipment list content cannot be automatically summarized, the manual workload is increased, and human errors are prone to occur; there is no field interface suitable for the structure of the tray table, which leads to great difficulties in the supplementary work in the production design stage. SUMMARY
[0003] Therefore, the purpose of the present application is to provide a ship equipment attribute management and regionalized tray table generation method and device, which can realize the whole-process integration from the system drawing to the bill of materials preparation and optimize the supply chain management.
[0004] In a first aspect, the present application provides a ship equipment attribute management and regionalized tray table generation method, which comprises the following steps: dragging a device graphic template with a preset associated database attribute to a drawing, drawing a ship electrical system diagram, and displaying the attribute information of the drawn device; and identifying the non-parameterized device graphic in the drawing, matching the corresponding device graphic template, and displaying the bound attribute information thereof; performing integrity verification on the attribute information of the device, supplementing the attribute information not preset if the verification fails, summarizing the full-quantity attribute information of all the devices if the verification passes, and generating an equipment list; extracting part of the attribute information from the equipment list according to the deck code corresponding to the target region, and generating a regionalized tray table.
[0005] In some embodiments, the device attribute includes the device name, the deck number, the deck code, the position number, the model number, the weight, the material code, and the POR number.
[0006] In some embodiments, the device graphic template with a preset associated database attribute is determined by the following steps: determining the attribute bound to each type of device based on the type of the ship electrical device; A device graphic template is created in the CAD secondary development plug-in for each type of device, and each device graphic template is bound to the corresponding device attribute in the database; The drag call logic of the device graphic template is configured so that the selected device graphic template is automatically loaded with the bound attributes when it is dragged to a specified position on the CAD drawing; and a matching rule between geometric features and the device graphic template is established for geometric feature recognition of devices in the CAD drawing that do not have bound attributes, matching the corresponding device graphic template and binding the attributes.
[0007] In some embodiments, the device graphic template with preset associated database attributes further includes the following steps: Building a background attribute management platform; Managing device attributes through the background attribute management platform, wherein regional attributes are managed using a data dictionary type.
[0008] In some embodiments, managing device attributes includes adding, editing, and deleting; and the data dictionary type management includes pre-maintaining the correspondence between regional codes and regional names.
[0009] In some embodiments, the full-quantity attribute information of all devices is summarized, and a device list is generated, including the following steps: Reading and summarizing the full-quantity attribute information of all devices in the drawing, including preset attributes and supplementary attributes; Structuring and laying out the summarized full-quantity attribute information of all devices and exporting an Excel format device list file; Synchronously storing the device list file to the background attribute management platform and establishing an association between the device list file and the corresponding ship electrical system diagram.
[0010] In some embodiments, the partial attribute information of the target region is extracted from the device list according to the deck code corresponding to the target region, and a regionalized tray table is generated, including the following steps: Selecting the deck code of a single or multiple target regions; Filtering the full-quantity attribute information of all devices in the target region from the device list file, and extracting partial attribute information therefrom according to the requirements, and generating a regionalized tray table according to the set template; Synchronously storing the regionalized tray table to the background attribute management platform and associating the corresponding regional construction task order.
[0011] In a second aspect, the present application also provides a ship device attribute management and regionalized tray table generation device, which comprises: The device attribute display module is configured to drag a device graphic template of a preset associated database attribute to a drawing surface, draw a ship electrical system diagram, and display attribute information of the drawn device; and identify a non-parameterized device graphic in the drawing surface, match a corresponding device graphic template, and display attribute information bound to the device graphic template. The device list generation module is configured to perform integrity checking on the attribute information of the device, supplement attribute information that is not preset if the checking fails, aggregate full-quantity attribute information of all devices if the checking passes, and generate a device list. The regionalized tray table generation module is configured to extract part of the attribute information from the device list according to a deck code corresponding to a target region, and generate a regionalized tray table.
[0012] In a third aspect, the present application further provides an electronic device, comprising a processor, a memory, and a bus, the memory stores machine readable instructions executable by the processor, when the electronic device is running, the processor and the memory communicate through the bus, and the machine readable instructions are executed by the processor to perform the steps of the ship device attribute management and regionalized tray table generation method of any one of the first aspect.
[0013] In a fourth aspect, the present application further provides a computer readable storage medium, the computer readable storage medium stores a computer program, and the computer program is executed by the processor to perform the steps of the ship device attribute management and regionalized tray table generation method of any one of the first aspect.
[0014] The ship device attribute management and regionalized tray table generation method provided in the present application drags a device graphic template of a preset associated database attribute to a drawing surface, draws a ship electrical system diagram, and displays attribute information of the drawn device; and identifies a non-parameterized device graphic in the drawing surface, matches a corresponding device graphic template, and displays attribute information bound to the device graphic template; performs integrity checking on the attribute information of the device, supplements attribute information that is not preset if the checking fails, aggregates full-quantity attribute information of all devices if the checking passes, and generates a device list; and extracts part of the attribute information from the device list according to a deck code corresponding to a target region, and generates a regionalized tray table. Thus, by configuring device attributes, the method effectively avoids problems such as repeated input, missing filling, incorrect filling, and inconsistent information, and improves data accuracy; and automatically generates a device list and a regionalized tray table, greatly reducing manual sorting work and improving work efficiency. The method realizes full-process integration from system diagram drawing to material list making, and optimizes supply chain management. BRIEF DESCRIPTION OF DRAWINGS
[0015] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the embodiments. It should be understood that the following drawings only show some of the embodiments of the present application, and therefore should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can also be obtained without creative labor under the guidance of the content of the present application.
[0016] Figure 1 A flow chart of the ship equipment attribute management and regionalized tray table generation method according to the embodiments of the present application is shown; Figure 2 A flow chart of the equipment graphic template of the preset associated database attribute according to the embodiments of the present application is shown; Figure 3 An interface schematic diagram of the equipment attribute management according to the embodiments of the present application is shown; Figure 4 A schematic diagram of the data dictionary table according to the embodiments of the present application is shown; Figure 5 A schematic diagram of the equipment list according to the embodiments of the present application is shown; Figure 6 A schematic diagram of the regionalized tray table according to the embodiments of the present application is shown; Figure 7 A structural schematic diagram of the ship equipment attribute management and regionalized tray table generation device according to the embodiments of the present application is shown; Figure 8 A structural schematic diagram of the electronic device according to the embodiments of the present application is shown. DETAILED DESCRIPTION
[0017] In order to make the purpose, technical solutions and advantages of the embodiments of the present application more clear, the following will combine the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. It should be understood that the drawings in the present application only play the purpose of illustration and description, and are not used to limit the protection scope of the present application. In addition, it should be understood that the schematic drawings are not drawn according to the actual proportion. The flow chart shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flow chart can not be implemented in sequence, and the steps without logical context relationship can be reversed in sequence or implemented simultaneously. In addition, one or more other operations can be added to the flow chart or removed from the flow chart by those skilled in the art under the guidance of the content of the present application.
[0018] In addition, the described embodiments are only some of the embodiments of the present application, not all the embodiments. The components of the embodiments of the present application described and shown in the drawings herein can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the claimed application, but only represents selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative labor are within the scope of protection of the present application.
[0019] It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the presence of the features declared thereafter, but does not exclude the addition of other features.
[0020] In view of the technical problems presented in the background art, the present application provides a ship equipment attribute management and regionalized tray table generation method and device, which can realize the whole process integration from system drawing to bill of material making, and optimize the supply chain management.
[0021] Referring to the drawings accompanying the Figure 1 The present application provides a ship equipment attribute management and regionalized tray table generation method, which comprises the following steps: S1, dragging the device graphic template with the preset associated database attribute to the drawing, drawing the ship electrical system diagram, and displaying the attribute information of the drawn device; and identifying the non-parameterized device graphic in the drawing, matching the corresponding device graphic template and displaying the bound attribute information thereof; S2, integrity checking of the attribute information of the device, if the checking is not passed, supplementing the attribute information not preset; if the checking is passed, summarizing the full-quantity attribute information of all devices, and generating a device list; S3, extracting part of the attribute information from the device list according to the deck code corresponding to the target area, and generating a regionalized tray table.
[0022] The present application adopts the secondary development technology of CAD, the storage technology of Mysql and the server development technology of C#, realizes the parameterized management of CAD objects, and provides the required data for tray table generation and bill of material making. When the system diagram is drawn, the attributes such as device name, deck number, position number, model number, weight, material code and POR number are added. These attributes are maintained through the background attribute management module, and the front end reads and binds them to the corresponding device.
[0023] In an embodiment, referring to the drawings accompanying the Figure 2 The device graphic template with the preset associated database attribute is determined by the following method, comprising the following steps: P1, based on the type of ship electrical equipment, determine the attributes bound to each type of equipment; P2, create a device graphical template in the CAD secondary development plug-in for each type of device, and bind each device graphical template with the corresponding device attributes in the database; P3, create a device graphical template in the CAD secondary development plug-in for each type of device, and bind each device graphical template with the corresponding device attributes in the database.
[0024] Specifically, in steps P1 and P2, first, the types of devices (such as sound and light alarms, valve control boxes, cable distribution boxes) are sorted out in combination with the application scenarios of ship electrical devices, and the core attributes (device name, deck number, position number, model number, weight, material code, POR number) that need to be bound for each type of device are determined to form a standardized attribute list. For each type of device, a two-dimensional graphical template (such as device shape, installation reference point) that conforms to the ship design specification is drawn, and a unique identifier (such as device type code) is assigned to the graphical template, which is stored in the template library of the plug-in. Then, an associated mapping between the device graphical template and the background database is established, and the determined device attributes are bound one by one with the device graphical template produced, so that each device graphical template can automatically read the corresponding attribute information in the database when called, forming a graphical and attribute integrated device parameterized template library.
[0025] In step P3, the forward drag drawing function and the reverse drawing information recognition function are mainly configured. When configuring the forward drag drawing function, the drag calling logic is developed in the plug-in, and the visual calling interface of the device parameterized template library is configured. The user can select a device graphical template from the interface and drag it to a specified position on the CAD drawing to complete the drawing and automatically load the bound attributes, realizing the rapid generation of parameterized devices. When configuring the reverse drawing information recognition function, a graphical feature recognition algorithm is developed to extract the geometric features (shape size, label information) of non-parameterized device graphics (such as devices in historical drawings), establish matching rules between the features and the parameterized template library, and when recognizing existing non-parameterized devices on the drawing, automatically match the corresponding device graphical template and bind the attributes to complete the conversion of non-parameterized devices to parameterized devices.
[0026] Thus, technical support is provided for subsequent device rapid drawing and attribute linkage, avoiding repeated work of pure drawing and separate attribute recording, and improving design efficiency. In addition, a unified data carrier is provided for subsequent list export and pallet table generation.
[0027] In addition, the application also builds a unified data management carrier to ensure that the attribute data is standardized, consistent, and traceable. In an embodiment, referring to the attached drawings of the specification Figure 3, through the establishment of a background attribute management platform, the full life cycle maintenance (add, edit, delete) of the device attribute is realized, and the attribute data source is uniformly controlled. Among them, the attribute addition mainly refers to adding new attribute types (such as adding a "device material" attribute) according to design requirements, or supplementing new attribute values for existing attributes (such as adding "smart pressure sensor" to "device name"); attribute editing mainly refers to modifying the existing attribute information (such as updating "device model XX-12" to "XX-124"); attribute deletion mainly refers to removing obsolete attributes (such as obsolete model device name) to avoid invalid attributes interfering with design.
[0028] Further, when managing the device attributes, the application adopts data dictionary type management for attributes such as "deck number (area number)", rather than free input. In an embodiment, referring to the drawings Figure 4 , the administrator maintains the area data dictionary in advance in the background attribute management platform, and the area name and code are one-to-one corresponding; when the designer binds the "deck number" attribute to the device, only the preset option list in the background attribute management platform can be selected, and manual input of custom content is not allowed. Thus, the standardization of area type attributes is realized through data dictionary, and the problem of attribute definition confusion in traditional design is solved.
[0029] The application realizes forward drag drawing of system diagram objects and reverse diagram information recognition through CAD secondary development technology, so that the device can read / modify database attributes; stores key attribute data such as device name and deck number through Mysql storage technology; builds a unified background attribute management platform through server development technology, supports attribute centralized configuration and data dictionary verification, and finally realizes real-time bidirectional linkage of CAD drawings and database attributes.
[0030] In step S1, the system diagram design is completed mainly based on the pre-constructed device graphical template. Specifically, a CAD secondary development plug-in is started, a configured device parameterized template library is loaded in the plug-in interface and displayed by device type (such as sound and light alarm type, valve control box type), and a basic drawing base map of the ship electrical system diagram is opened. The designer selects a target device graphical template from the device parameterized template according to the system diagram design requirement, drags it to a specified installation position of the base map, and completes the drawing of the device graph; at the same time of the dragging action, the plug-in automatically calls the standardized attribute information (such as device model, preset weight) bound to the target device graphical template from the platform attribute management platform, and loads it into the attribute panel of the graph device in real time. If it is necessary to draw or update on the basis of the existing historical system diagram, the reverse recognition function of the plug-in can be enabled, the non-parameterized device graph (pure line graph without attribute binding) in the graph is selected, its geometric features (size, symbol) are automatically extracted and matched with the corresponding device graphical template, and the bound attribute information is read synchronously.
[0031] Different from the traditional CAD mode of only drawing graphs, the graph drawing and attribute binding are completed synchronously in this step, avoiding the tedious operation of manually matching attributes in the later stage.
[0032] In step S2, the device graphical template drawn in step S1 is mainly filled with individualized attribute values that are not preset. For example, the attribute panel of the CAD plug-in is automatically popped up when the device in the graph whose attribute needs to be supplemented is selected, the preset attributes (gray and non-editable, such as device name and model) and the blank attributes (white and editable, such as POR number, material code and accurate position number) are distinguished in the panel, the designer enters the corresponding attribute values in the blank attribute field according to the procurement technical document and the segmented construction plan, the regional attributes such as deck number need to be selected from the preset drop-down options in the panel and cannot be manually input, and the attribute supplementation of each device is completed, and the data is synchronized to the background attribute management platform in real time, so that the graph and the database data are consistent.
[0033] Referring to the drawings accompanying the specification Figure 5 After the device attribute information is supplemented, the full-amount attribute data of all devices is read, the required fields in the list are selected from the full-amount attribute, the table header style is set, the column width is adjusted, the data number and list generation timestamp are added, and the Excel format device list file is automatically generated according to the ship design industry list specification; the generated list file is stored in the background attribute management platform, and is associated with the corresponding system diagram number for traceability.
[0034] Thus, a standardized and structured device attribute list is finally obtained, which not only meets the tracing requirement of the design end, but also provides a direct data source for the production end to generate regional pallet table.
[0035] In step S3, a regionalized tray table is mainly generated. Specifically, a deck code selection interface is provided, and a user can select a single or multiple target area deck code (such as E40, E50) according to the segmented construction requirement; the selection logic follows the pre-established data dictionary rules, and only the preset options can be selected to ensure the standardization of the area code. Then, the Excel format equipment list derived in step S42 is read, and all equipment data of the corresponding area in the list is filtered out according to the selected deck code to form a regional equipment data subset; at the same time, the integrity of the subset data is checked, and if there is a missing field (such as a null POR number), a pop-up window is prompted and the abnormal equipment is located. Next, the core fields necessary for production construction links are extracted from the regional equipment data subset, including: equipment code, equipment Chinese name, POR number, material code, equipment weight; the design end exclusive fields such as system diagram number and system diagram name are removed to realize lightweight processing of data. Finally, referring to the attached drawings of the specification Figure 6 , the table format is configured according to the tray table specification of the ship production workshop. For example, the fixed table header is set, the column width is adjusted to adapt to the field content, the area code identifier is added, and the tray table generation time is marked; the extracted core field data is filled into the table to generate a standard format regionalized tray table template. The generated regionalized tray table data is synchronized to the background attribute management platform for archiving, and is associated with the construction task order of the corresponding area; at the same time, it supports export as an Excel or PDF format file for direct download by the production department.
[0036] The ship equipment attribute management and regionalized tray table generation method provided in the application realizes parameterized modeling of the equipment objects in the system diagram, supports forward dragging and reverse recognition functions, and significantly improves the drawing efficiency; through the unified attribute management platform, the equipment attributes are configured centrally, effectively avoiding problems such as repeated input, omission, misfilling and information inconsistency, and improving the data accuracy. And by using the deep integration technology of database and CAD, it is ensured that the equipment drawing and attribute data always remain consistent, and the reliability of the design data is ensured; the equipment list Excel file is automatically generated, which greatly reduces the manual sorting work, improves the work efficiency, and improves the data accuracy; and the key fields can be quickly extracted to generate a tray table template, which provides basic data that can be directly supplemented for production designers, significantly shortens the tray table preparation period. Overall, it realizes the whole process integration from system diagram drawing to material list making, lays a solid foundation for enterprises to build a more agile, more economical and more resilient supply chain system.
[0037] Based on the same inventive concept, the embodiment of the present application also provides a ship equipment attribute management and regionalized tray table generation device. Since the principle of the device in the embodiment of the present application for solving the problem is similar to the above-mentioned ship equipment attribute management and regionalized tray table generation method, the implementation of the device can be referred to the implementation of the method, and the repeated parts will not be described here.
[0038] As shown in the accompanying drawings of the specification Figure 7 The embodiment of the present application also provides a ship equipment attribute management and regionalized tray table generation device, which comprises: An equipment attribute display module 701 is configured to drag the equipment graphic template of the preset associated database attribute to a drawing surface, draw a ship electrical system diagram, and display the attribute information of the drawn equipment; and identify the non-parameterized equipment graphic in the drawing surface, match the corresponding equipment graphic template, and display the bound attribute information. An equipment list generation module 702 is configured to perform integrity checking on the attribute information of the equipment, supplement the attribute information that is not preset if the checking fails, aggregate the full-amount attribute information of all the equipment if the checking passes, and generate an equipment list. A regionalized tray table generation module 703 is configured to extract part of the attribute information from the equipment list according to the deck code corresponding to the target region, and generate a regionalized tray table.
[0039] In some embodiments, the device further comprises: A preset module is configured to preset the equipment graphic template associated with the database attribute, including: determining the bound attribute of each type of equipment based on the type of ship electrical equipment; creating an equipment graphic template for each type of equipment in a CAD secondary development plug-in, and binding each equipment graphic template with the corresponding equipment attribute in the database; configuring the drag call logic of the equipment graphic template, so that the selected equipment graphic template is automatically loaded with the bound attribute when it is dragged to the specified position of the CAD drawing surface; and establishing a matching rule of geometric features and equipment graphic templates for geometric feature recognition of the equipment in the CAD drawing surface that is not bound with the attribute, matching the corresponding equipment graphic template and binding the attribute. A background attribute management platform is built; the equipment attribute is managed through the background attribute management platform, wherein the regional attribute is managed by using a data dictionary type. The management of the equipment attribute includes adding, editing and deleting; the data dictionary type management includes pre-maintenance of the corresponding relationship between the region code and the region name. The equipment attribute includes the equipment name, the deck number, the deck code, the position number, the model number, the weight, the material code and the POR number.
[0040] In some embodiments, the device list generation module 702 aggregates full-amount attribute information of all devices and generates a device list, including: reading and aggregating full-amount attribute information of all devices in the drawing, including preset attributes and supplementary attributes; structuring the aggregated full-amount attribute information of all devices and exporting an Excel format device list file; synchronously storing the device list file to the background attribute management platform and establishing an association between the device list file and the corresponding ship electrical system drawing.
[0041] In some embodiments, the regionalized tray table generation module 703 extracts partial attribute information from the device list according to the deck code corresponding to the target region and generates a regionalized tray table, including: selecting a deck code of a single or multiple target regions; filtering full-amount attribute information of all devices of the target region from the device list file and extracting partial attribute information therefrom according to requirements, and generating a regionalized tray table according to a set template; synchronously storing the regionalized tray table to the background attribute management platform and associating a construction task order of the corresponding region.
[0042] The ship device attribute management and regionalized tray table generation device described in the present application, through the device attribute display module, drags a device graphic template of a preset associated database attribute to a drawing to draw a ship electrical system drawing and displays attribute information of the drawn device; and identifies a non-parameterized device graphic in the drawing, matches a corresponding device graphic template and displays attribute information bound thereto; through the device list generation module, performs integrity checking on attribute information of the device, supplements attribute information not preset if the checking fails, aggregates full-amount attribute information of all devices and generates a device list if the checking passes; and through the regionalized tray table generation module, extracts partial attribute information from the device list according to a deck code corresponding to a target region and generates a regionalized tray table. Thus, by configuring device attributes, the present application effectively avoids problems such as repeated input, missing filling, incorrect filling and inconsistent information, improves data accuracy, automatically generates a device list and a regionalized tray table, greatly reduces manual sorting work and improves work efficiency. The present application realizes full-process integration from system drawing to material list making and optimizes supply chain management.
[0043] Based on the same concept of the present application, as described in the specification Figure 8As shown, the electronic device 800 provided by the embodiment of the present application includes at least one processor 801, at least one network interface 804 or other user interface 803, a memory 805, and at least one communication bus 802. The communication bus 802 is used to realize the connection and communication between the components. The electronic device 800 can optionally include a user interface 803, including a display (for example, a touch screen, an LCD, a CRT, holographic imaging (Holographic) or a projector, etc.), a keyboard or a clicking device (for example, a mouse, a trackball, a touchpad or a touch screen, etc.).
[0044] The memory 805 can include read-only memory and random access memory, and provide instructions and data for the processor 801. A part of the memory 805 can also include a non-volatile random access memory (NVRAM).
[0045] In some embodiments, the memory 805 stores the following elements, executable modules or data structures, or a subset thereof, or an extended set thereof: An operating system 8051, including various system programs, is used to realize various basic services and process hardware-based tasks; An application module 8052, including various application programs, such as a desktop (launcher), a media player (MediaPlayer), a browser (Browser), etc., is used to realize various application services.
[0046] In the embodiment of the present application, the processor 801 is used to execute the steps of the method for managing the attributes of a ship device and generating a regionalized tray table by calling the programs or instructions stored in the memory 805.
[0047] The present application also provides a computer readable storage medium, which stores a computer program. When the computer program is run by a processor, the steps of the method for managing the attributes of a ship device and generating a regionalized tray table are executed.
[0048] Specifically, the storage medium can be a general storage medium, such as a mobile disk, a hard disk, etc. When the computer program on the storage medium is run, the whole process integration from system drawing to bill of material making can be realized, and the supply chain management is optimized.
[0049] In the embodiments of the present application, it should be understood that the disclosed apparatus and method can be implemented in other manners. The embodiments described above are merely exemplary, for example, the division of units is only a logical function division, and there can be another division manner in actual implementation; for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed coupling or direct coupling or communication connection between units can be indirect coupling or communication connection through some interfaces, and can be electrical, mechanical or other forms.
[0050] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they can be located in one place, or can be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiments.
[0051] In addition, each functional unit in the embodiments of the present application can be integrated into a processing unit, or each unit can be a physically independent unit, or two or more units can be integrated into a unit.
[0052] If the functions are implemented in the form of software function units and sold or used as independent products, they can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the present application essentially or the part that contributes to the prior art or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium, and includes a number of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods in the various embodiments of the present application. The foregoing storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, and various program codes that can store program codes.
[0053] Finally, it should be noted that the above examples are merely specific embodiments of the present application, and are used to illustrate the technical solutions of the present application, but are not limiting thereof, and the protection scope of the present application is not limited thereto. Although the present application has been described in detail with reference to the foregoing examples, it should be understood by those skilled in the art that any person skilled in the art can modify or easily think of changes to the technical solutions recorded in the foregoing examples, or make equivalent replacements to some of the technical features, within the technical range disclosed by the present application, and these modifications, changes or replacements do not make the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application. All should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A method for ship equipment attribute management and zonal tray table generation, characterized by, The method comprises the following steps: The device graphic template with preset associated database attributes is dragged to the drawing, the ship electrical system diagram is drawn, and the attribute information of the drawn device is displayed; and the non-parameterized device graphic in the drawing is identified, the corresponding device graphic template is matched, and the bound attribute information is displayed; The attribute information of the device is subjected to integrity check, if the check fails, the attribute information not preset is supplemented, if the check passes, the full-quantity attribute information of all devices is summarized, and a device list is generated; Part of the attribute information of the target region corresponding to the deck code is extracted from the device list, and a regionalized tray table is generated.
2. The method of claim 1, wherein, The device attribute includes device name, deck number, deck code, position number, model number, weight, material code, and POR number.
3. The method of claim 2, wherein, The device graphic template with preset associated database attributes is preset in the following manner, comprising the following steps: Based on the type of ship electrical device, the attribute bound to each type of device is determined; For each type of device, a device graphic template is created in the CAD secondary development plug-in, and each device graphic template is bound to the corresponding device attribute in the database; The drag call logic of the device graphic template is configured, so that when the selected device graphic template is dragged to the specified position of the CAD drawing, the bound attribute is automatically loaded; and the matching rule of geometric features and device graphic templates is established, which is used for geometric feature recognition of the device without bound attribute in the CAD drawing, matching the corresponding device graphic template and binding the attribute.
4. The method of claim 3, wherein, The device graphic template with preset associated database attributes further comprises the following steps: A background attribute management platform is built; The device attribute is managed through the background attribute management platform, wherein the regional attribute is managed by using the data dictionary type.
5. The method of claim 4, wherein, Among them, The device attribute is managed, including adding, editing and deleting; the data dictionary type management includes pre-maintenance of the corresponding relationship between the region code and the region name.
6. The method of claim 5, wherein, The full-quantity attribute information of all devices is summarized, and a device list is generated, comprising the following steps: All full-quantity attribute information of the devices in the drawing is read and summarized, including preset attributes and supplemented attributes; The full-quantity attribute information of all summarized devices is structured and the device list file in Excel format is exported; The device list file is stored synchronously to the background attribute management platform, and the association between the device list file and the corresponding ship electrical system diagram is established.
7. The method of claim 6, wherein, The part of the attribute information of the target region corresponding to the deck code is extracted from the device list, and a regionalized tray table is generated, comprising the following steps: Select the deck code of a single or multiple target regions; All full-quantity attribute information of the devices in the target region is filtered out from the device list file, part of the attribute information is extracted therefrom according to the demand, and a regionalized tray table is generated according to the set template; The regionalized tray table is stored synchronously to the background attribute management platform, and the corresponding regional construction task order is associated.
8. A ship equipment attribute management and zonal tray table generation apparatus, characterized by, The device comprises: The device attribute display module is configured to drag a device graphic template of a preset associated database attribute to a drawing surface, draw a ship electrical system diagram, and display attribute information of the drawn device; and identify a non-parameterized device graphic in the drawing surface, match a corresponding device graphic template, and display attribute information bound to the device graphic template. The device list generation module is configured to perform integrity checking on attribute information of the device, supplement attribute information that is not preset if the checking fails, aggregate full-quantity attribute information of all devices if the checking is passed, and generate a device list. The regionalized tray table generation module is configured to extract part of attribute information from the device list according to a deck code corresponding to a target region, and generate a regionalized tray table.
9. An electronic device, comprising: The computer readable storage medium stores a computer program, and the computer program is executed by the processor to perform the steps of the ship device attribute management and regionalized tray table generation method according to any one of claims 1 to 7. The computer readable storage medium stores a computer program, and the computer program is executed by the processor to perform the steps of the ship device attribute management and regionalized tray table generation method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that,