Channel synchronization method and device and electronic equipment

Channel availability detection is performed through the target AP and other APs follow their results for DFS channel synchronization, which solves the problem of inefficient efficiency when multiple APs realize DFS channel synchronization, improves the accuracy and efficiency of channel synchronization, and avoids radar signal interference.

CN119629722APending Publication Date: 2025-03-14TP-LINK INT CHENGDU CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510030697.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-08
Publication Date
2025-03-14

AI Technical Summary

Technical Problem

When multiple APs realize DFS channel synchronization, inefficiency leads to performance degradation and radar signal interference.

Method used

Channel availability detection is performed through the target AP, and other APs follow the detection results of the target AP to perform DFS channel synchronization, considering whether the scanning range of the target AP covers the scanning range of other APs, so as to reduce the number of channel availability detections and avoid interference with radar signals.

Benefits of technology

It improves the accuracy and efficiency of multiple APs when using DFS function, reduces the number of channel availability detection times, and avoids interference to radar signals.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119629722A_ABST
    Figure CN119629722A_ABST
Patent Text Reader

Abstract

The invention discloses a channel synchronization method, a channel synchronization device and electronic equipment. The method comprises the following steps: acquiring a first scanning range of a target AP and a second scanning range of other APs different from the target AP; obtaining a channel availability detection result of the target AP; and executing DFS channel synchronization between the target AP and other APs based on the channel availability detection result, the first scanning range and the second scanning range. According to the invention, the technical problem of low efficiency when a plurality of APs realize DFS channel synchronization in the related technology is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communications, and in particular to a channel synchronization method, device and electronic equipment. Background Art

[0002] In related technologies, when a wireless device enables the Dynamic Frequency Selection (DFS) function, it needs to continuously monitor its operating channel, that is, continuously perform Channel Availability Check (CAC). If a radar signal is detected, the wireless device needs to switch channels to avoid affecting radar operations. However, CAC takes one minute on most DFS channels, and the CAC time for European weather radar channels is 10 minutes in the 5600-5650MHz frequency band. If the channel needs to be switched after CAC, the client device may temporarily lose contact with the wireless device, resulting in performance degradation.

[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0004] The embodiments of the present invention provide a channel synchronization method, device and electronic device to at least solve the technical problem of low efficiency when multiple APs implement DFS channel synchronization in the related art.

[0005] According to one aspect of an embodiment of the present invention, a channel synchronization method is provided, including: obtaining a first scanning range of a target AP, and a second scanning range of other APs different from the target AP; obtaining a channel availability detection result of the target AP; and performing DFS channel synchronization between the target AP and the other APs based on the channel availability detection result, the first scanning range, and the second scanning range.

[0006] Optionally, the DFS channel synchronization between the target AP and the other APs is performed based on the channel availability detection result, the first scanning range, and the second scanning range, including: when the channel availability detection result is that no DFS signal is detected, obtaining the distance between the target AP and the other APs; based on the distance, the first scanning range, and the second scanning range, the DFS channel synchronization between the target AP and the other APs is performed.

[0007] Optionally, executing DFS channel synchronization between the target AP and the other APs based on the distance, the first scanning range and the second scanning range includes: detecting whether the first scanning range covers the second scanning range based on the distance, the first scanning range and the second scanning range; when the detection result is that the first scanning range covers the second scanning range, executing DFS channel synchronization between the target AP and the other APs.

[0008] Optionally, the executing of dynamic frequency selection DFS channel synchronization between the target AP and the other APs based on the channel availability detection result, the first scanning range and the second scanning range includes: the target AP sends the channel availability detection result to the other APs, and controls the other APs to execute DFS channel synchronization between the target AP and the other APs based on the channel availability detection result, the first scanning range and the second scanning range; and / or the target AP determines and notifies the other APs based on the channel availability detection result, the first scanning range and the second scanning range, and executes DFS channel synchronization between the target AP and the other APs.

[0009] Optionally, the target AP sending the channel availability detection result to the other APs includes: the target AP sending the channel availability detection result directly to the other APs; and / or the target AP sending the channel availability detection result to the other APs via a beacon.

[0010] Optionally, before obtaining the first receiver scanning range of the target access point AP, it also includes: obtaining the distance between each two of a plurality of APs, and the scanning ranges corresponding to the plurality of APs respectively; based on the distance between each two of the plurality of APs and the scanning ranges corresponding to the plurality of APs respectively, determining one or more APs among the plurality of APs as the target AP.

[0011] Optionally, the determining one or more APs among the multiple APs as the target AP based on the distance between each two of the multiple APs and the scanning ranges corresponding to the multiple APs respectively includes: determining one or more APs among the multiple APs whose scanning ranges cover the largest number of scanning ranges of other APs as the target APs based on the distance between each two of the multiple APs and the scanning ranges corresponding to the multiple APs respectively.

[0012] Optionally, based on the channel availability detection result, the first scanning range and the second scanning range, the target AP and the other APs perform dynamic frequency selection DFS channel synchronization, including: when there are multiple target APs, obtaining the channel availability detection results obtained after the multiple target APs perform channel availability detection; determining the target DFS channel based on the channel availability detection results corresponding to the multiple target APs; and controlling the target AP and the other APs to switch to the target DFS channel.

[0013] According to another aspect of the present invention, a channel synchronization device is provided, including: a first acquisition module, used to acquire a first scanning range of a target AP, and a second scanning range of other APs different from the target AP; a second acquisition module, used to acquire a channel availability detection result of the target AP; and an execution module, used to execute DFS channel synchronization between the target AP and the other APs based on the channel availability detection result, the first scanning range and the second scanning range.

[0014] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium includes a stored executable program, wherein when the executable program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the channel synchronization methods described above.

[0015] According to another aspect of the present invention, there is provided an electronic device, comprising: a memory storing an executable program; and a processor for running the program, wherein the program executes any one of the channel synchronization methods described above when running.

[0016] According to yet another aspect of the present invention, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, the steps of any one of the channel synchronization methods are implemented.

[0017] In the embodiment of the present invention, a target AP performs channel availability detection, and other APs perform DFS channel synchronization based on the channel availability detection result of the target AP. By considering whether the scanning range of the target AP covers the scanning range of other APs, the purpose of reducing the number of channel availability detections and avoiding interference with radar signals is achieved, thereby achieving the technical effect of improving the accuracy and efficiency of multiple APs using the DFS function, and further solving the technical problem of low efficiency when multiple APs implement DFS channel synchronization in the related art. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The illustrative embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0019] Figure 1 It is a flow chart of a relay connection method of a WiFi router according to the related art;

[0020] Figure 2 is a flow chart of a method for dynamic frequency selection and radar avoidance management in a multi-node network according to the related art;

[0021] Figure 3 is a flow chart of a channel synchronization method according to an embodiment of the present invention;

[0022] Figure 4 is a schematic diagram of a complex networking environment according to an optional implementation mode of the present invention;

[0023] Figure 5 is a schematic diagram of a DFS synchronization method in a mixed networking environment of multiple prototype machines according to an optional implementation mode of the present invention;

[0024] Figure 6 It is a structural block diagram of a channel synchronization device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0025] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. 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 creative work should fall within the scope of protection of the present invention.

[0026] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0027] First, some nouns or terms that appear in the description of the embodiments of the present application are subject to the following explanations:

[0028] Access Point (AP): Generally refers to a wireless access point, which is an access point of a wireless network, commonly known as a "hotspot". AP plays a key bridge role in wireless networks, connecting wireless devices (such as laptops, smartphones, IoT devices) with wired networks or the Internet. AP provides coverage through wireless signals, allowing wireless devices to access the network without physical connection.

[0029] Dynamic Frequency Selection (DFS): Dynamic frequency selection is a mechanism in wireless communication technology, which is mainly used to prevent wireless network devices (such as WiFi access points or routers) from interfering with radar systems in a specific frequency band. DFS can be in a WiFi network using the 5GHz frequency band, because this frequency band overlaps with the frequency range of some radar systems. When a wireless device (such as a router) enables the DFS function, it will continuously monitor the channel it is currently using. If the device detects a radar signal on the channel, it will automatically switch to another non-interfering channel. After switching, the device will avoid using the original channel for a period of time to prevent interfering with the radar again.

[0030] Channel Availability Check (CAC): When a wireless device first uses or reuses a channel that may conflict with the frequency of a radar system, the device will monitor the channel for a period of time. This process is called channel availability check. During the channel availability check, the device will detect whether there is a radar signal on the channel. If a radar signal is detected during the channel availability check, the device will automatically switch to another channel that does not conflict with the frequency of the radar system. After switching, the device will avoid using the channel where the radar signal was detected again for a certain period of time (usually 30 minutes).

[0031] DFS signal: DFS signal refers specifically to radar signals that wireless devices may detect on certain frequency channels under the DFS mechanism. When a wireless device starts to operate on a channel with the DFS function enabled, it must first perform CAC detection. If a DFS signal is detected during the CAC detection process, that is, if a radar signal is detected, the device must immediately stop using the channel.

[0032] DFS channel synchronization: DFS channel synchronization refers to the process in which multiple devices (such as wireless access points AP) in a wireless network coordinate their use of specific channels when using the DFS function to avoid interference with radar signals and ensure network performance.

[0033] Scan range: Scan range refers to a specific concept of AP when it comes to DFS channel switching. It refers to the range in which the DFS antenna of a wireless device can detect radar signals when performing CAC. The scan range is the range of radar signal detection capabilities that a wireless device must have in order to comply with regulatory requirements when using certain channels that may share frequencies with radar systems. It is also limited by antenna gain, receiving sensitivity, and frequency characteristics, but due to the particularity of the DFS channel, the scan range usually needs to cover a longer distance to ensure that the wireless device can stay away from the radar operating area. In summary, the scan range is a specific application of the coverage range in the DFS channel detection scenario. It emphasizes the ability to detect radar signals on a specific frequency channel, rather than general signal reception capabilities.

[0034] Beacon: Beacon is a special data packet broadcast periodically by the AP in a wireless LAN, mainly used for network discovery and synchronization. In the 802.11 protocol, the Beacon frame is the basis of wireless network communication. It contains the necessary information of the AP and is used to enable wireless client devices (such as smartphones, laptops, etc.) to discover and connect to the network.

[0035] When a wireless device has DFS enabled, it will continuously monitor its operating channel, and if a radar signal is detected, the device will automatically switch to another channel and avoid using the original channel for a certain period of time. This process ensures that the operation of the wireless network does not interfere with radar operations.

[0036] In actual applications, DFS may affect the performance of wireless networks because it may cause channel switching and connection interruption. For example, if the router detects a radar signal and switches to a different channel, the client device may temporarily lose connectivity until the router completes the channel switch and reestablishes the connection. In addition, if there is a lot of channel interference in the wireless environment, using DFS channels may degrade network performance.

[0037] For the above problem, method 1 provides a relay connection method for a WiFi router. When a subordinate router relays an upper AP working on a DFS channel, the AP of the subordinate router does not need to perform a DFS CAC scan, thereby improving the connection efficiency. Figure 1 It is a flow chart of a relay connection method of a WiFi router according to the related art. Figure 1As shown. S10. The lower-level router scans and obtains the information of each AP around it, and selects the upper-level AP to be connected from the scanned APs based on preset rules; S20. The lower-level router connects to the upper-level AP to be connected, wherein, when the upper-level AP to be connected works in the DFS channel, the AP of the lower-level router does not need to perform DFS CAC scanning, and can directly perform relay connection with the upper-level AP to be relayed; S30. The lower-level router monitors the relay connection status. If the relay connection is normal, the current relay connection status is maintained. If the relay connection is disconnected, it returns to execute steps S10 and S20; S40. When the relay connection is successful or the relay connection is disconnected, the lower-level router sends a connection status update notification to the relay management terminal.

[0038] Method 1 adopts the above-mentioned relay connection method of the WiFi router. When the upper AP to be connected works in the DFS channel, the AP of the lower router does not need to perform DFS CAC scanning, and can directly relay the connection with the upper AP to be relayed, which can save the time of DFS CAC scanning in the connection process, thereby improving the technical effect of connection efficiency. However, Method 1 cannot solve the following situation: the upper router cannot detect the DFS signal or the DFS signal does not reach the threshold, but the position of the lower router can be affected by the DFS signal. At this time, according to this method, the lower router follows the upper router to switch to the DFS channel, which will interfere with the radar signal.

[0039] Another method 2 provides a method for dynamic frequency selection and radar avoidance management in a multi-node network, in which the roles of master and slave devices are defined. Figure 2 is a flow chart of a method for dynamic frequency selection and radar avoidance management in a multi-node network according to the related art, such as Figure 2As shown. Initially, the wireless device is monitoring for radar while operating in master mode. If it detects a radar within its operating frequency channel and it is not a root node, it can switch to slave mode. Otherwise, it will continue to monitor for any radar. After switching to slave mode, the wireless device scans the frequency channel and tries to find any peer device, which is preferably a root node or a node connected to a root node. After finding the peer device and establishing a connection with the peer device, the wireless device sends a radar detection message to the peer device. The peer device then sends a Channel Switch Announcement (CSA) message to the wireless device. After receiving the CSA message from the peer device, the wireless device knows which channel has no radar. Therefore, the wireless device switches the radar-free channel noticed by the peer device. Since the wireless device and the peer device operate in the same frequency channel after the switch, the communication connection between the two devices can be reestablished. Otherwise, the wireless device must monitor for radar again. After successfully reestablishing the connection, the wireless device can switch back to master mode. Method 2 ensures that the network can maintain its functionality and connectivity while complying with regulatory requirements by dynamically switching between master and slave modes and using control messages to pass radar detection and channel switching information between devices. However, Method 2 cannot address the following situation: the DFS signal only covers the slave device and not the master device. According to this method, in the above situation, the entire network will not switch to a non-DFS channel, thereby affecting the radar signal.

[0040] Based on this, the embodiment of the present invention provides a channel synchronization method. In a multi-AP scenario, APs know each other's positions, and the target AP performs CAC. Based on the CAC result of the target AP and the scanning range of the target AP and other APs, it is determined whether other APs need to switch channels. By judging the distance and the scanning range of the target AP and other APs, it can be ensured that the CAC result of the target AP is also applicable to other APs, thereby reducing the number of CAC times, improving efficiency, and avoiding interference with radar signals.

[0041] According to an embodiment of the present invention, an embodiment of a channel synchronization method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0042] Figure 3 is a flow chart of a channel synchronization method according to an embodiment of the present invention. Figure 3 As shown, the method comprises the following steps:

[0043] Step S302: Acquire a first scanning range of a target AP and a second scanning range of other APs different from the target AP.

[0044] As an optional embodiment, the execution subject of the method of this embodiment can be a control device in a wireless network. It should be noted that the control device can be of various types, for example, it can be a master AP among multiple APs, or a network controller or a central management node. For example, the master AP can be the target AP, or any one of the other APs.

[0045] As an optional embodiment, when obtaining the first scanning range of the target AP and the second scanning range of other APs different from the target AP, multiple methods can be used. Obtaining the scanning range involves understanding the characteristics of the device and the network environment. Therefore, the hardware parameters such as the antenna gain, transmission power, and receiving sensitivity of the AP can be obtained from the device data manual or specification sheet of the AP to obtain the theoretical scanning range of the AP. This acquisition method can directly obtain the scanning range of the AP. It can also be obtained through field testing. Test equipment (such as a laptop computer, a smart phone) can be placed in different locations, and then the strength of the wireless signal can be measured to determine the boundary of the scanning range. Compared with obtaining the theoretical scanning range, the theoretical scanning range may be different from the scanning range in the actual environment, and this test acquisition method can obtain a more accurate scanning range. The scanning range of the above AP can also be obtained through positioning information and distance estimation. If each AP can know each other's precise location, the scanning range can be inferred by calculating the distance between the APs and combining the antenna characteristics of the device. This method of using positioning information and signal strength analysis can dynamically adjust the scanning range to adapt to changes in the network environment.

[0046] Step S304: Acquire the CAC result of the target AP.

[0047] As an optional embodiment, when obtaining the CAC result of the target AP, the target AP performs CAC to obtain the CAC result. By performing CAC on the target AP and other APs do not need to perform CAC, network delays caused by performing CAC on each AP in the network can be avoided, the waiting time for detection can be reduced, and the resources of the entire network can be saved, thereby improving the continuity of network services.

[0048] As an optional embodiment, the CAC result may refer to the result obtained by the target AP performing CAC. If the target AP detects a radar signal when performing CAC, and the DFS channel is unavailable at this time, the CAC result may be considered as the detection of the DFS signal; if the target AP does not detect a radar signal when performing CAC, and the DFS channel is available at this time, the CAC result may be considered as the failure to detect the DFS signal, and the DFS channel synchronization may be performed.

[0049] Step S306: Based on the CAC result, the first scanning range, and the second scanning range, the target AP and the other APs are synchronized with each other in a DFS channel.

[0050] As an optional embodiment, when performing DFS channel synchronization between the target AP and the other APs based on the CAC result, the first scanning range and the second scanning range, multiple methods may be used to perform DFS channel synchronization between the target AP and the other APs.

[0051] For example, when the CAC result is that the DFS signal is not detected, the distance between the target AP and the other APs can be obtained; based on the distance, the first scanning range and the second scanning range, the target AP and the other APs can be synchronized with the DFS channel. That is, when the CAC result is that the DFS signal is not detected, the distance between the target AP and the other APs is obtained, and the DFS channel synchronization between the target AP and the other APs is performed. In other words, according to the CAC result, it can be known that there is a DFS channel that can be used, and then the target AP and the other APs are switched to the DFS channel. If the CAC result is that the DFS signal is detected, that is, when the DFS channel is not available, there is no need to perform subsequent operations, so that the target AP and the other APs can continue to work normally on the non-DFS channel, and there is no need to process other distance information, thereby reducing the occupation of processing resources.

[0052] For another example, the distance between the target AP and the other APs may be obtained first; based on the distance, the first scanning range and the second scanning range, it is determined whether the other APs are applicable to the CAC result of the target AP; finally, based on the CAC result, it is determined whether to perform DFS channel synchronization between the target AP and the other APs. This can also achieve DFS channel synchronization between the target AP and the other APs, but in this way, no matter what the CAC result is, the distance between the target AP and the other APs must be obtained, and the determination of whether the other APs are applicable to the CAC result of the target AP will result in occupation and waste of AP resources.

[0053] As an optional embodiment, when performing DFS channel synchronization between the target AP and the other APs based on the distance, the first scanning range, and the second scanning range, multiple methods may be used. For example, based on the distance, the first scanning range, and the second scanning range, it may be determined whether the first scanning range covers the second scanning range; if it is determined that the first scanning range can cover the second scanning range, the target AP and the other APs may perform DFS channel synchronization.

[0054] For example, the target AP is located at the coordinate (0, 0), and the corresponding first scanning range is 10 meters; there is an AP among other APs, and the AP is located at the coordinate (0, 1), and the distance from the target AP is 1 meter, and the corresponding second scanning range is 5 meters. At this time, it can be determined that the first scanning range can cover the second scanning range. For another example, the target AP is located at the coordinate (0, 0), and the corresponding first scanning range is 10 meters; there is an AP among other APs, and the AP is located at the coordinate (0, 6), and the distance from the target AP is 6 meters, and the corresponding second scanning range is 8 meters. At this time, it can be determined that the first scanning range cannot cover the second scanning range, so DFS channel synchronization cannot be performed on other APs based on the CAC result of the target AP, to avoid the situation where DFS signals exist in the scanning range of other APs that are not covered by the target AP, but are not detected by other APs.

[0055] By detecting whether the first scanning range covers the second scanning range, other APs that are actually within the scanning range of the target AP can be more accurately identified, ensuring that the AP that follows the target AP for DFS channel synchronization can receive the same DFS signal as the target AP, that is, ensuring that the AP switched to the DFS channel will not interfere with the radar signal, thereby improving the efficiency and accuracy of channel synchronization.

[0056] As an optional embodiment, when executing DFS channel synchronization between the target AP and the other APs based on the CAC result, the first scanning range and the second scanning range, multiple methods can also be used to execute DFS channel synchronization between the target AP and the other APs based on the CAC result.

[0057] For example, the target AP determines and notifies the other APs based on the channel availability detection result, the first scanning range and the second scanning range, and executes DFS channel synchronization between the target AP and the other APs. In this way, the target AP performs CAC and CAC result judgment, and directly notifies the other APs to follow the target AP to switch channels, which reduces the steps for other APs to make judgments, making network coordination more direct.

[0058] For another example, the target AP may send the CAC result to other APs to control the other APs to perform DFS channel synchronization with the target AP and other APs based on the CAC result, the first scanning range, and the second scanning range. When the target AP sends the CAC result to the other APs, multiple methods may be used.

[0059] For example, the target AP can directly send the CAC result to the other APs. This not only utilizes the target AP to provide reliable CAC results, but also gives other APs in the network a certain degree of autonomous judgment ability, so that they can make channel switching decisions based on their own positions and the CAC results of the target AP. This is more suitable for networking scenarios working on different channels, and increases the flexibility and response speed of the network.

[0060] For another example, the target AP may send the CAC result to the other APs via a beacon. In this method, the target AP embeds the CAC result into the Beacon periodic signal. Other APs, including those that may not be directly connected to the target AP, can obtain the CAC result by monitoring the Beacon signal and decide whether to switch channels based on the distance between themselves and the target AP and the scanning range. This expands the scope of information transmission and enables other non-networked APs to use the CAC result of the target AP, reducing resource waste due to repeated detection and improving user experience, especially when AP devices cannot communicate directly or the network structure is more complex.

[0061] As an optional embodiment, when the target AP and the other APs are synchronized for DFS channels based on the CAC results, the first scanning range, and the second scanning range, it can also be applied to complex networking environments. The complex networking environment refers to challenging scenarios encountered in wireless network deployment. For example, in large environments or environments that require high coverage, multiple APs must be deployed to ensure that the wireless signal covers the entire area; in places such as large conference centers, shopping malls, educational institutions, or office buildings, the density of wireless devices is very high; inside buildings, the network may need to span multiple floors, walls, and other obstacles; in environments with dense traffic or frequent device movement, such as airports, train stations, or stadiums, wireless networks need to be able to quickly adapt to environmental changes. With the acceleration of digital transformation, complex networking environments are becoming more and more common. Therefore, it is necessary to determine a method for multiple APs to synchronize DFS channels in a complex networking environment.

[0062] In a complex networking environment, before obtaining the first scanning range of the target AP, the target AP may be determined first, and the target AP may be determined in a variety of ways. For example, the distances between two of the multiple APs and the scanning ranges corresponding to the multiple APs may be obtained; based on the distances between two of the multiple APs and the scanning ranges corresponding to the multiple APs, one or more of the multiple APs may be determined as the target AP. It should be noted that in a complex networking environment, if the scanning range of a single target AP is not sufficient to cover the scanning ranges of all other APs, multiple target APs may be determined to achieve full coverage of the networked APs. The process of determining one or more of the multiple APs as the target AP based on the distances between two of the multiple APs and the scanning ranges corresponding to the multiple APs may be to determine one or more of the multiple APs as the target AP based on the distances between two of the multiple APs and the scanning ranges corresponding to the multiple APs. For example, it is possible to first determine that among the above-mentioned multiple APs, the AP whose scanning range covers the largest number of scanning ranges of other APs is the first target AP; then determine that among the above-mentioned multiple APs, except for the first target AP and other APs that the first target AP can cover, the AP whose scanning range covers the largest number of scanning ranges of the second other APs is the second target AP; repeat the above steps until all APs among the above-mentioned multiple APs can be covered. By determining as the above-mentioned target APs one or more APs whose scanning range covers the largest number of scanning ranges of other APs, the CAC results of the above-mentioned target APs can be used by a larger number of other APs, thereby minimizing the time for the above-mentioned multiple APs to perform CAC, thereby improving efficiency. By determining as the above-mentioned target APs one or more APs whose scanning range covers the largest number of scanning ranges of other APs, the technical effect of making the best use of the least number of target APs to cover the largest number of other APs can also be achieved, thereby reducing the total number of CACs performed by multiple APs.

[0063] For another example, the scanning range of the AP with the largest scanning range among multiple APs and the scanning range of the AP farthest from the AP can be obtained. If the scanning range of the AP with the largest scanning range can cover the scanning range of the AP farthest from the AP, it means that the AP with the largest scanning range can cover the coverage range of all APs among the multiple APs. At this time, the AP with the largest scanning range can be directly determined as the target AP, so that the CAC result of the target AP can be accepted by all APs among the multiple APs, thereby achieving DFS channel synchronization of multiple APs. By determining the AP with the largest scanning range and the scanning range of the AP farthest from the AP, it is possible to avoid obtaining the distances between multiple APs and the scanning ranges corresponding to the above multiple APs, thereby reducing the occupation of processing resources.

[0064] In the case where there are multiple target APs, the CAC results obtained after the multiple target APs execute CAC are obtained; based on the CAC results corresponding to the multiple target APs, the target DFS channel is determined; and the target AP and the other APs are controlled to switch to the target DFS channel. By determining multiple target APs that can cover all networking APs in the networking AP, the networking decision can be made more centralized and efficient, while taking into account the influence of the entire network coverage range and the distance between devices, reducing the uncertainty in the channel switching decision. The above processing not only improves the DFS management efficiency of the network, but also enhances the robustness and flexibility of the network, which helps to maintain the stability and efficiency of wireless communications in a wide range of and complex application scenarios. At the same time, through the collaboration of multiple target APs, the use of DFS channels can be more accurately calculated and planned, avoiding the channel switching problem caused by insufficient coverage of a single target AP, and further improving the overall performance of the network.

[0065] Through the above steps, the scanning range of each AP in the multiple APs can be used to determine whether the scanning range of the target AP can cover the scanning range of other APs, thereby ensuring that the CAC result of the target AP is applicable to other APs. Therefore, the target AP performs CAC, and other APs follow the CAC result of the target AP to synchronize the DFS channel, so that when the multi-AP network uses the DFS channel, the number of CACs is reduced, the efficiency is improved, and interference with radar signals can be avoided.

[0066] In combination with the above-mentioned embodiment and the optional embodiment, an optional implementation mode is provided. In this optional implementation mode, a DFS synchronization method based on inter-AP positioning is provided. Multiple AP devices in a wireless network know each other's distance. When the first AP (the same as the target AP mentioned above) device completes CAC, and based on its CAC result, it is determined that there will be no DFS signal within its scanning range, and its DFS scanning range can cover the scanning range of other APs (the same as the APs other than the target AP, i.e., the other APs referred to above), the method includes the following processing.

[0067] In implementation mode 1, the first AP determines whether other APs are completely within its scanning range according to the distance, and if so, notifies other APs to switch channels and / or bandwidths accordingly.

[0068] S1, the first AP has a ZDFS function, and the corresponding DFS antenna gain is large, so that the range of the DFS antenna is large.

[0069] Among them, the ZDFS function is a function of implementing DFS by performing CAC through a separate DFS antenna. The first AP has the ZDFS function and a high-gain DFS antenna, so the first AP can quickly and efficiently complete DFS channel detection, and can also detect DFS signals at a longer distance, thereby having a larger DFS signal detection range, so that the first AP can more effectively avoid using channels that conflict with radar signals and can cover more scanning ranges of other APs.

[0070] S2: The first AP and the second AP know each other's distance and calculate whether the scanning range of the second AP is within the scanning range of the first AP according to the distance between them and the scanning range of the DFS antenna of the first AP.

[0071] In a multi-AP network, devices need to know each other's distance, which means that APs can share location or distance information, which can be done through network management protocols or other communication methods. Based on the distance information, the first AP can estimate whether the scanning range of the second AP is within its own scanning range, and thus determine whether the second AP can apply the CAC result of the first AP.

[0072] S3, after the first AP device completes the DFS channel detection of a certain DFS channel and bandwidth, when it decides to switch to the DFS channel and increase the bandwidth, it determines whether the scanning range of other APs is completely within its scanning range based on the distance. If so, it notifies other APs to follow the switching channel and / or bandwidth.

[0073] The first AP performs CAC on a specific DFS channel. If no radar signal is detected, it will switch to the DFS channel and / or increase the bandwidth. At the same time, the first AP will use the location information to determine whether the scanning range of other APs is completely within its scanning range. If other APs are indeed within the scanning range of the first AP, the first AP will notify these APs to follow and switch channels and / or bandwidth synchronously. This can avoid other APs from repeating CAC, saving time and network resources, while ensuring that the network as a whole does not interfere with the radar system.

[0074] In the above implementation mode 1, the first AP completely controls whether other AP devices in the network need to perform DFS channel switching, and more accurately determines whether channels and / or bandwidths can be switched synchronously based on the distance between two APs. This avoids the situation where the DFS signal only affects other AP devices but not the first AP device, causing the entire network to switch to the DFS channel.

[0075] In implementation mode 2, the first AP sends the CAC result to other APs, and other APs determine whether they are within the scanning range of the first AP based on the distance from the first AP. If they are within the scanning range of the first AP, they switch channels and / or bandwidths according to the CAC result of the first AP.

[0076] S1, the first AP has a ZDFS function, and the corresponding DFS antenna gain is large, so that the scanning range of the DFS antenna is large.

[0077] The first AP can quickly complete DFS CAC, and its DFS antenna has high gain, which can expand the detection range of the DFS signal and cover a wider space.

[0078] S2, the first AP and the second AP know each other's distance, and calculate whether the scanning range of the second AP is within the scanning range of the first AP according to the mutual distance and the DFS antenna scanning range of the first AP.

[0079] The first AP and the second AP know each other's distance, which can be achieved through network management or location service protocol. Based on the distance information, other APs can estimate whether their own scanning range is within the DFS scanning range of the first AP, and then determine whether other APs are affected by the radar signal.

[0080] S3, the first AP sends the CAC result to other APs, and other APs determine whether they are within the scanning range of the first AP according to the distance from the first AP. If they are within the scanning range of the first AP, they switch channels and / or bandwidths according to the CAC result of the first AP.

[0081] After completing the CAC of the DFS channel, the first AP sends its CAC result to other APs in the network. After receiving the CAC result, other APs determine whether they need to follow the CAC result of the first AP to switch channels and / or bandwidths based on their distance from the first AP and the DFS scanning range of the first AP. If other APs determine that their scanning range is within the scanning range of the first AP, they follow the decision of the first AP to switch channels and / or adjust bandwidth to avoid interference with radar signals.

[0082] In the above implementation mode 2, other APs independently determine whether they need to follow the first AP to switch bandwidth and / or channel, which is applicable to networking scenarios working on different channels.

[0083] In implementation mode 3, the first AP carries a CAC result in Beacon, and other APs (which may be APs not connected to the first AP) determine whether to switch channels and / or bandwidths based on the CAC result in Beacon and the distance between the AP and the first AP.

[0084] S1, the first AP has a ZDFS function, and the corresponding DFS antenna gain is large, so that the scanning range of the DFS antenna is large.

[0085] The first AP has a ZDFS function, which can efficiently perform CAC of the DFS channel. At the same time, its DFS antenna has a high gain, which expands the scanning range of DFS signal detection, so that the first AP can accurately detect the availability of the DFS channel in a larger range, providing more reliable information for the entire network.

[0086] S2, the first AP carries the CAC result and the scanning range information of its own DFS antenna in the Beacon, and other APs (which may be APs not connected to the first AP) determine whether to switch channels and / or bandwidth based on the CAC result in the Beacon and the distance between them and the first AP.

[0087] The first AP embeds the CAC results and the scanning range information of its own DFS antenna into the periodically sent Beacon signal. Other APs can receive and parse the Beacon signal sent by the first AP, and obtain the CAC results and the DFS scanning range of the first AP. Based on the CAC results and DFS scanning range of the first AP obtained as above, other APs can determine whether it is necessary to follow the CAC results of the first AP to switch channels and / or adjust bandwidth. If other APs determine that they are within the scanning range of the first AP and the detection results of the first AP indicate that the DFS channel is safe, they will choose to follow the CAC results of the first AP, synchronously switch to the DFS channel and / or adjust the bandwidth to improve the overall DFS channel utilization efficiency and performance of the network.

[0088] In the above implementation 3, after CAC, the first AP carries the CAC result and its own DFS scanning range information in Beacon. After receiving Beacon, other APs determine whether to switch channels and / or bandwidth by themselves, which is suitable for non-networking scenarios.

[0089] In a complex networking environment, Figure 4 is a schematic diagram of a complex networking environment according to an optional implementation mode of the present invention, such as Figure 4 As shown. In a complex network environment, there are not only single-level wireless network bridging, but also multi-level wireless network bridging, wired network bridging, and even long-distance bridging. At this time, the change of the channel and / or bandwidth of the upper-level router will cause the lower-level router to change the channel and / or bandwidth, which will cause great network fluctuations and is not suitable for such a complex networking environment.

[0090] Therefore, an optional implementation is provided. In this optional implementation, a DFS synchronization method in a mixed networking environment of multiple prototypes is provided. The method includes the following processing.

[0091] S1: In a network environment with multiple AP devices, select one device as the main AP.

[0092] In an environment where multiple AP devices are networked, you first need to determine a master AP. The role of the master AP is to collect measurement data from other APs in the network and coordinate channel switching. The selection of the master AP can be based on device performance, location, coverage, or existing management mechanisms in the network.

[0093] S2: All AP devices complete the distance measurement of their front-end devices and back-end devices, and return the measurement results to the main AP.

[0094] All AP devices complete the distance measurement of their front-end devices and back-end devices, which is crucial for subsequent DFS coordination, because the distance information will be used to determine the number of other APs that can be covered by an AP's DFS scan results. The measurement results need to be reported to the master AP so that the master AP can perform data analysis and decision-making.

[0095] S3, after the master AP aggregates the data, it performs DFS synchronization.

[0096] Figure 5 is a schematic diagram of a DFS synchronization method in a mixed networking environment of multiple prototypes according to an optional implementation mode of the present invention, such as Figure 5 shown.

[0097] S3.1, firstly, all APs are listed in the unscanned group.

[0098] Initialize the unscanned group and add all AP devices to the unscanned group. All APs are considered as APs that have not yet performed DFS CAC, that is, these APs have not yet detected whether there are radar signals on the channels they are in.

[0099] S3.2, in the unscanned group, according to the scanning range of each AP and the distances of other associated APs, determine the number of APs that can be covered after executing CAC of DFS.

[0100] AP range and coverage judgment: In the unscanned group, the number of APs that can be covered after executing DFS CAC can be calculated based on the scanning range of each AP and the known distance information. That is, after each AP executes DFS CAC, the number of other APs that can be affected by its detection result can be calculated. This can determine which AP's detection result will have the greatest impact on the entire network.

[0101] S3.3, select an AP that can cover the largest number of APs after CAC executing DFS, add it to the scanning group, and add the covered APs to the coverage group.

[0102] The AP with the largest number of covered APs is selected to perform CAC of DFS. An AP device that can cover the largest number of APs after performing CAC of DFS is selected from the unscanned group and added to the scan group, indicating that this AP device will perform CAC. At the same time, the covered AP devices (that is, those within the scanning range of the selected AP) will be added to the coverage group, indicating that they will decide their own channel switching based on the DFS results of the selected AP.

[0103] S3.4, determine whether the unscanned group is empty, if it is empty, execute S3.5, if not empty, execute S3.2.

[0104] Determine whether the unscanned group is empty, that is, check whether all APs have joined the scanned group or the covered group. If there are still APs in the unscanned group, that is, there are still APs that have not been detected and covered, S3.2 will be executed again to continue to select the next AP in the unscanned group that is most suitable for performing CAC for DFS. If the unscanned group is empty, that is, all APs have participated in CAC or are covered, execute the next step S3.5. In this way, ensure that the CAC results of all AP devices are taken into account, and each DFS decision covers as many AP devices as possible to reduce the total number and time of CAC scans.

[0105] S3.5, the APs in the scanning group perform CAC of DFS and aggregate the results to the master AP. The master AP summarizes the channels and / or bandwidths that need to be switched based on the results and synchronizes them to all AP devices.

[0106] When the unscanned group is empty, that is, all APs have participated in CAC or are covered, the APs in the scanned group perform CAC of DFS, that is, check whether the channel is occupied by radar signals, and send the detection results to the main AP. Based on all the scan results, the main AP decides which channels and / or bandwidths of the entire network need to be switched to avoid radar signal interference, and synchronously sends the channel and / or bandwidth switching instructions to all AP devices in the network, so that the channel and / or bandwidth adjustment in the network can be as efficient and accurate as possible, avoiding unnecessary channel switching and network fluctuations.

[0107] In the above optional implementation, all APs run specific programs, and the main AP is responsible for collecting information about other AP devices in the network, including: the ZDFS support status of each AP, the DFS scanning range, and the distance between the upper / lower AP. Based on the above information, a minimum scanning group can be calculated, and after CAC, the scanning group can cover all AP devices in the network. After the scanning group detection is completed, the APs in the scanning group summarize the information of each DFS channel to the main AP. The main AP selects an optimal channel and / or bandwidth based on all detection results, and synchronizes the configuration to all APs in the network. Therefore, the above optional implementation can effectively reduce the number of CAC times in complex networking scenarios, allowing the entire AP network to quickly switch to the target DFS channel.

[0108] According to an embodiment of the present invention, a channel synchronization device is provided. Figure 6 is a structural block diagram of a channel synchronization device according to an embodiment of the present invention. Figure 6 As shown, the device includes: a first acquisition module 602, a second acquisition module 604 and an execution module 606. The device is described below.

[0109] The first acquisition module 602 is used to acquire a first scanning range of a target AP and a second scanning range of other APs different from the target AP; the second acquisition module 604 is connected to the first acquisition module 602 and is used to acquire a channel availability check result of the target AP; the execution module 606 is connected to the second acquisition module 604 and is used to execute DFS channel synchronization between the target AP and the other APs based on the channel availability detection result, the first scanning range and the second scanning range.

[0110] It should be noted here that the above-mentioned first acquisition module 602, second acquisition module 604 and execution module 606 correspond to steps S302 to S306 in the embodiment, and the instances and application scenarios implemented by multiple modules and corresponding steps are the same, but are not limited to the contents disclosed in the above-mentioned embodiment.

[0111] As an optional embodiment, the first acquisition module 602 includes: a first acquisition unit and a determination unit. The first acquisition unit is used to acquire the distance between two of the multiple APs and the scanning ranges corresponding to the multiple APs; the determination unit is connected to the first acquisition unit and is used to determine one or more APs among the multiple APs as the target AP based on the distance between two of the multiple APs and the scanning ranges corresponding to the multiple APs.

[0112] As an optional embodiment, the determination unit includes: a determination subunit. The determination subunit is used to determine one or more APs whose scan ranges cover the largest number of scan ranges of other APs among the multiple APs as the target APs based on the distances between each of the multiple APs and the scan ranges corresponding to the multiple APs.

[0113] As an optional embodiment, the execution module 606 includes: a second acquisition unit and a first execution unit. The second acquisition unit is used to acquire the distance between the target AP and the other APs when the channel availability detection result is that the DFS signal is not detected; the first execution unit is connected to the second acquisition unit and is used to execute DFS channel synchronization between the target AP and the other APs based on the distance, the first scanning range and the second scanning range.

[0114] As an optional embodiment, the second acquisition unit includes: a detection subunit and an execution subunit. The first detection subunit is used to detect whether the first scanning range covers the second scanning range based on the distance, the first scanning range and the second scanning range; the execution subunit is connected to the detection subunit and is used to execute DFS channel synchronization between the target AP and the other APs when the detection result shows that the first scanning range covers the second scanning range.

[0115] As an optional embodiment, the execution module 606 further includes: a second execution unit and a third execution unit. The second execution unit is used for the target AP to send the channel availability detection result to the other APs, and control the other APs to perform DFS channel synchronization between the target AP and the other APs based on the channel availability detection result, the first scanning range, and the second scanning range; the third execution unit is connected to the second execution unit, and is used for the target AP to determine and notify the other APs based on the channel availability detection result, the first scanning range, and the second scanning range, and perform DFS channel synchronization between the target AP and the other APs.

[0116] As an optional embodiment, the second execution unit includes: a first sending subunit and a second sending subunit. The first sending subunit is used for the target AP to directly send the channel availability detection result to the other APs; the second sending subunit is connected to the first sending subunit and is used for the target AP to send the channel availability detection result to the other APs via a beacon.

[0117] As an optional embodiment, the channel synchronization device further includes: a third acquisition module, a determination module and a control module. The third acquisition module is used to obtain the channel availability detection results obtained after the multiple target APs perform channel availability detection when there are multiple target APs; the determination module is connected to the third acquisition module and is used to determine the target DFS channel based on the channel availability detection results corresponding to the multiple target APs; the control module is connected to the determination module and is used to control the target AP and the other APs to switch to the target DFS channel.

[0118] According to an embodiment of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium includes a stored executable program, wherein when the executable program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the channel synchronization methods described above.

[0119] According to an embodiment of the present invention, an electronic device is provided, comprising: a memory storing an executable program; and a processor for running the program, wherein the program executes any one of the channel synchronization methods described above when running.

[0120] According to an embodiment of the present invention, a computer program product is provided, including a computer program, wherein when the computer program is executed by a processor, the steps of any one of the above methods are implemented.

[0121] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0122] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0123] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0124] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0125] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0126] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

[0127] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A channel synchronization method, characterized in that: include: Acquire a first scanning range of a target AP and a second scanning range of other APs different from the target AP; Obtaining a channel availability detection result of the target AP; Based on the channel availability detection result, the first scanning range, and the second scanning range, the target AP and the other APs perform DFS channel synchronization.

2. The method according to claim 1, characterized in that The performing DFS channel synchronization between the target AP and the other APs based on the channel availability detection result, the first scanning range, and the second scanning range includes: When the channel availability detection result is that no DFS signal is detected, obtaining a distance between the target AP and the other APs; Based on the distance, the first scanning range, and the second scanning range, the target AP and the other APs perform DFS channel synchronization.

3. The method according to claim 2, characterized in that The performing DFS channel synchronization between the target AP and the other APs based on the distance, the first scanning range, and the second scanning range includes: Based on the distance, the first scanning range, and the second scanning range, determining whether the first scanning range covers the second scanning range; When the detection result is that the first scanning range covers the second scanning range, the target AP and the other APs perform DFS channel synchronization.

4. The method according to claim 1, characterized in that: The performing DFS channel synchronization between the target AP and the other APs based on the channel availability detection result, the first scanning range, and the second scanning range includes: The target AP sends the channel availability detection result to the other APs, and controls the other APs to perform DFS channel synchronization between the target AP and the other APs based on the channel availability detection result, the first scanning range, and the second scanning range; and / or, The target AP determines and notifies the other APs based on the channel availability detection result, the first scanning range, and the second scanning range, and performs DFS channel synchronization between the target AP and the other APs.

5. The method according to claim 4, characterized in that The target AP sending the channel availability detection result to the other APs includes: The target AP directly sends the channel availability detection result to the other APs; and / or, The target AP sends the channel availability detection result to the other APs via a beacon.

6. The method according to claim 1, characterized in that Before acquiring the first receiver scanning range of the target access point AP, the method further includes: Obtaining distances between two of a plurality of APs and scanning ranges corresponding to the plurality of APs respectively; Based on the distances between any two of the multiple APs and the scanning ranges respectively corresponding to the multiple APs, one or more APs among the multiple APs are determined as the target AP.

7. The method according to claim 6, characterized in that The determining one or more APs among the multiple APs as the target AP based on the distances between any two of the multiple APs and the scanning ranges respectively corresponding to the multiple APs includes: Based on the distances between any two of the multiple APs and the scanning ranges respectively corresponding to the multiple APs, one or more APs among the multiple APs whose scanning ranges cover the largest number of scanning ranges of other APs are determined as the target APs.

8. The method according to any one of claims 1 to 7, characterized in that The performing DFS channel synchronization between the target AP and the other APs based on the channel availability detection result, the first scanning range, and the second scanning range includes: In the case where there are multiple target APs, obtaining channel availability detection results obtained after the multiple target APs perform channel availability detection; Determining a target DFS channel based on the channel availability detection results corresponding to the multiple target APs; The target AP and the other APs are controlled to switch to the target DFS channel.

9. A channel synchronization device, characterized in that: include: A first acquisition module, used to acquire a first scanning range of a target AP and a second scanning range of other APs different from the target AP; A second acquisition module is used to obtain the channel availability detection result of the target AP; An execution module is used to execute DFS channel synchronization between the target AP and the other APs based on the channel availability detection result, the first scanning range and the second scanning range.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored executable program, wherein when the executable program is executed, the device where the computer-readable storage medium is located is controlled to execute the channel synchronization method according to any one of claims 1 to 8.

11. An electronic device, characterized in that: include: A memory storing an executable program; A processor is used to run the program, wherein the program executes the channel synchronization method described in any one of claims 1 to 8 when running.

12. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.