• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2006, Vol. 28 ›› Issue (1): 12-15.

• 论文 • 上一篇    下一篇

基于TLA+的BRP协议规约及验证

陈立前 王戟 陈火旺   

  • 出版日期:2006-01-01 发布日期:2010-05-20

  • Online:2006-01-01 Published:2010-05-20

摘要:

BRP协议是为不可靠信道上传送大数据包文件设计的工业协议。该协议的正确性依赖于各部件实时方面的假设。本文主要阐述了使用时序规约语言TLA+对BRP协议进行规约和验证的过程。首先通过自然语言非形式化地描述BRP协议的基本原理和需求,在此基础上建立了BRP的形式化模型,利用TLA+先对不考虑实时要求的BRP进行规约,然后添加实时约束获得BRP完整的规约,最后使用模型检验器TLC验证BRP协议的各种性质。

关键词: BRP TLA+ ABP规约 验证 模型检验

Abstract:

The Bounded Retransmission Protocol(BRP) is an industrial protocol designed for the transfer of large data files over unreliable communication lines . The protocol relies on specific assumptions on the timed behaviours of its components. This paper describes our experiences with specifying and verifying BRP using TLA+. First,we give an informal natural-language description about the main principles and requirements of BRP. Then a model is built bas sed on this. Using TLA+,we specify the untimed BRP first, and then complete the whole specification by adding real-time constraints. Finally, the propeerties of BRP are verified by the model checker TLC.

Key words: BRP;TLA+, ABP, specification, verification, model checking