Construction method and device of ship model library

By using the product data modeling platform to create model domains and class diagrams in ship model management and generating product meta models, the problems of insufficient flexibility of traditional technology and lack of data semantic management are solved, and the unified management and maintenance of data models are realized.

CN119939765APending Publication Date: 2025-05-06CHINA SHIP DEV & DESIGN CENT
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411957750.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-30
Publication Date
2025-05-06

AI Technical Summary

Technical Problem

Traditional ship model management technology based on database relational tables is not flexible enough, lacks data semantic management, is incompatible with standards, and cannot adapt to the development and changes of complex business scenarios.

Method used

Through the pre-set product data modeling platform, create the model domain name of the ship component, determine multiple class diagrams corresponding to the model domain name, generate product metamodels corresponding to the ship component, including each domain, class, and the association relationship between the domain and class, and use semantic models for data modeling and integrated management.

Benefits of technology

It realizes the standard product model architecture and data format, standardizes the semantic expression of the product, realizes the mapping relationship and integration of data models and data standards, and facilitates the unified management and maintenance of the data models.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119939765A_ABST
    Figure CN119939765A_ABST
Patent Text Reader

Abstract

The invention provides a ship model library construction method and device, and the method comprises the steps: building a model domain name scale of a ship assembly through a preset product data modeling platform; according to the model domain name of the ship component, a plurality of class diagrams corresponding to the model domain name are determined, and the class diagrams are used for representing model information; according to the model domain name scale, the class diagram and a semantic model of the ship component, a product meta-model corresponding to the ship component is generated, the product meta-model at least comprises domains, classes and association relationships between the domains and the classes, the semantic model is determined according to feature information of different components, and the semantic model is determined according to feature information of the different components. A standard product model architecture and a standard data format are provided, semantic expression of a product is standardized, mapping relation and integration of the data model and the data standard are achieved, and unified management and maintenance of the data model are facilitated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of ship digitization, and in particular relates to a method and a device for constructing a ship model library. Background Art

[0002] According to the basic architecture of the digital integrated R&D platform for the new generation of large surface ships, there is a lack of unified management of the three-dimensional models and business processes of the three major disciplines of hull, engine, and electrical. The scope of ship product models is relatively wide, involving not only ship design, but also parts catalogs to support design, planning, manufacturing and testing information to implement design, engineering models for analyzing design (schemes), and logistics models for supporting and maintaining the ship itself. The ship product model is not a monolithic model. It spans the above-mentioned life cycle stages and exists in many different (although interconnected) systems, applications, and data warehouses.

[0003] For a specific application system, many attributes and associations are unique to a single application field. However, since integration needs to be completed within the model, some elements of product data are universal or public and need to be defined. However, the traditional technology based on database relational tables for configuration management is not flexible enough, lacks data semantic management, is incompatible with standards, and cannot adapt to the needs of the development and changes of complex business scenarios. Since the data semantic model is relatively abstract and different data models lack a unified standard system, the following problems mainly exist in product data integration and management. Therefore, how to provide a method for constructing a ship model library has become a technical problem that needs to be solved urgently in this field. Summary of the invention

[0004] The purpose of the present invention is to provide a method and device for constructing a ship model library.

[0005] According to a first aspect of the present invention, there is provided a method for constructing a ship model library, comprising:

[0006] Create model domain names for ship components through the pre-set product data modeling platform;

[0007] According to the model domain name of the ship component, a plurality of class diagrams corresponding to the model domain name are determined, wherein the class diagrams are used to represent the model information;

[0008] According to the model domain name, the class diagram and the semantic model of the ship component, a product metamodel corresponding to the ship component is generated, wherein the product metamodel at least includes various domains, classes and the association relationship between domains and classes, and wherein the semantic model is determined according to the feature information of different components.

[0009] Optionally, generating a product metamodel corresponding to the ship component according to the model domain name, the class diagram and the semantic model of the ship component includes:

[0010] A product metamodel corresponding to the ship component is generated in a graphical manner according to the domain name, the class diagram and the product semantics of the ship component.

[0011] Optionally, the creating of the model domain name of the ship component by using a preset product data modeling platform includes:

[0012] Through the pre-set data modeling platform, build the model domain of common parts, structures, equipment, and water pipelines;

[0013] According to the model domain of the common parts, structures, equipment and water pipelines, the ship identification, hull configuration and engineering changes under the model domain are created.

[0014] Optionally, generating a product metamodel corresponding to the ship component according to the model domain name, the class diagram and the semantic model of the ship component includes:

[0015] According to the semantic model of the ship component, a new class diagram is created under the domain to create a product class diagram, wherein the product class diagram at least includes a hull object, a design component and attribute information, wherein the attribute information at least includes attribute type, definition sequence number, number and description field information;

[0016] Establish the relationship between class diagrams;

[0017] A product metamodel corresponding to the ship component is generated according to the domain name, the class diagram and the association relationship between the class diagrams.

[0018] Optionally, the semantic model of the ship component at least includes a model name, an identifier, an attribute field and a behavior method, and an association relationship between the product model and other class models.

[0019] Optionally, the method further comprises:

[0020] The universal standard management platform is bound to the model domain, and a data document corresponding to the product metamodel is generated according to the product metamodel corresponding to the ship component. The data document is used to characterize the semantic information of the model under the model domain, and the model information is modified online.

[0021] According to a second aspect of the present invention, there is provided a device for constructing a ship model library, comprising:

[0022] A creation module for creating a model domain name of a ship component through a pre-set product data modeling platform;

[0023] A determination module, used for determining, according to the model domain name of the ship component, a plurality of class diagrams corresponding to the model domain name, wherein the class diagrams are used for representing the model information;

[0024] A generation module is used to generate a product metamodel corresponding to the ship component according to the model domain name, the class diagram and the semantic model of the ship component, wherein the product metamodel at least includes various domains, classes and the association relationship between domains and classes, and wherein the semantic model is determined according to the feature information of different components.

[0025] Optionally, the generating module is used to:

[0026] A product metamodel corresponding to the ship component is generated in a graphical manner according to the domain name, the class and the product semantics of the ship component.

[0027] Optionally, the creation module is used to:

[0028] Through the pre-set data modeling platform, build the model domain of common parts, structures, equipment, and water pipelines;

[0029] According to the model domain of the common parts, structures, equipment and water pipelines, the ship identification, hull configuration and engineering changes under the model domain are created.

[0030] Optionally, the generating module is used to:

[0031] According to the semantic model of the ship component, a new class diagram is created under the domain to create a product class diagram, wherein the product class diagram at least includes a hull object, a design component and attribute information, wherein the attribute information at least includes attribute type, definition sequence number, number and description field information;

[0032] Establish the relationship between class diagrams;

[0033] A product metamodel corresponding to the ship component is generated according to the domain name, the class diagram and the association relationship between the class diagrams.

[0034] Optionally, the semantic model of the ship component at least includes a model name, an identifier, an attribute field and a behavior method, and an association relationship between the product model and other class models.

[0035] Optionally, the generating module is used to:

[0036] The universal standard management platform is bound to the model domain, and a data document corresponding to the product metamodel is generated according to the product metamodel corresponding to the ship component. The data document is used to characterize the semantic information of the model under the model domain, and the model information is modified online.

[0037] In a third aspect, the present application shows an electronic device, which includes: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to execute the method described in any of the above aspects.

[0038] In a fourth aspect, the present application illustrates a non-temporary computer-readable storage medium, which, when instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to execute a method as described in any of the above aspects.

[0039] In a fifth aspect, the present application illustrates a computer program product. When instructions in the computer program product are executed by a processor of an electronic device, the electronic device is enabled to execute the method described in any of the above aspects.

[0040] The beneficial effects brought by the present invention are as follows:

[0041] It can be seen from the above scheme that an embodiment of the present invention provides a method and device for constructing a ship model library, including: creating a model domain name of a ship component through a pre-set product data modeling platform; determining a plurality of class diagrams corresponding to the model domain name according to the model domain name of the ship component, wherein the class diagram is used to represent the model information; generating a product metamodel corresponding to the ship component according to the model domain name, the class diagram and the semantic model of the ship component, wherein the product metamodel at least includes each domain, class and the association relationship between the domain and the class, wherein the semantic model is determined according to the feature information of different components, provides a standard product model architecture and data format, standardizes the semantic expression of the product, realizes the mapping relationship and integration of the data model and the data standard, and facilitates the unified management and maintenance of the data model. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 A schematic diagram of a process for constructing a ship model library according to an embodiment;

[0043] Figure 2 A flowchart for implementing a semantics-based universal data standard framework according to an embodiment;

[0044] Figure 3 A mapping flow chart of a product data modeling and standard management platform provided according to an embodiment;

[0045] Figure 4 A class diagram and a metamodel of a product data management model in a ship general information model provided according to an embodiment;

[0046] Figure 5 A standard document of a ship general information model generated by a standard management platform provided by an embodiment;

[0047] Figure 6 A schematic diagram of a model provided according to an embodiment;

[0048] Figure 7 It is a structural block diagram of a device for constructing a ship model library of the present application.

[0049] Figure 8 It is a block diagram of an electronic device of the present application.

[0050] Fig. 9 It is a block diagram of a computer-readable storage medium of the present application. DETAILED DESCRIPTION

[0051] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution in the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiment of the present invention. Obviously, the described embodiment is a part of the embodiment of the present invention, not all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0052] Reference Figure 1 , shows a flow chart of the steps of a method for constructing a ship model library of the present application, which can be applied to electronic equipment, wherein the method can specifically include the following steps:

[0053] S101. Create a model domain name of a ship component through a pre-set product data modeling platform;

[0054] S102, according to the model domain name of the ship component, determining a plurality of class diagrams corresponding to the model domain name, the class diagrams being used to represent the model information;

[0055] S103. Generate a product metamodel corresponding to the ship component according to the model domain name, class diagram and semantic model of the ship component, wherein the product metamodel at least includes various domains, classes and association relationships between domains and classes, and wherein the semantic model is determined according to feature information of different components.

[0056] Among them, the product semantic model, i.e. the semantic model of the ship component, contains the model name, identifier, attribute fields and behavior methods, as well as the relationship between the product model and other class models. The product data modeling platform can graphically express the data characteristics of the product according to the product semantics and generate metamodel information. The metamodel information covers the attributes and relationships of the product and can be generated based on graphical tools. The information is stored in a specified tree structure for easy index integration. The standard data management platform can obtain product model information based on object-oriented data services, parse class diagrams, and generate attribute tables and model relationships.

[0057] In order to realize data definition and representation, it is necessary to describe the entities, entity features, entity classification and association relationships of the data semantic model, and at the same time provide a semantic-based common data standard framework to realize the integrated editing and management of product data models.

[0058] Since data semantic models are relatively abstract and different data models lack a unified standard system, the following problems exist in product data integration and management: how to standardize the modeling and description of the semantics of product data; how to automatically integrate and manage product data models; and how to achieve data synchronization and mapping between data models and common standard documents.

[0059] The embodiment of the present application provides a method for implementing a general data standard framework based on semantics, which extracts characteristic behavior information based on the characteristics of the product itself to describe the product semantic model, and constructs a defined data meta-model, system class and relationship structure in a specific domain on the product data modeling platform based on the product semantic model. The model domain is read using a general data standard management platform, and the data model is remapped and a standard document is generated according to the standard structure of model classification, model class diagram and model attributes, so as to realize data modeling of product data semantics and realize integrated editing and management of product data models.

[0060] Another embodiment of the present application further supplements the method for constructing the ship model library provided in the above embodiment.

[0061] Optionally, a product metamodel corresponding to the ship component is generated according to the model domain name, the class diagram and the semantic model of the ship component, including:

[0062] A product metamodel corresponding to the ship components is generated in a graphical way according to the domain name, class diagram and product semantics of the ship components.

[0063] Optionally, create model domain names for ship components through a pre-set product data modeling platform, including:

[0064] Through the pre-set data modeling platform, build the model domain of common parts, structures, equipment, and water pipelines;

[0065] Based on the model domain of common parts, structures, equipment, and water pipelines, create ship identification, hull configuration, and engineering changes under the model domain.

[0066] Optionally, a product metamodel corresponding to the ship component is generated according to the model domain name, the class diagram and the semantic model of the ship component, including:

[0067] According to the semantic model of the ship component, a new class diagram is created under the domain to create a product class diagram. The product class diagram at least includes the hull object, design components and attribute information, wherein the attribute information at least includes the attribute type, definition sequence number, number and description field information;

[0068] Establish the relationship between class diagrams;

[0069] According to the domain name, class diagram and the relationship between class diagrams, a product metamodel corresponding to the ship components is generated.

[0070] Optionally, the semantic model of the ship component includes at least a model name, an identifier, attribute fields and behavior methods, and an association relationship between the product model and other class models.

[0071] Optionally, the method further comprises:

[0072] The universal standard management platform is bound to the model domain, and a data document corresponding to the product metamodel is generated according to the product metamodel corresponding to the ship component. The data document is used to represent the semantic information of the model under the model domain and modify the model information online.

[0073] The framework implements the integrated editing and management of product modeling and standard data expression based on product data, realizes the mapping relationship between the two platforms, and synchronizes model changes and modifications.

[0074] like Figure 2 As shown in the figure, based on product semantics, the product model can be constructed in a graphical way through the product data modeling platform. The specific steps are as follows:

[0075] Step 1: Log in to the product data modeling platform;

[0076] Step 2: Create a new domain and set the domain name. Multiple classes can be stored under this domain to describe the model information.

[0077] Step 3: Create a class diagram based on product semantics, and use a graphical approach to establish models, attributes, and relationships;

[0078] Step 4: After the class diagram is established, save and parse it to generate the product metamodel;

[0079] Step 5: In this domain, you can operate and maintain the created classes, attributes, relationships, etc.

[0080] Step 6: Log in to the standard management platform;

[0081] Step 7: The universal standard management platform binds the specified model domain and generates an online standard data document based on the defined model structure. The document describes the semantic information of all models under the domain and the model information can be modified online.

[0082] Step 8. The document can number the model classes, and the document generates a specified chapter based on the number, and a description can be added for the chapter;

[0083] Step 9: Use the standard management platform to generate a traceability matrix for online documents and integrate the attributes and relationships of the model;

[0084] Step 10: Generate a word document based on the standard management platform and export the existing model standards.

[0085] The embodiments of the present application provide a standard product model architecture and data format, standardize the semantic expression of the product, realize the mapping relationship and integration of data models and data standards, and facilitate the unified management and maintenance of data models.

[0086] Exemplarily, firstly, based on the model-driven architecture, a product data modeling platform is independently constructed through the prototype chain mechanism of JavaScript, providing an object-oriented graphical modeling and parsing environment.

[0087] The SCIM (Common Information Model) domain covers all data and information of the entire life cycle of a ship, including design, analysis, manufacturing, testing, commissioning, management, maintenance, and scrapping. Based on the standard data format of SCIM, information transfer and reuse in an integrated data environment can be achieved. The following uses SCIM as a basic use case to briefly describe the implementation method of the common data standard framework.

[0088] In the product data modeling platform, according to the semantic model of ship general information, Figure 3 The workflow is used to build model domains such as product data management, general parts, structure, equipment, and water pipelines. New domains can be created under each domain. Taking product data management (PDM) as an example, new domains such as ship identification, hull configuration, and engineering changes can be created under this domain to further subdivide.

[0089] Create a new class diagram under the domain, create a product class diagram, add classes such as hull objects and design components, and click the "Property Bar" above to define field information such as serial number, number, description, etc. according to the property type.

[0090] Click the class model, drag the arrow icon and specify another class model to define the inheritance and association relationship between classes.

[0091] After the class diagram is constructed, the product metadata model is generated by saving and parsing, and the domain, model, and attribute association information are managed through a tree structure. Figure 4 shown.

[0092] Log in to the standard management platform, take the product data management (pdm) under the SCIM level as an example, automatically parse all the hierarchical structures under the current domain by completing the binding with the PDM domain, and map and expand them according to the tree structure of the product data modeling platform. This mapping relationship constructs the navigation tree node objects in sequence through the persistent data structures such as the relationship and category of the metadata model, and ensures that each tree node corresponds to a class model. Based on the class model, a standard document data element is generated, including the class diagram, attributes and description information of the model.

[0093] Generate standard data documents under the PDM domain through system mapping relationships, such as Figure 5 The document contains the class diagram, class name, class attributes and corresponding description under each domain.

[0094] Right-click on the node of the standard tree and add a number to sort the nodes and adjust the standard data document. Click the corresponding tree node and the document will automatically locate to the specified location. When the class diagram and class information are modified in the document, the model information in the product data modeling platform will also be synchronized. The corresponding relationship between the model structure and the document directory is as follows: Figure 6 shown.

[0095] By generating a tracking matrix, the model's entities, attributes, and associations can be integrated into a table for unified management and reference.

[0096] Finally, the Word export service can be used to parse all class diagrams in the document into images, generate tables of attributes and related information, and export them into Word offline documents. The chapter directory of the document is consistent with the online standard data document.

[0097] Based on the above steps, the node information management and content detailed information management of the ship general information model are realized. The model information can be edited and displayed through the general standard framework, and the general information model document can be generated to facilitate the subsequent data integration and unified management and reference of data standards.

[0098] It should be noted that each implementable method in this embodiment may be implemented separately, or may be implemented in combination in any manner without conflict, and this application is not limited thereto.

[0099] An embodiment of the present invention provides a method for constructing a ship model library, comprising: creating a model domain name of a ship component through a pre-set product data modeling platform; determining a plurality of class diagrams corresponding to the model domain name according to the model domain name of the ship component, the class diagram being used to represent model information; generating a product metamodel corresponding to the ship component according to the model domain name, the class diagram and a semantic model of the ship component, wherein the product metamodel at least includes each domain, a class and an association relationship between the domain and the class, wherein the semantic model is determined according to feature information of different components, provides a standard product model architecture and data format, standardizes the semantic expression of the product, realizes the mapping relationship and integration of the data model and the data standard, and facilitates the unified management and maintenance of the data model.

[0100] Another embodiment of the present application provides a device for constructing a ship model library, which is used to execute the method for constructing a ship model library provided in the above embodiment.

[0101] like Figure 7 As shown, it is a schematic diagram of the structure of the device for constructing the ship model library provided in the embodiment of the present application. The xx device includes a creation module 701, a determination module 702 and a generation module 703, wherein:

[0102] The creation module 701 is used to create a model domain name of a ship component through a preset product data modeling platform;

[0103] The determination module 702 is used to determine a plurality of class diagrams corresponding to the model domain name according to the model domain name of the ship component, and the class diagram is used to represent the model information;

[0104] The generation module 703 is used to generate a product metamodel corresponding to the ship component according to the model domain name, the class diagram and the semantic model of the ship component, wherein the product metamodel at least includes each domain, class and the association relationship between the domain and the class, wherein the semantic model is determined according to the characteristic information of different components.

[0105] Regarding the device in this embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0106] Another embodiment of the present application further supplements the description of the device for constructing the ship model library provided in the above embodiment.

[0107] Optionally, generate a module for:

[0108] A graphical approach is used to generate a product metamodel corresponding to the ship components based on the domain names, classes and product semantics of the ship components.

[0109] Optionally, create modules to:

[0110] Through the pre-set data modeling platform, build the model domain of common parts, structures, equipment, and water pipelines;

[0111] Based on the model domain of common parts, structures, equipment, and water pipelines, create ship identification, hull configuration, and engineering changes under the model domain.

[0112] Optionally, generate a module for:

[0113] According to the semantic model of the ship component, a new class diagram is created under the domain to create a product class diagram. The product class diagram at least includes the hull object, design components and attribute information, wherein the attribute information at least includes the attribute type, definition sequence number, number and description field information;

[0114] Establish the relationship between class diagrams;

[0115] According to the domain name, class diagram and the relationship between class diagrams, a product metamodel corresponding to the ship components is generated.

[0116] Optionally, the semantic model of the ship component includes at least a model name, an identifier, attribute fields and behavior methods, and an association relationship between the product model and other class models.

[0117] Optionally, generate a module for:

[0118] The universal standard management platform is bound to the model domain, and a data document corresponding to the product metamodel is generated according to the product metamodel corresponding to the ship component. The data document is used to represent the semantic information of the model under the model domain and modify the model information online.

[0119] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0120] An embodiment of the present invention provides a device for constructing a ship model library, comprising: creating a model domain name of a ship component through a pre-set product data modeling platform; determining a plurality of class diagrams corresponding to the model domain name according to the model domain name of the ship component, the class diagram being used to represent model information; generating a product metamodel corresponding to the ship component according to the model domain name, the class diagram and the semantic model of the ship component, wherein the product metamodel at least includes each domain, class and the association relationship between the domain and the class, wherein the semantic model is determined according to the feature information of different components, provides a standard product model architecture and data format, standardizes the semantic expression of the product, realizes the mapping relationship and integration of the data model and the data standard, and facilitates the unified management and maintenance of the data model.

[0121] Optionally, an embodiment of the present application further provides an electronic device, comprising: a processor, a memory, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the various processes of the above-mentioned method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.

[0122] The embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, each process of the above method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0123] Figure 8 800 is a block diagram of an electronic device 800 shown in the present application. For example, the electronic device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0124] Reference Figure 8 , the electronic device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .

[0125] The processing component 802 generally controls the overall operation of the electronic device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.

[0126] The memory 804 is configured to store various types of data to support operations on the device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phone book data, messages, images, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0127] The power supply component 806 provides power to the various components of the electronic device 800. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 800.

[0128] The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0129] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the electronic device 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.

[0130] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0131] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the electronic device 800. For example, the sensor assembly 814 can detect the open / closed state of the device 800, the relative positioning of components, such as the display and keypad of the electronic device 800, and the sensor assembly 814 can also detect the position change of the electronic device 800 or a component of the electronic device 800, the presence or absence of contact between the user and the electronic device 800, the orientation or acceleration / deceleration of the electronic device 800, and the temperature change of the electronic device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0132] The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 can access a wireless network based on a communication standard, such as WiFi, a carrier network (such as 2G, 3G, 4G or 5G), or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast operation information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0133] In an exemplary embodiment, the electronic device 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.

[0134] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by a processor 820 of an electronic device 800 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0135] Fig. 919 is a block diagram of a computer-readable storage medium 1900 shown in the present application. For example, the computer-readable storage medium 1900 may be provided as a server.

[0136] Reference Fig. 9 , the computer-readable storage medium 1900 includes a processing component 1922, which further includes one or more processors, and a memory resource represented by a memory 1932 for storing instructions, such as an application, that can be executed by the processing component 1922. The application stored in the memory 1932 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 1922 is configured to execute instructions to perform the above method.

[0137] The computer readable storage medium 1900 may also include a power supply component 1926 configured to perform power management of the computer readable storage medium 1900, a wired or wireless network interface 1950 configured to connect the computer readable storage medium 1900 to a network, and an input / output (I / O) interface 1958. The computer readable storage medium 1900 may operate based on an operating system stored in the memory 1932, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™ or the like.

[0138] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0139] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0140] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

[0141] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the present application can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0142] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0143] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

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

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

[0146] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard drives, ROM, RAM, magnetic disks, or optical disks.

[0147] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0148] The above are preferred embodiments of the present invention. It should be pointed out that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as within the scope of protection of the present invention.

Claims

1. A method for constructing a ship model library, characterized in that: include: Create model domain names for ship components through the pre-set product data modeling platform; According to the model domain name of the ship component, a plurality of class diagrams corresponding to the model domain name are determined, wherein the class diagrams are used to represent the model information; According to the model domain name, the class diagram and the semantic model of the ship component, a product metamodel corresponding to the ship component is generated, wherein the product metamodel at least includes various domains, classes and the association relationship between domains and classes, and wherein the semantic model is determined according to the feature information of different components.

2. The method for constructing a ship model library according to claim 1, characterized in that: The step of generating a product metamodel corresponding to the ship component according to the model domain name, the class diagram and the semantic model of the ship component comprises: A product metamodel corresponding to the ship component is generated in a graphical manner according to the domain name, the class diagram and the product semantics of the ship component.

3. The method for constructing a ship model library according to claim 1, characterized in that: The model domain names of the ship components are created through the pre-set product data modeling platform, including: Through the pre-set data modeling platform, build the model domain of common parts, structures, equipment, and water pipelines; According to the model domain of the common parts, structures, equipment and water pipelines, the ship identification, hull configuration and engineering changes under the model domain are created.

4. The method for constructing a ship model library according to claim 3, characterized in that: The step of generating a product metamodel corresponding to the ship component according to the model domain name, the class diagram and the semantic model of the ship component comprises: According to the semantic model of the ship component, a new class diagram is created under the domain to create a product class diagram, wherein the product class diagram at least includes a hull object, a design component and attribute information, wherein the attribute information at least includes attribute type, definition sequence number, number and description field information; Establish the relationship between class diagrams; A product metamodel corresponding to the ship component is generated according to the domain name, the class diagram and the association relationship between the class diagrams.

5. The method for constructing a ship model library according to claim 4, characterized in that: The semantic model of the ship component at least includes a model name, an identifier, an attribute field and a behavior method, as well as an association relationship between the product model and other class models.

6. The method for constructing a ship model library according to claim 1, characterized in that: The method further comprises: The universal standard management platform is bound to the model domain, and a data document corresponding to the product metamodel is generated according to the product metamodel corresponding to the ship component. The data document is used to characterize the semantic information of the model under the model domain, and the model information is modified online.

7. A device for constructing a ship model library, characterized in that: include: A creation module for creating a model domain name of a ship component through a pre-set product data modeling platform; A determination module, used for determining, according to the model domain name of the ship component, a plurality of class diagrams corresponding to the model domain name, wherein the class diagrams are used for representing the model information; A generation module is used to generate a product metamodel corresponding to the ship component according to the model domain name, the class diagram and the semantic model of the ship component, wherein the product metamodel at least includes various domains, classes and the association relationship between domains and classes, and wherein the semantic model is determined according to the feature information of different components.

8. The device for constructing a ship model library according to claim 7, characterized in that: The generating module is used for: A product metamodel corresponding to the ship component is generated in a graphical manner according to the domain name, the class diagram and the product semantics of the ship component.

9. An electronic device, characterized in that: include: A processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the method according to any one of claims 1 to 6 when executed by the processor.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.