Patent ID: 9320082
Filing Date: 2016-04-19
CPC Classification: H04L,H04W

Claim Text:
1. A method for switching wireless devices in a looped network, wherein the wireless devices comprise a core wireless device and remote wireless devices, and the core wireless device has a first port and a second port, the remote wireless devices comprises at least a first remote wireless device and a second remote wireless device, the core wireless device is connected with the first remote wireless device and the second remote wireless device through the first port and the second port, respectively, the method comprising: at the core wireless device, detecting whether a line error rate at each of the first port and the second port is within a determined threshold range; when the detected line error rate is within the determined threshold range, sending a first valid control character to a slave port of the first remote wireless device through the first port of the core wireless device, and sending a second valid control character to a slave port of the second remote wireless device through the second port of the core wireless device, when the detected line error rate is not within the determined threshold range, sending an invalid control character to each of the slave port of the first and second remote wireless devices through respective ports of the core wireless device, wherein the first valid control character is different from the second valid control character; at each remote wireless device, detecting whether a line error rate at a receiving end of a master port of the remote wireless device is within the determined threshold range; when the detected line error rate is within the determined threshold range, forwarding the first or second valid control character received at the slave port to the master port, when the detected line error rate is not within the determined threshold range, sending the invalid control character to the master port; wherein each remote wireless device sends the invalid control character to its slave port continuously; in an unlinked state, when the first valid control character is received at a first port of the remote wireless device and the second valid control character, which has a priority lower than that of the first valid control character, is received at a second port of the remote wireless device, setting, by the remote wireless device, the first port of the remote wireless device as the slave port, and the second port of the remote wireless device as the master port.