In this paper we propose an algebraic formalization of connectors in the quantitative setting in order to address the performance issues related with the architectures of component-based systems. For this, we firstly introduce a weighted Algebra of Interactions over a set of ports and a commutative and idempotent semiring. The algebra serves sufficiently for modeling well-known coordination schemes in the weighted setup. In turn, we introduce and study a weighted Algebra of Connectors over a set of ports and a commutative and idempotent semiring, which extends the weighted Algebra of Interactions with types that express two different modes of synchronization, in particular, Rendezvous and Broadcast. We show the expressiveness of the algebra by modeling several weighted connectors. Moreover, we derive two subalgebras, namely the weighted Algebra of Synchrons and of Triggers, and study their properties. Finally, we introduce a weighted congruence relation for connectors and provide conditions for proving congruence between distinct weighted connectors.
翻译:在本文中,我们提议在定量设置中将连接器的代数正规化,以解决与基于组件的系统结构有关的性能问题。 为此,我们首先在一组端口以及一组通量和极能半径上引入一个加权的交互作用代数。代数足以模拟加权设置中众所周知的协调计划。反过来,我们引入并研究一组端口的连接器加权代数以及一种通量和极能半径的半环,它扩展了显示两种不同同步模式,特别是交汇和广播模式的交互作用的加权代数。我们通过模拟若干加权连接器来显示代数的清晰度。此外,我们从两个子代数中提取了两个子代数,即Synchrons的加权代数和Triggers的加权代数,并研究其特性。最后,我们引入了连接器的加权一致关系,并为不同加权连接器之间的相互连接提供证明条件。