A method to prevent loops in networking of multiple wireless Extender devices

By adding loop prevent fields in the wireless Extender device and the beacon of the wireless router or AP, the connection status, hop count and device form parameters are used to determine the connection device, which solves the loop problem during wireless Extender device networking, and achieves a stable Network connection and coverage extension.

CN114423059BActive Publication Date: 2024-12-24TAICANG T&W ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210003591.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-04
Publication Date
2024-12-24
Estimated Expiration
2042-01-04

AI Technical Summary

Technical Problem

When multiple wireless Extender devices are networked, loops are easily formed, resulting in unstable network connections and affecting network coverage and experience.

Method used

Add loop prevent field in the VIE of wireless Extender devices and wireless router or AP beacon, including the STA interface connection status, number of hops and device form parameters. These parameters determine whether to connect and which device to connect to avoid loop formation.

Benefits of technology

By adding loop prevent fields and parameter judgments, loops between wireless Extender devices are effectively avoided, ensuring the stability of network connection and the expansion of coverage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114423059B_ABST
    Figure CN114423059B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for preventing a loop from occurring in a network of multiple wireless Extender devices. A loop prevent field is added to the VIE of the wireless Extender device used for networking and the beacon of the wireless router or wireless AP. The loop prevent field contains STA interface connection status, hop count and device form parameters. The wireless Extender device scans the networking devices, screens out BSSID devices with the same SSID as its own and strong RSSI, obtains one or more parameters of the STA interface connection status, hop count and device form in the loop prevent field of these devices, and determines whether to connect and which networking device to connect according to the one or more parameters in the acquired loop prevent field. The present invention can prevent loops from forming between Extender devices.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of wireless communications, and in particular relates to a method for preventing loops from occurring in a network of multiple wireless Extender devices. Background Art

[0002] With the development of wireless network technology, a WiFi name is needed for office networks and home networks in many rooms. Users can access the Internet in different rooms without reconnecting to a new WiFi. If a router / AP device is used, the wireless signal in some locations will be too weak and the network connection will be unstable. Then we need multiple wireless Extender devices to expand the coverage of the wireless network. Multiple devices automatically form a network. When multiple wireless Extenders are networked, because the wireless Extender is a wireless extension device, it needs to first connect to other devices wirelessly, and then enhance the wireless signal to expand the wireless coverage. Other wireless Extenders can connect to it. If two or more wireless Extender devices want to connect end to end, a loop will be formed. Networking requires ensuring that several wireless Extenders cannot form a loop. Correct connection is required to obtain a good network experience. Summary of the invention

[0003] The technical problem to be solved by the present invention is to provide a method for preventing a loop from occurring when multiple wireless Extender devices are networked.

[0004] To solve the above problems, the technical solution adopted by the present invention is:

[0005] A method for preventing loops from occurring when multiple wireless Extender devices are networked, wherein a loop prevent field is added to the VIE of the wireless Extender device used for networking and the beacon of the wireless router or wireless AP, wherein the loop prevent field contains STA interface connection status, hop count and device form parameters; the wireless Extender device scans the networking devices, screens out BSSID devices with the same SSID as its own and a strong RSSI, obtains one or more parameters of the STA interface connection status, hop count and device form in the loop prevent field of these devices, and determines whether to connect and which networking device to connect to based on the one or more parameters in the obtained loop prevent field.

[0006] Furthermore, the parameters in the loop prevent field are defined as follows: the STA interface connection status is defined as 0 for disconnected and 1 for connected; the number of hops is defined as 0-15, and the device form is defined as 1 for router or AP and 2 for wireless Extender; the initial value of the number of hops for router or AP is 0, the STA interface connection status is 1, and the device form is 1.

[0007] Further, when the RSSI is greater than -70 dBm, it is determined that the RSSI of the BSSID device is strong.

[0008] Furthermore, when scanning and screening devices with relatively strong RSSI, a BSSID device list is formed, and the BSSID device list includes parameter information of the BSSID and the loop prevent field.

[0009] Furthermore, the devices in the BSSID device list are arranged in descending order according to RSSI strength.

[0010] Furthermore, when the wireless Extender device determines whether to connect and which networking device to connect to, the device form is judged as the first priority, the STA interface connection status is judged as the second priority, the number of hops is judged as the third priority, and the RSSI is judged as the fourth priority.

[0011] Furthermore, when the wireless Extender device traverses the scanning BSSID device list, it first traverses with the first priority. If it traverses to a device with device form 1, the wireless Extender device directly connects to the device with device form 1. After the connection, the STA interface connection state of the wireless Extender device itself is set to 1, and the number of hops is set to 1. Otherwise, it traverses with the second priority.

[0012] Furthermore, when the wireless Extender device is traversing with the second priority, if it traverses to a device whose STA interface connection status is 1, it will traverse with the third priority again, and select the networked wireless Extender device with the smallest hop value for connection. After the connection is established, the STA interface connection status of the wireless Extender device itself is set to 1, and the hop count is set to the hop count of the connected networked wireless Extender device plus 1; otherwise, the networked devices are scanned again.

[0013] Furthermore, when traversing with the third priority and selecting the networked wireless Extender device with the smallest hop value for connection, the networked wireless Extender device with the strongest RSSI is selected for connection with the fourth priority. After the connection is established, the STA interface connection state of the wireless Extender device itself is set to 1, and the hop count is set to the hop count of the connected networked wireless Extender device plus 1.

[0014] The beneficial effects of adopting the above technical solution are:

[0015] The invention adds a loop prevent field in a wireless networking device, configures the STA interface connection state, hop count and device form parameters for the loop prevent field, and avoids loops between wireless Extender devices according to the judgment priorities of these parameters. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 It is a schematic diagram of the networking process of the method of the present invention. DETAILED DESCRIPTION

[0017] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the specific embodiments of the present invention and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0018] The invention discloses a method for preventing loops from occurring between wireless Extender devices when multiple wireless Extender devices are networked.

[0019] In order to solve the loop problem, the following issues need to be addressed:

[0020] 1. Check whether the wireless device to which the wireless Extender (relay) device is connected has been connected to the network;

[0021] 2. Whether the wireless device to which the wireless Extender device is connected has the shortest hop count to the router (wireless routing) or AP (wireless hotspot);

[0022] 3. How to obtain the status of the wireless device to which the wireless Extender device is to be connected.

[0023] The method of the present invention is specifically as follows: a loop prevent field is added to the VIE (Vendor Information Element) of a wireless Extender device used for networking and a beacon of a wireless router or a wireless AP, and the loop prevent field is configured with STA interface connection status, hop count and device form parameters, which are used as judgment parameters when the wireless Extender device scans for networking; when the wireless Extender device is networking, by scanning networking devices (networked devices), it screens out BSSID devices (herein, BSSID devices are devices in the networked devices) with the same SSID as itself (the wireless Extender device to be networked) and a strong RSSI, and obtains one or more parameters in the STA interface connection status, hop count and device form in the loop prevent field of these devices, and judges whether to connect and which networking device to connect to based on the one or more parameters in the obtained loop prevent field.

[0024] The parameters in the loop prevent field are defined as follows: the STA interface connection status is defined as 0 for disconnected and 1 for connected; the number of hops is defined as 0-15, and the device form is defined as 1 for router or AP and 2 for wireless Extender; the initial value of the number of hops for router or AP is 0, the STA interface connection status is 1, and the device form is 1.

[0025] For the present invention, when RSSI is greater than -70dBm, the RSSI of the BSSID device is determined to be stronger. Through this step, devices with stronger communication signals can be screened out from the networked devices, which is beneficial for the wireless Extender device to play the Extender role.

[0026] See also Figure 1 When scanning and screening devices with strong RSSI, the wireless Extender device of the present invention forms a BSSID device list, in which all devices with strong RSSI are devices with strong RSSI. Meanwhile, the BSSID device list includes at least BSSID information and various parameter information of the loop prevent field, which facilitates the wireless Extender device to judge and select a suitable BSSID device for connection.

[0027] In order to facilitate the wireless Extender device to traverse the devices in the BSSID device list and connect to the device with the strongest RSSI, the devices in the BSSID device list are arranged in descending order according to RSSI strength.

[0028] As a preferred embodiment of the present invention, when the wireless Extender device determines whether to connect and which networking device to connect to, the device form is judged as the first priority, the STA interface connection status is judged as the second priority, the number of hops is judged as the third priority, and the RSSI is judged as the fourth priority.

[0029] As a preferred embodiment of the present invention, when the wireless Extender device traverses and scans the BSSID device list, it first traverses with the first priority, that is, it first determines whether there is a router or AP device in the BSSID device list. If it traverses to a device with a device form of 1, that is, there is a router or AP device in the BSSID device list, the wireless Extender device directly connects to the device with a device form of 1 (router or AP). After the connection, the STA interface connection state of the wireless Extender device itself is set to 1, and the hop count is set to 1. Otherwise, it traverses with the second priority, that is, there is no router or AP device in the BSSID device list. In addition to routers or AP devices, there may also be wireless Extender devices in the BSSID device list.

[0030] When the wireless Extender device is traversing with the second priority (STA interface connection status), if it traverses to a device with a STA interface connection status of 1, if the number of devices is greater than 1, it will traverse with the third priority again, select the networked wireless Extender device with the smallest hop value for connection, and after the connection is established, set the STA interface connection status of the wireless Extender device itself to 1, and set the hop count to the hop count of the connected networked wireless Extender device plus 1, otherwise directly connect to the wireless Extender device; if no device with a STA interface connection status of 1 is traversed, rescan the networked devices. When traversing with the third priority and selecting the networked wireless Extender device with the smallest hop value for connection, if the number of devices is greater than 1, select the networked wireless Extender device with the strongest RSSI for connection with the fourth priority, and after the connection is established, set the STA interface connection status of the wireless Extender device itself to 1, and set the hop count to the hop count of the connected networked wireless Extender device plus 1, otherwise directly connect to it. Of course, since the BSSID device list is already sorted in descending RSSI order, the device traversed first is the one with the strongest RSSI and can be connected directly.

Claims

1. A method for preventing loops from occurring in a network of multiple wireless Extender devices, characterized in that: A loop prevent field is added to the VIE of the wireless Extender device used for networking and the beacon of the wireless router or wireless AP. The loop prevent field contains the STA interface connection status, hop count, and device form parameters. The wireless Extender device scans the networking devices, selects the BSSID devices with the same SSID as its own and a strong RSSI, and obtains one or more parameters of the STA interface connection status, hop count, and device form in the loopprevent field of these devices, and determines whether to connect and which networking device to connect to based on the one or more parameters in the obtained loop prevent field. The parameters in the loop prevent field are defined as follows: STA interface connection status is defined as 0 for unconnected and 1 for connected; hop count is defined as 0-15, and device form is defined as 1 for router or AP and 2 for wireless Extender; the initial hop count of router or AP is 0, the STA interface connection status is 1, and the device form is 1; When the RSSI is greater than -70dBm, the RSSI of the BSSID device is judged to be strong; When scanning and screening devices with strong RSSI, a BSSID device list is formed, and the BSSID device list includes parameter information of the BSSID and the loop prevent field; The devices in the BSSID device list are arranged in descending order according to RSSI strength; When the wireless Extender device determines whether to connect and which networking device to connect to, it considers the device form as the first priority, the STA interface connection status as the second priority, the hop count as the third priority, and the RSSI as the fourth priority; When the wireless Extender device traverses the scanning BSSID device list, it first traverses with the first priority. If it traverses to a device with device form 1, the wireless Extender device directly connects to the device with device form 1. After the connection, the wireless Extender device's own STA interface connection state is set to 1 and the hop count is set to 1. Otherwise, it traverses with the second priority.

2. A method for preventing loops in a network of multiple wireless Extender devices according to claim 1, characterized in that: When the wireless Extender device is traversing with the second priority, if it traverses to a device with a STA interface connection status of 1, it will traverse with the third priority again and select the networked wireless Extender device with the smallest hop value for connection. After the connection is established, the STA interface connection status of the wireless Extender device itself is set to 1, and the hop count is set to the hop count of the connected networked wireless Extender device plus 1; otherwise, the networked device is scanned again.

3. A method for preventing loops from occurring in a network of multiple wireless Extender devices according to claim 2, characterized in that: When traversing with the third priority and selecting the networked wireless Extender device with the smallest hop value for connection, the networked wireless Extender device with the strongest RSSI is selected for connection with the fourth priority. After the connection is established, the STA interface connection state of the wireless Extender device itself is set to 1, and the hop count is set to the hop count of the connected networked wireless Extender device plus 1.