Switching threshold setting method and apparatus and device
AssigneeHuawei Technologies Co., Ltd.
InventorsPing Fang, Qiang Xiao, Zhenguo Du
Life of this patent
Estimating the term…
Abstract
Embodiments provide a switching threshold setting method and apparatus, and a device, applied to a wireless local area network. A switching threshold of a terminal and a switching threshold of a wireless access device that match each other are set, so that when the wireless access device is to release an association with the terminal, the terminal has started roaming to find a target wireless access device.
Claims14
A switching threshold setting method, comprising:
- obtaining, by a first device, a switching threshold of a second device and a transmit power of the second device, wherein the switching threshold of the second device and the transmit power of the second device are received from the second device;
- and
- determining and setting, by the first device, a switching threshold of the first device according to the switching threshold of the second device, the transmit power of the second device, and a transmit power of the first device, wherein determining and setting the switching threshold of the first device comprises:
- obtaining, by the first device, a first sum value by calculating a sum of a first difference and the switching threshold of the second device, wherein the first difference is between the transmit power of the second device and the transmit power of the first device;
- and
- determining and setting, by the first device, the switching threshold of the first device according to the first sum value;
- wherein when the first device detects that a signal strength of the second device is less than the switching threshold of the first device, the first device releases a wireless communication connection to the second device.
A first device, comprising:
- a processor;
- and
- a non-transitory computer-readable storage medium storing a program to be executed by the processor, the program including instructions for:
- obtaining a switching threshold of a second device and a transmit power of the second device;
- determining and setting a switching threshold of the first device, wherein the switching threshold of the first device is determined according to the switching threshold of the second device and a difference between the transmit power of the second device and a transmit power of the first device, wherein determining and setting the switching threshold of the first device comprises:
- obtaining a first sum value by calculating a sum of the switching threshold of the second device and the difference is between the transmit power of the second device and the transmit power of the first device;
- and
- determining and setting the switching threshold of the first device according to the first sum value;
- and
- when the first device detects that signal strength of the second device is less than the switching threshold of the first device, releasing a wireless communication connection to the second device.
A non-transitory computer-readable storage medium storing a program for execution by a processor, the program including instructions for:
- obtaining a switching threshold of a second device and a transmit power of the second device;
- determining and setting a switching threshold of a first device, wherein the switching threshold of the first device is determined according to the switching threshold of the second device and a difference between the transmit power of the second device and a transmit power of the first device, wherein determining and setting the switching threshold of the first device comprises:
- obtaining a first sum value by calculating a sum of the switching threshold of the second device and the difference between the transmit power of the second device and the transmit power of the first device;
- and
- determining and setting the switching threshold of the first device according to the first sum value;
- and
- when it is detected that signal strength of the second device is less than the switching threshold of the first device, releasing a wireless communication connection to the second device.
Dependencies are inferred from the claim text.