Robustness
-
There are several attributes of the USB that contributes to its robustness
-
Signal integrity using different drivers, receivers, and shielding
-
CRC protection over control and data fields
-
Detection of attach and detach and system-level configuration of resources
-
Self-recovery in protocol, using timeouts for lost or corrupted packets
-
Flow control for streaming data to ensure isochrony and hardware buffer management
-
Data and control pipe constructs for ensuring independence from adverse interactions between functions
鲁棒性
-
以下属性增强了USB的鲁棒性
-
信号完整性:通过调用不同的驱动器、接收器、屏蔽器来确保信号的完整性
-
循环冗余检验:保护控制域和数据域
-
检测机制:检测附加和分离以及系统级的资源配置
-
自恢复协议:对丢失或错误的数据包启用超时检测
-
数据流的流量控制:确保同时性和硬件缓冲区管理
-
数据和控制管道结构:保证不受函数间互相不利的函数调用的影响