CN111459472A - Model element visual expression method for MBSE (Multi-Block se) graphical modeling software - Google Patents

Model element visual expression method for MBSE (Multi-Block se) graphical modeling software Download PDF

Info

Publication number
CN111459472A
CN111459472A CN202010251945.6A CN202010251945A CN111459472A CN 111459472 A CN111459472 A CN 111459472A CN 202010251945 A CN202010251945 A CN 202010251945A CN 111459472 A CN111459472 A CN 111459472A
Authority
CN
China
Prior art keywords
attribute
graphic
mbse
modeling software
child
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.)
Granted
Application number
CN202010251945.6A
Other languages
Chinese (zh)
Other versions
CN111459472B (en
Inventor
刘玉生
庾龙鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Huawang System Technology Co ltd
Original Assignee
Hangzhou Huawang System Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Hangzhou Huawang System Technology Co ltd filed Critical Hangzhou Huawang System Technology Co ltd
Priority to CN202010251945.6A priority Critical patent/CN111459472B/en
Publication of CN111459472A publication Critical patent/CN111459472A/en
Application granted granted Critical
Publication of CN111459472B publication Critical patent/CN111459472B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a visual expression method of model elements for MBSE (multi-level template analysis) graphic modeling software, which comprises the following steps of taking an annotation object as an attribute of an UM L DI element, embedding annotation graphic style information into an UM L DI element to enable the UM L DI element to have visual graphic semantics, and enabling the UM L DI element to have hierarchical consistency with the model elements by characterizing the structural relationship organization of a parent and a child.

Description

Model element visual expression method for MBSE (Multi-Block se) graphical modeling software
Technical Field
The invention relates to the field of graphic design of system engineering (MBSE) graphic modeling software based on a model, in particular to a visual expression method of model elements for MBSE graphic modeling software.
Background
With the rapid development of the current social science and technology, a single simple design mode in the past cannot meet the design requirements of the current increasingly complex products, and the complex relationships among subsystems and components in the system cannot be effectively organized to express the mutual relationships. To meet the design requirements of such complex products, a mature set of methodologies, system engineering, is used to design the products.
The model-based system engineering modeling is one of the important tools for designing complex products nowadays, and the systematic model modeling can replace the original document-based product design, so that the design process becomes more scientific and reliable.
However, the model semantics of the system engineering graphical modeling software are extremely complex, and the extremely complex model semantics need to be visually expressed while ensuring that the user can interact more complexly. The visual expression requires that the graph meets certain specifications, and in order to ensure the operation friendliness of the user, a simpler and more convenient interaction means from the graph to the model needs to be provided for the user. Therefore, to realize the visual expression of the system model, a set of controlled graphic elements with model semantics must be realized.
The OMG organization provides a set of referential visualization criteria for this type of modeling platform, namely UM L, UM L DI, and Notation, respectively.
UM L is the core of modeling, represents the core semantic meaning of modeling, and is the basis of SysM L, which is the most widely used modeling language in model-based system modeling at present, when a model file is exported, UM L information is needed, and the model file conforming to UM L standard can interact with other similar modeling platforms.
UM L DI is the subject of UM L visualization and is the most direct graphic element, and each UM L DI element in the OMG standard will correspond to one UM L element, but not each UM L element will correspond to one UM L DI element, the UM L DI element is the direct object of the user's operation when graphically modeling, so it graphically expresses part of the model semantics and is a graphic element with semantic information.
UM L DI has only logical semantic information at the graphical level, and related graphical style information is expressed by Notification, such as graphical position, line style, fill color, font, etc. compared to UM L DI and UM L, which serve system engineering modeling semantics, Notification is universally applicable to various graphical interfaces, therefore, while UM L DI is the graphical basis of UM L, only after being combined with Notification can the visual representation of UM L be really completed.
Disclosure of Invention
The invention aims to provide a visual expression method of model elements for MBSE (multi-component modeling and modeling) graphical modeling software, which solves the problem of how to combine the semantics of the graphical elements and the model elements and realize the visual expression of graphical element controls.
The technical scheme of the invention is as follows:
a visual expression method of model elements for MBSE graphical modeling software is characterized by comprising the following steps:
embedding the Notation graphic style information into the UM L DI element by taking the Notation object as the attribute of the UM L DI element, so that the UM L DI element has visual graphic semantics;
the UM L DI element is made to have hierarchical consistency with model elements by characterizing the parent-child structural relationship organization.
Preferably, the characterizing the parent-child structure relationship includes:
and adding a set of characterized attribute variables in the owendelement attribute of the graphic element, wherein the attribute variables comprise whether to synchronize to the backend, move along with the father node and delete along with the father node.
When a graphic element is inserted into an owedlement attribute, an attribute variable value needs to be set, and the attribute variable value cannot be changed after being initialized and is in a read-only format.
Preferably, the characterizing the parent-child structure relationship includes:
adding an attribute variable for managing back reference in the owedElement attribute of the graphic element, wherein the attribute variable is whether the attribute variable is a child, and when the attribute variable is referred back, the attribute variable value of whether the attribute variable is a child is set to be negative.
Preferably, when a reverse reference of a graphic element is stored to the owedrelement attribute, the reference attribute name of other graphic elements that reference the graphic element is also recorded.
Compared with the prior art, the invention has the beneficial effects that:
according to the visual expression method of the model element oriented to the MBSE graphical modeling software, provided by the invention, UM L DI element has visual graphical semantics by combining UM L DI and specification, and UM L DI element has hierarchical consistency with the model element by characterizing parent-child structural relationship organization.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a diagram illustrating relationships between UM L, UM L DI and Notation according to an embodiment;
fig. 2 is a schematic structural diagram of a characterized parent-child structural relationship organization provided by an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the detailed description and specific examples, while indicating the scope of the invention, are intended for purposes of illustration only and are not intended to limit the scope of the invention.
The graphical visualization mainly uses UM L DI and Notification, and a certain degree of pruning and expansion are carried out on UM L DI and Notification when the modeling software is specifically designed, so that UM L DI and Notification have a visualization basis in order to adapt the pruned and expanded UM L DI and Notification to graphical MBSE modeling based on SysM L, the invention provides a model element visual expression method facing the MBSE graphical modeling software, and ensures the interoperability of UM L DI and UM L by designing a set of UM L DI and Notification combination mode.
The visual expression method of the model element of the MBSE graphic modeling software comprises two parts, wherein the first part is one-way holding of UM L DI and Notation, namely, the UM L DI element is taken as a main part, and Notation graphic style information is embedded into the UM L DI element in UM L DI elements with different types and different abstract levels, so that the UM L DI element has visual graphic semantics, the second part is hierarchical semantic organization consistent with SysM L/UM L in UM L DI, namely, the UM L DI element has hierarchical consistency with the model element by characterizing the relationship organization of a parent-child structure.
First, embed Notation element in UM L DI element
Native UM L DiagramElement of UM L DI also mentions the attribute of bounds representing graphics style, however UM L DI itself has no normative definition for this type of style attribute, only some brief descriptions, so OMG mentions that Notation needs to be supplemented as a style.
It should be noted that, the implementation of the annotation in the present invention is not implemented in the EMF-like manner like UM L DI, that is, the annotation has no ID handle identifier, no resource pool, and no parent-child hierarchical relationship, mainly because the service scene of the part of the annotation object is very simple, only represents the style of a certain graphic element, there is no cross reference, and there is no special logical semantic, so that there is no mechanism for implementing resource pool-like organization, and the annotation object is organized in a discrete state, that is, the annotation object is treated as a discrete object.
Second part, hierarchical semantic organization of UM L DI consistent with SysM L/UM L
All graphical elements may be logically organized as a tree, with the parent-child relationships between elements being among the most critical ones. Since the graph is essentially used to show the models, in order to better represent the relationships between the models, it is necessary to give logical relationships consistent with the model elements on the graph for visual expression.
In practice, in a business scenario, many modifications are made to the standard UM L DI object of OMG, enriching the meaning of the concept of "child nodes", thereby also complicating the logical hierarchy and thus the simple parent-child structure is not satisfactory.
In order to solve the problem that the simple parent-child structure cannot meet the complication of the logic hierarchy structure, the invention provides that the owedelement attribute of the image element is modified to add the characterized attribute variable, namely, the UM L DI element has hierarchy consistency with the model element by the relationship organization of the characterized parent-child structure.
As shown in FIG. 2, specifically, each graphic element in the owedElement attribute is appended with a corresponding set of characterized attribute variables that are used to indicate the semantic action of a given child element under a parent element, including IsSerialize-whether to synchronize to the back end, ByMove-whether to move with the parent node, ByDelete-whether to delete with the parent node, and so on. When inserting a graphic element into an owedmelement attribute, the attribute variable values can be specified, and are read-only and can not be changed once initialized.
Although the graphic element logic is generally organized in a tree structure, in fact, there are many indirect references, such as the source and target attributes of edge pointing to other shape elements, and edge not being a child of those shape elements, which results in the whole logic structure tending to be a sparse mesh structure. The two attributes of owedmetement and oweningelement maintain the parent-child structure, so that the parent element and the child element can trace back each other, but only one-way reference exists for the indirect reference relation similar to source and target, and the mesh structure is not firm.
In order to implement this two-way tracing of indirect references, the present invention must maintain a back-reference property on the referenced party. It should be noted here that many of these business scenarios requiring back-references are consistent with the business scenarios of parent-child elements (with concomitant deletions as mentioned in the foregoing example), so the back-references and parent-child references are herein integrated, i.e., all back-references are present in the owedelement element. In order to distinguish these back-reference elements in the owedelevent from the common sub-elements, the attribute variable Ischild thereof is set to false, and the other attribute variables are compatible with processing.
Certainly, there is a relatively personalized business logic, so when there is a reverse reference to the owedlement, the name of the reference attribute of the element that references it is also recorded, so that it can be determined in what logic the element is referenced by other elements, and in a required business scenario, the owedlement can be traversed to obtain all the relevant elements that reference it.
The visual expression method of the model element of the MBSE (modeling system for modeling) oriented graphic provided by the embodiment has the advantages that the UM L DI element has visual graphic semantics by combining UM L DI and specification, and the UM L DI element has hierarchical consistency with the model element by characterizing the parent-child structural relationship organization.
The above-mentioned embodiments are intended to illustrate the technical solutions and advantages of the present invention, and it should be understood that the above-mentioned embodiments are only the most preferred embodiments of the present invention, and are not intended to limit the present invention, and any modifications, additions, equivalents, etc. made within the scope of the principles of the present invention should be included in the scope of the present invention.

Claims (8)

1. A visual expression method of model elements for MBSE graphical modeling software is characterized by comprising the following steps:
embedding the Notation graphic style information into the UM L DI element by taking the Notation object as the attribute of the UM L DI element, so that the UM L DI element has visual graphic semantics;
the UM L DI element is made to have hierarchical consistency with model elements by characterizing the parent-child structural relationship organization.
2. The visual representation method of model elements for MBSE graphical modeling software of claim 1, wherein the annotation objects are organized in discrete states.
3. The visual representation of model elements for MBSE graphical modeling software of claim 1, wherein UM L DI objects have independent IDs and can be uniformly managed without direct object references held between UM L DI objects.
4. The visual representation of model elements for MBSE graphical modeling software of claim 1, wherein most of the actions of the UM L DI element are conducted recursively towards the child elements.
5. The visual representation method of model elements for MBSE graphical modeling software of claim 1, wherein the characterizing parent-child structural relationships comprises:
and adding a set of characterized attribute variables in the owendelement attribute of the graphic element, wherein the attribute variables comprise whether to synchronize to the backend, move along with the father node and delete along with the father node.
6. The visual expression method of model elements oriented to MBSE graphic modeling software of claim 5, wherein when graphic elements are inserted into an owedElement attribute, an attribute variable value needs to be set, and the attribute variable value cannot be changed after being initialized and is in a read-only format.
7. The visual representation method of model elements for MBSE graphical modeling software according to claim 1 or 5, wherein the characterizing parent-child structural relationships comprises:
adding an attribute variable for managing back reference in the owedElement attribute of the graphic element, wherein the attribute variable is whether the attribute variable is a child, and when the attribute variable is referred back, the attribute variable value of whether the attribute variable is a child is set to be negative.
8. The visual representation method of model elements oriented to MBSE graphic modeling software of claim 7, wherein when the backward reference of a graphic element to an owedElement attribute is stored, the name of a reference attribute of other graphic elements referring to the graphic element is also recorded.
CN202010251945.6A 2020-04-01 2020-04-01 Visual expression method of model elements for MBSE (moving bed library) graphical modeling software Active CN111459472B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010251945.6A CN111459472B (en) 2020-04-01 2020-04-01 Visual expression method of model elements for MBSE (moving bed library) graphical modeling software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010251945.6A CN111459472B (en) 2020-04-01 2020-04-01 Visual expression method of model elements for MBSE (moving bed library) graphical modeling software

Publications (2)

Publication Number Publication Date
CN111459472A true CN111459472A (en) 2020-07-28
CN111459472B CN111459472B (en) 2022-06-07

Family

ID=71681566

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010251945.6A Active CN111459472B (en) 2020-04-01 2020-04-01 Visual expression method of model elements for MBSE (moving bed library) graphical modeling software

Country Status (1)

Country Link
CN (1) CN111459472B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070277151A1 (en) * 2006-05-17 2007-11-29 The Mathworks, Inc. Action languages for unified modeling language model
US20130060546A1 (en) * 2011-09-07 2013-03-07 Siemens Corporation Visual modeling language for requirements engineering
US8589858B1 (en) * 2009-09-14 2013-11-19 Lockheed Martin Corporation Requirement manager for UML and SysML application
WO2015196781A1 (en) * 2014-06-25 2015-12-30 成都普中软件有限公司 System element view-based visual modelling method for constructing system view
CN108664241A (en) * 2018-04-23 2018-10-16 华东师范大学 A method of SysML models are subjected to simulating, verifying
CN110262794A (en) * 2019-06-03 2019-09-20 南京航空航天大学 A kind of AADL behaviour expanding method and tool based on specification with description language
US10521197B1 (en) * 2016-12-02 2019-12-31 The Mathworks, Inc. Variant modeling elements in graphical programs

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070277151A1 (en) * 2006-05-17 2007-11-29 The Mathworks, Inc. Action languages for unified modeling language model
US8589858B1 (en) * 2009-09-14 2013-11-19 Lockheed Martin Corporation Requirement manager for UML and SysML application
US20130060546A1 (en) * 2011-09-07 2013-03-07 Siemens Corporation Visual modeling language for requirements engineering
WO2015196781A1 (en) * 2014-06-25 2015-12-30 成都普中软件有限公司 System element view-based visual modelling method for constructing system view
US20170161029A1 (en) * 2014-06-25 2017-06-08 Chengdu Puzhong Software Limted Company Visual modeling method to construct system views based on a system meta view
US10521197B1 (en) * 2016-12-02 2019-12-31 The Mathworks, Inc. Variant modeling elements in graphical programs
CN108664241A (en) * 2018-04-23 2018-10-16 华东师范大学 A method of SysML models are subjected to simulating, verifying
CN110262794A (en) * 2019-06-03 2019-09-20 南京航空航天大学 A kind of AADL behaviour expanding method and tool based on specification with description language

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
YUSHENG LIU: "Multidomain Model Integration for Online Collaborative System Design and Detailed Design of Complex Mechatronic Systems", 《HTTPS://IEEEXPLORE.IEEE.ORG/ABSTRACT/DOCUMENT/7027872》, 30 January 2015 (2015-01-30), pages 709 - 728 *
周书华等: "基于SysML和Modelica的复杂机电产品系统设计与仿真集成", 《计算机辅助设计与图形学学报》, no. 04, 15 April 2018 (2018-04-15), pages 182 - 192 *
徐梓贺: "面向MBSE的复杂产品需求建模与跟踪系统研发", 《中国优秀硕士学位论文全文数据库 信息科技辑》, 31 January 2018 (2018-01-31), pages 138 - 381 *
肖岗: "基于OOZS的UML类图形式化描述及其应用", 《重庆师范大学学报(自然科学版)》, no. 01, 18 January 2013 (2013-01-18), pages 73 - 78 *
袁琳等: "基于SysML的概念设计功能建模方法", 《计算机集成制造系统》, no. 01, 15 January 2018 (2018-01-15), pages 167 - 180 *

Also Published As

Publication number Publication date
CN111459472B (en) 2022-06-07

Similar Documents

Publication Publication Date Title
JP5049280B2 (en) Extensible XML format and object model for localization data
US7721205B2 (en) Integration of composite objects in host applications
US5999182A (en) Computational architecture for reasoning involving extensible graphical representations
US8583595B2 (en) Method and system for enhanced attribute synchronization in a content management system
US20130185627A1 (en) Supporting generation of transformation rule
CN110968294B (en) Business domain model establishing system and method
CN114089958A (en) Form visual configuration method and device
CN113655996B (en) Enterprise-level system generation method based on demand model
JP2008225898A (en) Conversion device, conversion program, and conversion method
US11188307B2 (en) Modelizing resources and external data of a program for procedural language coding
CN111459472B (en) Visual expression method of model elements for MBSE (moving bed library) graphical modeling software
CN110347878B (en) Rule engine driven data fusion method
Goonetillake et al. An integrity constraint management framework in engineering design
da Cruz A pattern language for use case modeling
CN110989999A (en) Code generation method and device, electronic equipment and medium
US10896161B2 (en) Integrated computing environment for managing and presenting design iterations
CN112732643B (en) Method for interconversion of flow chart graphic file data and S1000D standard XML format data
CN113778421A (en) Method and equipment for generating service code
Kremer Toward a multi-user, programmable web concept mapping" shell" to handle multiple formalisms
KR100283099B1 (en) Object-Oriented Modeling Tool and Its Logical and Graphical Information Processing Methods
Strahinova et al. Implementation of document state management in pluggable code generation platform
Pérez-Álvarez et al. Modeling Support for Domain-Specific Application Definition
Chen et al. Navigation Flow Modeling as a Basis for the Automatic Generation of Android APPs.
Curtis Efficient control of assets in a modern production pipeline
JIANG et al. AUTOMATIC DOCUMENT GENERATION STRATEGY FOR GRAPHIC-ORIENTED MODELING AND AUTOMATIC CODE GENERATION PLATFORM.

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
GR01 Patent grant
GR01 Patent grant