基于多线程代理的系统的并发保持和可靠监控
Concurrency-Preserving and Sound Monitoring of Multi-Threaded Component-Based Systems
摘要:
本文讨论了在多线程组件系统中,逻辑独立的线性时间用户提供的属性的监测。我们认为本质上是独立的组件,可以同时执行一个集中的协调多方互动。在这种情况下,出现的问题是系统的全局状态对监视器不可用。这个问题的一个简单的解决方案是插件,它将强制系统同步,以便在运行时获得全局状态序列。这样的解决方案会破坏拥有并发组件的整个目的。相反,我们通过累积系统在运行时遍历的部分状态来重建全局状态。我们定义了组件的转换,保持其语义和并发性,并在同一时间,允许监控全局状态属性。此外,我们提出了RVMT-BIP,一个原型工具,实现的BIP(行为,交互,优先级)框架,异构系统的正式建设的表达框架中描述的多线程系统的监测转换。我们在多个多线程BIP系统上的实验表明,RVMT-BIP引起了廉价的运行时开销。
英文摘要:
This paper addresses the monitoring of logic-independent linear-time user-provided properties in multi-threaded component-based systems. We consider intrinsically independent components that can be executed concurrently with a centralized coordination for multiparty interactions. In this context, the problem that arises is that a global state of the system is not available to the monitor. A naive solution to this problem would be to plug in a monitor which would force the system to synchronize in order to obtain the sequence of global states at runtime. Such a solution would defeat the whole purpose of having concurrent components. Instead, we reconstruct on-the-fly the global states by accumulating the partial states traversed by the system at runtime. We define transformations of components that preserve their semantics and concurrency and, at the same time, allow to monitor global-state properties. Moreover, we present RVMT-BIP, a prototype tool implementing the transformations for monitoring multi-threaded systems described in the BIP (Behavior, Interaction, Priority) framework, an expressive framework for the formal construction of heterogeneous systems. Our experiments on several multi-threaded BIP systems show that RVMT-BIP induces a cheap runtime overhead.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。