arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1312.6939cs.SE
收藏

基于图变换临界对分析的UML状态图句法方面交互检测

Detection of Syntactic Aspect Interaction in UML State Diagrams Using Critical Pair Analysis in Graph Transformation

Zaid Altahat, Tzilla Elrad, Luay Tahat, Nada Almasri

摘要:

面向方面建模通过在模型级定义方面和组合机制来分离横切关注点。多个方面的组合很可能会导致多个方面匹配相同的连接点。因此,方面在编织在一起时并不总是以可预测的方式进行交互。方面之间的预期交互由系统设计者设计。必须自动管理非预期的交互(或干扰)。当编织方面展示了一个不同于其自主行为的行为时,这就是一个潜在的干扰。最近,业界在面向方面的软件开发(AOSD)中报告了干扰。如果不解决这个问题,可能会导致不稳定的软件行为,并将阻碍行业对AOSD的适应。这个问题类似于图变换系统中存在的一种现象,其中多个图变换规则共享一些冲突元素,它被称为关键对分析,它提供了一种基于代数的机制来检测和分析规则的交互。在本文中,我们提出了一个框架,以检测意外方面的互动模型的水平。该框架将UML状态图中建模的Aspect转换为图转换规则,然后应用关键对分析来检测Aspect之间的非预期交互。这将使开发人员能够仅指定方面之间预期交互的优先顺序,而不需要手动调查系统中每个方面与每个其他方面的组合的非预期交互。所提出的交互检测解决方案是自动化的、模块化的,并且独立于基本模型;这增加了每次基本模型改变时不必重新评估交互的优点。

英文摘要:

Aspect Oriented Modeling separates crosscutting concerns by defining Aspects and composition mechanisms at the model level. Composition of multiple Aspects will most likely result in more than one Aspect matching the same join points. Consequently, Aspects do not always interact in a predictable manner when woven together. Intended interaction among aspects is designed by the system designer. Unintended interaction (or interference) must be automatically managed. When the woven aspect demonstrates a behavior that is different than its autonomous behavior, then this is a potential interference. Interference has been recently reported in Aspect Oriented Software Development (AOSD) by the industry. Leaving this problem unsolved may result in erratic software behavior and will hinder the adaptation of AOSD by the industry. This identified problem is similar to a phenomenon that exists in graph transformation systems where multiple Graph Transformation rules share some conflicting elements, it is referred to as Critical Pair Analysis and it provides an algebraic-based mechanism to detect and analyze the interaction of the rules. In this paper we propose a framework to detect unintended Aspect interaction at the model level. The proposed framework transforms Aspects modeled in UML State Diagram to Graph Transformation Rules, and then it applies Critical Pair Analysis to detect unintended interactions among aspects. This will enable developers to specify only the order of precedence for intended interaction among aspects without the need to manually investigate unintended interactions for the combinations of every Aspect to every other Aspect in the system. The proposed interaction detection solution is automated, modular, and independent of the base model; which adds the advantage of not having to re-evaluate the interaction each time the base model changes.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑