CN116185357A - Meta-model construction method, device and system based on multi-architecture modeling language - Google Patents
Meta-model construction method, device and system based on multi-architecture modeling language Download PDFInfo
- Publication number
- CN116185357A CN116185357A CN202211708579.8A CN202211708579A CN116185357A CN 116185357 A CN116185357 A CN 116185357A CN 202211708579 A CN202211708579 A CN 202211708579A CN 116185357 A CN116185357 A CN 116185357A
- Authority
- CN
- China
- Prior art keywords
- model
- meta
- metamodel
- file
- template
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
- G06F8/24—Object-oriented
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/31—Programming languages or programming paradigms
- G06F8/316—Aspect-oriented programming techniques
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/35—Creation or generation of source code model driven
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/40—Transformation of program code
- G06F8/41—Compilation
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Stored Programmes (AREA)
Abstract
一种基于多架构建模语言的元模型构建方法,包括:获取设置的元模型ID和元模型类型;根据所述元模型ID和元模型类型,调用对应的元模型模板,生成对应的初始元模型文件;获取设置的元模型信息;识别所述元模型信息,基于多架构建模语言规范,生成对应规范,添加到所述初始元模型文件;调用并编译所述初始元模型文件,整合生成图形化元模型。本发明基于多架构建模语言将所有构建出来的元模型元素进行统一描述及表达,实现特定域元模型的高效建模,在GOPPRR构建元模型方法的基础上,建立图形化建模方式的元模型与多架构建模语言的语义映射关系,提高元模型兼容性和标准性。
A method for constructing a metamodel based on a multi-architecture modeling language, comprising: obtaining a set metamodel ID and a metamodel type; according to the metamodel ID and metamodel type, calling a corresponding metamodel template to generate a corresponding initial metamodel Model file; obtain the set meta-model information; identify the meta-model information, generate a corresponding specification based on the multi-architecture modeling language specification, and add it to the initial meta-model file; call and compile the initial meta-model file, and integrate and generate Graphical metamodel. Based on the multi-architecture modeling language, the present invention uniformly describes and expresses all constructed meta-model elements to realize efficient modeling of specific domain meta-models. The semantic mapping relationship between the model and the multi-architecture modeling language improves the compatibility and standardization of the meta-model.
Description
技术领域Technical Field
本发明属于计算机技术领域,具体地说,涉及一种基于多架构建模语言的元模型构建方法、装置及系统。The present invention belongs to the field of computer technology, and in particular, relates to a metamodel construction method, device and system based on a multi-architecture modeling language.
背景技术Background Art
元模型是关于模型的模型,是针对某种特定领域或其特定问题而定义的通过建模语言构建的模型。构建特定领域元模型的方法现有技术主要有三种,其中的两种方法是从现有建模语言的基础上扩展而来。(1)在同领域已经存在的元模型基础上进行细化,从而将通用的概念细化为具体的概念;(2)在某种通用的,与领域无关的建模语言的基础上进行扩展,定义特定领域相关概念;(3)全新定义一种建模语言,进行元模型构建。这三种方法中,第三种方法是用最直接、最简单的方式来表达领域特定概念,但是全新开始定义建模语言是一件特别困难的事情,其中包含了很复杂的语义。第一种方法相比较来说是最实用、最经济的建模方式,但是由于基础语言语义会使得目录服务标记(DSML)的表达能力降低。所以在通常情况下,现有技术大部分采取的都是第二种方法,如在现有的通用建模语言SysML的基础上进行扩展,从而定义复杂装备的特定领域元模型,其模型构建过程主要包括以下四个步骤:Metamodel is a model about models. It is a model defined for a specific domain or its specific problem and constructed by a modeling language. There are three main existing methods for constructing domain-specific metamodels. Two of them are extended from existing modeling languages. (1) Refinement based on the existing metamodel in the same domain, thereby refining general concepts into specific concepts; (2) Extension based on a general, domain-independent modeling language to define domain-specific related concepts; (3) Define a new modeling language to construct a metamodel. Among these three methods, the third method is to express domain-specific concepts in the most direct and simple way, but it is particularly difficult to define a modeling language from scratch, as it contains very complex semantics. The first method is relatively the most practical and economical modeling method, but the semantics of the basic language will reduce the expressive power of the Directory Service Markup (DSML). Therefore, in general, most of the existing technologies adopt the second method, such as extension based on the existing general modeling language SysML to define a domain-specific metamodel for complex equipment. The model construction process mainly includes the following four steps:
(1)、针对复杂装备的相关领域知识进行提取,如涉及到的任务环境,识别其中涉及到的概念、关系、接口等语义内容;(1) Extract relevant domain knowledge of complex equipment, such as the mission environment involved, and identify the semantic content such as concepts, relationships, interfaces, etc. involved;
(2)、定义抽象语法,使用模型驱动架构MOF,以形式化的方式定义上述概念的抽象语法、语义;(2) Define abstract syntax and use the model-driven architecture (MOF) to formally define the abstract syntax and semantics of the above concepts.
(3)、定义具体语法、语义,在通用的系统建模语言SysML的基础上进行扩展,基于抽象语法对每个元模型元素定义相应的表示方法和符号作为其具体语法,从而在建模过程中对其进行使用;(3) Define specific syntax and semantics, expand on the general system modeling language SysML, and define corresponding representation methods and symbols for each metamodel element as its specific syntax based on the abstract syntax, so that it can be used in the modeling process;
对构建出来的元模型进行语义描述,其目的是将元模型中的相关元素的语义及使用方法进行说明,形成图形化语言规范。The purpose of semantically describing the constructed metamodel is to explain the semantics and usage of the relevant elements in the metamodel and form a graphical language specification.
上述现有技术这种通过MOF的定义,针对新的领域和需要,定义新的元模型的方式,虽然能够很好的适应目标领域,但是新定义的元模型兼容性差,只能通过已有UM L/SysML平台进行功能扩展,资源代价比较高。而且新定义出来的元模型不具有标准性,不利于和其他领域的模型进行数据交换。The above-mentioned prior art defines a new metamodel for new fields and needs through the definition of MOF. Although it can adapt well to the target field, the newly defined metamodel has poor compatibility and can only be expanded through the existing UM L/SysML platform, with high resource costs. Moreover, the newly defined metamodel is not standardized and is not conducive to data exchange with models in other fields.
发明内容Summary of the invention
针对上述现有技术存在的问题,本发明提供一种基于多架构建模语言的元模型构建方法、装置及系统。In view of the problems existing in the above-mentioned prior art, the present invention provides a meta-model construction method, device and system based on a multi-architecture modeling language.
本发明采用如下的技术方案:The present invention adopts the following technical solution:
第一方面,一种基于多架构建模语言的元模型构建方法,包括:In a first aspect, a metamodel construction method based on a multi-architecture modeling language includes:
获取设置的元模型ID和元模型类型;Get the set metamodel ID and metamodel type;
根据所述元模型ID和元模型类型,调用对应的元模型模板,生成对应的初始元模型文件;According to the metamodel ID and metamodel type, the corresponding metamodel template is called to generate the corresponding initial metamodel file;
获取设置的元模型信息;Get the set metamodel information;
识别所述元模型信息,基于多架构建模语言规范,生成对应规范,添加到所述初始元模型文件;Identify the metamodel information, generate corresponding specifications based on the multi-architecture modeling language specification, and add the specifications to the initial metamodel file;
调用并编译所述初始元模型文件,整合生成图形化元模型。The initial metamodel file is called and compiled to integrate and generate a graphical metamodel.
进一步,所述获取设置的元模型ID和元模型类型,通过交互界面录入获取,或通过交互界面提供可选项选择获取。Furthermore, the metamodel ID and metamodel type that are set are obtained by inputting them through an interactive interface, or by providing optional options through the interactive interface.
进一步,设置模型模板库存储预置的元模型模板。Furthermore, a model template library is set to store preset meta-model templates.
进一步,所述预置的模型模板至少包括GOPPRR六类元模型模板,即图元模型模板,对象元模型模板,点元模型模板,属性元模型模板,关系元模型模板,角色元模型模板。Furthermore, the preset model templates include at least six types of meta-model templates of GOPPRR, namely, graph meta-model template, object meta-model template, point meta-model template, attribute meta-model template, relationship meta-model template, and role meta-model template.
进一步,识别所述元模型信息,基于多架构建模语言规范,生成对应规范,包括:根据所述图元模型模板,基于识别的所述元模型信息,生成对应的图元模型规范文件,添加到所述初始元模型文件;根据所述对象元模型模板,基于识别的所述元模型信息,生成对应的对象元模型规范文件,添加到所述初始元模型文件;根据所述点元模型模板,基于识别的所述元模型信息,生成对应的点元模型规范文件,添加到所述初始元模型文件;根据所述属性元模型模板,基于识别的所述元模型信息,生成对应的属性元模型规范文件,添加到所述初始元模型文件;根据所述关系元模型模板,基于识别的所述元模型信息,生成对应的关系元模型规范文件,添加到所述初始元模型文件;根据所述角色元模型模板,基于识别的所述元模型信息,生成对应的角色元模型规范文件,添加到所述初始元模型文件。Further, the metamodel information is identified, and corresponding specifications are generated based on the multi-architecture modeling language specification, including: according to the graph metamodel template, based on the identified metamodel information, a corresponding graph metamodel specification file is generated, and added to the initial metamodel file; according to the object metamodel template, based on the identified metamodel information, a corresponding object metamodel specification file is generated, and added to the initial metamodel file; according to the point metamodel template, based on the identified metamodel information, a corresponding point metamodel specification file is generated, and added to the initial metamodel file; according to the attribute metamodel template, based on the identified metamodel information, a corresponding attribute metamodel specification file is generated, and added to the initial metamodel file; according to the relationship metamodel template, based on the identified metamodel information, a corresponding relationship metamodel specification file is generated, and added to the initial metamodel file; according to the role metamodel template, based on the identified metamodel information, a corresponding role metamodel specification file is generated, and added to the initial metamodel file.
进一步,调用并编译所述初始元模型文件,整合生成图形化元模型,包括:编译所述图元模型规范文件,根据其中的信息,调用并编译所述对象元模型规范文件、点元模型规范文件、属性元模型规范文件、关系元模型规范文件、角色元模型规范文件,整合编译的所有模型规范文件,生成特定领域的所述图形化元模型。Further, the initial metamodel file is called and compiled to integrate and generate a graphical metamodel, including: compiling the graphic metamodel specification file, and based on the information therein, calling and compiling the object metamodel specification file, the point metamodel specification file, the attribute metamodel specification file, the relationship metamodel specification file, and the role metamodel specification file, integrating all the compiled model specification files to generate the graphical metamodel of the specific field.
进一步,所述图元模型模板包括元模型类型、元模型ID、绑定、名称和描述;所述对象元模型模板包含元模型ID、名称、描述和固定语法;所述点元模型模板包含模型ID、名称、描述和固定语法;所述属性元模型模板包含数据类型、模型ID、名称、单位和描述;所述关系元模型模板包含模型ID、名称、描述和固定语法;所述角色元模型模板包含方向、模型ID、名称、描述和固定语法。Furthermore, the graph metamodel template includes metamodel type, metamodel ID, binding, name and description; the object metamodel template includes metamodel ID, name, description and fixed syntax; the point metamodel template includes model ID, name, description and fixed syntax; the attribute metamodel template includes data type, model ID, name, unit and description; the relationship metamodel template includes model ID, name, description and fixed syntax; the role metamodel template includes direction, model ID, name, description and fixed syntax.
第二方面,一种基于多架构建模语言的元模型构建装置,包括:In a second aspect, a metamodel construction device based on a multi-architecture modeling language includes:
获取模块,用于获取设置的元模型ID和元模型类型;The acquisition module is used to obtain the set metamodel ID and metamodel type;
调用模块,用于根据所述元模型ID和元模型类型,调用对应的元模型模板,生成对应的初始元模型文件;A calling module, used to call the corresponding metamodel template according to the metamodel ID and metamodel type, and generate the corresponding initial metamodel file;
所述获取模块,还用于获取设置的元模型信息;The acquisition module is also used to acquire the set metamodel information;
生成模块,用于识别所述元模型信息,基于多架构建模语言规范,生成对应规范,添加到所述初始元模型文件;A generation module, used for identifying the metamodel information, generating corresponding specifications based on the multi-architecture modeling language specification, and adding the specifications to the initial metamodel file;
所述生成模块,还用于调用并编译所述初始元模型文件,整合生成图形化元模型。The generation module is also used to call and compile the initial meta-model file, and integrate and generate the graphical meta-model.
第三方面,一种基于多架构建模语言的元模型构建系统,所述系统包括:In a third aspect, a metamodel construction system based on a multi-architecture modeling language is provided, the system comprising:
一个或多个处理器;one or more processors;
存储装置,用于存储一个或多个程序;A storage device for storing one or more programs;
当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现上述一种基于多架构建模语言的元模型构建方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the above-mentioned metamodel construction method based on a multi-architecture modeling language.
第四方面,一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述一种基于多架构建模语言的元模型构建方法。In a fourth aspect, a computer-readable storage medium stores a computer program, which, when executed by a processor, implements the above-mentioned metamodel construction method based on a multi-architecture modeling language.
有益效果Beneficial Effects
相比于现有技术,本发明的有益效果为:提供一种基于多架构建模语言的元模型构建方法,包括:获取设置的元模型ID和元模型类型;根据所述元模型ID和元模型类型,调用对应的元模型模板,生成对应的初始元模型文件;获取设置的元模型信息;识别所述元模型信息,基于多架构建模语言规范,生成对应规范,添加到所述初始元模型文件;调用并编译所述初始元模型文件,整合生成图形化元模型。针对设计人员在复杂装备分析到架构设计过程中,多学科、多物理量、多行为和多形态演变等特性导致装备功能抽象层级描述、分解模糊以及数据流交互不清晰的问题,利用该基于多架构建模语言的元模型构建方法,对复杂产品问题域进行分析,构建复杂装备全周期、全要素、全领域研发信息的特定域元模型,并基于多架构建模语言将所有构建出来的元模型元素进行统一描述及表达,实现特定域元模型的高效建模,在GOPPRR构建元模型方法的基础上,建立图形化建模方式的元模型与多架构建模语言的语义映射关系,提高元模型兼容性,标准型。Compared with the prior art, the beneficial effects of the present invention are: providing a metamodel construction method based on a multi-architecture modeling language, including: obtaining a set metamodel ID and metamodel type; calling a corresponding metamodel template according to the metamodel ID and metamodel type, and generating a corresponding initial metamodel file; obtaining set metamodel information; identifying the metamodel information, generating a corresponding specification based on a multi-architecture modeling language specification, and adding it to the initial metamodel file; calling and compiling the initial metamodel file, and integrating to generate a graphical metamodel. In order to solve the problems of unclear hierarchical description, fuzzy decomposition and unclear data flow interaction of equipment functions caused by multi-disciplinary, multi-physical quantity, multi-behavior and multi-morphological evolution in the process of complex equipment analysis to architecture design, this metamodel construction method based on multi-architecture modeling language is used to analyze the complex product problem domain, and construct a specific domain metamodel of the full cycle, all elements and all-field R&D information of complex equipment. All the constructed metamodel elements are uniformly described and expressed based on the multi-architecture modeling language to achieve efficient modeling of specific domain metamodels. On the basis of the GOPPRR metamodel construction method, the semantic mapping relationship between the metamodel of graphical modeling method and the multi-architecture modeling language is established to improve the compatibility and standardization of metamodels.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为本发明的一种基于多架构建模语言的元模型构建流程图;FIG1 is a flow chart of building a metamodel based on a multi-architecture modeling language according to the present invention;
图2为本发明的一种基于多架构建模语言的元模型构建装置的结构图;FIG2 is a structural diagram of a metamodel building device based on a multi-architecture modeling language according to the present invention;
图3为本发明中一种基于多架构建模语言的元模型构建方法所运行环境的实施例提供的电子设备系统的结构图;FIG3 is a structural diagram of an electronic device system provided by an embodiment of an operating environment of a meta-model building method based on a multi-architecture modeling language in the present invention;
图4为本发明中一种基于多架构建模语言的元模型构建方法所运行环境的实施例提供的计算机可读存储介质的结构图;FIG4 is a structural diagram of a computer-readable storage medium provided by an embodiment of an operating environment of a meta-model building method based on a multi-architecture modeling language in the present invention;
图5为本发明的一种基于多架构建模语言的元模型构建中模型库示例图;FIG5 is an example diagram of a model library in a metamodel construction based on a multi-architecture modeling language according to the present invention;
图6本发明的一种基于多架构建模语言的元模型构建中调用并编译的具体步骤;FIG6 is a specific step of calling and compiling in constructing a metamodel based on a multi-architecture modeling language according to the present invention;
图7示意了在一个实施例中,编译图元模型的示例,设置对象与关系;FIG. 7 illustrates an example of compiling a graph model and setting objects and relationships in one embodiment;
图8示意了在一个实施例中,在屏幕左侧metaObject对象元模型文件中,从屏幕右侧获取属性ID等;FIG8 illustrates, in one embodiment, obtaining attribute IDs, etc. from the metaObject object metamodel file on the left side of the screen from the right side of the screen;
图9示意了在一个实施例中,步骤S56的具体界面;FIG9 illustrates a specific interface of step S56 in one embodiment;
图10示意了在一个实施例中,步骤S57中设置对象的分解的示意性界面;FIG. 10 illustrates a schematic interface for setting the decomposition of an object in step S57 in one embodiment;
图11示意了在一个实施例中,整合生成的图元模型文件的信息。FIG. 11 illustrates information of an integrated generated primitive model file in one embodiment.
具体实施方式DETAILED DESCRIPTION
下面结合具体实施例对本发明进一步进行描述。The present invention is further described below in conjunction with specific embodiments.
本文所使用的术语“包括”和“包含”应被理解为包含性的和开放式的,而不具有排他性。具体而言,当在说明书和权利要求书中使用术语“包括”和“包含”及其同义词时,是表示包括指定的特征、步骤或组成部分。这些术语不能被理解为排除其他特征、步骤或组成部分的存在。The terms "include" and "comprising" used herein should be understood as inclusive and open-ended, rather than exclusive. Specifically, when the terms "include" and "comprising" and their synonyms are used in the specification and claims, they mean including the specified features, steps or components. These terms cannot be understood to exclude the existence of other features, steps or components.
一方面,在一个实施例中,本发明提供基于多架构建模语言的元模型构建方法,如图1所示,所述方法包括:On the one hand, in one embodiment, the present invention provides a metamodel construction method based on a multi-architecture modeling language, as shown in FIG1 , the method comprising:
S1:获取设置的元模型ID和元模型类型。在一个实施例中,提供图形化操作界面,通过此图形化操作界面录入元模型ID和元模型类型。S1: Obtaining the set metamodel ID and metamodel type. In one embodiment, a graphical operation interface is provided, through which the metamodel ID and metamodel type are input.
在一个实施例中,提供图形化操作界面,通过此图形化交互界面提供可选项选择获取元模型ID和元模型类型,例如下拉菜单项。In one embodiment, a graphical operation interface is provided, through which optional options are provided to select and obtain the metamodel ID and the metamodel type, such as a drop-down menu item.
在一个实施例中,通过输入文本,自动识别获取元模型ID和元模型类型。设置获取元模型ID和元模型类型的具体方式不做限定。In one embodiment, the metamodel ID and metamodel type are automatically identified and obtained by inputting text. The specific method of setting the metamodel ID and metamodel type is not limited.
S2:根据所述元模型ID和元模型类型,调用对应的元模型模板,生成对应的初始元模型文件。S2: According to the metamodel ID and metamodel type, the corresponding metamodel template is called to generate a corresponding initial metamodel file.
在一个实施例中,设置模型模板库存储预置的元模型模板。所述预置的模型模板至少包括GOPPRR六类元模型模板,即图元模型模板,对象元模型模板,点元模型模板,属性元模型模板,关系元模型模板,角色元模型模板。In one embodiment, a model template library is set to store preset meta-model templates. The preset model templates include at least six types of meta-model templates of GOPPRR, namely, graph meta-model template, object meta-model template, point meta-model template, attribute meta-model template, relationship meta-model template, and role meta-model template.
其中,GOPPRR为一种元元模型概念,GOPPRR元元模型分为6种,包括图、对象、属性、点、关系、角色,具体:图(graph):图由其他5种元素组合而成,在一个框内对系统进行描述;对象(object):模型中的基本元素,可以单独存在,也可以与其他对象链接;属性(property):不能单独存在,附属到其他元元模型用于表示其特性;点(port):通常附属到对象上,表示对象连接的端口;角色(role):在关系的两端,连接对象,表示对象以何种方式或身份进行连接;关系(relationship):关系通过角色与对象进行连接,表示对象之间的交互方式。根据上述元元模型,创建上述六类元模型模板,即图元模型模板,对象元模型模板,点元模型模板,属性元模型模板,关系元模型模板,角色元模型模板。Among them, GOPPRR is a meta-metamodel concept. The GOPPRR meta-metamodel is divided into 6 types, including graph, object, attribute, node, relationship, and role. Specifically: Graph: The graph is composed of the other 5 elements and describes the system in a box; Object: The basic element in the model, which can exist alone or be linked to other objects; Property: It cannot exist alone and is attached to other meta-metamodels to represent its characteristics; Port: Usually attached to an object, indicating the port where the object is connected; Role: At both ends of the relationship, it connects objects and indicates how or who the objects are connected; Relationship: The relationship is connected to the object through the role, indicating the interaction between objects. According to the above meta-metamodel, the above six types of metamodel templates are created, namely, graph metamodel template, object metamodel template, node metamodel template, attribute metamodel template, relationship metamodel template, and role metamodel template.
在一个实施例中,(1)图元模型模板包含元模型类型、ID、绑定、名称和描述,其中ID为获取到的也是该图元模型文件的名称,其他值为空。图元模型模板详细如下所示:In one embodiment, (1) the metamodel template includes the metamodel type, ID, binding, name and description, where the ID is the name of the metamodel file obtained, and the other values are empty. The metamodel template is detailed as follows:
(2)对象元模型模板包含ID、名称、描述和固定语法,其中ID为获取到的也是该对象元模型文件的名称,固定语法默认值为矩形,其他值为空。对象元模型模板如下所示:(2) The object metamodel template contains ID, name, description and fixed syntax, where ID is the name of the object metamodel file obtained, the default value of the fixed syntax is rectangle, and other values are empty. The object metamodel template is as follows:
(3)点元模型模板包含ID、名称、描述和固定语法,其中ID为获取到的也是该点元模型文件的名称,固定语法默认值为圆,其他值为空。点元模型模板如下所示:(3) The point metamodel template contains ID, name, description and fixed syntax, where ID is the name of the point metamodel file obtained, the default value of the fixed syntax is circle, and other values are empty. The point metamodel template is as follows:
(4)属性元模型模板包含数据类型、ID、名称、单位和描述,其中数据类型默认值为字符串,单位只有整型和实数才能进行设置所以默认值给的为“null“,其他值为空。属性元模型模板如下所示:(4) The attribute metamodel template contains data type, ID, name, unit and description. The default value of data type is string. Only integer and real number can be set as unit, so the default value is "null". Other values are empty. The attribute metamodel template is as follows:
StringPropertyIDannotation(localLabel="",unit="null",description="");StringPropertyIDannotation(localLabel="",unit="null",description="");
(5)关系元模型模板包含ID、名称、描述和固定语法,其中固定语法默认值为加粗实线,其他值为空。关系元模型模板如下所示:(5) The relational metamodel template contains ID, name, description and fixed syntax, where the default value of the fixed syntax is a bold solid line and other values are empty. The relational metamodel template is as follows:
(6)角色元模型模板包含方向、ID、名称、描述和固定语法,其中固定语法默认值为圆环,方向为输入,其他值为空。角色元模型模板如下所示:(6) The role metamodel template contains direction, ID, name, description and fixed syntax, where the default value of the fixed syntax is a circle, the direction is input, and other values are empty. The role metamodel template is as follows:
在一个实施例中,获取相关人员定义的元模型ID和类型,调用不同类型的元模型模板,生成对应元模型文件,使得相关人员可以基于元模型模板进一步设置元模型的其他信息。In one embodiment, the metamodel ID and type defined by relevant personnel are obtained, different types of metamodel templates are called, and corresponding metamodel files are generated, so that relevant personnel can further set other information of the metamodel based on the metamodel template.
S3:获取设置的元模型信息。S3: Get the set metamodel information.
在一个实施例中,提供图形化操作界面,通过此图形化交互界面获取设置所需的元模型信息。In one embodiment, a graphical operation interface is provided, through which the meta-model information required for setting is obtained.
在一个实施例中,提供同一个图形化操作界面获取元模型ID和类型数据和所述所需的元模型信息。In one embodiment, a same graphical operation interface is provided to obtain the metamodel ID and type data and the required metamodel information.
在一个实施例中,通过不同的获取方式获取元模型ID和类型数据和所述所需的元模型信息。In one embodiment, the metamodel ID and type data and the required metamodel information are acquired through different acquisition methods.
S4:识别所述元模型信息,基于多架构建模语言规范,生成对应规范,添加到所述初始元模型文件。S4: Identify the metamodel information, generate corresponding specifications based on the multi-architecture modeling language specification, and add them to the initial metamodel file.
在一个实施例中,具体包括:In one embodiment, it specifically includes:
根据所述图元模型模板,基于识别的所述元模型信息,生成对应的图元模型规范文件,添加到所述初始元模型文件;According to the graphic meta-model template, based on the identified meta-model information, a corresponding graphic meta-model specification file is generated and added to the initial meta-model file;
根据所述对象元模型模板,基于识别的所述元模型信息,生成对应的对象元模型规范文件,添加到所述初始元模型文件;According to the object metamodel template, based on the identified metamodel information, generating a corresponding object metamodel specification file, and adding it to the initial metamodel file;
根据所述点元模型模板,基于识别的所述元模型信息,生成对应的点元模型规范文件,添加到所述初始元模型文件;According to the point metamodel template, based on the identified metamodel information, generating a corresponding point metamodel specification file, and adding it to the initial metamodel file;
根据所述属性元模型模板,基于识别的所述元模型信息,生成对应的属性元模型规范文件,添加到所述初始元模型文件;According to the attribute metamodel template, based on the identified metamodel information, a corresponding attribute metamodel specification file is generated and added to the initial metamodel file;
根据所述关系元模型模板,基于识别的所述元模型信息,生成对应的关系元模型规范文件,添加到所述初始元模型文件;According to the relational metamodel template, based on the identified metamodel information, generating a corresponding relational metamodel specification file, and adding it to the initial metamodel file;
根据所述角色元模型模板,基于识别的所述元模型信息,生成对应的角色元模型规范文件,添加到所述初始元模型文件。According to the role metamodel template, based on the identified metamodel information, a corresponding role metamodel specification file is generated and added to the initial metamodel file.
图5为本发明的一种基于多架构建模语言的元模型构建中模型库示例图。FIG5 is an example diagram of a model library in a metamodel construction based on a multi-architecture modeling language according to the present invention.
在一个实施例中,如图5所示,所述图元模型模板包括元模型类型、元模型ID、绑定、名称和描述;所述对象元模型模板包含元模型ID、名称、描述和固定语法;所述点元模型模板包含模型ID、名称、描述和固定语法;所述属性元模型模板包含数据类型、模型ID、名称、单位和描述;所述关系元模型模板包含模型ID、名称、描述和固定语法;所述角色元模型模板包含方向、模型ID、名称、描述和固定语法。In one embodiment, as shown in Figure 5, the graph metamodel template includes metamodel type, metamodel ID, binding, name and description; the object metamodel template includes metamodel ID, name, description and fixed syntax; the point metamodel template includes model ID, name, description and fixed syntax; the attribute metamodel template includes data type, model ID, name, unit and description; the relationship metamodel template includes model ID, name, description and fixed syntax; the role metamodel template includes direction, model ID, name, description and fixed syntax.
1)、基于属性元模型模板,从获取的元模型信息中识别属性元模型建立所需信息,生成对应规范文件,将其保存到所述初始元模型文件中,其主要步骤如下:1) Based on the attribute metamodel template, identify the information required for establishing the attribute metamodel from the acquired metamodel information, generate a corresponding specification file, and save it to the initial metamodel file. The main steps are as follows:
(1)识别属性元模型的名称;(1) Identify the name of the attribute metamodel;
(2)识别属性元模型的数据类型,如整型、布尔、实数和枚举等;(2) Identify the data types of the attribute metamodel, such as integer, Boolean, real number, and enumeration;
(3)识别该属性的单位;(3) Identify the unit of the attribute;
(4)识别属性的描述文本。(4) Descriptive text of the identification attribute.
2)、基于角色元模型模板,从获取的元模型信息中识别角色元模型建立所需信息,生成对应规范文件,将其保存到所述初始元模型文件中。其构建步骤如下:·2) Based on the role metamodel template, identify the information required to establish the role metamodel from the acquired metamodel information, generate a corresponding specification file, and save it to the initial metamodel file. The construction steps are as follows:
(1)识别角色元模型的名称;(1) Identify the name of the role metamodel;
(2)识别角色元模型的描述文本;(2) Identify the descriptive text of the role metamodel;
(3)识别角色元模型的方向,其方向是相对于关系来说的,包含始端和终端;(3) Identify the direction of the role metamodel, which is relative to the relationship and includes the beginning and the end;
(4)识别角色元模型的固定语法(4) Identify the fixed syntax of the role metamodel
(5)识别角色元模型的属性。(5) Identify the attributes of the role metamodel.
3)、基于点元模型模板,从获取的元模型信息中识别点元模型建立所需信息,生成对应规范文件,将其保存到所述初始元模型文件中。其主要步骤如下;3) Based on the point metamodel template, identify the information required for establishing the point metamodel from the acquired metamodel information, generate a corresponding specification file, and save it to the initial metamodel file. The main steps are as follows;
(1)识别点元模型的名称;(1) Identify the name of the point metamodel;
(2)识别点元模型的描述文本;(2) Description text of the identification point metamodel;
(3)识别点元模型的固定语法;(3) a fixed grammar for the identification point metamodel;
(4)识别点元模型的属性。(4) Identify the attributes of the point meta-model.
4)、基于对象元模型模板,从获取的元模型信息中识别对象元模型建立所需信息,生成对应规范文件,将其保存到所述初始元模型文件中。其主要步骤如下:4) Based on the object metamodel template, identify the information required for establishing the object metamodel from the acquired metamodel information, generate a corresponding specification file, and save it to the initial metamodel file. The main steps are as follows:
(1)识别对象元模型的名称;(1) Identify the name of the object metamodel;
(2)识别对象元模型的描述文本;(2) Identify the descriptive text of the object metamodel;
(3)识别对象元模型的固定语法;(3) Identify the fixed syntax of the object metamodel;
(4)识别对象元模型的点,将定义好的点元模型设置在对象元模型上时需要选择点的方向,与角色的方向不同,点的方向是相对于对象来说的,其方向包含三种:输入、输出和无向;(4) Identify the points of the object metamodel. When setting the defined point metamodel on the object metamodel, it is necessary to select the direction of the point. Unlike the direction of the role, the direction of the point is relative to the object. There are three types of directions: input, output, and undirected.
(5)识别对象元模型的属性。(5) Identify the attributes of the object metamodel.
5)、基于关系元模型模板,从获取的元模型信息中识别属性关系模型建立所需信息,生成对应规范文件,将其保存到所述初始元模型文件中。其主要步骤如下:5) Based on the relational metamodel template, identify the required information for establishing the attribute relational model from the acquired metamodel information, generate a corresponding specification file, and save it to the initial metamodel file. The main steps are as follows:
(1)识别关系元模型名称;(1) Identify the name of the relational metamodel;
(2)识别关系元模型的描述文本;(2) Identify the descriptive text of the relational metamodel;
(3)识别关系元模型的固定语法;(3) Identify the fixed syntax of the relational metamodel;
(4)识别关系元模型的属性;(4) Identify the attributes of the relational metamodel;
(5)识别关系元模型的角色,该步骤将角色元模型设置到关系元模型,一个关系元模型想要进行实例化模型构建,需要至少包含一个始端角色和一个终端角色,在这里定义时可以定义多个始端跟多个终端,但是实例化后关系的两端角色是唯一的。(5) Identify the roles of the relational metamodel. This step sets the role metamodel to the relational metamodel. If a relational metamodel is to be instantiated, it must contain at least one start role and one end role. Multiple start and end roles can be defined here, but the roles at both ends of the relationship are unique after instantiation.
6)、基于图元模型模板,从获取的元模型信息中识别图元模型建立所需信息,生成对应规范文件,将其保存到所述初始元模型文件中。其构建步骤如下:6) Based on the meta-model template, identify the information required for establishing the meta-model from the acquired meta-model information, generate a corresponding specification file, and save it to the initial meta-model file. The construction steps are as follows:
(1)识别图元模型名称;(1) Identify the name of the graphic element model;
(2)识别图元模型的描述文本;(2) Identify the description text of the primitive model;
(3)识别图元模型的属性,该步骤可以将定义好的属性元模型设置到图元模型;(3) Identifying the attributes of the graph meta-model. This step can set the defined attribute meta-model to the graph meta-model;
(4)识别图元模型的对象;(4) Identify objects in the graph model;
(5)识别图元模型的关系;(5) Identify relationships between graph primitives;
(6)识别图元模型的绑定,其作用是在图形化的建模语言当中定义关系的始端和终端分别能连接哪些对象和关系。在定义的过程中对于对象上的点来说,对象的输出点只能绑定关系的始端,输入点只能绑定关系的终端。在该图元模型定义绑定关系后,才能在实例化的模型中进行连接;(6) Identify the binding of the graph model. Its function is to define which objects and relationships can be connected to the beginning and end of the relationship in the graphical modeling language. In the definition process, for the points on the object, the output point of the object can only be bound to the beginning of the relationship, and the input point can only be bound to the end of the relationship. After the binding relationship is defined in the graph model, it can be connected in the instantiated model;
(7)识别图元模型中对象的分解;(7) Identify the decomposition of objects in the primitive model;
(8)识别图元模型中对象的剖视。(8) Identify the cross-section of objects in the graphic model.
S5:调用并编译所述初始元模型文件,整合生成图形化元模型。S5: calling and compiling the initial metamodel file, integrating and generating a graphical metamodel.
在一个实施例中,调用并编译所述初始元模型文件,整合生成图形化元模型,包括:编译所述图元模型规范文件,根据其中的信息,调用并编译所述对象元模型规范文件、点元模型规范文件、属性元模型规范文件、关系元模型规范文件、角色元模型规范文件,整合编译的所有模型规范文件,生成特定领域的所述图形化元模型。In one embodiment, the initial metamodel file is called and compiled to integrate and generate a graphical metamodel, including: compiling the graphic metamodel specification file, calling and compiling the object metamodel specification file, the point metamodel specification file, the attribute metamodel specification file, the relationship metamodel specification file, and the role metamodel specification file based on the information therein, integrating all the compiled model specification files to generate the graphical metamodel of the specific field.
图6本发明的一种基于多架构建模语言的元模型构建中调用并编译的具体步骤。FIG6 shows the specific steps of calling and compiling in constructing a metamodel based on a multi-architecture modeling language according to the present invention.
在一个实施例中,如图6所示,S5调用并编译所述初始元模型文件,整合生成图形化元模型具体包括:In one embodiment, as shown in FIG6 , S5 calls and compiles the initial metamodel file, and integrates and generates a graphical metamodel, specifically including:
S51:编译图元模型,并获取所述编译图元模型中的属性ID、对象ID和关系ID;S51: compile a graph primitive model, and obtain an attribute ID, an object ID, and a relationship ID in the compiled graph primitive model;
如图7所示,示意了在一个实施例中,编译图元模型的示例,设置对象与关系。As shown in FIG. 7 , an example of compiling a graph primitive model and setting objects and relationships is illustrated in one embodiment.
S52:依据获取的对象ID,编译对象元模型,并获取所述对象元模型中的属性ID和点ID;S52: compile the object metamodel according to the acquired object ID, and acquire the attribute ID and the point ID in the object metamodel;
如图8所示,示意了在一个实施例中,在屏幕左侧metaObject对象元模型文件中,从屏幕右侧获取点ID等。As shown in FIG. 8 , it is illustrated that in one embodiment, in the metaObject object metamodel file on the left side of the screen, the point ID and the like are obtained from the right side of the screen.
S53:依据获取的点ID,编译点元模型,并获取所述点元模型中的属性ID;S53: compile a point meta-model according to the obtained point ID, and obtain an attribute ID in the point meta-model;
S54:依据获取的关系ID,编译关系元模型,同时获取所述关系元模型中的属性ID和角色ID;S54: compile a relational metamodel based on the acquired relational ID, and simultaneously acquire an attribute ID and a role ID in the relational metamodel;
S55:依据获取的角色ID,编译角色元模型,并获取所述角色元模型中的属性ID;S55: compile the role meta-model according to the obtained role ID, and obtain the attribute ID in the role meta-model;
S56:依据图元模型中的绑定设置,生成图形化建模语言的绑定规则;S56: generating binding rules of a graphical modeling language according to the binding settings in the graphic element model;
如图9所示,示意了在一个实施例中,在屏幕左侧“图元模型”文件中,从屏幕右侧获取到绑定规则“bindconnector”(也称作连接规则)。As shown in FIG. 9 , it is illustrated that in one embodiment, in the “element model” file on the left side of the screen, the binding rule “bindconnector” (also called connection rule) is obtained from the right side of the screen.
S57:依据图元模型中对象的分解及剖视设置,生成对象的分解及剖视规则;S57: generating object decomposition and sectioning rules according to the decomposition and sectioning settings of the object in the graphic element model;
如图10所示,示意了在一个实施例中,设置对象的分解。FIG. 10 shows the decomposition of setting objects in one embodiment.
S58:依据所编译的图元模型、对象元模型、关系元模型、点元模型和角色元模型等五个元模型所获取的属性ID,编译属性元模型;S58: compile an attribute metamodel based on the attribute IDs obtained from the compiled five metamodels, namely, the graph metamodel, the object metamodel, the relationship metamodel, the node metamodel, and the role metamodel;
S59:依据以上步骤S51~S58编译得到的所有信息,整合生成图形化建模语言。S59: Integrate and generate a graphical modeling language based on all the information compiled in the above steps S51 to S58.
如图11所示,示意了在一个实施例中,整合生成的图元模型文件的信息。As shown in FIG. 11 , it illustrates information of an integrated generated primitive model file in one embodiment.
以上步骤执行先后逻辑关系请参见图6流程图。Please refer to the flowchart in Figure 6 for the logical relationship of the execution sequence of the above steps.
另一方面,在一个实施例中,本发明提供一种基于多架构建模语言的元模型构建装置。On the other hand, in one embodiment, the present invention provides a meta-model construction device based on a multi-architecture modeling language.
如图2所示,本发明基于多架构建模语言的元模型构建装置包括:As shown in FIG2 , the metamodel construction device based on the multi-architecture modeling language of the present invention includes:
第一获取模块,用于获取设置的元模型ID和元模型类型;The first acquisition module is used to acquire the set metamodel ID and metamodel type;
调用生成模块,用于根据所述元模型ID和元模型类型,调用对应的元模型模板,生成对应的初始元模型文件;A calling generation module is used to call a corresponding metamodel template according to the metamodel ID and metamodel type to generate a corresponding initial metamodel file;
第一生成模块,用于识别所述元模型信息,基于多架构建模语言规范,生成对应规范,添加到所述初始元模型文件;A first generation module is used to identify the metamodel information, generate a corresponding specification based on a multi-architecture modeling language specification, and add the specification to the initial metamodel file;
第二获取模块,用于获取设置的元模型信息;The second acquisition module is used to acquire the set metamodel information;
整合生成模块,用于调用并编译所述初始元模型文件,整合生成图形化元模型。The integration generation module is used to call and compile the initial meta-model file and integrate and generate a graphical meta-model.
上述装置的功能可以由上文所述基于多架构建模语言的元模型构建方法对应的功能模块来实现,在此不再赘述。The functions of the above-mentioned device can be implemented by the functional modules corresponding to the meta-model construction method based on the multi-architecture modeling language described above, which will not be repeated here.
另一方面,在一个实施例中,请参阅图3,图3为本申请一实施例提供的电子设备的结构图。如图3所示,所述电子设备包括处理器、存储器和总线。On the other hand, in one embodiment, please refer to Figure 3, which is a structural diagram of an electronic device provided in one embodiment of the present application. As shown in Figure 3, the electronic device includes a processor, a memory, and a bus.
所述存储器存储有所述处理器可执行的机器可读指令,当电子设备运行时,所述处理器与所述存储器之间通过总线通信,所述机器可读指令被所述处理器执行时,可以执行如上述图1所示方法实施例中的基于多架构建模语言的元模型构建方法的步骤,具体实现方式可参见方法实施例,在此不再赘述。The memory stores machine-readable instructions executable by the processor. When the electronic device is running, the processor communicates with the memory through a bus. When the machine-readable instructions are executed by the processor, the steps of the metamodel construction method based on the multi-architecture modeling language in the method embodiment shown in Figure 1 above can be executed. The specific implementation method can be found in the method embodiment, which will not be repeated here.
另一方面,在一个实施例中,本申请实施例还提供一种计算机可读存储介质,如图4所示,该计算机可读存储介质上存储有计算机程序,该计算机程序被处理器运行时可以执行如上述图1所示方法实施例中的基于多架构建模语言的元模型构建方法的步骤,具体实现方式可参见方法实施例,在此不再赘述。On the other hand, in one embodiment, the embodiment of the present application also provides a computer-readable storage medium, as shown in Figure 4, on which a computer program is stored. When the computer program is executed by the processor, it can execute the steps of the metamodel construction method based on the multi-architecture modeling language in the method embodiment shown in Figure 1 above. The specific implementation method can be found in the method embodiment, which will not be repeated here.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。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.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,又例如,多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, each functional unit in each embodiment of the present application can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个处理器可执行的非易失的计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-OnlyMemory,ROM)、随机存取存储器(RandomAccessMemory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application can essentially be embodied in the form of a software product, or in other words, the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
最后应说明的是:以上所述实施例,仅为本申请的具体实施方式,用以说明本申请的技术方案,而非对其限制,本申请的保护范围并不局限于此,尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,其依然可以对前述实施例所记载的技术方案进行修改或可轻易想到变化,或者对其中部分技术特征进行等同替换;而这些修改、变化或者替换,并不使相应技术方案的本质脱离本申请实施例技术方案的精神和范围,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应所述以权利要求的保护范围为准。Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit them. The protection scope of the present application is not limited thereto. Although the present application is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed in the present application, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (10)
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211210645 | 2022-09-30 | ||
CN2022112106459 | 2022-09-30 |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116185357A true CN116185357A (en) | 2023-05-30 |
Family
ID=86451549
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211708579.8A Pending CN116185357A (en) | 2022-09-30 | 2022-12-29 | Meta-model construction method, device and system based on multi-architecture modeling language |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116185357A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117807695A (en) * | 2023-12-06 | 2024-04-02 | 北京理工大学 | Undercarriage meta-model construction method and device based on meta-modeling |
CN119990145A (en) * | 2025-04-16 | 2025-05-13 | 北京航空航天大学 | Ontology-based unified description method, device and equipment for heterogeneous modeling language |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113505191A (en) * | 2021-03-26 | 2021-10-15 | 中国航空无线电电子研究所 | Ontology-based avionics system architecture model construction method |
CN113626026A (en) * | 2021-07-21 | 2021-11-09 | 北京理工大学 | Code generation method supporting complex model structure conversion |
CN114896755A (en) * | 2022-03-30 | 2022-08-12 | 北京理工大学 | A Metric Verification Technology Supporting Quantitative Evaluation of Model Attributes |
-
2022
- 2022-12-29 CN CN202211708579.8A patent/CN116185357A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113505191A (en) * | 2021-03-26 | 2021-10-15 | 中国航空无线电电子研究所 | Ontology-based avionics system architecture model construction method |
CN113626026A (en) * | 2021-07-21 | 2021-11-09 | 北京理工大学 | Code generation method supporting complex model structure conversion |
CN114896755A (en) * | 2022-03-30 | 2022-08-12 | 北京理工大学 | A Metric Verification Technology Supporting Quantitative Evaluation of Model Attributes |
Non-Patent Citations (1)
Title |
---|
北京中科蜂巢科技有限公司: "中科蜂巢多架构构建工具MetaGraph2.0用户手册", pages 1 - 296, Retrieved from the Internet <URL:https://download.csdn.net/download/conghualeilei/85646564> * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117807695A (en) * | 2023-12-06 | 2024-04-02 | 北京理工大学 | Undercarriage meta-model construction method and device based on meta-modeling |
CN119990145A (en) * | 2025-04-16 | 2025-05-13 | 北京航空航天大学 | Ontology-based unified description method, device and equipment for heterogeneous modeling language |
CN119990145B (en) * | 2025-04-16 | 2025-09-19 | 北京航空航天大学 | Ontology-based unified description method, device and equipment for heterogeneous modeling language |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112100054B (en) | A program static analysis method and system for data management and control | |
US7505951B2 (en) | Hierarchical state machine generation for interaction management using goal specifications | |
US7975233B2 (en) | Automatic conversion of a textual language into a graphical program representation | |
Haber et al. | Engineering delta modeling languages | |
CN112860263B (en) | A contract defect detection method based on smart contract knowledge graph | |
CN113626026B (en) | Code generation method supporting complex model structure conversion | |
CN116185357A (en) | Meta-model construction method, device and system based on multi-architecture modeling language | |
CN101438244A (en) | Generic interface for deeply embedding expression trees in programming languages | |
CN113342325A (en) | Visual modeling method, system, electronic device and storage medium | |
CN114356964A (en) | Data lineage construction method, device, storage medium and electronic device | |
CN115686487A (en) | Business logic arrangement method and device, electronic equipment and storage medium | |
CN117608656A (en) | Mixed front end frame migration method based on AST and LLM | |
CN118605848A (en) | A method and device for constructing a simulation system based on a neutral simulation language | |
CN111176658B (en) | Automatic conversion method from AADL (architecture analysis and design language) to Simulink model based on meta-object mechanism | |
US12038940B2 (en) | Architecture for data map converters | |
Nytun et al. | Automatic generation of modelling tools | |
CN114791808A (en) | Data flow graph generation method and device | |
CN118860361A (en) | A method for online integration of SQL based on low-code platform | |
Zarrin et al. | An integrated framework to specify domain-specific modeling languages | |
Clavreul et al. | Integrating legacy systems with mde | |
CN115469896A (en) | Complex business application modeling system and method based on low codes | |
Correia et al. | Software Reengineering at the Architectural Level: Transformation of Legacy Systems | |
CN115480755A (en) | Logic structure modeling method, system, electronic device and storage medium | |
Mazairac et al. | BimQL | |
Rath et al. | Declarative specification of domain specific visual languages |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20240308 Address after: Room 1508, 15th Floor, Building 8, East District, No. 9 Linglong Road, Haidian District, Beijing, 100089 Applicant after: Beijing Beehive Intelligent Innovation System Technology Co.,Ltd. Country or region after: China Address before: No. 327, Floor 3, Block C, No. 28, Xinjiekou Outer Street, Xicheng District, Beijing, 100088 Applicant before: Beijing Zhongke honeycomb Technology Co.,Ltd. Country or region before: China |