30

2023

-

11

What is the principle of USB-C hub?


Hubs are pure hardware network underlying devices and basically do not have the "intelligent memory" and "learning" capabilities similar to switches. It also does not have the MAC address table that the switch has, so when it sends data, it is not targeted, but uses broadcast mode to send it. That is to say, when it wants to send data to a certain node, it does not send the data directly to the destination node, but sends the data packet to all nodes connected to the hub, as shown in the figure.

Hubs are pure hardware network underlying devices and basically do not have the "intelligent memory" and "learning" capabilities similar to switches. It also does not have the MAC address table that the switch has, so when it sends data, it is not targeted, but uses broadcast mode to send it. That is to say, when it wants to send data to a certain node, it does not send the data directly to the destination node, but sends the data packet to all nodes connected to the hub, as shown in the figure.
This method of broadcasting data has the following shortcomings:
(1) User data packets are sent to all nodes, which is likely to cause insecurity in data communications. Some people with ulterior motives can easily intercept other people’s data packets illegally;
(2) Since all data packets are sent to all nodes at the same time, coupled with the shared bandwidth method introduced above, it is more likely to cause network traffic jams and further reduce network execution efficiency.
(3) Non-duplex transmission, low network communication efficiency. Each port of the hub can only carry out data communication in one direction at the same time, and cannot perform bidirectional duplex transmission like a switch. The network execution efficiency is low and cannot meet the communication needs of larger networks.