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.

CN122437762APending Publication Date: 2026-07-21HANGZHOU DPTECH INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

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

Technical Problem

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.

Method used

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.

Benefits of technology

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.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122437762A_ABST
    Figure CN122437762A_ABST
Patent Text Reader

Abstract

The application provides a port switching method and device for link failure, equipment and medium. The method comprises the following steps: in the user state, first, a detection thread detects the current link according to a preset time interval, and sends a failure notification message to the kernel state when the current link failure is detected. Then, in the kernel state, the port state is changed to switch the link in response to the failure notification message. In this way, the link detection process is executed in the user state, and the port switching process is executed in the kernel state, which can improve the port switching speed when the link fails.
Need to check novelty before this filing date? Find Prior Art