Model-driven development of asynchronous message-driven architectures with AsyncAPI
Open Access
- 2 December 2021
- journal article
- research article
- Published by Springer Nature in Software and Systems Modeling
- Vol. 21 (4) , 1583-1611
Abstract
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.Keywords
Funding Information
- Ministerio de Economía, Industria y Competitividad, Gobierno de España (TIN2016-75944-R)
- Electronic Components and Systems for European Leadership (737494,826610)
This publication has 38 references indexed in Scilit:
- Model transformation between OPC UA and UMLComputer Standards & Interfaces, 2017
- MDE4IoT: Supporting the Internet of Things with Model-Driven Engineering2016
- UML4IoT—A UML-based approach to exploit IoT in cyber-physical manufacturing systemsComputers in Industry, 2016
- Model development guidelines for UML-RT: conventions, patterns and antipatternsSoftware and Systems Modeling, 2016
- JSONDiscoverer: Visualizing the schema lurking behind JSON documentsKnowledge-Based Systems, 2016
- On web-based domain-specific language for Internet of Things2015
- A systematic approach to evaluating domain-specific modeling language environments for multi-agent systemsSoftware Quality Journal, 2015
- Internet of Things: A Survey on Enabling Technologies, Protocols, and ApplicationsIEEE Communications Surveys & Tutorials, 2015
- An overview of Dynamic Software Product Line architectures and techniques: Observations from research and industryJournal of Systems and Software, 2014
- A common basis for modelling service-oriented and event-driven architecture2012