Patent ID: 11863303
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Digital communication (Electrical engineering)
Classification: CPC H | IPC H

Claim 0:
1. A link bit error-based processing method, comprising:
receiving, by a controller, first link status information sent by a first network device, wherein the first link status information comprises first egress port information and a first bit error rate, the first egress port information indicates a first egress port of the first network device, the first network device is configured to send data traffic to a next-hop network device of the first network device along a first transmission path through the first egress port, and the first bit error rate indicates a bit error rate at which data traffic is sent through the first egress port;
determining, by the controller, a first accumulated bit error rate of the first transmission path based on the first link status information, wherein the first accumulated bit error rate is a weighted sum of bit error rates of all egress ports configured to send data traffic on the first transmission path;
determining, by the controller, whether the first accumulated bit error rate is greater than a first bit error rate threshold; and
switching, by the controller, a service flow from the first transmission path to a second transmission path when the controller determines that the first accumulated bit error rate is greater than the first bit error rate threshold, wherein a head node network device of the first transmission path and a head node network device of the second transmission path are a same network device, and a tail node network device of the first transmission path and a tail node network device of the second transmission path are a same network device, and
wherein the first bit error rate threshold is a bit error rate threshold that is set corresponding to a service type of the service flow, while maintaining a service path for flows that exceed the first bit error rate threshold.