In today’s connected world, exchanging data is essential to many business applications. With the increase in connectedness and the growing volume of data, ensuring security, privacy and conformance to legal restrictions becomes increasingly critical. In order to cope with these requirements early, design time data flow analyses have been proposed. By explicitly modeling data and their characteristics, the architectural model can be automatically tested against formulated data flow constraints. These verification approaches transform the modeled architecture into underlying formalisms such as logic programs. In order to enhance the expressiveness of constraints, they often have to be formulated in the underlying formalism as well. This requires architects to know about the formalism, the transformed architecture and the verification environment.
We aim to bridge the gap between the architectural domain and the underlying formalism which occurs in constraint formulation. We propose a domain-specific language (DSL) which enables architects to define constraints while defining the architecture. By utilizing the terminology which is used to model the architecture, individualized constraints can be formulated without knowledge on the verification process. We provide a mapping of constraints formulated in our DSL from the architectural domain to the underlying formalism. Analysis results are mapped back into the architectural domain to ease their interpretation.
The DSL is based on the generalization of existing constraints from real-world case studies. We evaluate the DSL’s expressiveness, usability and space efficiency for different sized data flow restrictions. Approximately 75% of examined constraints can be expressed using the first version of our DSL while requiring up to 10 times less code. Besides the basics of data flow modeling and the modeling environment, no further knowledge on the transformation and verification mechanism is required. Additionally, we investigate the equivalence of analysis results of transformed constraints defined in our DSL with constraints formulated in the underlying formalism. In our tests, the transformed constraints achieve 100% recall while maintaining 90% precision.
| Related KIT institution | Institute for Program Structures and Data Organisation (IPD) |
|---|---|
| Language | English |
| KITopen ID | 1000123271 |
| Publisher | Karlsruher Institut für Technologie (KIT) |
| Size | XIV, 138 p. |
| Exam data | 17.08.2020 |
| Supervisor | S. Seifermann |
| Relations in KITopen |