arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2105.15152cs.SE
收藏

UML序列图:一种替代模型

UML Sequence Diagram: An Alternative Model

Sabah Al-Fedaghi

摘要:

序列图的普遍接受可以归因于它们相对直观的性质和描述部分行为的能力(与状态图等图相反)。然而,研究表明,超过80%的毕业生无法创建软件设计,甚至无法创建部分设计,许多学生不知道序列图如何受到其他模型的约束。许多学生在识别有效的交互对象和用适当的参数构建消息方面表现出困难。此外,根据权威人士的说法,尽管已经为序列图提出了许多不同的语义(例如,转换到状态机),不存在所需序列图行为的合适的语义基础细化,因为直接样式语义不能精确地捕获所需序列图行为;转换到其他形式主义忽略了序列图的基本特征,例如保护条件和临界区域。本文提出了一种替代序列图,一个广义的模型,提供了进一步的理解序列图同化到一个新的建模语言称为思维机(TM)。序列图通过去除表面的仅垂直维度的扩展限制而水平扩展,以保留事件的逻辑年表。TM算法在动作方面是非线性传播的。事件及其年表是在第二个描述平面上构建的,该平面叠加在最初的静态描述上。其结果是一个更精确的表示,将简化建模过程。这是通过重建序列图的情况下,从文献中证明。

英文摘要:

The general acceptance of sequence diagrams can be attributed to their relatively intuitive nature and ability to describe partial behaviors (as opposed to such diagrams as state charts). However, studies have shown that over 80 percent of graduating students were unable to create a software design or even a partial design, and many students had no idea how sequence diagrams were constrained by other models. Many students exhibited difficulties in identifying valid interacting objects and constructing messages with appropriate arguments. Additionally, according to authorities, even though many different semantics have been proposed for sequence diagrams (e.g., translations to state machines), there exists no suitable semantic basis refinement of required sequence diagram behavior because direct style semantics do not precisely capture required sequence diagram behaviors; translations to other formalisms disregard essential features of sequence diagrams such as guard conditions and critical regions. This paper proposes an alternative to sequence diagrams, a generalized model that provides further understanding of sequence diagrams to assimilate them into a new modeling language called thinging machine (TM). The sequence diagram is extended horizontally by removing the superficial vertical-only dimensional limitation of expansion to preserve the logical chronology of events. TM diagramming is spread nonlinearly in terms of actions. Events and their chronology are constructed on a second plane of description that is superimposed on the initial static description. The result is a more refined representation that would simplify the modeling process. This is demonstrated through remodeling sequence diagram cases from the literature.

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

↑