Wireless interference detection method and system

By generating and comparing the signal strength set of Bluetooth channels, the accuracy of Bluetooth channel wireless interference detection is solved, ensuring the stability and reliability of Bluetooth communication.

CN120301537APending Publication Date: 2025-07-11ZGMICRO HEFEI LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510644970.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-19
Publication Date
2025-07-11

AI Technical Summary

Technical Problem

The prior art cannot accurately and comprehensively detect wireless interference caused by Bluetooth low-power channels, especially when Bluetooth and wireless fidelity signals coexist, traditional methods are difficult to distinguish and avoid wireless interference.

Method used

By obtaining the signal strength sequence, the first set and the second set are generated, the quotient value is calculated and compared with the set threshold value, and detection information is generated to determine whether there is wireless interference in the Bluetooth channel.

Benefits of technology

It realizes accurate detection of wireless interference in Bluetooth channels, ensures the stability and reliability of Bluetooth data transmission, and can quickly determine the interfered channel range and adaptively avoid it.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120301537A_ABST
    Figure CN120301537A_ABST
Patent Text Reader

Abstract

The invention provides a wireless interference detection method and system, particularly relates to the technical field of wireless communication, is applied to Bluetooth equipment, and comprises the steps that a signal intensity sequence is acquired, the signal intensity sequence comprises N intensity values arranged in order, and the intensity values are used for representing the intensity mean value of a plurality of signals on a corresponding Bluetooth channel; a first set and a second set are generated based on the signal intensity sequence, and the first set is a candidate set with the maximum mean value of the corresponding multiple intensity values in multiple candidate sets corresponding to the N intensity values; each candidate set comprises M continuous intensity values in the signal intensity sequence, and the second set comprises all intensity values except the first set; and calculating a quotient of an average value of the plurality of intensity values included in the first set and an average value of the plurality of intensity values included in the second set to obtain a quotient value, and comparing the quotient value with a set threshold to generate detection information. According to the invention, the wireless interference on the BLE channel can be accurately and comprehensively detected.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of wireless communication, and particularly to a wireless interference detection method and system. Background Art

[0002] In the context of the popularization of the Internet of Things and intelligent devices, the coexistence interference problem between Bluetooth Low Energy (BLE) and Wireless Fidelity (WI-FI) (Institute of Electrical and Electronics Engineers (IEEE) 802.11b / g / n protocol) in the 2.4GHz ISM (Industrial Scientific Medical) band has become increasingly prominent. Wireless interferences such as WI-FI mainly transmit with long bursts and high throughput, while BLE uses low-duty-cycle short pulses for communication. Traditional interference detection methods based on fixed thresholds are difficult to distinguish between the two types of signals.

[0003] Existing Adaptive Frequency Hopping (AFH) technologies rely on historical interference statistics (such as Cyclic Redundancy Check (CRC) error rates) and cannot respond in real time to burst wireless interferences (such as a user suddenly starting a video download). Moreover, AFH only avoids known interference channels, but the wideband characteristics of wireless interferences such as WI-FI will contaminate multiple BLE channels simultaneously, and it is impossible to avoid all the channels affected by wireless interferences well.

[0004] And the active scanning measure based on RSSI will misjudge the preamble and CRC check field of BLE data packets as external interference signals.

[0005] That is to say, the existing technologies cannot accurately and comprehensively detect the wireless interferences received by BLE channels. Summary of the Invention

[0006] The purpose of the present disclosure is to provide a wireless interference detection method and system, which are used to solve the technical problem that the existing technologies cannot accurately and comprehensively detect the wireless interferences received by BLE channels.

[0007] In a first aspect, an embodiment of the present invention provides a wireless interference detection method, which is applied to a Bluetooth device, and the method includes:

[0008] Obtain a signal strength sequence, where the signal strength sequence includes N intensity values arranged in an orderly manner, the N intensity values correspond one by one to N consecutive Bluetooth channels, the intensity value is used to represent the average intensity of multiple signals monitored on the corresponding Bluetooth channel, and N is an integer greater than 1;

[0009] Generate a first set and a second set based on the signal strength sequence, where the first set is the candidate set with the largest corresponding target value among the multiple candidate sets corresponding to the N intensity values; each candidate set includes M consecutive intensity values in the signal strength sequence, and the M consecutive intensity values included in different candidate sets are at least partially different, the target value is the average value of the multiple intensity values included in the corresponding set, and the second set includes all the intensity values in the N intensity values except the first set, and M is an integer greater than 1 and less than N;

[0010] Calculate the quotient of the first target value and the second target value to obtain a quotient value, and generate detection information based on the numerical size between the quotient value and a set threshold, where the first target value is the average value of the multiple intensity values included in the first set, and the second target value is the average value of the multiple intensity values included in the second set;

[0011] When the quotient value is greater than the set threshold, the detection information is used to indicate that there is wireless interference on the M Bluetooth channels corresponding to the first set;

[0012] When the quotient value is less than or equal to the set threshold, the detection information is used to indicate that there is no wireless interference on the N Bluetooth channels.

[0013] In one embodiment, the Bluetooth device performs Bluetooth communication at multiple consecutive equal time intervals;

[0014] The obtaining of the N intensity values arranged in an orderly manner includes:

[0015] When the duration of the idle time slot in the target equal time interval is greater than the duration threshold, perform a signal monitoring operation in the idle time slot of the target equal time interval to obtain a first intensity value, where the N intensity values include the first intensity value, the target equal time interval is any one of the multiple equal time intervals, and the signal monitoring operation is used to: statistically calculate the average intensity of multiple signals received on one Bluetooth channel to obtain the first intensity value.

[0016] In one embodiment, the duration threshold is the sum of the protection duration and the shortest sampling duration;

[0017] The protection duration is used to represent: the duration for the Bluetooth device to switch between Bluetooth communication operations and the signal monitoring operation;

[0018] The shortest sampling duration is used to represent: the shortest duration for the Bluetooth device to sample the intensity mean of multiple signals received on the Bluetooth channel.

[0019] In one embodiment, performing a signal monitoring operation in an idle time slot of the target equal time interval to obtain a first intensity value includes:

[0020] In the idle time slot of the target equal time interval, receiving multiple first signals based on one Bluetooth channel, modifying the receiving addresses of the multiple first signals to illegal values, and discarding the data packets in the multiple first signals to obtain multiple second signals, where the multiple first signals and the multiple second signals correspond one by one, and the second signal includes the signal part other than the data packet in the corresponding first signal;

[0021] Performing automatic gain control processing on the multiple second signals respectively based on target gain information to obtain multiple third signals, where the multiple third signals and the multiple second signals correspond one by one;

[0022] Calculating the average value of the signal intensities of the multiple third signals to obtain the first intensity value.

[0023] In one embodiment, before receiving multiple first signals based on one Bluetooth channel, the method further includes:

[0024] In the idle time slot of the target equal time interval, adjusting the Bluetooth signal detection threshold in the Modem of the Bluetooth device from a first value to a second value, where the first value is less than the second value, and the Modem detects whether a signal is a valid Bluetooth signal based on the Bluetooth signal detection threshold;

[0025] After obtaining the multiple third signals, the method further includes:

[0026] In the case where the signal intensity of the third signal is less than the Bluetooth signal detection threshold, determining that the third signal is not a valid Bluetooth signal.

[0027] In one embodiment, the target gain information is the gain information corresponding to the generated detection information indicating the existence of the wireless interference among the multiple gain information pre-configured in the Bluetooth device.

[0028] In a second aspect, an embodiment of the present invention further provides a wireless interference detection system, which is applied to a Bluetooth device, and the system includes:

[0029] A sequence acquisition module, configured to acquire a signal strength sequence, where the signal strength sequence includes N intensity values arranged in an orderly manner, the N intensity values correspond to N consecutive Bluetooth channels one by one, the intensity value is used to represent the average intensity of multiple signals monitored on the corresponding Bluetooth channel, and N is an integer greater than 1;

[0030] A set generation module, configured to generate a first set and a second set based on the signal strength sequence, where the first set is the candidate set with the largest target value among multiple candidate sets corresponding to the N intensity values; each candidate set includes M consecutive intensity values in the signal strength sequence, and the M consecutive intensity values included in different candidate sets are at least partially different, the target value is the average value of multiple intensity values included in the corresponding set, and the second set includes all intensity values in the N intensity values except the first set, and M is an integer greater than 1 and less than N;

[0031] An interference detection module, configured to calculate the quotient of a first target value and a second target value to obtain a quotient value, and generate detection information based on the numerical relationship between the quotient value and a set threshold, where the first target value is the average value of multiple intensity values included in the first set, and the second target value is the average value of multiple intensity values included in the second set;

[0032] When the quotient value is greater than the set threshold, the detection information is used to indicate that there is wireless interference on the M Bluetooth channels corresponding to the first set;

[0033] When the quotient value is less than or equal to the set threshold, the detection information is used to indicate that there is no wireless interference on the N Bluetooth channels.

[0034] In one embodiment, the Bluetooth device performs Bluetooth communication at multiple consecutive equal time intervals;

[0035] The sequence acquisition module is specifically configured to:

[0036] A signal monitoring unit, configured to perform a signal monitoring operation in an idle time slot of a target equal time interval when the duration of the idle time slot of the target equal time interval is greater than a duration threshold, to obtain a first intensity value, where the N intensity values include the first intensity value, the target equal time interval is any one of the multiple equal time intervals, and the signal monitoring operation is used to: statistically calculate the average intensity of multiple signals received on one Bluetooth channel to obtain the first intensity value.

[0037] In one embodiment, the duration threshold is the sum of a protection duration and a shortest sampling duration;

[0038] The protection duration is used to represent the duration for the Bluetooth device to switch between Bluetooth communication operations and the signal monitoring operation;

[0039] The shortest sampling duration is used to represent the shortest duration for the Bluetooth device to sample the average strength of multiple signals received on a Bluetooth channel.

[0040] In one embodiment, the signal monitoring unit is specifically configured to:

[0041] In an idle time slot of the target equal time interval, receive multiple first signals based on a Bluetooth channel, modify the reception addresses of the multiple first signals to illegal values, and discard the data packets in the multiple first signals to obtain multiple second signals, where the multiple first signals and the multiple second signals correspond one by one, and the second signal includes the signal part other than the data packet in the corresponding first signal; perform automatic gain control processing on the multiple second signals respectively based on target gain information to obtain multiple third signals, where the multiple third signals and the multiple second signals correspond one by one; calculate the average value of the signal strengths of the multiple third signals to obtain the first strength value;

[0042] Before receiving the multiple first signals based on a Bluetooth channel, the signal monitoring unit is further configured to: in an idle time slot of the target equal time interval, adjust the Bluetooth signal detection threshold in the modem of the Bluetooth device from a first value to a second value, where the first value is less than the second value, and the modem detects whether a signal is a valid Bluetooth signal based on the Bluetooth signal detection threshold;

[0043] After obtaining the multiple third signals, the signal monitoring unit is further configured to:

[0044] In the case where the signal strength of the third signal is less than the Bluetooth signal detection threshold, determine that the third signal is not a valid Bluetooth signal;

[0045] The target gain information is the gain information corresponding to the generated detection information indicating the existence of wireless interference among the multiple gain information pre-configured for the Bluetooth device.

[0046] In the present invention, the average value of the intensities of multiple signals monitored on a Bluetooth channel is used as an index value to obtain a signal intensity sequence corresponding to N consecutive Bluetooth channels, and based on this, a first set composed of M consecutive intensity values is generated to fit the wideband of possible wireless interference, and a second set is formed by using other intensity values outside the first set. By calculating the quotient of the average value corresponding to the first set and the average value corresponding to the second set, and comparing the numerical size of the quotient and a set threshold, it is determined whether there is wireless interference in the N Bluetooth channels. When it is determined that there is wireless interference, the multiple Bluetooth channels affected by the wireless interference are quickly determined according to the wideband fitted by the first set, so as to accurately and comprehensively detect the wireless interference suffered by the BLE channel and the range of Bluetooth channels affected by the wireless interference, so as to adaptively avoid or suppress the corresponding wireless interference subsequently and ensure the stability and reliability of Bluetooth data transmission. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 FIG. 1 is a schematic flowchart of a wireless interference detection method provided by an embodiment of the present invention;

[0048] Figure 2 FIG. 2 is a schematic diagram of a timing diagram provided by an embodiment of the present invention;

[0049] Figure 3 FIG. 3 is a schematic flowchart of a wireless interference detection and processing method provided by an embodiment of the present invention;

[0050] Figure 4 FIG. 4 is a schematic diagram of an interference index sequence provided by an embodiment of the present invention;

[0051] Figure 5 FIG. Figure 4 is a schematic diagram after performing sliding window processing;

[0052] FIG. 6(a) is a schematic diagram of an interference index sequence under AGC_INDEX6 provided by an embodiment of the present invention;

[0053] FIG. 6(b) is a schematic diagram of an interference index sequence under AGC_INDEX0 provided by an embodiment of the present invention;

[0054] FIG. 6(c) is a schematic diagram of an interference index sequence under AGC_INDEX12 provided by an embodiment of the present invention;

[0055] FIG. 6(d) is a schematic diagram of an interference index sequence under AGC_INDEX18 provided by an embodiment of the present invention;

[0056] FIG. 6(e) is a schematic diagram of an interference index sequence under AGC_INDEX24 provided by an embodiment of the present invention;

[0057] Figure 7(a) is a schematic diagram of the interference index sequence at a distance of 0.5 provided by an embodiment of the present invention;

[0058] Figure 7(b) is a schematic diagram of the interference index sequence at a distance of 1.0 provided by an embodiment of the present invention;

[0059] Figure 7(c) is a schematic diagram of the interference index sequence at a distance of 1.5 provided by an embodiment of the present invention;

[0060] Figure 7(d) is a schematic diagram of the interference index sequence at a distance of 2.0 provided by an embodiment of the present invention;

[0061] Figure 7(e) is a schematic diagram of the interference index sequence at a distance of 3.0 provided by an embodiment of the present invention;

[0062] Figure 7(f) is a schematic diagram of the interference index sequence at a distance of 4.0 provided by an embodiment of the present invention;

[0063] Figure 7(g) is a schematic diagram of the interference index sequence at a distance of 5.0 provided by an embodiment of the present invention;

[0064] Figure 8 is a schematic structural diagram of a wireless interference detection system provided by an embodiment of the present invention;

[0065] Figure 9 is a schematic diagram of an electronic device provided by an embodiment of the present invention. Detailed implementation manners

[0066] Next, the technical solutions in the embodiments of the present disclosure will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present disclosure.

[0067] The present invention provides a wireless interference detection method, which is applied to a Bluetooth device, such as Figure 1 shown, and the method includes:

[0068] Step 101, obtain a signal strength sequence.

[0069] Among them, the signal strength sequence includes N intensity values arranged in order, the N intensity values correspond to N consecutive Bluetooth channels one by one, the intensity value is used to represent the intensity mean value of multiple signals monitored on the corresponding Bluetooth channel, and N is an integer greater than 1.

[0070] Among them, the Bluetooth device is any device with Bluetooth communication function. More precisely, the Bluetooth device is any device that supports BLE communication, such as Bluetooth headsets, Bluetooth speakers, etc.

[0071] The N Bluetooth channels are all service channels involved in the BLE communication of the Bluetooth device, corresponding to the full frequency band range of 2402 - 2480 MHz. For example, N can be 37.

[0072] In the application, the intensity value corresponding to each Bluetooth channel can be dynamically obtained by periodically traversing the N Bluetooth channels.

[0073] Specifically: In one traversal period, first select the first Bluetooth channel from the N Bluetooth channels, and receive multiple signals through the first Bluetooth channel in the corresponding monitoring time slot, and calculate the average value of the multiple signal strength values (such as the Received Signal Strength Indicator (RSSI) value) of the received multiple signals, and determine it as the intensity value corresponding to the first Bluetooth channel;

[0074] Then select the second Bluetooth channel from the N Bluetooth channels, and continue the above signal reception and signal strength value average calculation process, and so on until the intensity value corresponding to the last Bluetooth channel among the N Bluetooth channels is determined, which is regarded as the end of a corresponding traversal period.

[0075] It should be noted that in the above process, the duration of the monitoring time slots corresponding to different Bluetooth channels can be the same or different; the duration of different traversal periods can be the same or different.

[0076] In addition, the intensity value can also be called the interference index, and the signal intensity sequence can also be called the interference index sequence.

[0077] Step 102: Generate a first set and a second set based on the signal intensity sequence.

[0078] Among them, the first set is the candidate set with the largest target value among the multiple candidate sets corresponding to the N intensity values; each candidate set includes M consecutive intensity values in the signal intensity sequence, and the M consecutive intensity values included in different candidate sets are at least partially different. The target value is the average value of the multiple intensity values included in the corresponding set, and the second set includes all the intensity values among the N intensity values except the first set. M is an integer greater than 1 and less than N.

[0079] Among them, the process of obtaining the multiple candidate sets corresponding to the N intensity values can be:

[0080] The signal strength sequence is intercepted multiple times with a sliding window of a set length and a set sliding step size to obtain the multiple candidate sets. Wherein, the set length is M unit lengths, the unit length is the data length corresponding to one intensity value in the signal strength sequence, and the sliding step size is 1 unit length.

[0081] For example: when N is 37 (the serial numbers of 37 intensity values in the signal strength sequence are 0 to 36) and M is 10, the multiple candidate sets are {[0 to 9], [1 to 10], …, [27 to 36]}. In this example, if the interval [0 to 9] is determined as the first set mentioned above, then the interval [10 to 36] is the second set mentioned above; similarly, if the interval [1 to 10] is determined as the first set mentioned above, then the interval [11 to 36] and the point [0] together form the second set mentioned above.

[0082] It should be noted that the value of M can be dynamically determined according to the bandwidth of the wireless interference to be detected, that is, as the bandwidth of the wireless interference to be detected increases, the value of M can also increase adaptively. For example: when the wireless interference is a 20M bandwidth WI-FI interference, the corresponding value of M can be set to 10.

[0083] Step 103: Calculate the quotient of the first target value and the second target value to obtain a quotient value, and generate detection information based on the numerical size between the quotient value and a set threshold.

[0084] Wherein, the first target value is the average value of multiple intensity values included in the first set, and the second target value is the average value of multiple intensity values included in the second set;

[0085] When the quotient value is greater than the set threshold, the detection information is used to indicate that there is wireless interference in the M Bluetooth channels corresponding to the first set;

[0086] When the quotient value is less than or equal to the set threshold, the detection information is used to indicate that there is no wireless interference in the N Bluetooth channels.

[0087] In the present invention, the first set can be understood as a data set for fitting the broadband range where the wireless interference is located, and the second set can be understood as a data set for fitting the environmental noise except for the wireless interference, wherein the wireless interference includes Wireless Fidelity (WI-FI) interference.

[0088] Exemplarily, the value range of the set threshold can be [1.5, 2].

[0089] In one example, when it is determined that there is wireless interference in the M Bluetooth channels corresponding to the first set according to the detection information, the M Bluetooth channels corresponding to the first set can be fed back to the link layer corresponding to the Bluetooth device to trigger an update of the channel set for Adaptive Frequency Hopping (AFH) mapping, so that the updated channel set temporarily shields the M Bluetooth channels corresponding to the first set.

[0090] In the present invention, the average value of the intensities of multiple signals monitored on a Bluetooth channel is used as an index value to obtain a signal intensity sequence corresponding to N consecutive Bluetooth channels, and based on this, a first set composed of M consecutive intensity values is generated to fit the wide frequency band of possible wireless interference, and a second set is composed of other intensity values outside the first set. By calculating the quotient of the average value corresponding to the first set and the average value corresponding to the second set, and comparing the numerical size of the quotient and a set threshold value, it is determined whether there is wireless interference in the N Bluetooth channels. And when it is determined that there is wireless interference, the multiple Bluetooth channels affected by the wireless interference are quickly determined according to the wide frequency band fitted by the first set, so as to accurately and comprehensively detect the wireless interference received by the BLE channel and the range of Bluetooth channels affected by the wireless interference, so as to adaptively avoid or suppress the corresponding wireless interference subsequently and ensure the stability and reliability of Bluetooth data transmission.

[0091] In one embodiment, the Bluetooth device performs Bluetooth communication at a plurality of consecutive equal time intervals;

[0092] The obtaining of the N intensity values arranged in order includes:

[0093] When the duration of the idle time slot in the target equal time interval is greater than the duration threshold, a signal monitoring operation is performed in the idle time slot of the target equal time interval to obtain a first intensity value, where the N intensity values include the first intensity value, the target equal time interval is any one of the plurality of equal time intervals, and the signal monitoring operation is used to: statistically calculate the average value of the intensities of multiple signals received on one Bluetooth channel to obtain the first intensity value.

[0094] In the present invention, the Bluetooth device can be a central device performing Bluetooth communication or a peripheral device performing Bluetooth communication. Among them, it is preferably set that the Bluetooth device is the aforementioned central device to reduce the energy consumption overhead of the peripheral device.

[0095] Among them, the idle time slot can be understood as the unallocated time slot part in the target equal time interval except for the first packet transmission time slot and the second packet transmission time slot. Among them, the central device sends a Bluetooth data packet to the peripheral device in the first packet transmission time slot, and the peripheral device sends a Bluetooth data packet to the central device in the second packet transmission time slot.

[0096] In this embodiment, the intensity value is obtained during the idle time slot of Bluetooth communication of the Bluetooth device, so as to make full use of the time slot resources and avoid additional power consumption caused by obtaining the intensity value.

[0097] Further, the duration threshold is the sum of the protection duration and the shortest sampling duration;

[0098] The protection duration is used to represent the duration for the Bluetooth device to switch between Bluetooth communication operations and the signal monitoring operation;

[0099] The shortest sampling duration is used to represent the shortest duration for the Bluetooth device to sample the intensity mean value of multiple signals received on the Bluetooth channel.

[0100] Among them, the protection duration is set to reserve sufficient operation switching time for the Bluetooth device between Bluetooth communication operations and signal monitoring operations, so as to avoid conflicts between Bluetooth communication operations and signal monitoring operations; and the shortest sampling duration is set to help the Bluetooth device receive a sufficient number of signals for calculating the corresponding intensity value on the corresponding Bluetooth channel, so as to reduce the interference caused by extreme values and ensure the accuracy of the obtained intensity value.

[0101] It should be noted that when the idle time slots within an equal time interval are less than or equal to the duration threshold, the signal monitoring operation will not be performed within this equal time interval.

[0102] Exemplarily, the timing diagram corresponding to dynamically performing signal detection operations within a plurality of consecutive equal time intervals can be as Figure 2 shown Figure 2 which includes 3 equal time intervals (ISO Intervals), from left to right are the first equal time interval, the second equal time interval, and the third equal time interval. The square marked with C can be understood as the aforementioned first packet transmission time slot, the square marked with P can be understood as the aforementioned second packet transmission time slot, the dotted box marked with LE SCAN can be understood as the time slot (with flexible duration) for performing the signal monitoring operation, the dotted box marked with Protect Interval can be understood as the time slot occupied by the aforementioned protection duration, and the part other than the C square and the P square can be understood as the aforementioned idle time slot.

[0103] Such as Figure 2As shown, within the first equal time interval, the duration of the idle time slot is greater than the duration threshold, that is, within the first equal time interval, the intensity value corresponding to a Bluetooth channel can be sampled; while within the second equal time interval, the duration of the idle time slot is less than the protection duration (that is, less than the duration threshold), so within the second equal time interval, the intensity value corresponding to the Bluetooth channel is not sampled; within the third equal time interval, the duration of the idle time slot is greater than the protection duration, so within the third equal time interval, the intensity value corresponding to another Bluetooth channel can be sampled. Since the time slots occupied by the protection duration are fixed, and the duration of the idle time slot within the third equal time interval is greater than the duration of the idle time slot within the first equal time interval, the length of the dashed box marked with LE SCAN within the third equal time interval will be greater than the length of the dashed box marked with LE SCAN within the first equal time interval.

[0104] In one embodiment, performing a signal monitoring operation on the idle time slot of the target equal time interval to obtain a first intensity value includes:

[0105] Within the idle time slot of the target equal time interval, receive multiple first signals based on one Bluetooth channel, modify the receiving addresses of the multiple first signals to illegal values, and discard the data packets in the multiple first signals to obtain multiple second signals, where the multiple first signals and the multiple second signals correspond one by one, and the second signal includes the signal part except the data packet in the corresponding first signal;

[0106] Perform automatic gain control (AGC) processing on the multiple second signals respectively based on target gain information to obtain multiple third signals, where the multiple third signals and the multiple second signals correspond one by one;

[0107] Calculate the average value of the signal intensities of the multiple third signals to obtain the first intensity value.

[0108] Among them, the illegal value can be understood as a value that makes the corresponding signal not be recognized as a valid Bluetooth signal in the Bluetooth signal processing path.

[0109] It should be emphasized that only within the idle time slot of the target equal time interval, the receiving address of the signal received through the corresponding Bluetooth channel will be modified to an illegal value, and the data packet of the signal received through the corresponding Bluetooth channel will be discarded; after the idle time slot of the target equal time interval ends, the relevant processes of the normal Bluetooth signal processing path will be executed (that is, the receiving address of the signal will not be modified, and the data packet of the signal will not be discarded).

[0110] In this embodiment, during the process of counting the intensity value corresponding to a Bluetooth channel, by modifying the receiving address of the received signal based on the corresponding Bluetooth channel to an illegal value and discarding the data packet of the received signal, the probability that the received signal synchronizes with Bluetooth and enters the Bluetooth signal processing path is reduced, so as to avoid the mixing of the scanning process of wireless interference and the Bluetooth signal processing.

[0111] In one embodiment, before receiving a plurality of first signals based on one Bluetooth channel, the method further includes:

[0112] In the idle time slot of the target equal time interval, the Bluetooth signal detection threshold in the Modem of the Bluetooth device is adjusted from a first value to a second value, where the first value is less than the second value, and the Modem detects whether the signal is a valid Bluetooth signal based on the Bluetooth signal detection threshold;

[0113] After obtaining a plurality of third signals, the method further includes:

[0114] In the case where the signal intensity of the third signal is less than the Bluetooth signal detection threshold, it is determined that the third signal is not a valid Bluetooth signal.

[0115] It should be noted that only in the idle time slot of the target equal time interval, the Bluetooth signal detection threshold in the Modem will be adjusted from the first value to the second value; after the idle time slot of the target equal time interval ends, the Bluetooth signal detection threshold in the Modem will be restored from the second value to the first value.

[0116] In this embodiment, by modifying the configuration of the Modem register of the Bluetooth device, the Bluetooth signal detection threshold is increased to achieve shielding of Bluetooth signals, reduce the probability that the received signal synchronizes with Bluetooth and enters the Bluetooth signal processing path, so as to avoid the mixing of the scanning process of wireless interference and the Bluetooth signal processing.

[0117] In one embodiment, the target gain information is the gain information corresponding to the detection information indicating the existence of the wireless interference among the multiple gain information pre-configured for the Bluetooth device.

[0118] Wherein, the gain information includes the parameter values of multiple parameters for performing AGC processing, and the parameter values included in different gain information are at least partially different. The multiple gain information respectively adapts to different wireless interference distances, that is, among the multiple gain information, the accuracy of detecting wireless interference by each gain information is the highest at the wireless interference distance it adapts to.

[0119] Specifically, the multiple gain information can be traversed, and when a gain information is traversed to generate detection information indicating the existence of the wireless interference, the currently traversed gain information is determined as the target gain information. In this case, even if there is untraversed gain information among the multiple gain information, the traversal is terminated.

[0120] In this embodiment, based on the setting of multiple gain information, the Bluetooth device can select appropriate gain information according to the distance between the Bluetooth device and the wireless interference, so as to avoid the situation where the strength value is oversaturated due to excessive gain information, and avoid the situation where the strength value reflects insufficient characteristics of the wireless interference due to excessively small gain information, thereby enhancing the accuracy of the generated detection effect.

[0121] In one example, if Figure 3 As shown, the present invention also provides a wireless interference detection and processing method. When WI-FI and Bluetooth (BT) coexist, the Bluetooth device calculates the time to the next service scheduling through the idle time slot of the ACL / ISO link. When the duration of the idle time slot is greater than the sum of the service switching protection time (which can be understood as the aforementioned protection duration) and the register sampling time (which can be understood as the shortest sampling duration), the LE_SCAN window is inserted in the equal time interval, such as Figure 2 As shown in the figure, when there are enough idle time slots in an ISO Interval, an LE SCAN window with a flexible length is inserted, and the Protect Interval is vacated to ensure that the service of the next ISO Interval is not affected. When the idle time slot in an ISO Interval is less than or equal to the sum of the service switching protection time requirement and the register sampling time, the LE_SCAN window is not inserted.

[0122] In multiple LE_SCAN windows, Bluetooth devices cover the entire frequency band of 2402-2480MHz (all BLE service channels) in a time-sharing cycle.

[0123] In the LE_SCAN window, the Bluetooth device receives a radio frequency (RF) signal on the currently scanned Bluetooth channel and uses one of the pre-configured gain information to perform AGC gain on the RF signal (i.e. Figure 3In the AGC gain process, the reception address ACCESS_ADDRESS of the signal after gain is temporarily modified to an illegal value, and at the same time, all Bluetooth data packets in the signal are discarded, and only the original signal energy is retained; and the configuration of the Modem register is modified to increase the Bluetooth signal detection threshold (that is, the aforementioned Bluetooth signal detection threshold is modified from the first value to a larger second value), and the probability of synchronizing to Bluetooth during the scanning of wireless interference and entering the Bluetooth signal processing path is reduced, so as to achieve the shielding of possible Bluetooth signals (that is Figure 3 the process of filtering Bluetooth signals in

[0124] Within the LE_SCAN window, the RSSI values of multiple signals received on the current channel are read respectively, and the average value is calculated to obtain the interference index of the current channel (that is, the aforementioned intensity value). After a scan of the entire 2402 - 2480 MHz frequency band is completed through multiple LE_SCAN windows, the interference index sequence I is obtained ch (ch = 0~36) (that is, the aforementioned signal strength sequence, N = 37), and the interference index sequence can be as Figure 4 shown.

[0125] For the interference index I of each channel ch Apply a sliding window with a length of n (which can be understood as the aforementioned parameter M for fitting 20M bandwidth Wi-Fi or 40M bandwidth Wi-Fi) to calculate the mean value Q of the interference intensity value index (index = 0, 1, …, 37 - n):

[0126]

[0127] Take the maximum value Q of all Q index in (which can be understood as the average value of multiple intensity values included in the first set), and then average the interference indices of other channels that are not in the window corresponding to Q Max to obtain Q Max (which can be understood as the average value of multiple intensity values included in the second set), representing the background noise of channels not interfered by wireless interference. Then, by comparing the multiple relationship between Q Mean and Q Max (which can be understood as the aforementioned quotient value) to determine whether there is wireless interference in the window corresponding to Q Mean Max .

[0128] As follows Figure 5 shown, for Figure 4The data is subjected to a moving average with a length of 10 (which can be understood as M = 10, corresponding to 20M bandwidth Wi-Fi). The window position of the maximum value (the dashed line in the figure) is basically coincident with the position of the actual Wi-Fi channel 1 (2402 - 2422 MHz, corresponding to BLE service channels 0 - 9). This method of moving average can filter out the burst interference of a single channel, and there is no need to determine the central interference frequency point of Wi-Fi by fitting the broadband characteristics of Wi-Fi.

[0129] When determining wireless interference at this position according to the multiple relationship between Q Max and Q Mean , that is, feedback to the link layer to trigger the AFH mapping to update the channel set. When the multiple relationship does not meet certain conditions, it means that the detection result of this time is invalid (that is, Figure 5 the situation where the interference characteristics are not obvious in ), at this time, a new gain information can be selected from multiple gain information to execute the foregoing process again to generate a new detection result.

[0130] It should be noted that although due to the free space path loss characteristic of wireless communication, the RSSI value will decrease as the distance increases, there are still multipath effects that cause the signal to be enhanced or weakened. In order to ensure a good Wi-Fi detection effect even with the dynamic change of distance, the AGC gain can be adjusted to ensure that the RSSI value received by the receiver can well reflect the wireless interference.

[0131] As shown in Figures 6(a)-(e), it is the interference index distribution when the AGC gain gradually decreases (the larger the AGC_INDEX, the smaller the gain) at a Wi-Fi distance of 2 meters. For a distance of 2 meters, when the AGC gain is relatively large (as shown in Figure 6(a)), the RSSI value is oversaturated, so there are no good wireless interference characteristics.

[0132] Then use the gain of AGC_INDEX18 to test the interference index distribution in different distance cases. As shown in Figures 7(a)-(g) below, in Figures 7(a)-(g), the maximum window and the average of others can be understood as: the mean value of multiple intensity values covered by the window position (that is, the aforementioned first target value), and the mean value of multiple intensity values at non-window positions (that is, the aforementioned second target value). At relatively short distances (0 - 2m), AGC_INDEX18 has good wireless interference characteristics. After the distance is too large (3 - 5m), due to the free space path loss characteristic, the received RSSI value becomes smaller, and the AGC gain is insufficient, so the Wi-Fi characteristics are weakened. Therefore, different AGC gain information needs to be configured to dynamically adapt to different distance changes in order to ensure that the Bluetooth device can complete high-precision Wi-Fi detection.

[0133] The present invention also provides a wireless interference detection system, which is applied to a Bluetooth device, such as Figure 8 As shown, the wireless interference detection system 800 includes:

[0134] A sequence acquisition module 801, configured to acquire a signal strength sequence, where the signal strength sequence includes N intensity values arranged in order, the N intensity values correspond to N consecutive Bluetooth channels one by one, and the intensity value is used to represent the average intensity of multiple signals monitored on the corresponding Bluetooth channel, and N is an integer greater than 1;

[0135] A set generation module 802, configured to generate a first set and a second set based on the signal strength sequence, where the first set is the candidate set with the largest target value among multiple candidate sets corresponding to the N intensity values; each candidate set includes M consecutive intensity values in the signal strength sequence, and the M consecutive intensity values included in different candidate sets are at least partially different, the target value is the average value of multiple intensity values included in the corresponding set, and the second set includes all intensity values in the N intensity values except the first set, and M is an integer greater than 1 and less than N;

[0136] An interference detection module 803, configured to calculate the quotient of the first target value and the second target value to obtain a quotient value, and generate detection information based on the numerical size between the quotient value and a set threshold, where the first target value is the average value of multiple intensity values included in the first set, and the second target value is the average value of multiple intensity values included in the second set;

[0137] When the quotient value is greater than the set threshold, the detection information is used to indicate that there is wireless interference on the M Bluetooth channels corresponding to the first set;

[0138] When the quotient value is less than or equal to the set threshold, the detection information is used to indicate that there is no wireless interference on the N Bluetooth channels.

[0139] In one embodiment, the Bluetooth device performs Bluetooth communication at multiple consecutive equal time intervals;

[0140] The sequence acquisition module 801 is specifically configured to:

[0141] A signal monitoring unit, configured to perform a signal monitoring operation in an idle time slot of a target equal time interval when the duration of the idle time slot of the target equal time interval is greater than a duration threshold, to obtain a first intensity value, where the N intensity values include the first intensity value, the target equal time interval is any one of the multiple equal time intervals, and the signal monitoring operation is used to: statistically calculate the average intensity of multiple signals received on one Bluetooth channel to obtain the first intensity value.

[0142] In one embodiment, the duration threshold is the sum of the protection duration and the shortest sampling duration;

[0143] The protection duration is used to represent the duration for the Bluetooth device to switch between Bluetooth communication operations and the signal monitoring operation;

[0144] The shortest sampling duration is used to represent the shortest duration for the Bluetooth device to sample the average strength of multiple signals received on a Bluetooth channel.

[0145] In one embodiment, the signal monitoring unit is specifically configured to:

[0146] In an idle time slot of the target equal time interval, receive multiple first signals based on a Bluetooth channel, modify the receiving addresses of the multiple first signals to illegal values, and discard the data packets in the multiple first signals to obtain multiple second signals, where the multiple first signals and the multiple second signals correspond one by one, and the second signal includes the signal part other than the data packet in the corresponding first signal; perform automatic gain control processing on the multiple second signals respectively based on target gain information to obtain multiple third signals, where the multiple third signals and the multiple second signals correspond one by one; calculate the average value of the signal strengths of the multiple third signals to obtain the first strength value;

[0147] Before receiving the multiple first signals based on a Bluetooth channel, the signal monitoring unit is further configured to: in an idle time slot of the target equal time interval, adjust the Bluetooth signal detection threshold in the modem of the Bluetooth device from a first value to a second value, where the first value is less than the second value, and the modem detects whether a signal is a valid Bluetooth signal based on the Bluetooth signal detection threshold;

[0148] After obtaining the multiple third signals, the signal monitoring unit is further configured to:

[0149] In the case where the signal strength of the third signal is less than the Bluetooth signal detection threshold, determine that the third signal is not a valid Bluetooth signal;

[0150] The target gain information is the gain information corresponding to the generated detection information indicating the existence of the wireless interference among the multiple gain information pre-configured in the Bluetooth device.

[0151] The wireless interference detection system 800 provided by the embodiments of the present invention can implement each process in the above embodiments of the wireless interference detection method. To avoid repetition, it will not be elaborated here.

[0152] According to an embodiment of the present invention, the present invention also provides an electronic device and a readable storage medium.

[0153] Figure 9 FIG. shows a schematic block diagram of an exemplary electronic device 900 that can be used to implement embodiments of the present invention. The electronic device is intended to represent various forms of digital computers, such as, for example, laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as, for example, personal digital assistants, cellular telephones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely exemplary and are not intended to limit the implementation of the present invention described and / or claimed herein.

[0154] As Figure 9 shown, the device 900 includes a computing unit 901, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 902 or a computer program loaded from a storage unit 908 into a random access memory (RAM) 903. In the RAM 903, various programs and data required for the operation of the device 900 can also be stored. The computing unit 901, the ROM 902, and the RAM 903 are connected to each other via a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.

[0155] Multiple components in the device 900 are connected to the I / O interface 905, including: an input unit 906, such as a keyboard, a mouse, etc.; an output unit 907, such as various types of displays, speakers, etc.; a storage unit 908, such as a magnetic disk, an optical disk, etc.; and a communication unit 909, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 909 allows the device 900 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.

[0156] The computing unit 901 can be various general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 901 include, but are not limited to, a central processing unit (CPU), a graphic process unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 901 executes the various methods and processes described above, such as the wireless interference detection method. For example, in some embodiments, the wireless interference detection method can be implemented as a computer software program tangibly embodied in a machine-readable medium, such as the storage unit 908. In some embodiments, part or all of the computer program can be loaded and / or installed onto the device 900 via the ROM 902 and / or the communication unit 909. When the computer program is loaded into the RAM 903 and executed by the computing unit 901, one or more steps of the wireless interference detection method described above can be executed. Alternatively, in other embodiments, the computing unit 901 can be configured to execute the wireless interference detection method in any other suitable manner (e.g., by means of firmware).

[0157] The various embodiments of the systems and techniques described above in this document can be implemented in digital electronic circuitry, integrated circuit systems, field-programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), system on chip (SOC) systems, complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a dedicated or general-purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit the data and instructions to the storage system, the at least one input device, and the at least one output device.

[0158] The program code for implementing the methods of the present invention can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general purpose computer, a special purpose computer, or other programmable data processing device, such that the program codes, when executed by the processor or controller, cause the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program codes can be executed entirely on the machine, partially on the machine, as a stand-alone software package partially on the machine and partially on a remote machine, or entirely on a remote machine or server.

[0159] In the context of the present invention, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in connection with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0160] As used herein, the term "machine-readable medium" refers to any computer program product, apparatus, and / or device (e.g., a disk, an optical disk, a memory, a programmable logic device (PLD)) for providing machine instructions and / or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal for providing machine instructions and / or data to a programmable processor.

[0161] In order to provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the computer. Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0162] The systems and techniques described herein can be implemented in a computing system including backend components (e.g., as a data server), or a computing system including middleware components (e.g., an application server), or a computing system including frontend components (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described herein), or a computing system including any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected with each other by digital data communication in any form or medium (e.g., a communication network). Examples of communication networks include: local area network (LAN), wide area network (WAN), and the Internet.

[0163] A computer system can include a client and a server. The client and the server are generally remote from each other and typically interact through a communication network. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, can also be a server of a distributed system, or a server incorporating blockchain.

[0164] An embodiment of the present application further provides a computer program product, including computer instructions, which when executed by a processor implement each process of the method embodiment shown above Figure 1 and can achieve the same technical effects. To avoid repetition, it will not be elaborated here.

[0165] It should be understood that various forms of the processes shown above can be used, steps can be reordered, added, or deleted. For example, the steps recited in the present invention can be executed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution disclosed in the present invention can be achieved. There is no limitation herein.

[0166] The above specific embodiments do not constitute a limitation to the protection scope of the present invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.

Claims

1. A wireless interference detection method, characterized in that Applied to a Bluetooth device, the method includes: Obtaining a signal strength sequence, where the signal strength sequence includes N intensity values arranged in an orderly manner, the N intensity values correspond one by one to N consecutive Bluetooth channels, the intensity value is used to represent the average intensity of multiple signals monitored on the corresponding Bluetooth channel, and N is an integer greater than 1; Generating a first set and a second set based on the signal strength sequence, where the first set is the candidate set with the largest corresponding target value among multiple candidate sets corresponding to the N intensity values; each candidate set includes M consecutive intensity values in the signal strength sequence, and the M consecutive intensity values included in different candidate sets are at least partially different, the target value is the average value of multiple intensity values included in the corresponding set, and the second set includes all intensity values in the N intensity values except the first set, and M is an integer greater than 1 and less than N; Calculating the quotient of a first target value and a second target value to obtain a quotient value, and generating detection information based on the numerical size between the quotient value and a set threshold, where the first target value is the average value of multiple intensity values included in the first set, and the second target value is the average value of multiple intensity values included in the second set; When the quotient value is greater than the set threshold, the detection information is used to indicate that there is wireless interference on the M Bluetooth channels corresponding to the first set; When the quotient value is less than or equal to the set threshold, the detection information is used to indicate that there is no wireless interference on the N Bluetooth channels.

2. The method according to claim 1, characterized in that, The Bluetooth device performs Bluetooth communication at multiple consecutive equal time intervals; The obtaining of the N intensity values arranged in an orderly manner includes: When the duration of the idle time slot in the target equal time interval is greater than a duration threshold, performing a signal monitoring operation in the idle time slot of the target equal time interval to obtain a first intensity value, where the N intensity values include the first intensity value, the target equal time interval is any one of the multiple equal time intervals, and the signal monitoring operation is used to: statistically calculate the average intensity of multiple signals received on one Bluetooth channel to obtain the first intensity value.

3. The method according to claim 2, wherein The duration threshold is the sum of a protection duration and a shortest sampling duration; The protection duration is used to represent: the duration for the Bluetooth device to switch between Bluetooth communication operations and the signal monitoring operation; The shortest sampling duration is used to represent: the shortest duration for the Bluetooth device to sample the average intensity of multiple signals received on one Bluetooth channel.

4. The method according to claim 2, characterized in that The performing a signal monitoring operation in the idle time slot of the target equal time interval to obtain a first intensity value includes: In the idle time slot of the target equal time interval, receiving multiple first signals based on one Bluetooth channel, modifying the receiving addresses of the multiple first signals to illegal values, and discarding the data packets in the multiple first signals to obtain multiple second signals, where the multiple first signals and the multiple second signals correspond one by one, and the second signal includes the signal part except the data packet in the corresponding first signal; Automatically perform automatic gain control processing on the multiple second signals respectively based on the target gain information to obtain multiple third signals, where the multiple third signals and the multiple second signals correspond one by one; Calculate the average value of the signal strengths of the multiple third signals to obtain the first strength value.

5. The method according to claim 4, wherein Before receiving multiple first signals based on one Bluetooth channel, the method further includes: In an idle time slot of the target equal time interval, adjust the Bluetooth signal detection threshold in the Bluetooth device's Modem from a first value to a second value, where the first value is less than the second value, and the Modem detects whether a signal is a valid Bluetooth signal based on the Bluetooth signal detection threshold; After obtaining the multiple third signals, the method further includes: When the signal strength of the third signal is less than the Bluetooth signal detection threshold, determine that the third signal is not a valid Bluetooth signal.

6. The method according to claim 4, characterized in that, The target gain information is the gain information in the multiple gain information pre-configured by the Bluetooth device, and the generated detection information corresponding to it indicates the gain information with the wireless interference.

7. A wireless interference detection system, characterized in that, Applied to a Bluetooth device, the system includes: A sequence acquisition module, configured to acquire a signal strength sequence, where the signal strength sequence includes N ordered strength values, the N strength values and N consecutive Bluetooth channels correspond one by one, the strength value is used to represent the average strength of multiple signals monitored on the corresponding Bluetooth channel, and N is an integer greater than 1; A set generation module, configured to generate a first set and a second set based on the signal strength sequence, where the first set is the candidate set with the largest corresponding target value among the multiple candidate sets corresponding to the N strength values; each candidate set includes M consecutive strength values in the signal strength sequence, and the M consecutive strength values included in different candidate sets are at least partially different, the target value is the average value of the multiple strength values included in the corresponding set, and the second set includes all the strength values in the N strength values except the first set, and M is an integer greater than 1 and less than N; An interference detection module, configured to calculate the quotient of a first target value and a second target value to obtain a quotient value, and generate detection information based on the numerical size between the quotient value and a set threshold, where the first target value is the average value of the multiple strength values included in the first set, and the second target value is the average value of the multiple strength values included in the second set; When the quotient value is greater than the set threshold, the detection information is used to indicate that there is wireless interference in the M Bluetooth channels corresponding to the first set; When the quotient value is less than or equal to the set threshold, the detection information is used to indicate that there is no wireless interference in the N Bluetooth channels.

8. The system according to claim 7, characterized in that, The Bluetooth device performs Bluetooth communication in multiple consecutive equal time intervals; The sequence acquisition module is specifically configured to: A signal monitoring unit, configured to perform a signal monitoring operation in an idle time slot of a target equal time interval when the duration of the idle time slot of the target equal time interval is greater than a duration threshold, to obtain a first intensity value, where the N intensity values include the first intensity value, the target equal time interval is any one of the multiple equal time intervals, and the signal monitoring operation is used to: calculate an intensity average value of multiple signals received on one Bluetooth channel to obtain the first intensity value.

9. The system according to claim 8, wherein The duration threshold is the sum of a protection duration and a shortest sampling duration; The protection duration is used to represent: the duration for the Bluetooth device to switch between a Bluetooth communication operation and the signal monitoring operation; The shortest sampling duration is used to represent: the shortest duration for the Bluetooth device to sample an intensity average value of multiple signals received on one Bluetooth channel.

10. The system according to claim 8, wherein Specifically, the signal monitoring unit is configured to: In an idle time slot of the target equal time interval, receive multiple first signals based on one Bluetooth channel, modify the reception addresses of the multiple first signals to illegal values, and discard data packets in the multiple first signals to obtain multiple second signals, where the multiple first signals and the multiple second signals are in one-to-one correspondence, and the second signal includes a signal part other than the data packet in the corresponding first signal; perform an automatic gain control process on the multiple second signals respectively based on target gain information to obtain multiple third signals, where the multiple third signals and the multiple second signals are in one-to-one correspondence; calculate an average value of the signal intensities of the multiple third signals to obtain the first intensity value; Before receiving the multiple first signals based on one Bluetooth channel, the signal monitoring unit is further configured to: in an idle time slot of the target equal time interval, adjust a Bluetooth signal detection threshold in a modem of the Bluetooth device from a first value to a second value, where the first value is less than the second value, and the modem detects whether a signal is a valid Bluetooth signal based on the Bluetooth signal detection threshold; After obtaining the multiple third signals, the signal monitoring unit is further configured to: When the signal intensity of the third signal is less than the Bluetooth signal detection threshold, determine that the third signal is not a valid Bluetooth signal; The target gain information is the gain information in multiple gain information pre-configured by the Bluetooth device, and the generated detection information corresponding to the gain information indicates that there is wireless interference.