先决条件 – 计算机网络中的传输模式
传输模式有 3 种类型,如下所示:单工模式、半双工模式和全双工模式。这些解释如下。
- 单工模式:
在单工模式下,发送方可以发送数据,但发送方无法接收数据。它是一种单向通信。 - 半双工模式:
在半双工模式下,Sender 可以发送数据,也可以一次接收一个数据。它是双向定向通信,但一次一个。 - 全双工模式:
在全双工模式下,Sender 可以同时发送数据,也可以同时接收数据。它是双向双向通信。
单工、半双工和全双工传输模式的区别:
Simplex | Half duplex | Full duplex |
---|---|---|
Simplex mode is a uni-directional communication. | Half duplex mode is a two-way directional communication but one at a time. | Full duplex mode is a two-way directional communication simultaneously. |
In simplex mode, Sender can send the data but that sender can’t receive the data. | In half duplex mode, Sender can send the data and also can receive the data but one at a time. | In full duplex mode, Sender can send the data and also can receive the data simultaneously. |
The simplex mode provides less performance than half duplex and full duplex. | The half duplex mode provides less performance than full duplex. | Full duplex provides better performance than simplex and half duplex mode. |
Example of simplex mode are:Keyboard and monitor. | Example of half duplex mode is: Walkie-Talkies. | Example of full duplex mode is:Telephone. |