What is the sliding window protocol?

Protokol posuvných oken je metoda přenosu dat napříč sítí. It is used where the computer needs to receive data packets in a specific, reliable order and provides "windows" of the time to send data. Although the sliding window protocol can transmit the theoretical unlimited amounts of data, the data can only be transmitted via fixed windows over time, allowing the computer more precisely to measure the order of the packets sent.

Informace zaslané v počítačové síti nejsou odesílány do jednoho velkého přenosu, ale spíše v menších „paketech“. Packety jsou jednoduše informace o kousnutí, které přijímací počítač znovu sestavuje pro konstrukci hotového produktu. Myšlenka typické skládačky lze použít k ilustraci bodu; Když je hádanka zakoupena, kusy jsou rozptýleny a rozebrány, ale lze je rekonstruovat tak, aby vytvořily konečný obrázek. Pakety fungují stejně stejným způsobem.

Při přijímání je nutný protokol posuvného oknaPočítač musí získat pakety ve spolehlivém pořadí. Funguje trochu jako semafor, který ovládá křižovatku. Když je světlo zelené, je otevřeno posuvné okno a informace mohou volně protékat. Po odeslání jednoho cyklu informací se „světlo“ zčervená a pro tuto chvíli už nelze předat žádná data. Jakmile přijímací počítač má pakety, odešle zpět signál, který potvrzuje, že informace obdržela; To je signál k odeslání více dat podél řádku.

By constantly stopping and starting the data flow and transferring transmission to several different and measurable pieces, the receiving computer will obtain packets in a more regulated order. To lze porovnat s metodami přenosu, které nepracují tok dat. Without constant feedback from the receiving computer to ensure that the packets are obtained in the correct order, the transfer of information can quickly become a chaotic mess.

Ideally, the amount of information sent during any data explosion during the sliding window protocol should be greater than the width measurementKy zone of the connection line. Measurement of delay in bandwidth simply tells how long it takes to flow from one end of the connection to another. As long as the amount of information sent to the explosion exceeds this number, the transfer of information will seem trouble -free from the end user's point of view; There is no delay between sending packets using this method.

IN OTHER LANGUAGES

Was this article helpful? Thanks for the feedback Thanks for the feedback

How can we help? How can we help?