arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2101.09038cs.PLcs.LO
收藏

多方协议的分散化分析

A Decentralized Analysis of Multiparty Protocols

Bas van den Heuvel, Jorge A. Pérez

摘要:

协议在今天的并发和分布式软件中提供了统一的粘合剂;验证消息传递程序是否符合这样的管理协议是重要但困难的。基于多方会话类型(MPST)的静态方法使用协议作为类型,以避免程序中的协议违反和死锁。MPST的一个难以捉摸的问题是,以确保协议的一致性和死锁自由的实现与交叉和委托协议。我们提出了一个分散的分析多方协议,指定为全球类型和实现的异步$π$演算的交互过程。我们的解决方案依赖于两个新的概念:路由器进程和相对类型。虽然路由器进程使用全局类型来实现任意进程网络中的参与者实现的组合,但相对类型从全局类型中提取参与者对之间的预期交互和依赖关系。在我们的分析中,进程类型使用APCP,类型系统,确保协议的一致性和死锁自由二进制协议,在以前的工作中开发。我们的分散,基于路由器的分析,使健全和完整的转移协议的一致性和死锁自由从APCP多方协议。

英文摘要:

Protocols provide the unifying glue in concurrent and distributed software today; verifying that message-passing programs conform to such governing protocols is important but difficult. Static approaches based on multiparty session types (MPST) use protocols as types to avoid protocol violations and deadlocks in programs. An elusive problem for MPST is to ensure both protocol conformance and deadlock freedom for implementations with interleaved and delegated protocols. We propose a decentralized analysis of multiparty protocols, specified as global types and implemented as interacting processes in an asynchronous $π$-calculus. Our solution rests upon two novel notions: router processes and relative types. While router processes use the global type to enable the composition of participant implementations in arbitrary process networks, relative types extract from the global type the intended interactions and dependencies between pairs of participants. In our analysis, processes are typed using APCP, a type system that ensures protocol conformance and deadlock freedom with respect to binary protocols, developed in prior work. Our decentralized, router-based analysis enables the sound and complete transference of protocol conformance and deadlock freedom from APCP to multiparty protocols.

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

↑