分层体系结构模型
A Model of Layered Architectures
摘要:
体系结构风格和模式在软件工程中发挥着重要作用。其中最著名的是分层架构风格。然而,这种风格通常只是非正式地陈述,这可能会导致诸如歧义、错误结论以及在检查系统是否符合该风格时困难等问题。我们解决这些问题,提供了一个正式的,指称语义的分层架构风格。主要是,我们提出了一个足够抽象和严格的分层架构的描述。不严格地说,分层架构由层次结构的层组成,其中服务通过端口进行通信。层被建模为使用的和提供的服务之间的关系,层组合通过关系组合来定义。此外,我们提供了一个正式的定义层之间的语法和语义依赖的概念。我们表明,这些依赖关系是不可比的一般。此外,我们确定了充分的条件下,在直观的意义上,我们在我们的治疗精确,语义依赖意味着,是隐含的,甚至符合自反传递的句法依赖关闭。我们的研究结果提供了一个技术独立的分层架构风格,这可能是由软件架构师使用,以确保系统确实是根据该风格构建的表征。
英文摘要:
Architectural styles and patterns play an important role in software engineering. One of the most known ones is the layered architecture style. However, this style is usually only stated informally, which may cause problems such as ambiguity, wrong conclusions, and difficulty when checking the conformance of a system to the style. We address these problems by providing a formal, denotational semantics of the layered architecture style. Mainly, we present a sufficiently abstract and rigorous description of layered architectures. Loosely speaking, a layered architecture consists of a hierarchy of layers, in which services communicate via ports. A layer is modeled as a relation between used and provided services, and layer composition is defined by means of relational composition. Furthermore, we provide a formal definition for the notions of syntactic and semantic dependency between the layers. We show that these dependencies are not comparable in general. Moreover, we identify sufficient conditions under which, in an intuitive sense which we make precise in our treatment, the semantic dependency implies, is implied by, or even coincides with the reflexive-transitive closure of the syntactic dependency. Our results provide a technology-independent characterization of the layered architecture style, which may be used by software architects to ensure that a system is indeed built according to that style.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。