CN117634229A - Nested logic simulation model based on SysML activity diagram and construction method - Google Patents

Nested logic simulation model based on SysML activity diagram and construction method Download PDF

Info

Publication number
CN117634229A
CN117634229A CN202410109510.6A CN202410109510A CN117634229A CN 117634229 A CN117634229 A CN 117634229A CN 202410109510 A CN202410109510 A CN 202410109510A CN 117634229 A CN117634229 A CN 117634229A
Authority
CN
China
Prior art keywords
service
sysml
simulation model
activity
model based
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
CN202410109510.6A
Other languages
Chinese (zh)
Other versions
CN117634229B (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.)
Chengdu Yingrui Technology Co ltd
Original Assignee
Chengdu Yingrui 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 Chengdu Yingrui Technology Co ltd filed Critical Chengdu Yingrui Technology Co ltd
Priority to CN202410109510.6A priority Critical patent/CN117634229B/en
Publication of CN117634229A publication Critical patent/CN117634229A/en
Application granted granted Critical
Publication of CN117634229B publication Critical patent/CN117634229B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Stored Programmes (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention provides a nested logic simulation model based on a SysML activity diagram and a construction method thereof, relates to the technical field of visual simulation model establishment, and aims to realize clear display system operation mechanism at the same level view angle. The system comprises a plurality of service function modules and a dependency module among the service functions; the service function module is used for displaying the data object of the processing request and the corresponding processing operation; the inter-service function dependency module is used for displaying dependency and association relation between different service function modules. The invention has the advantage of displaying a new activity flow view which is visual and is more close to the running logic of the complex system.

Description

Nested logic simulation model based on SysML activity diagram and construction method
Technical Field
The invention relates to the technical field of visual simulation model establishment, in particular to a nested logic simulation model based on a SysML activity map and a construction method.
Background
As the scale and complexity of design systems in the field of high-end equipment manufacturing represented by aviation, aerospace, aeronautics, etc. are increasing, system engineering design often involves comprehensive various discipline expertise of machinery, electronics, hydraulic pressure, control rate, etc.
Model view transfer design data built by a system modeling language (SysML/UML) is adopted by model-based system engineering (MBSE) in the current industry, so that the problems of high cost, consistency and the like in the system development and modification process of a traditional method based on documents are effectively solved, but as the operation mechanism of a comprehensive system is more complex, the design thought and trend of adopting horizontal and longitudinal layered design and calling are more obvious, so that the operation logic view of the system adopting the SysML/UML active diagram design is continuously nested layer by layer from top to bottom, and the operation mechanism of the system cannot be clearly displayed in the same-level visual angle.
Therefore, improvement on the construction of the activity diagram is needed to realize clear operation mechanism of the display system at the same level view angle.
Disclosure of Invention
The invention aims to provide a nested logic simulation model based on a SysML activity diagram and a construction method thereof, which can realize clear display system operation mechanism at the same level view angle.
The embodiment of the invention is realized by the following technical scheme:
the invention provides a nested logic simulation model based on a SysML activity diagram, which comprises a plurality of service function modules and service function inter-function dependency modules;
the service function module is used for displaying the data object of the processing request and the corresponding processing operation;
the inter-service function dependency module is used for displaying dependency and association between different service function modules.
Preferably, the functions of the service function module include abstracting a system definition/splitting into modes of function units, services, service operations and service interfaces;
the service is a minimum unit capable of being migrated, is also a minimum unit for realizing software, is a structured object, externally displays attributes, interfaces and dependencies, and has service operation in pairs;
the service operation is a minimum structured logic object, defines service realization processing logic and flow, and comprises a service interface, service processing logic and service dependence;
the service interface includes 3 interface paradigms of request response, publish-subscribe, event notification.
Preferably, the method for constructing the dependency relationship is to display the service relationship between different service functions through an interface.
The invention also provides a construction method of the nested logic simulation model based on the SysML activity diagram, which is applied to any one of the nested logic simulation models based on the SysML activity diagram, and is characterized by comprising the following steps:
performing module expansion and optimization;
constructing a service function;
binding a sub-activity based on the service function;
displaying dependencies between services;
pulling to the same level exposes the service mechanism.
Preferably, the method for performing module expansion and optimization includes:
expanding UML/SysML meta-model to support multiple service semantic expressions, wherein the service semantic expressions comprise ServiceAction for expressing service execution primitives, interface for expressing service interfaces and Dependeon for expressing dependency relations;
expanding fUML simulation execution semantics corresponding to the meta-model;
the editable component EditPart and the image interface Figure of the GEF graphical editor are optimized, the graphical presentation is embedded into the activity management view, the UML/SysML standard semantic activity nesting calling form is realized, the graphic elements are pulled to the same level through service execution, and the standard semantic activity comprises calling action call behavior action.
Preferably, the method for constructing a service function includes the steps of:
a processing request module is constructed and used for initiating a processing request;
constructing a data object of the processing request and corresponding processing operation, wherein the data object and the corresponding processing operation are used for carrying out corresponding operation processing on the data object;
and the structure output module is used for outputting the processing result of the data object.
Preferably, the service functions include a system management service, a control service, and a data test service;
the system management service is used for executing collection and release of the data objects;
the control service is used for controlling the operation of the data object;
the data testing service is used for calculating and analyzing the data objects according to the system requirements.
Preferably, the method for binding the sub-activities based on the service functions is as follows:
and associating different service functions by using the service execution graphic element as sub-activities.
Preferably, the method of displaying dependencies between services comprises the steps of:
and displaying the service relation between different service functions through an interface.
Preferably, the method for pulling to the same-level exhibition service operation mechanism comprises the following steps:
the dependency between the different service functions is visualized within one SysML activity diagram.
The technical scheme of the embodiment of the invention has at least the following advantages and beneficial effects:
the invention expands based on the SysML/UML standard activity diagram specification, and completely meets the simulation execution model;
the invention is very useful and intuitive in the field of complex system designs for high-end equipment manufacturing scenarios;
the invention also combines the service interrelationships of the retrieval target service dependency items, the service interfaces and the like to establish a new activity flow view which can be more visual and is more close to the complex system operation logic;
the invention has reasonable design and simple structure, and is convenient to implement and popularize.
Drawings
FIG. 1 is a flow diagram of a method for constructing a nested logic simulation model based on a SysML activity diagram;
FIG. 2 is a schematic diagram of a conventional image editor provided in example 2;
fig. 3 is a schematic diagram of the framework of the optimized image editor provided in embodiment 2.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. The components of the embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Example 1
The embodiment provides a nested logic simulation model based on a SysML activity diagram, which comprises a plurality of service function modules and a service function inter-function dependent module;
the service function module is used for displaying the data object of the processing request and the corresponding processing operation;
the inter-service function dependency module is used for displaying dependency and association between different service function modules.
In this embodiment, the functions of the service function module include abstracting a system definition/splitting into a function unit, a service operation, and a mode of a service interface;
the service is a minimum unit capable of being migrated, is also a minimum unit for realizing software, is a structured object, externally displays attributes, interfaces and dependencies, and has service operation in pairs;
the service operation is a minimum structured logic object, defines service realization processing logic and flow, and comprises a service interface, service processing logic and service dependence;
the service interface includes 3 interface paradigms of request response, publish-subscribe, event notification.
Preferably, the method for constructing the dependency relationship includes displaying service relationships among different service functions through interfaces, and defining interfaces/pins as interfaces. It is specifically noted that the interfaces herein are generalized interfaces, and the service interfaces mentioned above are interfaces defining specific properties.
The core of the embodiment is that the nested logic tiling visualization simulation model constructed based on the SysML active diagram is essentially an expansion of the expressive force of the SysML active diagram, and can more intuitively present the system operation mechanism in certain specific complex system design fields and more effectively embody the business flow logic thereof. To achieve this object.
Therefore, the embodiment proposes concepts such as "Service execution primitive Service Action", "Service Interface", "dependency relationship dependent on" based on the standard specifications of SysML1.7 and UML2.5, and is used for pulling out the nested operation logic of calling behavior Action call behavior Action in the standard SysML/UML, and displaying the nested operation logic on the same view. And establishing a business service flow route through the service dependency relationship and the service interface, and carrying out explicit integrated visual expression on the system service and the service on which the system service depends.
Example 2
Referring to fig. 1, the present embodiment provides a method for constructing a nested logic simulation model based on a sysplex dynamic map, which is applied to the nested logic simulation model based on the sysplex dynamic map in the above embodiment, and is characterized by comprising the following steps:
performing module expansion and optimization;
constructing a service function;
binding a sub-activity based on the service function;
displaying dependencies between services;
pulling to the same level exposes the service mechanism.
As a preferred solution, the method for performing module expansion and optimization includes:
expanding UML/SysML meta-model to support multiple service semantic expressions, wherein the service semantic expressions comprise ServiceAction for expressing service execution primitives, interface for expressing service interfaces and Dependeon for expressing dependency relations;
expanding fUML simulation execution semantics corresponding to the meta-model; fUML is a standard definition in software engineering that defines a subset of UML that can be executed by a model execution engine. fUML supports the conversion of UML models into executable code for model-driven development.
The editable component EditPart and the image interface Figure of the GEF graphical editor are optimized, the graphical presentation is embedded into the activity management view, the UML/SysML standard semantic activity nesting calling form is realized, the graphic elements are pulled to the same level through service execution, and the standard semantic activity comprises calling action call behavior action.
When optimizing the editable component EditPart and the image interface Figure of the GEF graphical editor, the comparison of the original GEF and the extension sum is as follows:
the original framework is shown in fig. 2, where Figure in fig. 2 represents an image interface, edit part represents an editable component, and view point is an interface view adjustment component. The above are names of naming and definition in the activity diagrams, so English is directly used to conveniently represent and display the structure of the activity diagrams.
The image interface Figure is peripherally editable component EditPart, which is used to represent the editable part in the graphical interface, which may be a text box, an input box, a drop-down menu, etc. Editable components EditPart play an important role in user interface design and development, they are responsible for managing functions of interacting with a user, processing user input, presenting data, and can perform corresponding operations. The editable component EditPart provides a way for the user to edit and manipulate elements in the user interface. The outer layer of the editable component EditPart is an interface view adjustment component ViewPoint. The framework implementation may refer to the following code:
public IFigure getFigure() {
if (figureFigure == null)
setFigure(createFigure());
return figureFigure;
};
the optimized framework is shown in fig. 3, fig. 3 represents an image interface, edit part represents an editable component, service Action represents a Service execution primitive, and root edit part is a root editable component. The names named and defined in the activity diagrams are the names, so that English is directly used for conveniently representing and displaying the structure of the activity diagrams.
The periphery of the image interface Figure is an editable component EditPart, and the outer layer is a root EditPart in the root editable component, namely the Figure, and the root EditPart is a container of the whole model. Through root EditPart, editable components EditPart of all elements in the whole model can be obtained, through which the model is subjected to editing operations. The entire framework is loaded to the Service execution primitive Service Action. The framework can be implemented with reference to the following code:
rootFigure
public IFigure getLayer(Object key) {
IFigure layer = scaledLayers.getLayer(key);
if (layer != null)
return layer;
return super.getLayer(key);
}
load/load to Service Action
protected void setRootFigure(IFigure figureFigure) {
rootFigure = figureFigure;
getSourceFigure().getChildren().add(rootFigure);
};
In this embodiment, the method for constructing a service function includes the following steps:
a processing request module is constructed and used for initiating a processing request;
constructing a data object of the processing request and corresponding processing operation, wherein the data object and the corresponding processing operation are used for carrying out corresponding operation processing on the data object;
and the structure output module is used for outputting the processing result of the data object.
Preferably, the service functions include a system management service, a control service and a data test service;
the system management service is used for executing collection and release of the data objects;
the control service is used for controlling the operation of the data object;
the data testing service is used for calculating and analyzing the data objects according to the system requirements.
Further, the method for binding the sub-activities based on the service functions comprises the following steps:
and associating different service functions by using the service execution graphic element as sub-activities.
As a preferred aspect of the present embodiment, a method of automatically displaying dependencies between service functions includes the steps of:
displaying the service relation between different service functions through the interface can be based on defining interface/pin as the interface. It is specifically noted that the interfaces herein are generalized interfaces, and the service interfaces mentioned above are interfaces defining specific properties.
Finally, the method for pulling to the same-level display service operation mechanism comprises the following steps:
the dependency between the different service functions is visualized within one SysML activity diagram.
The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. The nested logic simulation model based on the SysML activity diagram is characterized by comprising a plurality of service function modules and service function inter-function dependent modules;
the service function module is used for displaying the data object of the processing request and the corresponding processing operation;
the inter-service function dependency module is used for displaying dependency and association between different service function modules.
2. The nested logic simulation model based on the SysML activity diagram according to claim 1, wherein the functions of the service function module comprise abstracting a system definition/splitting into modes of functional units, services, service operations, and service interfaces;
the service is a minimum unit capable of being migrated, is also a minimum unit for realizing software, is a structured object, externally displays attributes, interfaces and dependencies, and has service operation in pairs;
the service operation is a minimum structured logic object, defines service realization processing logic and flow, and comprises a service interface, service processing logic and service dependence;
the service interface includes 3 interface paradigms of request response, publish-subscribe, event notification.
3. The nested logic simulation model based on the SysML activity diagram according to claim 1, wherein the dependency relationship is constructed by displaying service relationships between different service functions through an interface.
4. The method for constructing the nested logic simulation model based on the SysML active diagram is applied to the nested logic simulation model based on the SysML active diagram according to any one of claims 1 to 3, and is characterized by comprising the following steps:
performing module expansion and optimization;
constructing a service function;
binding a sub-activity based on the service function;
displaying dependencies between services;
pulling to the same level exposes the service mechanism.
5. The method for constructing a nested logic simulation model based on a SysML activity map according to claim 4, wherein the method for performing module expansion and optimization comprises:
expanding UML/SysML meta-model to support multiple service semantic expressions, wherein the service semantic expressions comprise ServiceAction for expressing service execution primitives, interface for expressing service interfaces and Dependeon for expressing dependency relations;
expanding fUML simulation execution semantics corresponding to the meta-model;
the editable component EditPart and the image interface Figure of the GEF graphical editor are optimized, the graphical presentation is embedded into the activity management view, the UML/SysML standard semantic activity nesting calling form is realized, the graphic elements are pulled to the same level through service execution, and the standard semantic activity comprises calling action call behavior action.
6. The method for constructing a nested logic simulation model based on a SysML activity map according to claim 4, wherein the method for constructing a service function comprises the following steps:
a processing request module is constructed and used for initiating a processing request;
constructing a data object of the processing request and corresponding processing operation, wherein the data object and the corresponding processing operation are used for carrying out corresponding operation processing on the data object;
and the structure output module is used for outputting the processing result of the data object.
7. The method for constructing a nested logic simulation model based on a SysML activity diagram according to claim 6, wherein the service functions comprise a system management service, a control service and a data testing service;
the system management service is used for executing collection and release of the data objects;
the control service is used for controlling the operation of the data object;
the data testing service is used for calculating and analyzing the data objects according to the system requirements.
8. The method for constructing a nested logic simulation model based on a SysML activity map according to claim 4, wherein the method for binding sub-activities based on the service functions is as follows:
and associating different service functions by using the service execution graphic element as sub-activities.
9. The method for constructing a nested logic simulation model based on a SysML activity map according to claim 4, wherein the method for displaying dependencies between services comprises the following steps:
and displaying the service relation between different service functions through an interface.
10. The method for constructing a nested logic simulation model based on a SysML activity diagram according to claim 4, wherein the method for pulling to the same-level demonstration service operation mechanism is as follows:
the dependency between the different service functions is visualized within one SysML activity diagram.
CN202410109510.6A 2024-01-26 2024-01-26 Nested logic simulation model based on SysML activity diagram and construction method Active CN117634229B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410109510.6A CN117634229B (en) 2024-01-26 2024-01-26 Nested logic simulation model based on SysML activity diagram and construction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410109510.6A CN117634229B (en) 2024-01-26 2024-01-26 Nested logic simulation model based on SysML activity diagram and construction method

Publications (2)

Publication Number Publication Date
CN117634229A true CN117634229A (en) 2024-03-01
CN117634229B CN117634229B (en) 2024-04-30

Family

ID=90030779

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410109510.6A Active CN117634229B (en) 2024-01-26 2024-01-26 Nested logic simulation model based on SysML activity diagram and construction method

Country Status (1)

Country Link
CN (1) CN117634229B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111427556A (en) * 2020-03-30 2020-07-17 杭州华望系统科技有限公司 Web-based SysM L modeling platform
CN112799968A (en) * 2021-04-08 2021-05-14 湖南高至科技有限公司 Test drive modeling system and method based on script
CN116680885A (en) * 2023-05-29 2023-09-01 中国工程物理研究院计算机应用研究所 Complex device control software modeling and verification method based on SysML and Tango
CN116776612A (en) * 2023-06-26 2023-09-19 中国工程物理研究院计算机应用研究所 SysML function integration and analysis method based on message middleware
CN117010198A (en) * 2023-08-09 2023-11-07 中国工程物理研究院计算机应用研究所 Multi-user multi-view model modeling interaction method based on SysML

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111427556A (en) * 2020-03-30 2020-07-17 杭州华望系统科技有限公司 Web-based SysM L modeling platform
CN112799968A (en) * 2021-04-08 2021-05-14 湖南高至科技有限公司 Test drive modeling system and method based on script
CN116680885A (en) * 2023-05-29 2023-09-01 中国工程物理研究院计算机应用研究所 Complex device control software modeling and verification method based on SysML and Tango
CN116776612A (en) * 2023-06-26 2023-09-19 中国工程物理研究院计算机应用研究所 SysML function integration and analysis method based on message middleware
CN117010198A (en) * 2023-08-09 2023-11-07 中国工程物理研究院计算机应用研究所 Multi-user multi-view model modeling interaction method based on SysML

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
丁钱: "基于模型驱动的复杂系统装备互操作可视化仿真与验证平台设计与实现", 中国优秀硕士论文全文库工程科技Ⅱ辑, no. 3, 15 March 2022 (2022-03-15), pages 1 - 91 *
刘玉生 等: "基于SysML的模型驱动复杂产品设计的信息集成框架研究", 中国机械工程, no. 12, 25 June 2012 (2012-06-25), pages 1 - 6 *
吴魁 等: "一种服务化的仿真模型", 计算机测量与控制, no. 01, 25 January 2010 (2010-01-25), pages 1 - 5 *
周书华 等: "基于SysML和Modelica的复杂机电产品系统设计与仿真集成", 计算机辅助设计与图形学学报, no. 04, 15 April 2018 (2018-04-15), pages 1 - 5 *
蒋彩云 等: "SysML:一种新的系统建模语言", 系统仿真学报, no. 06, 20 June 2006 (2006-06-20), pages 1 - 6 *

Also Published As

Publication number Publication date
CN117634229B (en) 2024-04-30

Similar Documents

Publication Publication Date Title
US7370315B1 (en) Visual programming environment providing synchronization between source code and graphical component objects
JP5651121B2 (en) Data object management and automatic linking
US4860204A (en) Computer based workstation for development of graphic representation of computer programs
US7925977B2 (en) Architecture solution map builder
US20090089746A1 (en) Method and System for Generating Application Data Editors
CN100437478C (en) System and method for interactive wireless applications
US20080010082A1 (en) System and method for business process management
KR20060087995A (en) An extensible framework for designing workflows
CN111625226B (en) Prototype-based man-machine interaction design implementation method and system
CN112494940B (en) User interface manufacturing method and device, storage medium and computer equipment
WO2011090770A2 (en) Pattern-based user interfaces
Childs et al. Calm and cadena: Metamodeling for component-based product-line development
CN111427556A (en) Web-based SysM L modeling platform
CN115495069A (en) Model-driven coal industry software flow implementation method, device and equipment
KR101326985B1 (en) Method and apparatus for developing, distributing and executing object-wise dynamic compileless programs
CN114117645A (en) Ship overall performance prediction integrated application system
Perlman Software tools for user interface development
CN117634229B (en) Nested logic simulation model based on SysML activity diagram and construction method
CN101231590A (en) IVR flow editor analytic model operated base on script and COM component
CN102411498A (en) Method for realizing data model and graphical designer
Costa et al. The application of UML and an open distributed process framework to information system design
CN112631585B (en) XML-based rapid parameter interface configuration method
Ng et al. The software architect's assistant-A visual environment for distributed programming
Andrade et al. Forms2Net–migrating oracle forms to microsoft. NET
JPH10222355A (en) Gui application developing device

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