Alternating bit protocol
alternating bit protocol
networking
(abp) a simple data link layer protocol that retransmits lost or corrupted messages.
messages are sent from transmitter a to receiver b. -ssume that the channel from a to b is initialised and that there are no messages in transit. each message contains a data part, a checksum, and a one-bit sequence number, i.e. a value that is 0 or 1.
when a sends a message, it sends it continuously, with the same sequence number, until it receives an acknowledgment (ack) from b that contains the same sequence number. when that happens, a complements (flips) the sequence number and starts transmitting the next message.
when b receives a message from a, it checks the checksum. if the message is not corrupted b sends back an ack with the same sequence number. if it is the first message with that sequence number then it is sent for processing. subsequent messages with the same sequence bit are simply acknowledged. if the message is corrupted b sends back an negative/error acknowledgment (nak). this is optional, as a will continue transmitting until it receives the correct ack.
a treats corrupted ack messages, and nak messages in the same way. the simplest behaviour is to ignore them all and continue transmitting.
(2000-10-28)
Read Also:
- Alternating calculus
alternating calculus alternating calculus al·ter·nat·ing calculus (ôl’tər-nā’tĭng, āl’-) n. a urinary calculus having successive layers of different composition. also called combination calculus.
- Alternating group
the subgroup consisting of all even permutations, of the group of all permutations of a finite set.
- Alternating hemiplegia
alternating hemiplegia alternating hemiplegia n. hemiplegia caused by a lesion on the opposite side of the brainstem, accompanied by an additional paralysis of a motor cranial nerve on the same side as the lesion. also called crossed hemiplegia, stauroplegia.
- Alternating light
a beacon showing different colors in succession. historical examples the alternating light of the candle flashed upon the body of the old woman, and he remembered all. snarley-yow frederick marryat pour into well-greased pan, alternating light and dark mixtures to give it the “marbled” appearance. fifty-two sunday dinners elizabeth o. hiller thus constantly is alternating […]
- Alternating pulse
alternating pulse alternating pulse n. a pulse pattern that occurs at regular intervals but alternates between weak and strong beats; usually indicates myocardial disease. also called pulsus alternans.