A coloured Petri net approach to protocol verification

被引:28
|
作者
Billington, J [1 ]
Gallasch, GE [1 ]
Han, B [1 ]
机构
[1] Univ S Australia, Comp Syst Engn Ctr, Mawson Lakes, SA 5095, Australia
关键词
D O I
10.1007/978-3-540-27755-2_6
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The correct operation of communication and co-operation protocols, including signalling systems in various networks, is essential for the reliability of the many distributed systems that facilitate our global economy. This paper presents a methodology for the formal specification, analysis and verification of protocols based on the use of Coloured Petri nets and automata theory. The methodology is illustrated using two case studies. The first belongs to the category of data transfer protocols, called Stop-and-Wait Protocols, while the second investigates the connection management part of the Internet's Transmission Control Protocol (TCP). Stop-and-Wait protocols (SWP) incorporate retransmission strategies to recover from data transmission errors that occur on noisy transmission media. Although relatively simple, their basic mechanisms are important for practical protocols such as the data transfer procedures of TCP. The SWP case study is quite detailed. It considers a class of protocols characterized by two parameters: the maximum sequence number (MaxSeqNo) and the maximum number of retransmissions (MaxRetrans). We investigate the operation of the protocol over (lossy) in-sequence (FIFO) channels, and then over (lossy) re-ordering media, such as that provided by the Internet Protocol. Four properties are considered: the bound on the number of messages that can be in the communication channels; whether or not the protocol provides the expected service of alternating sends and receives; (unknowing) loss of messages (i.e. data sent but not received, and not detected as lost by the protocol); and the acceptance of duplicates as new messages. The model is analysed using a combination of hand proofs and automatic techniques. A new result for the bound of the channels (2MaxRetrans+1) is proved for FIFO channels. It is further shown that for re-ordering channels, the channels are unbounded, loss and duplication can occur, and that the SWP does not provide the expected service. We discuss the relevance of these results to the Transmission Control Protocol and indicate the limitations of our approach and the need for further work. The second case study (TCP) illustrates the use of hierarchies to provide a compact and readable CPN model for a complex protocol. We advocate an incremental approach to both modelling and analysis. The importance of stating the assumptions involved is emphasised and we illustrate how they affect the abstractions that can be made to simplify the model. The incremental approach to analysis allows us to validate the model against the TCP definition and to show how errors in the connection establishment procedures can be found. Finally we provide some observations and tips on the how the methodology can be used based on many years of experience. The emphasis of the paper is on providing a tutorial style introduction to the methodology, examining case studies in depth, rather than breadth, and giving some insight into the process while noting its limitations.
引用
收藏
页码:210 / 290
页数:81
相关论文
共 50 条
  • [1] A coloured Petri net analysis of the Transaction Internet Protocol
    Georgiadis, Christos K.
    Pimenidis, Elias
    Kokkinidis, Ioannis
    [J]. INTERNATIONAL JOURNAL OF ELECTRONIC SECURITY AND DIGITAL FORENSICS, 2010, 3 (03) : 204 - 222
  • [2] A Coloured Petri Net Analysis of the Transaction Internet Protocol
    Georgiadis, Christos K.
    Kokkinidis, Ioannis
    Pimenidis, Elias
    [J]. GLOBAL SECURITY, SAFETY, AND SUSTAINABILITY, 2010, 92 : 238 - +
  • [3] Security simulation to security protocol based on coloured Petri net
    Zheng, Jun-Jie
    Xiao, Jun-Mo
    Yang, Ming
    Liu, Zhi-Hua
    Ye, Song
    Zhou, Yan-Nian
    [J]. Xitong Fangzhen Xuebao / Journal of System Simulation, 2006, 18 (11): : 3294 - 3296
  • [4] Pragmatics Annotated Coloured Petri Nets for Protocol Software Generation and Verification
    Simonsen, Kent Inge Fagerland
    Kristensen, Lars M.
    Kindler, Ekkart
    [J]. TRANSACTIONS ON PETRI NETS AND OTHER MODELS OF CONCURRENCY XI, 2016, 9930 : 1 - 27
  • [5] Modeling and Verification of a Protocol for Operational Support Using Coloured Petri Nets
    Westergaard, Michael
    Maggi, Fabrizio M.
    [J]. APPLICATIONS AND THEORY OF PETRI NETS, 2011, 6709 : 169 - 188
  • [6] Verification of protocol ECMA with decomposition of Petri net model
    Zaitsev, DA
    [J]. ISAS/CITSA 2004: International Conference on Cybernetics and Information Technologies, Systems and Applications and 10th International Conference on Information Systems Analysis and Synthesis, Vol 3, Proceedings, 2004, : 231 - 236
  • [7] An extensible coloured Petri net model of a transport protocol for packet switched networks
    Chaly, DJ
    Sokolov, VA
    [J]. PARALLEL COMPUTING TECHNOLOGIES, PROCEEDINGS, 2003, 2763 : 66 - 75
  • [8] Modelling and analysing the Contract Net Protocol - extension using Coloured Petri Nets
    Billington, Jonathan
    Gupta, Amar Kumar
    Callasch, Guy Edward
    [J]. FORMAL TECHNIQUES FOR NETWORKED AND DISTRIBUTED SYSTEMS - FORTE 2008, 2008, 5048 : 169 - 184
  • [9] A coloured Petri net trust model
    Lory, P
    [J]. 14TH INTERNATIONAL WORKSHOP ON DATABASE AND EXPERT SYSTEMS APPLICATIONS, PROCEEDINGS, 2003, : 415 - 419
  • [10] Petri Net Model of Session Initiation Protocol and Its Verification
    Yang Peng
    Yuan Zhanting
    Wang Jizeng
    [J]. 2007 INTERNATIONAL CONFERENCE ON WIRELESS COMMUNICATIONS, NETWORKING AND MOBILE COMPUTING, VOLS 1-15, 2007, : 1861 - +