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

Claim 11:
12. The apparatus according to claim 10, wherein the instructions, when executed by the processor, further cause the apparatus to be configured to:
receive second link status information sent by a second network device, wherein the second link status information comprises second egress port information and a second bit error rate, the second egress port information indicates a second egress port of the second network device, the second network device is configured to send data traffic to a next-hop network device of the second network device along the second transmission path through the second egress port, and the second bit error rate indicates a bit error rate at which data traffic is sent through the second egress port;
determine a second accumulated bit error rate of the second transmission path based on the second link status information;
determine whether the second accumulated bit error rate is less than the first bit error rate threshold, and
switch the service flow from the first transmission path to the second transmission path when determining that the first accumulated bit error rate is greater than the first bit error rate threshold and the second accumulated bit error rate is less than the first bit error rate threshold, wherein the second accumulated bit error rate is a weighted sum of bit error rates of all egress ports configured to send data traffic on the second transmission path.