1 / 7

protocol specification

CS4550: Data and Computer Networks Protocol Specification and Analysis Communicating Finite State Machines. protocol specification. protocols are algorithms, critical to network operation; these are/will be standardized, and must be clearly specified, without ambiguity, so that

gaye
Download Presentation

protocol specification

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CS4550:Data and Computer NetworksProtocol Specification and AnalysisCommunicating Finite State Machines

  2. protocol specification • protocols are algorithms, critical to network operation; these are/will be standardized, and must be clearly specified, without ambiguity, so that • implementations by different vendors will be the same, and • protocol can be thoroughly analyzed (checked for errors) • communicating finite state machines (CFSM) - a very often used tool for protocol specification

  3. communicating finite state machines • formally defined, widely accepted model for protocols • network N is a set of communicating machines, {m1, m2, ... mn} • each machine mi is a finite state machine, with a set of states and transitions between the states. • transitions t, drawn as arcs from 1 state to another, are sending (-t), receiving (+t), or internal (t). • machines communicate through implicit, infinite length queues. (these represent communication channels).

  4. protocol analysis • protocol specified as a CFSM may be analyzed mechanically using reachability analysis. • global state, local state • protocol errors • deadlock • unspecified reception • unexecutable transitions

  5. protocol analysis • State Diagram for Protocol • reachability analysis of A-B protocol • examples of protocol analysis: • deadlock • unspecified reception • unexecutable transition • never terminating protocol • undecidability of protocol analysis

  6. stop and wait protocol • finite state machine specification • no timeout and retransmission • reachability analysis • what happens if a message is lost? • Add timeout and retransmission

  7. stop and wait • Are there any “never terminating conditions?” • What happens if the channel dies? • Modify the specification to include a timeout counter.

More Related