用行为ALF规范增强UML连接器以实现软件组件的外部协调

ID:38745

阅读量:0

大小:9.50 MB

页数:34页

时间:2023-03-14

金币:2

上传者:战必胜
Citation: Kocatas, A.T.; Dogru, A.H.
Enhancing UML Connectors with
Behavioral ALF Specifications for
Exogenous Coordination of Software
Components. Appl. Sci. 2023, 13, 643.
https://doi.org/10.3390/
app13010643
Academic Editor: Sanjay Misra,
Robertas Damaševiˇcius and Bharti
Suri
Received: 23 November 2022
Revised: 24 December 2022
Accepted: 29 December 2022
Published: 3 January 2023
Copyright: © 2023 by the authors.
Licensee MDPI, Basel, Switzerland.
This article is an open access article
distributed under the terms and
conditions of the Creative Commons
Attribution (CC BY) license (https://
creativecommons.org/licenses/by/
4.0/).
applied
sciences
Article
Enhancing UML Connectors with Behavioral ALF Specifications
for Exogenous Coordination of Software Components
Alper Tolga Kocatas
1,2,
* and Ali Hikmet Dogru
2,3
1
Aselsan Inc., 06750 Ankara, Turkey
2
Department of Computer Engineering, Middle East Technical University, 06800 Ankara, Turkey
3
Department of Computer Science, University of Texas at San Antonio, San Antonio, TX 78249-0667, USA
* Correspondence: tolga.kocatas@metu.edu.tr or kocatas@aselsan.com.tr
Abstract:
Connectors are powerful architectural elements that allow the specification of interactions
between software components. Since the connectors do not include behavior in UML, the components
include the behavior for coordinating the components, complicating the designs of components and
decreasing their reusability. In this study, we propose the enrichment of UML connectors with
behavioral specifications. The goal is to provide separation of concerns for the components so
that they are freed from coordination duties. The reusability of the components will increase as
a result of such exogenous coordination. Additionally, using the associated behaviors, we aim
to resolve the ambiguities that arise when n-ary connectors are used. We use a series of QVTo
transformations to transform UML models that include connector behaviors in ALF specifications
into UML models which include fUML activities as connector behavior specifications. We present a set
of example connectors specified using the proposed method. We execute the QVTo transformations
on the example connectors to produce models that represent platform-independent definitions of the
coordination behaviors. We also present and discuss cases from real-life large-scale avionics software
projects in which using the proposed approach results in simpler and more flexible designs and
increases component reusability.
Keywords: ALF; behavior; connector; fUML; model transformation; port; QVT; QVTo; UML
1. Introduction
Using models in software development to cope with complexity and increase quality
is a proven approach employed by model-driven software development (MDSD). In MDSD,
models do not only constitute documentation but they are also considered equal to code,
as their implementation is automated [
1
]. MDSD saves time by increasing productivity
and reducing implementation errors. The approach has become more popular since the
introduction of the Unified Modeling Language (UML) [
2
]. Due to its ability to precisely
define the structural and behavioral aspects of the software systems, UML is widely used in
safety-critical real-time embedded software development. UML specification has matured
over the years. Extensions for real-time software development and systems engineering are
introduced. Open-source and commercial tool support for UML also increased significantly.
Although there are languages for software architecture description, the current ver-
sion of UML covers the core concepts, such as components, ports, and connectors. UML
provides various diagrams for modeling the structural and behavioral aspects of soft-
ware systems. Component diagrams describe the structures of the components and the
communication among them using ports and interfaces. The ports define interfaces of
software components and their interactions with the environment using required and
provided interfaces. Starting with UML 2.0, ports can also be included in the designs of
encapsulated classifiers.
Among various advantages of using ports, the most important one is to decouple
components and encapsulated classifiers from their environments. Second, ports provide
Appl. Sci. 2023, 13, 643. https://doi.org/10.3390/app13010643 https://www.mdpi.com/journal/applsci
资源描述:

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。
关闭