Part 11 Data Link Control and Protocols
Slide 211.1 Flow and Error Control Flow Control Error Control
Slide 3Note : Flow control alludes to an arrangement of techniques used to confine the measure of information that the sender can send before sitting tight for affirmation.
Slide 4Note : Error control in the information interface layer depends on programmed rehash ask for, which is the retransmission of information.
Slide 511.2 Stop-and-Wait ARQ Operation Bidirectional Transmission
Slide 611.1 Normal operation
Slide 711.2 Stop-and-Wait ARQ, lost edge
Slide 811.3 Stop-and-Wait ARQ, lost ACK outline
Slide 9Note : In Stop-and-Wait ARQ, numbering outlines keeps the holding of copy edges.
Slide 1011.4 Stop-and-Wait ARQ, deferred ACK
Slide 11Note : Numbered affirmations are required if an affirmation is postponed and the following casing is lost.
Slide 1211.5 Piggybacking
Slide 1311.3 Go-Back-N ARQ Sequence Number Sender and Receiver Sliding Window Control Variables and Timers Acknowledgment Resending Frames Operation
Slide 1411.6 Sender sliding window
Slide 1511.7 Receiver sliding window
Slide 1611.8 Control factors
Slide 1711.9 Go-Back-N ARQ, typical operation
Slide 1811.10 Go-Back-N ARQ, lost edge
Slide 1911.11 Go-Back-N ARQ: sender window estimate
Slide 20Note : In Go-Back-N ARQ, the extent of the sender window must be under 2m; the span of the recipient window is dependably 1.
Slide 2111.4 Selective-Repeat ARQ Sender and Receiver Windows Operation Sender Window Size Bidirectional Transmission Pipelining
Slide 2211.12 Selective Repeat ARQ, sender and recipient windows
Slide 2311.13 Selective Repeat ARQ, lost edge
Slide 24Note : In Selective Repeat ARQ, the extent of the sender and collector window must be at most one-portion of 2 m .
Slide 2511.14 Selective Repeat ARQ, sender window measure
Slide 26Example 1 In a Stop-and-Wait ARQ framework, the data transmission of the line is 1 Mbps, and 1 bit takes 20 ms to make a round trek. What is the data transmission postpone item? On the off chance that the framework information edges are 1000 bits long, what is the usage rate of the connection? Arrangement The transfer speed postpone item is 1 10 6 20 10 - 3 = 20,000 bits The framework can send 20,000 bits amid the time it takes for the information to go from the sender to the recipient and afterward back once more. Be that as it may, the framework sends just 1000 bits. We can state that the connection use is just 1000/20,000, or 5%. Hence, for a connection with high transfer speed or long postponement, utilization of Stop-and-Wait ARQ squanders the limit of the connection.
Slide 27Example 2 What is the usage rate of the connection in Example 1 if the connection utilizes Go-Back-N ARQ with a 15-outline succession? Arrangement The transfer speed postpone item is still 20,000. The framework can send up to 15 outlines or 15,000 bits amid a round trek. This implies the usage is 15,000/20,000, or 75 percent. Obviously, if there are harmed outlines, the usage rate is considerably less on the grounds that edges must be loathe.
Slide 2811.5 HDLC Configurations and Transfer Modes Frames Frame Format Examples Data Transparency
Slide 2911.15 NRM
Slide 3011.16 ABM
Slide 3111.17 HDLC outline
Slide 3211.18 HDLC outline sorts
Slide 3311.19 I-outline
Slide 3411.20 S-outline control field in HDLC
Slide 3511.21 U-outline control field in HDLC
Slide 36Table 11.1 U-outline control charge and reaction
Slide 37Example 3 Figure 11.22 demonstrates a trade utilizing piggybacking where is no blunder. Station A starts the trading of data with an I-outline numbered 0 took after by another I-outline numbered 1. Station B piggybacks its affirmation of both casings onto an I-edge of its own. Station B's first I-edge is additionally numbered 0 [N(S) field] and contains a 2 in its N(R) field, recognizing the receipt of An's edges 1 and 0 and demonstrating that it anticipates that edge 2 will land next. Station B transmits its second and third I-outlines (numbered 1 and 2) preceding tolerating further casings from station A. Its N(R) data, in this way, has not changed: B outlines 1 and 2 demonstrate that station B is as yet anticipating that A casing 2 should touch base next.
Slide 3811.22 Example 3
Slide 39Example 4 In Example 3, assume outline 1 sent from station B to station A has a blunder. Station An illuminates station B to resend outlines 1 and 2 (the framework is utilizing the Go-Back-N component). Station A sends a reject supervisory edge to declare the mistake in casing 1. Figure 11.23 demonstrates the trade.
Slide 4011.23 Example 4
Slide 41Note : Bit stuffing is the way toward including one additional 0 at whatever point there are five back to back 1s in the information so that the collector does not mix up the information for a banner.
Slide 4211.24 Bit stuffing and expulsion
Slide 4311.25 Bit stuffing in HDLC
SPONSORS
SPONSORS
SPONSORS