Affiliation:
1. University of Glasgow, Glasgow, United Kingdom of Great Britain and Northern Ireland and University of Tabuk, Tabuk, Saudi Arabia
2. University of Glasgow, Glasgow, United Kingdom of Great Britain and Northern Ireland
Abstract
As more end-user applications depend on Internet of Things (IoT) technology, it is essential the networking protocols underpinning these applications are reliable. Using Formal Methods to reason about protocol specifications is an established technique, but, due to their perceived difficulty and mathematical nature, receive limited use in practice. We propose an approach based on Milner’s bigraphs—a flexible
diagrammatic
modelling language—that allows developers to “draw” the protocol updates as a way to increase use of formal methods in protocol design. To show bigraphs in action, we model part of the Routing Protocol for low-power and Lossy Networks (RPL), popular in wireless sensor networks, and verify it using model checking. We compare our approach with the more common simulation approach and show that analysing the bigraph model often finds more valid routes than simulation (which usually returns only a single routing tree even with 500 simulations) and that it has comparable performance. The model is open to extension, with less implementation effort than simulation, and we show this through two examples: a security attack and physical link drops. Bigraphs seem a promising approach to protocol design, and this is the first step in promoting their use.
Publisher
Association for Computing Machinery (ACM)
Reference56 articles.
1. Formal modeling and analysis of security schemes of RPL protocol using colored Petri nets;Ahmad Farooq;PLoS One,2023
2. Maram Albalwe, Blair Archibald, and Michele Sevegnani. 2024. Modelling real-time systems with bigraphs. In Proceedings of the 15th International Workshop on Graph Computation Models.
3. RPL: IPv6 Routing Protocol for Low-Power and Lossy Networks
4. LoRa Alliance. 2015. White Paper: A technical overview of LoRa and LoRaWAN. In The LoRa Alliance: San Ramon, CA, USA, (2015), 7--11.