Abstract
Modern software engineering often prioritizes speed over documentation, leading to significant challenges in system integration, particularly within IoT and Industry 4.0. This paper introduces an incremental, case-based approach to software architecture integration. By capturing semantic mapping knowledge during the adapter development process, the proposed system enables the eventual automation of component coupling, avoiding the prohibitive "documentation tax" of traditional formal methods.
Introduction
In agile and microservice-oriented environments, documentation is frequently neglected. While this accelerates development, it complicates the task for system integrators who must manually reconcile data mismatches between diverse devices—such as a smart drill and a central management system. Current standards like Swagger or OPC UA lack the formality for automation, whereas fully formal semantic descriptions like SAWSDL are often too costly to implement upfront. This research explores a middle ground: automating semantic coupling using partially complete, incrementally acquired integration knowledge.
Methodology: Knowledge-Driven Architecture Composition
The proposed method shifts away from requiring comprehensive formal models at the outset. Instead, it adopts a "pay-as-you-go" approach to formalization across three stages:
- Initial Integration (t=0): A developer manually writes an adapter for a new connection (e.g., Component A to Component D) and captures the semantic transformation in a declarative language.
- Knowledge Reuse (t=1): For subsequent similar integrations, the system leverages stored knowledge to provide templates or recommendations, reducing manual effort.
- Automated Reasoning (t=n): As the Knowledge Base (KB) matures, an inference engine can automatically derive missing links and generate executable adapters for new components (e.g., Component C replacing Component A) based on understood semantics.
Technical Implementation and Case Study
The system utilizes a robust technical stack to manage and reason over integration data:
- OWL-DL: For structured, logic-based storage of integration knowledge.
- HermiT (v1.3): An inference engine used to deduce new relationships.
- Eclipse-based Editor: Facilitates the definition of entities and properties by the integrator.
The methodology was evaluated using an Industry 4.0 use case involving the connection of a shop-floor drill device to a Manufacturing Execution System (MES). Variables such as Application_drillDepth were mapped to XML templates like Screwing_partReceived.
Key Insights
The core innovation lies in "Pay-as-you-go" Formalization. By capturing small increments of semantic knowledge during standard development, the "knowledge debt" is distributed over time. This approach moves beyond simple syntactic matching, using logic-based reasoners to bridge semantic gaps—such as automatically converting units of measurement—and applying Case-Based Reasoning (CBR) to solve new integration problems based on past solutions.
Results and Future Outlook
The prototype successfully demonstrated that a system integrator can achieve integration by simply mapping a new device interface to an existing "endpoint entity" within a trigger-request pattern. Unlike probabilistic matchers, this logic-based approach aims for deterministic, executable results.
However, challenges remain. Future work will address the difficulty of detecting semantic identity across wildly different syntaxes, implementing "Why Not" queries to identify missing knowledge when automation fails, and maintaining knowledge bases as systems evolve. Additionally, the researchers plan to expand the system to support broader communication patterns beyond trigger-request models.
Summary updated