Skip to main content

2021 | OriginalPaper | Buchkapitel

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

verfasst von : Sophie Coudert

Erschienen in: Rigorous State-Based Methods

Verlag: Springer International Publishing

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

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.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Fußnoten
2
https://static-content.springer.com/image/chp%3A10.1007%2F978-3-030-77543-8_4/503576_1_En_4_IEq42_HTML.gif restricts the domain of function F to S. https://static-content.springer.com/image/chp%3A10.1007%2F978-3-030-77543-8_4/503576_1_En_4_IEq43_HTML.gif restricts it to \(dom(F)\backslash S\).
 
3
Notice that frame outside the receiver window may be too old or too recent ones.
 
4
We are currently transposing them in the new release of the Rodin theory plugin.
 
5
https://static-content.springer.com/image/chp%3A10.1007%2F978-3-030-77543-8_4/503576_1_En_4_IEq138_HTML.gif becomes https://static-content.springer.com/image/chp%3A10.1007%2F978-3-030-77543-8_4/503576_1_En_4_IEq139_HTML.gif later in refinement.
 
6
Reminder: acknowledgments outside the window are handled by event reack.
 
Literatur
1.
Zurück zum Zitat Abrial, J.-R.: Modeling in Event-B: System and Software Engineering, 1st edn. Cambridge University Press, New York (2010)CrossRef Abrial, J.-R.: Modeling in Event-B: System and Software Engineering, 1st edn. Cambridge University Press, New York (2010)CrossRef
2.
Zurück zum Zitat Stenning, N.V.: A data transfer protocol. Comput. Netw. 1(2), 99–110 (1976) Stenning, N.V.: A data transfer protocol. Comput. Netw. 1(2), 99–110 (1976)
3.
Zurück zum Zitat Tanenbaum, A.S., et al.: Computer Networks. Prentice-Hall (1996) Tanenbaum, A.S., et al.: Computer Networks. Prentice-Hall (1996)
4.
Zurück zum Zitat Richier, J.-L., Rodriguez, C., Sifakis, J., Voiron, J.: Verification in XESAR of the sliding window protocol. In: IFIP WG6.1 Seventh International Conference on Protocol Specification, Testing and Verification VII, NLD. North-Holland Publishing Co (1987) Richier, J.-L., Rodriguez, C., Sifakis, J., Voiron, J.: Verification in XESAR of the sliding window protocol. In: IFIP WG6.1 Seventh International Conference on Protocol Specification, Testing and Verification VII, NLD. North-Holland Publishing Co (1987)
6.
Zurück zum Zitat Godefroid, P., Long, D.E.: Symbolic protocol verification with queue BDDs. Formal Methods Syst. Des. 14(3), 257–271 (1999) Godefroid, P., Long, D.E.: Symbolic protocol verification with queue BDDs. Formal Methods Syst. Des. 14(3), 257–271 (1999)
7.
Zurück zum Zitat Smith, M.A., Klarlund, N.: Verification of a sliding window protocol using IOA and MONA. In: FORTE/PSTV 2000, pp. 19–34. NLD (2000). Kluwer, B.V Smith, M.A., Klarlund, N.: Verification of a sliding window protocol using IOA and MONA. In: FORTE/PSTV 2000, pp. 19–34. NLD (2000). Kluwer, B.V
9.
Zurück zum Zitat Badban, B., Fokkink, W., Groote, J.F., Pang, J., van de Pol, J.: Verification of a sliding window protocol in \(\mu \)CRL and PVS. Formal Aspects Comput. 17(3), 342–388 (2005) Badban, B., Fokkink, W., Groote, J.F., Pang, J., van de Pol, J.: Verification of a sliding window protocol in \(\mu \)CRL and PVS. Formal Aspects Comput. 17(3), 342–388 (2005)
11.
Zurück zum Zitat Stankaitis, P., Iliasov, A., Ait-Ameur, Y., Kobayashi, T., Ishikawa, F., Romanovsky, A.: A refinement based method for developing distributed protocols. In: HASE 2019, pp. 90–97 (2019) Stankaitis, P., Iliasov, A., Ait-Ameur, Y., Kobayashi, T., Ishikawa, F., Romanovsky, A.: A refinement based method for developing distributed protocols. In: HASE 2019, pp. 90–97 (2019)
13.
Zurück zum Zitat Zhu, C., Butler, M., Cirstea, C.: Trace semantics and refinement patterns for real-time properties in Event-B models. Sci. Comput. Program. 197 (2020) Zhu, C., Butler, M., Cirstea, C.: Trace semantics and refinement patterns for real-time properties in Event-B models. Sci. Comput. Program. 197 (2020)
16.
Zurück zum Zitat Chkliaev, D., Nepomniaschy, V.: Deductive verification of the sliding window protocol. Autom. Control. Comput. Sci. 47, 12 (2013) Chkliaev, D., Nepomniaschy, V.: Deductive verification of the sliding window protocol. Autom. Control. Comput. Sci. 47, 12 (2013)
17.
Zurück zum Zitat Fokkink, W., Pang, J., De Pol, J.: Cones and foci: A mechanical framework for protocol verification. Form. Methods Syst. Des. 29(1), 1–31 (2006)CrossRef Fokkink, W., Pang, J., De Pol, J.: Cones and foci: A mechanical framework for protocol verification. Form. Methods Syst. Des. 29(1), 1–31 (2006)CrossRef
18.
Zurück zum Zitat Van de Snepscheut, J.L.A.: The sliding-window protocol revisited. Formal Aspects Comput. 7(1), 3–17 (1995)CrossRef Van de Snepscheut, J.L.A.: The sliding-window protocol revisited. Formal Aspects Comput. 7(1), 3–17 (1995)CrossRef
19.
Zurück zum Zitat Hoogerwoord, R.R.: A formal derivation of a sliding window protocol. Computer science reports. Technische Universiteit Eindhoven (2006) Hoogerwoord, R.R.: A formal derivation of a sliding window protocol. Computer science reports. Technische Universiteit Eindhoven (2006)
21.
Zurück zum Zitat Butler, M.: Incremental design of distributed systems with Event-B. Eng. Methods Tools Softw. Saf. Secur. 22(131) (2009) Butler, M.: Incremental design of distributed systems with Event-B. Eng. Methods Tools Softw. Saf. Secur. 22(131) (2009)
Metadaten
Titel
Proving the Safety of a Sliding Window Protocol with Event-B
verfasst von
Sophie Coudert
Copyright-Jahr
2021
DOI
https://doi.org/10.1007/978-3-030-77543-8_4

Premium Partner