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

Claim 13:
14. A second device, comprising a processor and a transceiver, wherein:
the processor is configured to switch a fiber transmission rate of a first port of the second device to a first fiber transmission rate based on a preset switching direction within a rotation period of a second fiber transmission rate set, wherein the second fiber transmission rate set is a set of fiber transmission rates supported by the second device, and the second fiber transmission rate set comprises the first fiber transmission rate, wherein the rotation period of the second fiber transmission rate set is a sum of time after each fiber transmission rate in the second fiber transmission rate set runs once, and wherein the preset switching direction is an order of the fiber transmission rates within the rotation period of the second fiber transmission rate set;
within a duration of the first fiber transmission rate, in response to the transceiver receiving a negotiation packet from a first device adjacent to the second device through the first port of the second device, and the processor successfully decoding the negotiation packet, control the first port of the second device to communicate with the first device based on the first fiber transmission rate, wherein the duration of the first fiber transmission rate is greater than or equal to a sum of a duration of all fiber transmission rates before the fiber transmission rate is switched to the first fiber transmission rate and a preset negotiation time s and wherein the duration of all fiber transmission rates before the fiber transmission rate is switched to the first fiber transmission rate is related to locations of all fiber transmission rates within the rotation period of the second fiber transmission rate set before the fiber transmission rate is switched to the first fiber transmission rate; and
the transceiver is further configured to send a response packet to the first device through the first port of the second device.