Port switching method and device for link failure, equipment and medium
By detecting link faults in user space and performing port switching in kernel space, the problem of slow link switching speed in existing technologies is solved, enabling fast link switching on low- and mid-range devices and improving fault detection and switching speed.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- HANGZHOU DPTECH INFORMATION TECH CO LTD
- Filing Date
- 2026-04-29
- Publication Date
- 2026-07-21
AI Technical Summary
Existing technologies suffer from slow port switching speeds during link failures, making it difficult to meet the demand for rapid switching, especially in low- and mid-range devices where there is insufficient link switching capability.
In user space, fault detection is performed through a probe thread, and in kernel space, port state changes are executed to switch links, thus achieving asynchronous decoupling of link detection and switching processes. The kernel directly calls the driver interface to control the hardware, avoiding system command delays.
It improves port switching speed during link failures, achieving millisecond-level fault detection and switching, and is suitable for single-core or low-performance CPU devices, reducing hardware costs and complexity.
Smart Images

Figure CN122437762A_ABST