Interference signal detection method, device and system and communication equipment
By detecting the signal power within the preset time window of the Wi-Fi signal and determining the power of the signal frame according to the preset conditions, the problem of inaccurate interference signal monitoring caused by short bursts of Wi-Fi signal and multi-channel is solved, and accurate detection of Wi-Fi interfering signals is achieved.
Patent Information
- Application Number
- CN202510169072.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-14
- Publication Date
- 2025-05-27
AI Technical Summary
When monitoring electromagnetic interference of Wi-Fi signals, the prior art tends to cause inaccurate interference signal detection due to short bursts of Wi-Fi signals and multi-channel characteristics.
By acquiring the signal to be detected of the wireless fidelity Wi-Fi channel, the first power of the signal to be detected in the preset time window is determined, and the second power corresponding to the signal frame of the signal to be detected is determined based on the first power. When the second power meets the preset conditions, the signal to be detected is determined as an interference signal.
This method can accurately monitor adjacent frequency Wi-Fi interference signals, overcome the monitoring inaccurate problems caused by short bursts of Wi-Fi signals and multi-channel, and achieve higher detection accuracy.
Smart Images

Figure CN120049984A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of wireless communication technologies, and in particular, to a method, device, system, and communication device for detecting interference signals. Background Art
[0002] The deployment of mobile communication systems often faces a complex electromagnetic environment. Especially with the wide application of Wireless Fidelity (Wi-Fi) technology, Wi-Fi signals are generally present within the deployment range of mobile communication systems. Although a certain spectral isolation can be set between the electromagnetic wave spectrum used by Wi-Fi technology and the spectrum of mobile communication devices, the mobile communication frequency bands close to the Wi-Fi frequency band may still suffer from adjacent frequency interference. Therefore, during the deployment of mobile communication systems near the Wi-Fi frequency band, it is necessary to monitor the electromagnetic interference of Wi-Fi signals to ensure the normal operation of mobile communication systems.
[0003] In traditional technologies, the electromagnetic interference of adjacent frequency Wi-Fi signals can be monitored by detecting the Wi-Fi signal strength. However, due to the characteristics of Wi-Fi signals such as short bursts and multiple channels, this method is prone to inaccurate monitoring of adjacent frequency Wi-Fi interference signals. Summary of the Invention
[0004] Based on this, in view of the above technical problems, it is necessary to provide a relatively accurate method, device, system, communication device, computer-readable storage medium, and computer program product for detecting interference signals.
[0005] In a first aspect, the present application provides a method for detecting interference signals, including:
[0006] Obtaining a signal to be detected on a Wireless Fidelity (Wi-Fi) channel;
[0007] Determining a first power of the signal to be detected within a preset time window; the preset time window is determined according to the symbol length of the signal to be detected;
[0008] Determining a second power corresponding to the signal frame of the signal to be detected according to the first power;
[0009] Determining that the signal to be detected is an interference signal when the second power meets a preset condition.
[0010] In a second aspect, the present application further provides a device for detecting interference signals, including:
[0011] A signal acquisition module, configured to obtain a signal to be detected on a Wireless Fidelity (Wi-Fi) channel;
[0012] A first calculation module, configured to determine a first power of the signal to be detected within a preset time window; the preset time window is determined according to the symbol length of the signal to be detected;
[0013] A second calculation module, configured to determine a second power corresponding to the signal frame of the signal to be detected according to the first power;
[0014] An interference detection module, configured to determine that the signal to be detected is an interference signal when the second power meets a preset condition.
[0015] In a third aspect, the present application further provides an interference signal detection system, including:
[0016] A Field-Programmable Gate Array (FPGA), configured to obtain a signal to be detected on a Wireless Fidelity (Wi-Fi) channel, determine a first power of the signal to be detected within a preset time window, and determine a second power corresponding to the signal frame of the signal to be detected according to the first power; the preset time window is determined according to the symbol length of the signal to be detected;
[0017] A Central Processing Unit (CPU), configured to determine that the signal to be detected is an interference signal when the second power meets a preset condition.
[0018] In a fourth aspect, the present application further provides a communication device, including a memory and a processor, where the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0019] Obtain a signal to be detected on a Wireless Fidelity (Wi-Fi) channel;
[0020] Determine a first power of the signal to be detected within a preset time window; the preset time window is determined according to the symbol length of the signal to be detected;
[0021] Determine a second power corresponding to the signal frame of the signal to be detected according to the first power;
[0022] Determine that the signal to be detected is an interference signal when the second power meets a preset condition.
[0023] In a fifth aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0024] Obtain a signal to be detected on a Wireless Fidelity (Wi-Fi) channel;
[0025] Determine a first power of the signal to be detected within a preset time window; the preset time window is determined according to the symbol length of the signal to be detected;
[0026] Determine a second power corresponding to a signal frame of the signal to be detected according to the first power;
[0027] When the second power meets a preset condition, determine that the signal to be detected is an interference signal.
[0028] In a sixth aspect, the present application further provides a computer program product, including a computer program, which when executed by a processor implements the following steps:
[0029] Obtain a signal to be detected on a Wi-Fi channel;
[0030] Determine a first power of the signal to be detected within a preset time window; the preset time window is determined according to the symbol length of the signal to be detected;
[0031] Determine a second power corresponding to a signal frame of the signal to be detected according to the first power;
[0032] When the second power meets a preset condition, determine that the signal to be detected is an interference signal.
[0033] The above interference signal detection method, device, system, communication device, computer-readable storage medium, and computer program product obtain a signal to be detected on a Wi-Fi channel, determine a first power of the signal to be detected within a preset time window, the preset time window is determined according to the symbol length of the signal to be detected, determine a second power corresponding to a signal frame of the signal to be detected according to the first power, and when the second power meets a preset condition, determine that the signal to be detected is an interference signal; it can set a time window for interference signal detection according to the symbol length of the Wi-Fi signal for a specified Wi-Fi channel, and use the power of the Wi-Fi signal detected within the time window to monitor Wi-Fi interference signals. Since the detection is performed on the specified channel with the symbol length of the Wi-Fi signal as the scale, it can overcome the inaccurate monitoring of interference signals caused by the short-term burst and multi-channel of Wi-Fi signals, and achieve accurate monitoring of adjacent-frequency Wi-Fi interference signals. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following will briefly introduce the drawings required for the description of the embodiments of the present application or related technologies. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other related drawings can also be obtained based on these drawings.
[0035] Figure 1 It is a schematic flowchart of an interference signal detection method in an embodiment;
[0036] Figure 2 Schematic flowchart of a method for detecting adjacent-frequency Wi-Fi interference signals in one embodiment;
[0037] Figure 3 Schematic flowchart of the digital signal processing process of a method for detecting adjacent-frequency Wi-Fi interference signals in one embodiment;
[0038] Figure 4 Schematic flowchart of a method for detecting adjacent-frequency Wi-Fi interference signals in another embodiment;
[0039] Figure 5 Schematic diagram of the relationship between power statistical symbols and Wi-Fi signal symbols in one embodiment;
[0040] Figure 6 Block diagram of the structure of an interference signal detection device in one embodiment. Detailed implementation manners
[0041] In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0042] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects and do not necessarily need to describe a specific order or sequence. It should be understood that such used data can be interchanged under appropriate circumstances so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The implementation manners described in the following exemplary embodiments do not represent all implementation manners consistent with the present disclosure. On the contrary, they are only examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0043] Wi-Fi signals are characterized by short bursts and multiple channels, making it difficult to accurately detect. In traditional technologies, the detection methods for burst signals usually rely on complex correlation calculations and sliding double-window techniques to judge the peak-to-average ratio, and then observe the power spectral density of the signal through the Fast Fourier Transform (FFT). However, this method introduces high complexity in capturing burst signals and power calculations and consumes a large amount of resources. Based on this, the embodiments of the present application provide an interference signal detection method. By obtaining the signal to be detected on the Wi-Fi channel, determining the first power of the signal to be detected within a preset time window, determining the second power corresponding to the signal frame of the signal to be detected according to the first power, and determining the signal to be detected as an interference signal when the second power meets the preset conditions, it is possible to set the time window for interference signal detection according to the symbol length of the Wi-Fi signal for a specified Wi-Fi channel, and use the power of the Wi-Fi signal detected within the time window to monitor Wi-Fi interference signals. Since the detection is performed on the specified channel with the symbol length of the Wi-Fi signal as the scale, it can overcome the inaccurate monitoring of interference signals caused by the short bursts and multiple channels of Wi-Fi signals. At the same time, this method is simple and easy to implement and consumes less resources.
[0044] It should be noted that the beneficial effects brought by the embodiments of the present application or the technical problems solved are not limited to this, and there may be other implicit or related problems. For specific details, please refer to the descriptions of the following embodiments.
[0045] The technical solutions of the present application and how the technical solutions of the present application solve the above technical problems will be described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below with reference to the accompanying drawings.
[0046] In an exemplary embodiment, as Figure 1 shown, an interference signal detection method is provided. In this embodiment, the method is exemplified by being applied to a repeater. It can be understood that the method can also be applied to communication devices such as base stations and relays. The present application does not limit this. In this embodiment, the method includes the following steps:
[0047] Step S102, obtain the signal to be detected on the wireless fidelity (Wi-Fi) channel.
[0048] Among them, the Wi-Fi channel can be, but is not limited to, the Wi-Fi channel in the adjacent frequency band of the mobile communication system. The signal to be detected can be a Wi-Fi signal that has undergone signal processing.
[0049] In a specific implementation, the repeater can collect signals on a Wi-Fi channel, process the collected signals, and obtain the signal to be detected.
[0050] In practical applications, when it is necessary to monitor the signal interference of adjacent frequency bands of the Wi-Fi channel in a mobile communication system, the repeater can collect signals on this Wi-Fi channel, and perform analog-to-digital conversion, frequency shifting, decimation, shaping filtering, etc. on the collected Wi-Fi signals to obtain the signal to be detected.
[0051] Step S104: Determine the first power of the signal to be detected within a preset time window; the preset time window is determined according to the symbol length of the signal to be detected.
[0052] Among them, the preset time window can be a pre-set time window. The first power can be the power value of the Wi-Fi signal within the preset time window. The symbol length can be the duration of each symbol in the time domain.
[0053] In a specific implementation, the repeater can pre-determine the time window according to the symbol length of the signal to be detected as the preset time window. Among them, the size of the preset time window can be equal to the symbol length of the signal to be detected. The repeater can measure the average power of the signal to be detected within each preset time window to obtain the first power of the signal to be detected within each preset time window.
[0054] In practical applications, the Wi-Fi protocol uses orthogonal frequency division multiplexing (OFDM) modulation, and the duration of each OFDM symbol in the time domain can be recorded as , assuming that the length of the preset time window is , and . The repeater can calculate the average power of the Wi-Fi signal within each , and use as the first power. The specific formula can be
[0055] ,
[0056] Among them is the quantization bit width of the real part data and the imaginary part data , is the time slot The number of sampling points in, , among which represents the sampling rate of the signal.
[0057] It should be noted that since the starting position of the time window may not be the same as the starting position of the symbol, the two may not be aligned, resulting in the average power calculated within the time window being less than the average power of a complete symbol , but there are still at least symbols falling within one time window, so .
[0058] Step S106: Determine the second power corresponding to the signal frame of the signal to be detected according to the first power.
[0059] Among them, the signal frame can be each frame in the signal to be detected. The second power can be the power value corresponding to each frame in the signal to be detected.
[0060] In specific implementation, the signal frame of the signal to be detected can include at least one preset time window. The repeater can determine the first power for each of the time windows, obtain at least one first power, and select the maximum value among at least one first power as the second power corresponding to the signal frame.
[0061] In practical applications, assume that the total number of symbols included in each frame in the Wi-Fi signal is , when the length of the preset time window is equal to the symbol length , the total number of time windows included in each frame is also . Calculate the average power of each time window in a frame, denoted as , compare and output the maximum average power among them as the second power corresponding to this frame, that is
[0062] Step S108: When the second power meets the preset conditions, determine that the signal to be detected is an interference signal.
[0063] Among them, the preset conditions can be that the number of target powers exceeds the quantity threshold, where the target power can be the third power exceeding the power threshold, and the third power can be the second power after power compensation. The interference signal can be the detected Wi-Fi interference signal.
[0064] In a specific implementation, for each signal frame in the signal to be detected, after determining the second power corresponding to the signal frame, the repeater can perform power compensation on the second power to obtain the third power, and determine whether the third power exceeds a preset power threshold. If it does not exceed, it continues to process the next signal frame. If it exceeds, the third power is determined as the target power. During the process of continuously receiving the signal to be detected, the number of target powers is counted. If the number of target powers does not exceed a preset quantity threshold, it continues to process the next signal frame. If the number of target powers exceeds the preset quantity threshold, the signal to be detected is determined as an interference signal.
[0065] In practical applications, the repeater can be provided with a Field Programmable Gate Array (FPGA) and a Central Process Unit (CPU). The FPGA processes the collected Wi-Fi signals, calculates the average power of each time window, selects the maximum value from the average powers of all time windows in a frame, and writes it into a Random Access Memory (RAM) for caching. The CPU can read the maximum value corresponding to each frame of the Wi-Fi signal from the RAM, perform power compensation on the maximum value, determine whether the compensated power value exceeds a specified power threshold, and count the number of times the power threshold is exceeded. If the number of times the power threshold is exceeded is greater than the specified quantity threshold, an alarm is generated. If the number of times the power threshold is exceeded is not greater than the specified quantity threshold, no alarm is required.
[0066] The above interference signal detection method obtains the signal to be detected on the Wireless Fidelity (Wi-Fi) channel, determines the first power of the signal to be detected in a preset time window, where the preset time window is determined according to the symbol length of the signal to be detected, determines the second power corresponding to the signal frame of the signal to be detected according to the first power, and determines the signal to be detected as an interference signal when the second power meets the preset conditions; it can set the time window for interference signal detection according to the symbol length of the Wi-Fi signal for a specified Wi-Fi channel, and use the power of the Wi-Fi signal detected within the time window to monitor the Wi-Fi interference signal. Since the detection is performed on the specified channel with the symbol length of the Wi-Fi signal as the scale, it can overcome the inaccurate monitoring of interference signals caused by the short bursts and multi-channels of Wi-Fi signals, and achieve accurate monitoring of adjacent-frequency Wi-Fi interference signals.
[0067] In an exemplary embodiment, the above step S104 may specifically include: determining the average power of the signal to be detected in a preset time window; obtaining the first power according to the average power.
[0068] Among them, the average power may be the average of the powers of the signal to be detected within the preset time window.
[0069] In a specific implementation, the repeater can set the preset time window to the symbol length of the signal to be detected, calculate the average power of the signal to be detected within each preset time window, and use the average power as the first power of the signal to be detected, so as to obtain the first power of the signal to be detected on multiple symbol lengths.
[0070] In practical applications, assume that the symbol length of the Wi-Fi signal is , and the length of the preset time window is , where , the repeater can calculate the average power of the Wi-Fi signal within each to obtain the average power corresponding to multiple , that is, the first power.
[0071] In this embodiment, by determining the average power of the signal to be detected in the preset time window and obtaining the first power according to the average power, the Wi-Fi power can be detected based on the symbol length of the Wi-Fi signal, ensuring that short and sudden Wi-Fi signals are monitored and improving the detection accuracy.
[0072] In an exemplary embodiment, the above step S106 may specifically include: selecting the maximum value for the first power corresponding to each preset time window in the signal frame; obtaining the second power according to the maximum value.
[0073] In a specific implementation, the signal frame of the signal to be detected may include at least one preset time window. The repeater can determine the first power for each time window in the signal frame, obtain at least one first power, and select the maximum value among at least one first power as the second power corresponding to the signal frame.
[0074] In practical applications, assume that the total number of symbols included in each frame of the Wi-Fi signal is . When the length of the preset time window is equal to the symbol length , the total number of time windows included in each frame is also . Calculate the first power corresponding to each time window in a frame to obtain , and select the maximum value among them as the second power corresponding to the frame, that is .
[0075] In this embodiment, by selecting the maximum value for the first power corresponding to each preset time window in the signal frame and obtaining the second power according to the maximum value, the power upper limit in each frame of the Wi-Fi signal can be detected, and the Wi-Fi signal interference can be detected by counting the power upper limit, improving the reliability of the interference signal detection.
[0076] In an exemplary embodiment, the above step S108 may specifically include: performing power compensation on the second power to obtain a third power; determining the third power exceeding a first threshold as the target power; and determining the signal to be detected as an interference signal when the number of target powers exceeds a second threshold.
[0077] Wherein, the third power may be the second power after power compensation. The target power may be the selected third power. The first threshold may be a pre-set power threshold. The second threshold may be a pre-set quantity threshold.
[0078] In a specific implementation, for each signal frame in the signal to be detected, after determining the second power corresponding to the signal frame, the repeater may perform power compensation on the second power to obtain a third power, determine whether the third power exceeds the pre-set first threshold. If it does not exceed, continue to process the next signal frame. If it exceeds, determine the third power as the target power. During the process of continuously receiving the signal to be detected, count the number of target powers. If the number of target powers does not exceed the pre-set second threshold, continue to process the next signal frame. If the number of target powers exceeds the pre-set second threshold, determine the signal to be detected as an interference signal.
[0079] In this embodiment, by performing power compensation on the second power to obtain a third power, determining the third power exceeding the first threshold as the target power, and determining the signal to be detected as an interference signal when the number of target powers exceeds the second threshold, it is possible to recognize a relatively strong Wi-Fi signal as an interference signal when it lasts for a period of time, reducing the false alarm probability.
[0080] In an exemplary embodiment, the above step S102 may specifically include: collecting an analog signal of a Wi-Fi channel; converting the analog signal into a digital signal; performing frequency translation processing on the digital signal to obtain a baseband signal; performing decimation processing on the baseband signal to obtain a decimated signal; and performing shaping filtering processing on the decimated signal to obtain the signal to be detected.
[0081] Wherein, the analog signal may be the originally collected analog Wi-Fi signal. The digital signal may be the signal obtained by performing analog-to-digital conversion on the analog signal. The baseband signal may be the signal obtained by shifting the digital signal to the baseband. The decimated signal may be the signal obtained by sampling and decimating the baseband signal.
[0082] In a specific implementation, the repeater may collect a signal of the Wi-Fi channel to obtain an analog signal, perform analog-to-digital conversion on the analog signal to obtain a digital signal, shift the digital signal to the baseband to obtain a baseband signal, perform decimation on the baseband signal to obtain a decimated signal, and input the decimated signal into a shaping filter to obtain the signal to be detected.
[0083] In this embodiment, by collecting the analog signal of the Wi-Fi channel, converting the analog signal into a digital signal, performing frequency translation processing on the digital signal to obtain a baseband signal, performing decimation processing on the baseband signal to obtain a decimated signal, and performing shaping filtering processing on the decimated signal to obtain a signal to be detected, the interference signal detection can be performed on a specified Wi-Fi channel to determine whether there is adjacent channel interference in the specified Wi-Fi channel.
[0084] To facilitate those skilled in the art to deeply understand the embodiments of the present application, a specific example will be described below.
[0085] To solve the problems that in the process of using wireless communication devices, there is Wi-Fi signal interference in adjacent channels for the demodulation of the uplink of the communication device, and it is impossible to monitor and give early warnings, and in the Wi-Fi frequency hopping communication mode, the short burst and multi-channel transmission characteristics of the signal make it difficult to monitor. The present application proposes a method for detecting adjacent frequency Wi-Fi interference signals in a wireless communication device. This method uses an FPGA to perform digital signal processing on time-domain signals, filters out the signals of the effective Wi-Fi channel spectrum, and then through the power statistics method with the Wi-Fi symbol length as the statistical window, makes at least more than half of the time-domain data fall into the statistical window, so as to capture the burst interference signals on the Wi-Fi channel. The entire Wi-Fi signal detection method only needs to be processed in the time domain, and has the advantages of simplicity and high efficiency.
[0086] In addition, the commonly used time-domain power statistics method calculates the average power of each frame of the signal based on the duration of a single frame, and cannot accurately capture short-time burst signals. However, when dealing with short-time burst signals, by shortening the statistical time of the average power, short-time burst signals can be captured more effectively. But if the capture time is too short, the signal power may be affected by small-scale fading, thereby increasing the detection error. At the same time, the present application uses the OFDM symbol as the reference time for power calculation, and compares and outputs the maximum power value of a single symbol within the Wi-Fi signal frame period as the effective average power of each scheduling frame of Wi-Fi, which improves the detection accuracy while reducing the influence of the fading effect.
[0087] Reference Figure 2, the basic idea of the method for detecting adjacent-frequency Wi-Fi interference signals in this application is as follows: Provide a method that combines an FPGA and a CPU processing unit. The FPGA is used for digital signal processing to collect Wi-Fi channel signals. In the time domain, for the time-domain signals of the collected Wi-Fi channels, using the OFDM symbol as the reference time for power calculation, the effective average power of each scheduling frame is obtained and written into the RAM for caching. The CPU obtains the power values in the cache through the RAM read interface and performs channel power compensation. By comparing with the preset warning power threshold and the number of times of exceeding the threshold, it is determined whether to generate a warning, realizing the function of interference detection. Specifically, the method includes the following steps:
[0088] Step S201, digital down-conversion shifts the Wi-Fi signal to the baseband, and filters out the detection channel through shaping filtering.
[0089] The Wi-Fi interference signal has 14 channel divisions. Therefore, for the signal collection of the Wi-Fi channel, as Figure 3 shown, it is necessary to perform frequency shifting, digital decimation, and shaping filtering on the signal through digital signal processing. By converting the Wi-Fi channel signal into a baseband signal, it is finally output to the power statistics module for power statistics. Compared with the method of statistically calculating power in the frequency domain (judging the peak-to-average ratio through relevant calculations and the sliding double-window technique, and then observing the power spectral density of the signal through FFT), this module calculates the signal power by converting the frequency-domain power to the time domain, thereby performing power calculation, which can reduce the consumption of DSP resources by FFT. In the scenario of this application, the bandwidth of the Wi-Fi signal is 20 MHz, corresponding to a 1024-point FFT operation. The DSP resources required by the method of statistically calculating power in the frequency domain far exceed the available resources in the current solution.
[0090] Step S202, statistically calculate the signal power (the first power) with the Wi-Fi signal symbol as the period, and compare and output the maximum symbol power (the second power) in one frame.
[0091] The OFDM modulation is adopted in the Wi-Fi6 protocol, and the time of each symbol is denoted as , and assume that the time of each symbol in the power statistics module is , and . The power statistics module outputs the corresponding digital domain average power at each , , where is the quantization bit width of the time-domain IQ data, is the time slot , where represents the sampling rate of the signal.
[0092] Meanwhile, within the total number of symbols included in each frame , calculate the mean power of all individual symbol data, compare and output the maximum symbol mean power, that is .
[0093] The specific power statistics window and the time relationship of the symbol data to be detected are as Figure 5 shown. When the power statistics module calculates the power in each , record the time when the Wi-Fi signal symbol falls within as . The actually statistically output power value has the following characteristics:
[0094] (1) When the power statistics symbol is aligned with the Wi-Fi signal symbol, at this time, the power calculated by the power statistics module in each is the power of a complete symbol of the Wi-Fi signal, denoted as , and ;
[0095] (2) When the power statistics symbol is not aligned with the Wi-Fi signal symbol, at this time, the power calculated by the power statistics module in each is ;
[0096] Step S203, store the maximum power value of each frame in the RAM, and the CPU reads the power value and performs channel power compensation on it.
[0097] For short burst signals, the signals are stored and recorded in a buffered manner, so as not to miss capturing any burst signal data. The function is implemented as the power buffer module in Figure 3 . The software reads the power data in the buffer through the control interface and the data interaction interface.
[0098] Since in the radio frequency design of wireless communication devices, there are usually filters for frequency bands other than service signals to suppress out-of-band signals. It is difficult to achieve uniform suppression for all frequency bands of out-of-band signals by the radio frequency filter. Therefore, power compensation is required for the power data of different Wi-Fi channels.
[0099] Step S204, compare the compensated power value with a preset detection threshold (the first threshold), and record the number n of power values exceeding the detection threshold.
[0100] To avoid the phenomenon that the system may frequently alarm due to the power of interference signals exceeding the detection threshold, the software makes a comparison and determination by comparing the compensated power value with the preset detection threshold, and records the number n of power values exceeding the detection threshold as the condition for judging whether an alarm is generated.
[0101] In step S205, it is determined whether an alarm is generated by comparing n with a preset alarm threshold number (second threshold).
[0102] The software determines whether the number of detected signals exceeding the detection threshold power is greater than the preset alarm threshold number. If it is greater, an interference alarm is generated.
[0103] The method for detecting adjacent-channel Wi-Fi interference signals in the above wireless communication device sets the minimum time for power detection based on the symbol length of the Wi-Fi signal, stores the power calculated in the digital domain, and determines the presence of adjacent-channel Wi-Fi interference signals by comparing with a set threshold, which can be used to solve the problem of signal capture caused by short-time bursts and multi-channel transmission of Wi-Fi interference signals.
[0104] Moreover, referring to Figure 4 , interference signal detection can be sequentially performed for N Wi-Fi channels 1... N. By monitoring Wi-Fi interference signals and searching according to the signal power magnitude, the Wi-Fi frequency band with the greatest impact can also be adaptively identified, so as to effectively avoid the interference frequency band when installing a repeater and improve the performance of the repeater.
[0105] In addition, by multiplexing the analog-to-digital converter (ADC) channels of the radio frequency system, it has the advantage of low cost. And by simplifying the power conversion process, the FFT calculation can also be avoided, reducing the consumption of DSP resources.
[0106] In an exemplary embodiment, an interference signal detection method is provided, including the following steps:
[0107] In step S301, an analog signal of a Wi-Fi channel is collected, the analog signal is converted into a digital signal, frequency translation processing is performed on the digital signal to obtain a baseband signal, decimation processing is performed on the baseband signal to obtain a decimated signal, and shaping filtering processing is performed on the decimated signal to obtain a signal to be detected;
[0108] In step S302, the average power of the signal to be detected in a preset time window is determined, and a first power is obtained according to the average power;
[0109] In step S303, for the first power corresponding to each preset time window in the signal frame, the maximum value is selected, and a second power is obtained according to the maximum value;
[0110] In step S304, power compensation is performed on the second power to obtain a third power. The third power exceeding the first threshold is determined as the target power. When the number of target powers exceeds the second threshold, the signal to be detected is determined as an interference signal.
[0111] In a specific implementation, a repeater can collect analog signals of a specified Wi-Fi channel, and through processing such as analog-to-digital conversion, frequency translation, decimation, and shaping filtering, obtain a signal to be detected. For each signal frame of the signal to be detected, determine the average power within a preset time window, that is, the first power, and select the maximum value from the average powers corresponding to each time window in the signal frame to obtain the second power corresponding to each signal frame. Perform power compensation on each second power to obtain a third power. If the third power exceeds the first threshold, determine the third power as the target power. Count the number of target powers for all current signal frames. If the number of target powers exceeds the second threshold, determine that a Wi-Fi interference signal is detected.
[0112] It should be understood that although the steps in the flowcharts involved in the above-described embodiments are sequentially shown in the direction of the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear indication in this article, the execution of these steps does not have a strict order limit, and these steps can be executed in other orders. Moreover, at least some of the steps in the flowcharts involved in the above-described embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be executed alternately or alternately with at least some of the steps or stages in other steps or other steps.
[0113] Based on the same inventive concept, an embodiment of the present application also provides an interference signal detection device for implementing the interference signal detection method described above. The implementation solution provided by this device to solve the problem is similar to the implementation solution described in the above method. Therefore, the specific limitations in one or more embodiments of the interference signal detection device provided below can refer to the limitations on the interference signal detection method in the above text, and will not be repeated here.
[0114] In an exemplary embodiment, as Figure 6 shown, an interference signal detection device is provided, including: a signal acquisition module 602, a first calculation module 604, a second calculation module 606, and an interference detection module 608, where:
[0115] The signal acquisition module 602 is configured to acquire a signal to be detected of a wireless fidelity (Wi-Fi) channel;
[0116] The first calculation module 604 is configured to determine a first power of the signal to be detected within a preset time window; the preset time window is determined according to the symbol length of the signal to be detected;
[0117] A second calculation module 606, configured to determine a second power corresponding to a signal frame of the signal to be detected according to the first power;
[0118] An interference detection module 608, configured to determine that the signal to be detected is an interference signal when the second power meets a preset condition.
[0119] In an exemplary embodiment, the above-mentioned first calculation module 604 is further configured to determine an average power of the signal to be detected within the preset time window; and obtain the first power according to the average power.
[0120] In an exemplary embodiment, the above-mentioned second calculation module 606 is further configured to select a maximum value for the first power corresponding to each preset time window in the signal frame; and obtain the second power according to the maximum value.
[0121] In an exemplary embodiment, the above-mentioned interference detection module 608 is further configured to perform power compensation on the second power to obtain a third power; determine a third power exceeding a first threshold as a target power; and determine that the signal to be detected is the interference signal when the number of the target powers exceeds a second threshold.
[0122] In an exemplary embodiment, the above-mentioned signal acquisition module 602 is further configured to collect an analog signal of the Wi-Fi channel; convert the analog signal into a digital signal; perform frequency translation processing on the digital signal to obtain a baseband signal; perform decimation processing on the baseband signal to obtain a decimated signal; and perform shaping filtering processing on the decimated signal to obtain the signal to be detected.
[0123] Each module in the above-mentioned interference signal detection device can be implemented in whole or in part by software, hardware, and their combination. The above-mentioned modules can be embedded in a processor in a communication device in a hardware form or be independent of the processor, or can be stored in a memory in the communication device in a software form, so as to be called by the processor to execute operations corresponding to the above-mentioned modules.
[0124] In an exemplary embodiment, an interference signal detection system is provided, including an FPGA and a CPU, where:
[0125] The FPGA is configured to obtain a signal to be detected of the Wi-Fi channel, determine a first power of the signal to be detected within a preset time window, and determine a second power corresponding to a signal frame of the signal to be detected according to the first power; the preset time window is determined according to the symbol length of the signal to be detected;
[0126] The CPU is configured to determine that the signal to be detected is an interference signal when the second power meets a preset condition.
[0127] In a specific implementation, the signals collected in the Wi-Fi channel can be input into the FPGA. The FPGA obtains the signal to be detected through processes such as analog-to-digital conversion, frequency translation, decimation, and shaping filtering. For each signal frame of the signal to be detected, the average power within a preset time window, that is, the first power, is determined, and the maximum value is selected from the average powers corresponding to each time window in the signal frame to obtain the second power corresponding to each signal frame. The FPGA can cache the second power in the RAM, and the CPU reads the cached second power and performs power compensation on each second power to obtain the third power. If the third power exceeds the first threshold, the third power is determined as the target power. The number of target powers is statistically counted for all current signal frames. If the number of target powers exceeds the second threshold, it is determined that a Wi-Fi interference signal is detected.
[0128] In an exemplary embodiment, the above-mentioned FPGA is further configured to determine the average power of the signal to be detected within the preset time window; and obtain the first power according to the average power.
[0129] In an exemplary embodiment, the above-mentioned FPGA is further configured to select the maximum value from the first powers corresponding to each preset time window in the signal frame; and obtain the second power according to the maximum value.
[0130] In an exemplary embodiment, the above-mentioned CPU is further configured to perform power compensation on the second power to obtain the third power; determine the third power exceeding the first threshold as the target power; and determine the signal to be detected as the interference signal when the number of target powers exceeds the second threshold.
[0131] In an exemplary embodiment, the above-mentioned FPGA is further configured to collect the analog signal of the Wi-Fi channel; convert the analog signal into a digital signal; perform frequency translation processing on the digital signal to obtain a baseband signal; perform decimation processing on the baseband signal to obtain a decimated signal; and perform shaping filtering processing on the decimated signal to obtain the signal to be detected.
[0132] Since the specific processing procedures of the FPGA and the CPU have been described in detail in the foregoing embodiments, they will not be elaborated herein.
[0133] The above interference signal detection system determines the first power of a signal to be detected within a preset time window by acquiring the signal to be detected in a Wi-Fi channel. The preset time window is determined according to the symbol length of the signal to be detected. The second power corresponding to the signal frame of the signal to be detected is determined based on the first power. When the second power meets the preset conditions, the signal to be detected is determined as an interference signal. It is possible to set the time window for interference signal detection according to the symbol length of the Wi-Fi signal for a specified Wi-Fi channel, and use the power of the Wi-Fi signal detected within the time window to monitor Wi-Fi interference signals. Since the detection is performed on the specified channel with the symbol length of the Wi-Fi signal as the scale, it can overcome the inaccurate monitoring of interference signals caused by short bursts and multiple channels of Wi-Fi signals, and accurately monitor adjacent-frequency Wi-Fi interference signals.
[0134] In an exemplary embodiment, the above FPGA is further configured to cache the second power corresponding to each signal frame in the RAM.
[0135] In specific implementation, after the FPGA obtains the second power corresponding to each signal frame, it can cache the second power in the RAM for the CPU to read.
[0136] In this embodiment, by caching the second power corresponding to each signal frame in the RAM, for short burst signals, the signals can be stored and recorded in a cached manner, avoiding missing any burst signal data and improving the reliability of interference signal detection.
[0137] In an exemplary embodiment, the above CPU is further configured to read the second power cached in the RAM, perform power compensation on the second power to obtain a third power, and detect interference signals based on the third power.
[0138] In specific implementation, the CPU can read the second power cached in the RAM, perform power compensation on the second power to obtain a third power, determine the third power exceeding the first threshold as the target power, and when the number of target powers exceeds the second threshold, determine the signal to be detected as an interference signal.
[0139] In this embodiment, by reading the second power cached in the RAM, performing power compensation on the second power to obtain a third power, and detecting interference signals based on the third power, it can compensate for the suppression of out-of-band signals by the mobile communication device and improve the accuracy of interference signal detection.
[0140] In an exemplary embodiment, a communication device is provided, which may be a repeater or a base station. The communication device includes a processor, a memory, an input / output interface (Input / Output, abbreviated as I / O), and a communication interface. Among them, the processor, the memory, and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the communication device is used to provide computing and control capabilities. The memory of the communication device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the communication device is used to store interference signal detection data. The input / output interface of the communication device is used to exchange information between the processor and external devices. The communication interface of the communication device is used to communicate with external terminals through a network connection. When the computer program is executed by the processor, it implements an interference signal detection method.
[0141] Those skilled in the art can understand that the above structure is only a block diagram of some structures related to the solution of the present application, and does not constitute a limitation on the communication device to which the solution of the present application is applied. The specific communication device may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements.
[0142] In one embodiment, a communication device is further provided, including a memory and a processor. A computer program is stored in the memory, and when the processor executes the computer program, the steps in the above method embodiments are implemented.
[0143] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above method embodiments are implemented.
[0144] In one embodiment, a computer program product is provided, including a computer program. When the computer program is executed by a processor, the steps in the above method embodiments are implemented.
[0145] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present application are all information and data authorized by the user or fully authorized by all parties, and the collection, use, and processing of relevant data need to comply with relevant regulations.
[0146] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, database, or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The databases involved in the embodiments provided in the present application can include at least one of relational databases and non-relational databases. Non-relational databases can include distributed databases based on blockchain, etc., without limitation. The processors involved in the embodiments provided in the present application can be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, data processing logics based on quantum computing, artificial intelligence (AI) processors, etc., without limitation.
[0147] The technical features of the above embodiments can be combined arbitrarily. For the sake of concise description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered to be within the scope recorded in the present application.
[0148] The above-described embodiments merely represent several implementation manners of the present application. The description thereof is relatively specific and detailed, but it should not be construed as a limitation to the patent scope of the present application. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all fall within the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.
Claims
1. A method for detecting an interference signal, characterized in that: The method comprises: Get the signal to be detected of the wireless fidelity Wi-Fi channel; Determining a first power of the signal to be detected in a preset time window; the preset time window is determined according to a symbol length of the signal to be detected; Determine, according to the first power, a second power corresponding to the signal frame of the signal to be detected; When the second power meets a preset condition, it is determined that the signal to be detected is an interference signal.
2. The interference signal detection method according to claim 1, characterized in that: The determining the first power of the signal to be detected in a preset time window includes: Determining the mean power of the signal to be detected in the preset time window; The first power is obtained according to the mean power.
3. The interference signal detection method according to claim 1, characterized in that: The determining, according to the first power, a second power corresponding to the signal frame of the signal to be detected comprises: For the first power corresponding to each preset time window in the signal frame, select a maximum value; The second power is obtained according to the maximum value.
4. The interference signal detection method according to claim 1, characterized in that: The step of determining that the signal to be detected is an interference signal when the second power meets a preset condition includes: performing power compensation on the second power to obtain a third power; determining a third power exceeding the first threshold as a target power; When the number of the target powers exceeds a second threshold, it is determined that the signal to be detected is the interference signal.
5. The interference signal detection method according to claim 1, characterized in that: The obtaining of the signal to be detected of the Wi-Fi channel includes: Collecting an analog signal of the Wi-Fi channel; Converting the analog signal into a digital signal; Performing frequency shifting processing on the digital signal to obtain a baseband signal; Performing extraction processing on the baseband signal to obtain an extracted signal; The extracted signal is subjected to shaping filtering to obtain the signal to be detected.
6. An interference signal detection device, characterized in that: The device comprises: A signal acquisition module, used to acquire a signal to be detected of a wireless fidelity Wi-Fi channel; A first calculation module, used to determine a first power of the signal to be detected in a preset time window; the preset time window is determined according to a symbol length of the signal to be detected; A second calculation module, used to determine a second power corresponding to the signal frame of the signal to be detected according to the first power; The interference detection module is used to determine that the signal to be detected is an interference signal when the second power meets a preset condition.
7. An interference signal detection system, characterized in that: The system comprises: A field programmable gate array FPGA is used to obtain a signal to be detected in a wireless fidelity Wi-Fi channel, determine a first power of the signal to be detected in a preset time window, and determine a second power corresponding to a signal frame of the signal to be detected according to the first power; the preset time window is determined according to a symbol length of the signal to be detected; The central processing unit CPU is used to determine that the signal to be detected is an interference signal when the second power meets a preset condition.
8. The interference signal detection system according to claim 7, characterized in that: The FPGA is also used to cache the second power corresponding to each signal frame in a random access memory RAM.
9. The interference signal detection system according to claim 8, characterized in that: The CPU is further configured to read the second power cached in the RAM, perform power compensation on the second power to obtain a third power, and detect the interference signal according to the third power.
10. A communication device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.
11. A computer-readable storage medium having a computer program stored thereon, 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 5 are implemented.