Protocols - Protocols Protocols are the rules governing the...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Protocols Protocols are the rules governing the interaction between two (or perhaps more) parties. Societies – both human and animal – establish protocols of social behavior through cultural practices. These protocols may distinguish the relative social standing of the parties and define the accepted forms of exchange among them. Interactions among or with technical artifacts or systems may also be expressed as a protocol. For example, a communications protocol defines the rules which computing systems use to exchange data. A heavily used protocol on the internet is the TCP (Transmission Control Protocol). Protocols related to technical artifacts and systems can be represented using finite state machines. The document that defines the TCP protocol, for example, uses a finite state machine to clearly express the behavior of the protocol. When used in this way, a state of a finite state machine represents the current stage of the protocol. The conditions associated with the transitions from this state give information about what is required for the protocol to enter its next stage. A finite state machine model of a reactive system can also be viewed as defining the protocol for interacting with the system. The terms of the protocol are conveyed by the conditions on transitions that require the operation of an external entity. For example, in the simple candy dispenser presented earlier (and duplicated below) the “accept nickel” and “accept dime” conditions are expressed as conditions which, when satisfied, causes the transition to a new state. ready
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Page1 / 4

Protocols - Protocols Protocols are the rules governing the...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online