Automatic avoidance anti-interference method and system for wireless connection

By scanning channels, screening idle channels, evaluating anti-interference levels, and dynamically adjusting the bandwidth, the interference problem of wireless devices in complex home environments is solved, stable transmission of wireless connections is achieved, and user experience is improved.

CN120379040APending Publication Date: 2025-07-25ZHONGSHAN YUECHEN ELECTRONICS IND
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510615792.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-14
Publication Date
2025-07-25

AI Technical Summary

Technical Problem

In complex home wireless network environments, the wireless transmission of smart devices is easily disturbed, especially devices in the 2.4GHz frequency band, such as wireless audio, which leads to channel instability and sound disconnection. It is difficult for the prior art to effectively avoid interference sources.

Method used

By traversing the scan channel, updating the channel list, filtering out the idle channel, and selecting transmission frequency bands in the idle channel, using machine learning models to evaluate the anti-interference level, building a wireless connection, and dynamically adjusting the bandwidth to avoid interference.

Benefits of technology

Effectively avoiding frequency band overlap and environmental interference, improving the transmission stability and user experience of wireless devices, especially the audio data transmission quality of wireless audio.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120379040A_ABST
    Figure CN120379040A_ABST
Patent Text Reader

Abstract

The invention discloses an automatic avoidance anti-interference method and system for wireless connection, and the method comprises the steps: carrying out the traversal scanning of a channel, and updating a channel list; screening idle channels from the channel list; selecting a transmission frequency band in the idle channel; and performing handshake connection according to the transmission frequency band. Therefore, the frequency band interval of the wireless connection is not limited, the current idle channel is obtained by regularly traversing the scanning channel, the transmission frequency band is preferably selected in the idle channel, and then the wireless connection is constructed according to the optimal transmission frequency band, so that the interference of frequency band overlapping or an environmental interference source on the transmission process is effectively avoided, and the user experience is remarkably improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of wireless communication technologies, and in particular, to an automatic avoidance anti-interference method and system for wireless connection. Background Art

[0002] With more and more intelligent devices entering the civilian field, the wireless network environment in the home scene has become increasingly complex. In the same residence, there may be wireless connections between intelligent door locks, intelligent cameras, sweeping robots, intelligent refrigerators, intelligent curtains, etc. and the router at the same time. Other surrounding residences may also transmit irrelevant wireless signals to the local area. In such a case, taking a wireless speaker as an example, it has a high requirement for the channel stability during the process of receiving audio signals. If the channel for transmitting audio signals is interfered, the wireless speaker will experience sound interruption. However, existing intelligent devices mostly use the 2.4GHz band for data transmission, and the existence of non-WiFi interference sources such as Bluetooth devices and microwave ovens has significantly deteriorated the data transmission environment of various wireless devices including wireless speakers, and it is difficult to thoroughly investigate the interference sources, seriously affecting the user experience. Summary of the Invention

[0003] The first aspect of the embodiments of the present invention discloses an automatic avoidance anti-interference method for wireless connection, specifically including:

[0004] Traverse and scan channels, and update the channel list;

[0005] Screen for idle channels in the channel list;

[0006] Select a transmission frequency band from the idle channels;

[0007] Perform a handshake connection according to the transmission frequency band.

[0008] As an optional implementation manner, the channel list at least includes the received signal strength, channel occupancy time, and non-WiFi interference characteristics of each channel.

[0009] As an optional implementation manner, the traversing and scanning channels and updating the channel list includes:

[0010] Set the traversal frequency;

[0011] Based on the traversal frequency, sequentially scan the channel parameters of each channel;

[0012] Among them, the channel occupancy time is determined based on the evaluation of idle channels, and the non-WiFi interference characteristics are obtained by analyzing the waveforms of non-IEEE 802.11 standards based on the FFT algorithm.

[0013] As an optional implementation manner, the screening for idle channels in the channel list includes:

[0014] Channels with channel occupancy time lower than the message transmission duration and without interference indicated by the non-WiFi interference feature are marked as idle channels.

[0015] As an alternative implementation, selecting a transmission frequency band from the idle channels includes:

[0016] Determining a frequency band range based on transmission requirements;

[0017] Determining the minimum number of consecutive channels based on the frequency band range;

[0018] Based on the minimum number of consecutive channels, selecting several consecutive idle channels as the transmission frequency band.

[0019] As an alternative implementation, performing a handshake connection according to the transmission frequency band includes:

[0020] Sending a short handshake signal to the signal receiving end through a preset communication channel in the idle channel;

[0021] The signal receiving end feeds back a short connection signal to the signal output end based on the short handshake signal;

[0022] The signal output end and the signal receiving end establish data communication based on the transmission frequency band.

[0023] As an alternative implementation, establishing a spectrum congestion index based on the adjacent channel overlap rate and the number of signals;

[0024] Calculating the variance based on the Beacon frame interval time to obtain the time-domain conflict probability;

[0025] Establishing a signal strength spatial distribution map based on the received signal strength and generating a device location fingerprint;

[0026] Using a random forest machine learning model to calculate the spectrum congestion index, the time-domain conflict probability, and the device location fingerprint to obtain the anti-interference level corresponding to each channel.

[0027] As an alternative implementation, the anti-interference level is divided into 5 levels: 1, 2, 3, 4, and 5. The higher the level value, the lower the degree of interference of the corresponding channel;

[0028] Preferably, an idle channel with an anti-interference level greater than 3 is selected to construct the transmission frequency band.

[0029] As an alternative implementation, if there is no idle channel with an anti-interference level greater than 3, dynamic bandwidth adjustment is enabled for the transmission frequency band to automatically switch the bandwidth;

[0030] Alternatively, optimize the retransmission time window based on the Q-learning algorithm.

[0031] A second aspect of the embodiments of the present invention discloses an automatic anti-interference system for wireless connection, characterized by comprising:

[0032] A scanning module for traversing and scanning channels and updating the channel list;

[0033] An analysis module for screening idle channels in the channel list;

[0034] A fixed-frequency module for selecting a transmission frequency band from the idle channels;

[0035] A connection module for performing a handshake connection according to the transmission frequency band.

[0036] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0037] In the embodiments of the present invention, the frequency band range of the wireless connection is not limited. By regularly traversing and scanning channels, the current idle channels are obtained, and a transmission frequency band is preferably selected from the idle channels, and then a wireless connection is constructed accordingly, so as to effectively avoid interference caused by frequency band overlap or environmental interference sources to the transmission process and significantly improve the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required in the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention, and those of ordinary skill in the art can obtain other drawings without creative efforts based on these drawings.

[0039] Figure 1 is a schematic diagram of the working process of an automatic anti-interference method for wireless connection disclosed in the embodiments of the present invention;

[0040] Figure 2 is a schematic diagram of the structure of an automatic anti-interference system for wireless connection disclosed in the embodiments of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0041] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, rather than all embodiments. All other embodiments obtained by those of ordinary skill in the art without creative efforts based on the embodiments of the present invention belong to the scope of protection of the present invention.

[0042] It should be noted that the terms "first", "second", "third", "fourth", etc. in the specification and claims of the present invention are used to distinguish different objects, rather than to describe a specific order. The terms "comprising" and "having" in the embodiments of the present invention and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device comprising a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products, or devices.

[0043] Embodiment 1

[0044] Please refer to Figure 1 , as Figure 1 shown, an automatic avoidance anti-interference method for wireless connection disclosed in an embodiment of the present invention includes the following steps:

[0045] 101. Traverse and scan channels, and update the channel list.

[0046] In this embodiment, in order to ensure that newly connected devices do not cause frequency band interference with existing wireless devices, it is necessary to clearly record which channels are specifically occupied by the currently wirelessly connected wireless devices. Therefore, channel traversal and scanning are performed regularly here.

[0047] Among them, the channel list includes at least the received signal strength, channel occupancy time, and non-WiFi interference characteristics of each channel.

[0048] Here, signals of different frequency bands have different transmission characteristics. For example, the transmission distance and penetration of the 5GHz frequency band are not as good as those of the 2.4GHz frequency band, but the 5GHz frequency band is less affected by external interference and has a higher transmission rate. Moreover, due to the uncertain relative spatial positions of the signal receiving end and the signal output end, the received signal strength is used to characterize the strength values of signals of each frequency band received by a certain signal receiving end at a certain spatial position, so as to preferably select a frequency band with a higher received signal strength to construct a stable transmission frequency band.

[0049] Generally, a frequency band contains several consecutive channels. When some wireless devices perform wireless transmission, the message transmission process only occupies some channels in the frequency band for short-term transmission. Therefore, for a frequency band that has been occupied and is in use, only a few channels may be performing short-term message transmission at this time, and in fact, this frequency band is in a nearly idle state. Sharing this frequency band with other wireless devices will not cause mutual interference. Therefore, the channel occupancy time is detected here for availability evaluation.

[0050] It is understandable that the 2.4GHz frequency band is widely used in complex scenarios such as Bluetooth transmission and WiFi connection. The signal sources are intricate and complex, and it is possible that the same channel is occupied by multiple devices. In addition, in addition to wireless devices occupying the frequency band channels, household appliances such as microwave ovens will also radiate irregular electromagnetic signals to the surrounding environment. Therefore, electromagnetic signals are also analyzed here to identify the device sources of different signals.

[0051] As an alternative implementation, set a traversal frequency;

[0052] Scan the channel parameters of each channel in sequence based on the traversal frequency;

[0053] Among them, the channel occupancy time is determined based on the evaluation of idle channels, and the non-WiFi interference characteristics are obtained by analyzing the waveforms of non-IEEE 802.11 standards based on the FFT algorithm.

[0054] Specifically, after measuring the received signal strength of each channel, the channel occupancy time of each channel, and the non-WiFi interference characteristics of the electromagnetic signals existing in the current environment based on the device layout area scan, the characteristics of each channel can be identified.

[0055] 102. Screen for idle channels in the channel list.

[0056] In this embodiment, based on the channel list obtained by scanning each channel, idle channels that are not interfered can be analyzed and identified for preferentially constructing a transmission frequency band.

[0057] 103. Select a transmission frequency band from the idle channels.

[0058] In this embodiment, the transmission frequency band usually includes multiple consecutive channels and needs to be preferably selected based on the requirement of the number of consecutive channels.

[0059] As an alternative implementation, determine the frequency band range based on the transmission requirements;

[0060] Determine the minimum number of consecutive channels based on the frequency band range;

[0061] Based on the minimum number of consecutive channels, select several consecutive idle channels and set them as the transmission frequency band.

[0062] Specifically, due to different requirements such as working mode and data transmission volume of wireless devices, different requirements for the frequency band range are imposed. Accordingly, the minimum number of consecutive channel data required by them can be calibrated, and then appropriate consecutive idle channels can be selected and set as the transmission frequency band to obtain a transmission frequency band with sufficient channels while avoiding environmental interference.

[0063] In this embodiment, the preferred criteria for channels are diverse. Targeted index parameters can be set according to the focus in actual use and the characteristics of wireless devices to score the channels.

[0064] As an optional implementation, a spectrum congestion index is established based on the adjacent channel overlap rate and the number of signals;

[0065] The time domain collision probability is obtained by performing variance calculation based on the Beacon frame interval;

[0066] Establishing a signal strength spatial distribution map based on the received signal strength and generating a device location fingerprint;

[0067] The random forest machine learning model is used to calculate the spectrum congestion index, time domain conflict probability and device location fingerprint to obtain the anti-interference level corresponding to each channel.

[0068] Here, for wireless devices with high anti-interference requirements such as wireless speakers, the channels are evaluated based on the anti-interference level, so that channels with high signal strength and strong anti-interference performance can be selected to build the transmission frequency band, effectively ensuring the stable playback of wireless speakers without interruptions or noise due to frequency band interference.

[0069] As an optional implementation, the anti-interference level is divided into 5 levels: 1, 2, 3, 4, and 5. The higher the level value, the lower the interference degree of the corresponding channel;

[0070] It is preferred to construct the transmission frequency band using idle channels with an anti-interference level greater than 3.

[0071] As another optional implementation, if there is no idle channel with an anti-interference level greater than 3, dynamic bandwidth adjustment is enabled for the transmission frequency band to automatically switch the bandwidth;

[0072] Alternatively, the retransmission time window is optimized based on a Q-learning algorithm.

[0073] Specifically, when the anti-interference level of the idle channels is not ideal, the bandwidth is adjusted dynamically in real time based on the data volume and bandwidth requirements of each frame message to minimize the probability of interference to valid data and improve transmission quality.

[0074] Alternatively, when it is determined that the transmission process is interfered with and cannot be avoided, the transmission time window of the message is accurately adjusted based on the algorithm, so that time-sharing transmission is achieved in the same frequency band channel relative to the interference signal to avoid interference.

[0075] It can be seen that based on the working modes and transmission requirements of different wireless devices, targeted indicator parameters can be set independently to meet the device requirements, while also improving the compatibility of frequency bands.

[0076] 104. Perform handshake connection according to the transmission frequency band.

[0077] In this embodiment, after determining the transmission channel of the dual - end device, a handshake connection is constructed accordingly.

[0078] As an alternative embodiment, a short handshake signal is sent to the signal receiving end through a preset communication channel in the idle channel;

[0079] Based on the short handshake signal, the signal receiving end feeds back a short connection signal to the signal output end;

[0080] The signal output end and the signal receiving end establish data communication based on the transmission frequency band.

[0081] Specifically, the message of the short handshake signal only includes the device IP address and the transmission channel data to be constructed, and the data volume is extremely small, usually only dozens of bytes. After the handshake connection is completed, the handshake channel is discarded. Even if the handshake channel is occupied, the handshake process will not affect the data transmission of other wireless devices. Therefore, a fixed channel can be used for the handshake process of each wireless device to reduce the amount of interactive data and computing volume and ensure the handshake connection speed.

[0082] It can be seen that without limiting the frequency band range of the wireless connection, by periodically traversing and scanning channels, the current idle channels are obtained, and the transmission frequency band is preferably selected from the idle channels, and then a wireless connection is constructed accordingly, thus effectively avoiding interference caused by frequency band overlap or environmental interference sources to the transmission process and significantly improving the user experience.

[0083] Embodiment Two

[0084] Please refer to Figure 2 . As Figure 2 shown, an automatic anti - interference system for wireless connection may include:

[0085] A scanning module for traversing and scanning channels to update the channel list;

[0086] An analysis module for screening idle channels in the channel list;

[0087] A frequency - setting module for selecting a transmission frequency band from the idle channels;

[0088] A connection module for performing a handshake connection according to the transmission frequency band.

[0089] In this embodiment, channel scanning is performed for the current deployment environment, the signal characteristics of various electromagnetic signals and the channels they occupy are placed in the channel list, and then idle channels that are not interfered with and not occupied are screened out from the channel list. Several consecutive idle channels are selected from the idle channels according to the transmission requirements of the wireless device and set as the transmission frequency band. Furthermore, a handshake connection is performed on the dual - end device based on the selected transmission frequency band.

[0090] It can be seen that the dual - end wireless device does not limit the frequency band range of the wireless connection. Instead, it periodically traverses and scans channels to learn the current idle channels, preferentially selects a transmission frequency band from the idle channels, and then constructs a wireless connection based on this, thus effectively avoiding interference caused by frequency band overlap or environmental interference sources during the transmission process, significantly improving the user experience. Especially for wireless speakers, in the complex and degraded electromagnetic environment of the current home scenario, it can preferentially select an interference - free channel for stable audio data transmission without sound interruption or noise.

Claims

1. An automatic avoidance anti-interference method for wireless connection, characterized in that, The method includes: Traverse and scan channels, and update the channel list; Filter idle channels from the channel list; Select a transmission frequency band from the idle channels; Perform a handshake connection according to the transmission frequency band.

2. The automatic anti-interference method with wireless connection according to claim 1, characterized in that It includes: The channel list at least includes the received signal strength, channel occupancy time, and non-WiFi interference characteristics of each channel.

3. The automatic anti-interference method for wireless connection according to claim 2, wherein The traversing and scanning channels and updating the channel list includes: Set the traversal frequency; Based on the traversal frequency, sequentially scan the channel parameters of each channel; Among them, the channel occupancy time is determined based on the evaluation of idle channels, and the non-WiFi interference characteristics are obtained by analyzing the waveforms that do not conform to the IEEE 802.11 standard based on the FFT algorithm.

4. A method for automatically avoiding interference in a wireless connection according to claim 3, characterized in that, The filtering of idle channels from the channel list includes: Channels with a channel occupancy time lower than the message transmission duration and non-WiFi interference characteristics indicating no interference are marked as idle channels.

5. The automatic anti-interference method for wireless connection according to claim 4, characterized in that The selection of the transmission frequency band from the idle channels includes: Determine the frequency band range based on the transmission requirements; Determine the minimum number of consecutive channels based on the frequency band range; Based on the minimum number of consecutive channels, select several consecutive idle channels as the transmission frequency band.

6. The automatic anti-interference method with wireless connection according to claim 5, characterized in that The performing of the handshake connection according to the transmission frequency band includes: Send a short handshake signal to the signal receiving end through a preset communication channel in the idle channels; The signal receiving end feeds back a short connection signal to the signal output end based on the short handshake signal; The signal output end and the signal receiving end establish data communication based on the transmission frequency band.

7. The automatic anti-interference method with wireless connection according to claim 2, characterized in that The method further includes: Establish a spectrum congestion index based on the adjacent channel overlap rate and the number of signals; Calculate the variance based on the Beacon frame interval time to obtain the time-domain collision probability; Establish a signal strength spatial distribution map based on the received signal strength and generate a device location fingerprint; Adopt a random forest machine learning model to calculate the spectrum congestion index, the time-domain collision probability, and the device location fingerprint to obtain the anti-interference level corresponding to each channel.

8. A method for automatically avoiding interference in a wireless connection according to claim 7, characterized in that, The method further includes: The anti-interference level is divided into 5 levels: 1, 2, 3, 4, and 5. The higher the level value, the lower the degree of interference of the corresponding channel; Preferably, select idle channels with an anti-interference level greater than 3 to construct the transmission frequency band.

9. A method for automatically avoiding interference in a wireless connection according to claim 7, characterized in that The method further includes: If there are no idle channels with an anti-interference level greater than 3, then enable dynamic bandwidth adjustment for the transmission frequency band and automatically switch the bandwidth; Or, optimize the retransmission time window based on the Q-learning algorithm.

10. An automatic avoidance anti-interference system for wireless connection, characterized in that, It includes: A scanning module for traversing and scanning channels and updating the channel list; An analysis module for filtering idle channels from the channel list; A frequency determination module for selecting a transmission frequency band from the idle channels; A connection module for performing a handshake connection according to the transmission frequency band.