论文标题
使用三重图语法的并发模型同步方案的优先驱动方法
A Precedence-Driven Approach for Concurrent Model Synchronization Scenarios using Triple Graph Grammars
论文作者
论文摘要
并发模型同步是在同时且独立更改两个相关模型之间恢复两个相关模型之间的一致性的任务。确定这种并发模型是否会改变彼此的冲突并解决这些冲突,将这些冲突考虑到了域或用户特定的偏好是高度挑战。在本文中,我们提出了基于三图语法(TGGS)的并发模型同步算法的框架。 TGGS使用语法规则指定相关模型的一致性;这些规则可用于得出不同的一致性恢复操作。使用TGG,我们推断出模型元素的因果关系关系,使我们能够非侵入性地检测冲突。首先检测到各种冲突,并通过随后的冲突解决过程解决。用户根据几种冲突解决方案策略来安排一致性恢复片段的应用来配置整体同步过程,以实现个人同步目标。作为概念证明,我们已经在模型转换工具Emoflon中实现了此框架。我们的初步评估表明,我们提出的方法量表的运行时间随模型变化和冲突的大小而不是模型大小。
Concurrent model synchronization is the task of restoring consistency between two correlated models after they have been changed concurrently and independently. To determine whether such concurrent model changes conflict with each other and to resolve these conflicts taking domain- or user-specific preferences into account is highly challenging. In this paper, we present a framework for concurrent model synchronization algorithms based on Triple Graph Grammars (TGGs). TGGs specify the consistency of correlated models using grammar rules; these rules can be used to derive different consistency restoration operations. Using TGGs, we infer a causal dependency relation for model elements that enables us to detect conflicts non-invasively. Different kinds of conflicts are detected first and resolved by the subsequent conflict resolution process. Users configure the overall synchronization process by orchestrating the application of consistency restoration fragments according to several conflict resolution strategies to achieve individual synchronization goals. As proof of concept, we have implemented this framework in the model transformation tool eMoflon. Our initial evaluation shows that the runtime of our presented approach scales with the size of model changes and conflicts, rather than model size.