Proving the Safety of a Sliding Window Protocol with Event-B

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

This paper presents an Event-B modeling of the general version of the Sliding Window Protocol (SWP). SWPs ensure reliable data transfer over unreliable media by routing frames together with their indexes. Providing SWPs with formal guarantees is recognized to be quite complex. The experiment we present here shows that Event-B refinement is a suitable approach to ensure the safety of the protocol. First a simple model is developed with unbounded frame indexes. Then bounded indexes and modular arithmetic are introduced, as concrete indexes have fixed size. At this “hybrid” level, unbounded indexes are not used any more in computations but they are still useful to express some properties. Finally, abstract general media are refined towards queues, as an example of implementation. All unbounded indexes fully disappear in the final model.

Original languageEnglish
Title of host publicationRigorous State-Based Methods - 8th International Conference, ABZ 2021, Proceedings
EditorsAlexander Raschke, Dominique Méry
PublisherSpringer Science and Business Media Deutschland GmbH
Pages50-65
Number of pages16
ISBN (Print)9783030775421
DOIs
Publication statusPublished - 1 Jan 2021
Event8th International Conference on Rigorous State-Based Methods, ABZ 2021 - Virtual, Online
Duration: 9 Jun 202111 Jun 2021

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume12709 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference8th International Conference on Rigorous State-Based Methods, ABZ 2021
CityVirtual, Online
Period9/06/2111/06/21

Keywords

  • Event-B
  • Formal refinement
  • Safety
  • Sliding Window Protocol

Fingerprint

Dive into the research topics of 'Proving the Safety of a Sliding Window Protocol with Event-B'. Together they form a unique fingerprint.

Cite this