Model-driven development of asynchronous message-driven architectures with AsyncAPI

被引:5
作者
Gomez, Abel [1 ]
Iglesias-Urkia, Markel [2 ]
Belategi, Lorea [2 ]
Mendialdua, Xabier [2 ]
Cabot, Jordi [3 ]
机构
[1] Univ Oberta Catalunya UOC, Internet Interdisciplinary Inst IN3, Barcelona, Spain
[2] Basque Res & Technol Alliance BRTA, Ikerlan Technol Res Ctr, Arrasate Mondragon, Spain
[3] Univ Oberta Catalunya UOC, ICREA Internet Interdisciplinary Inst IN3, Barcelona, Spain
关键词
Publish; subscribe; Cyber-physical systems (CPS); Message-driven architectures; Asynchronous communication; AsyncAPI; Industrial Internet of Things (IIoT); OPC UA; INTERNET; THINGS; IOT;
D O I
10.1007/s10270-021-00945-3
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
In the Internet-of-Things (IoT) vision, everyday objects evolve into cyber-physical systems. The massive use and deployment of these systems has given place to the Industry 4.0 or Industrial IoT (IIoT). Due to its scalability requirements, IIoT architectures are typically distributed and asynchronous. In this scenario, one of the most widely used paradigms is publish/subscribe, where messages are sent and received based on a set of categories or topics. However, these architectures face interoperability challenges. Consistency in message categories and structure is the key to avoid potential losses of information. Ensuring this consistency requires complex data processing logic both on the publisher and the subscriber sides. In this paper, we present our proposal relying on AsyncAPI to automate the design and implementation of these asynchronous architectures using model-driven techniques for the generation of (part of) message-driven infrastructures. Our proposal offers two different ways of designing the architectures: either graphically, by modeling and annotating the messages that are sent among the different IoT devices, or textually, by implementing an editor compliant with the AsyncAPI specification. We have evaluated our proposal by conducting a set of experiments with 25 subjects with different expertise and background. The experiments show that one-third of the subjects were able to design and implement a working architecture in less than an hour without previous knowledge of our proposal, and an additional one-third estimated that they would only need less than two hours in total.
引用
收藏
页码:1583 / 1611
页数:29
相关论文
共 50 条
[41]   A Model-Driven Approach to AoI-Based Cache Management in IoT [J].
Pappalardo, Martina ;
Mingozzi, Enzo ;
Virdis, Antonio .
2021 IEEE 26TH INTERNATIONAL WORKSHOP ON COMPUTER AIDED MODELING AND DESIGN OF COMMUNICATION LINKS AND NETWORKS (CAMAD), 2021,
[42]   Assessing the Quality of Low-Code and Model-Driven Engineering Platforms for Engineering IoT Systems [J].
Ihirwe, Felicien ;
Di Ruscio, Davide ;
Gianfranceschi, Simone ;
Pierantonio, Alfonso .
2022 IEEE 22ND INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY, QRS, 2022, :583-594
[43]   QoS-Aware Federated Crosschain-Based Model-Driven Reference Architecture for IIoT Sensor Networks in Distributed Manufacturing [J].
Siriweera, Akila ;
Naruse, Keitaro .
IEEE SENSORS JOURNAL, 2023, 23 (23) :29630-29644
[44]   Model-Driven Software Development Approach: Ensuring Safety of an IoT-Based Plant Health Monitoring System [J].
Kang, Eun-Young ;
Brix, Mathias ;
Szenczi, Daniel ;
Kovats, Abel ;
Formosa, Renaud ;
Melsen, Christian W. ;
Norgard, Morten A. .
2022 6TH INTERNATIONAL CONFERENCE ON SYSTEM RELIABILITY AND SAFETY, ICSRS, 2022, :251-+
[45]   Model-Driven Engineering Techniques and Tools for Machine Learning-Enabled IoT Applications: A Scoping Review [J].
Korani, Zahra Mardani ;
Moin, Armin ;
da Silva, Alberto Rodrigues ;
Ferreira, Joao Carlos .
SENSORS, 2023, 23 (03)
[46]   X-IoT: a model-driven approach to support IoT application portability across IoT platforms [J].
Corradini, Flavio ;
Fedeli, Arianna ;
Fornari, Fabrizio ;
Polini, Andrea ;
Re, Barbara ;
Ruschioni, Luca .
COMPUTING, 2023, 105 (09) :1981-2005
[47]   A user-access model-driven approach to proxy cache performance analysis [J].
Watson, EF ;
Shi, Y ;
Chen, YS .
DECISION SUPPORT SYSTEMS, 1999, 25 (04) :309-338
[48]   An Analysis of the Quality of Model Driven Development Solutions Applied to Cyber-Physical Devices [J].
Goncalves, Rafael Figueira ;
Menolli, Andre ;
Dionisio, Gustavo Marcelino .
PROCEEDINGS OF THE 21TH BRAZILIAN SYMPOSIUM ON SOFTWARE QUALITY, SBOS 2022, 2022,
[49]   Model-Driven Interoperability Layer for Normalized Connectivity Across Smart Grid Domains [J].
Alaerjan, Alaa S. .
IEEE ACCESS, 2021, 9 :98639-98653
[50]   Understanding and Improving Model-Driven IoT Systems through Accompanying Digital Twins [J].
Kirchhof, Joerg Christian ;
Malcher, Lukas ;
Rumpe, Bernhard .
PROCEEDINGS OF THE 20TH ACM SIGPLAN INTERNATIONAL CONFERENCE ON GENERATIVE PROGRAMMING: CONCEPTS AND EXPERIENCES, GPCE 2021, 2021, :197-209