Font Size: a A A

Research On SysML2 Programming Based On Blockly

Posted on:2023-06-12Degree:MasterType:Thesis
Country:ChinaCandidate:Z H XiaFull Text:PDF
GTID:2530307031485384Subject:Electronic information
Abstract/Summary:PDF Full Text Request
SysML2 has made many improvements to Sys ML v1.x,among which one of the most noticeable improvements is to improve the accuracy and expression ability of the language and support the text code representation.But programming itself is a difficult activity,and plain text programming,as the current mainstream programming method,its syntax is obscure and difficult to understand,and writing is often accompanied by a large number of instruction confusion and syntax errors,which often makes beginners flinch.Therefore,it is of great significance to study how to reduce the design difficulty of users using SysML2 for modeling.At present,the emerging innovative high-level languages take visual programming as one of the breakthrough points.Based on the research of MBSE(Model Based Systems Engineering),SysML2 and visual programming tools,this paper designs a visual building block type SysML2 modeling design language based on Blockly and SysML2,proposes the corresponding method to generate model graphical elements,and designs a supporting design tool to support users to visualize SysML2 modeling.The main research work includes the following three aspects.(1)The visual building block modeling design language SysML2 is defined.This modeling language is a visual construction of text based modeling design language SysML2,and is a secondary development based on Blockly.This research defines and designs the meta model of the visual building block type SysML2 modeling design language in the form of building blocks,and proposes a set of symbols and corresponding connection rules that conform to the syntax specification of SysML2 as the visual implementation of the syntax of SysML2.(2)The mapping rules from visual building block SysML2 modeling design language to Plant UML code are defined,and the conversion algorithm from source language to target language is designed.This research analyzes the logical hierarchical relationship and reference relationship of the construction modules in the visual building block type SysML2 modeling and design language,studies and designs the corresponding relationship between the visual building block type SysML2 modeling and design language and Plant UML code,constructs the construction module data pool and reference relationship chain,and then designs and implements the conversion algorithm from the source language to the target language.(3)Based on the above work,this research has designed and implemented a tool prototype that supports users to carry out visual SysML2 modeling and design.When using this tool,users only need to focus on the requirements analysis and design of modeling,and do not need to consider the technical details of the implementation platform.Later,the code conversion tool can manually or automatically convert the visual SysML2 modeling design language into Plant UML code,and generate corresponding modeling model graphics according to the integrated Plant UML Server.Then,the effectiveness and practicability of modeling requirement driven visual SysML2 modeling design and model transformation tool prototype are demonstrated and illustrated with an example.Finally,by comparing with other visual MBSE modeling tools,the usability,intuitiveness and portability of the visual SysML2 modeling tool in this study are verified.
Keywords/Search Tags:SysML2, Blockly, MBSE, Visual modeling language mechanism, Model Conversion
PDF Full Text Request
Related items