Control method of wireless audio based on WIFI
Through the control method based on WIFI wireless audio, the electromagnetic interference signal band in the home audio system is detected and removed, and the anti-interference signal band is configured for the audio equipment, which solves the problem of audio quality degradation under electromagnetic interference in traditional wired audio systems, and achieves high Quality audio signal transmission.
Patent Information
- Application Number
- CN202411814131.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-11
- Publication Date
- 2025-02-25
- Estimated Expiration
- 2044-12-11
AI Technical Summary
Traditional wired home audio systems are prone to noise, distortion and signal interference under electromagnetic interference and radio frequency interference, affecting the audio quality.
By using the control method based on WIFI wireless audio, by obtaining the signal usage band and coverage range of the WIFI micro base station, the electromagnetic interference signals within the coverage range of the audio equipment are detected, the anti-interference signal frequency band is generated, and the communication signal frequency band is configured for each audio equipment. to reduce interference.
It effectively reduces the impact of electromagnetic interference on the audio system, improves the transmission quality of audio signals and the anti-interference ability of the system.
Smart Images

Figure CN119292169B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of home audio systems, and in particular to a control method based on WIFI wireless audio. Background Art
[0002] The traditional home theater consists of: playback device, audio amplifier device, left surround, right surround, left front, right front and subwoofer. The amplifier device is powered by a power adapter, and then the playback device and the amplifier device are connected through HDMI or lotus head speaker cable, and then the power cable and audio signal cable are led out from the amplifier device to connect to the left surround, right surround, left front, right front and subwoofer.
[0003] When controlling the audio system, a remote controller is usually used to control the audio system.
[0004] Traditional wired audio systems have the following problems: too many connecting wires, difficult debugging, and audio and video asynchrony.
[0005] When the audio signal line is in an environment with electromagnetic fields nearby, especially near high-current power lines and high-frequency electrical equipment, it will act as an "antenna" to receive these electromagnetic fields, causing unwanted current or voltage fluctuations in the signal line. These unnecessary signals are mixed with the audio signal to generate noise.
[0006] Secondly, high-frequency electrical appliances (such as routers, microwave ovens, and cordless phones) can generate radio frequency interference (RFI) that can affect the circuits in audio equipment, especially if the audio equipment is not adequately shielded or high-frequency filtering is not considered in the circuit design.
[0007] Wired systems are susceptible to electromagnetic interference, which can cause audio quality degradation. For example, interference between power and audio lines can cause noise or distortion.
[0008] Some existing audio devices are set up indoors by wireless connection for users to use. Indoor devices are generally controlled by the Internet of Things. When the audio device is connected to the home Internet of Things control system by wireless connection, the distance between the two devices is too short, so that the signal coverage will overlap, causing interference in the audio system when receiving signals.
[0009] Secondly, during the transmission of wireless signals, wireless signals will cause electromagnetic interference to audio devices, affecting audio quality, such as co-frequency interference, causing the audio device to be unable to play audio correctly, affecting the use of audio devices.
[0010] At the same time, when two identical signals appear in a small range, due to the problem of signal superposition in a small range, some devices may experience signal loss, thus affecting the use of other devices. Summary of the invention
[0011] Based on this, it is necessary to propose a control method based on WIFI wireless audio to address the above problems.
[0012] A control method based on WIFI wireless audio, the control method based on WIFI wireless audio comprising:
[0013] Obtain the signal frequency band used by the WIFI micro base station and the signal frequency band currently being used within the range of the WIFI micro base station;
[0014] Generate a usable signal frequency band according to the signal use frequency band of the WIFI micro base station and the signal frequency band currently being used within the range of the WIFI micro base station;
[0015] Periodically detecting electromagnetic interference signals within the coverage area of the audio device, and generating corresponding electromagnetic interference signal frequency bands according to the electromagnetic interference signals;
[0016] Removing the electromagnetic interference signal frequency band from the usable signal frequency band to obtain an anti-interference signal frequency band;
[0017] A communication signal frequency band is configured for each audio device according to the anti-interference signal frequency band, and the configured signal frequency band is sent to the corresponding audio device for signal transmission.
[0018] In at least one embodiment of the present application, the step of removing the electromagnetic interference signal frequency band from the usable signal frequency band to obtain the anti-interference signal frequency band further includes:
[0019] If there is no usable signal frequency band after removing the electromagnetic interference signal frequency band from the usable signal frequency band, analyzing the electromagnetic interference signal to obtain the interference signal strength, interference signal frequency and interference signal phase;
[0020] Generate intermittent anti-interference signal information according to the interference signal strength, the interference signal frequency and the interference signal phase, select a device with weak electromagnetic interference signal from the audio device, and obtain a weak interference device;
[0021] The intermittent anti-interference signal information is sent to the weak-interference device, so that the weak-interference device performs signal transmission through the intermittent anti-interference signal.
[0022] In at least one embodiment of the present application, the intermittent anti-interference signal information is generated according to the interference signal strength, the interference signal frequency and the interference signal phase, and a device with a weak electromagnetic interference signal is selected from the audio device. The specific steps of obtaining the weak interference device include:
[0023] A signal phase opposite to the interference signal phase is obtained according to the interference signal phase, and the intermittent anti-interference signal information is generated according to the opposite signal phase, a signal strength the same as the interference signal strength, and a signal frequency the same as the interference signal frequency.
[0024] In at least one embodiment of the present application, the method further includes:
[0025] Obtaining an interference period of the interference signal, and generating an intermittent period according to an interval period between two adjacent interference periods;
[0026] Generate an intermittent communication time period according to the intermittent period in the time period and the interference period in the next time period;
[0027] Obtain the playback data information required by the weak interference device during the intermittent communication period, and generate a data signal to be played;
[0028] The data signal to be played establishes communication with the weak interference device through an intermittent anti-interference signal, and the data signal to be played is sent to the weak interference device during the intermittent period of the time period to control the weak interference device to play the data to be played during the intermittent communication time period to ensure the continuity of the playback of the weak interference device.
[0029] In at least one embodiment of the present application, the method further includes:
[0030] Obtaining information of all devices within the range of the interference signal source, and obtaining first device information;
[0031] Filter out a device with strong interference from the interference signal source from the first device information as a signal cancellation device;
[0032] The intermittent anti-interference signal information is sent to the signal cancellation device through the intermittent anti-interference signal to control the signal cancellation device to transmit the intermittent anti-interference signal to the interference signal source within the interference period to form a cancellation signal to reduce the interference of the interference signal source to the weak interference device;
[0033] Obtain information of all devices within the range of the weak interference device and obtain information of the second device;
[0034] Selecting a smart home device that is farthest from the signal canceling device and farthest from the interference signal source from the second device information as a relay device, where the relay device has a relay function;
[0035] The data signal to be played is transmitted to the relay device according to the communication frequency band between the relay device and the WIFI micro base station, and the relay device is controlled to establish communication with the weak interference device through intermittent anti-interference signals. The relay device sends the data signal to be played to the weak interference device through intermittent anti-interference signals to control the weak interference device to play the data to be played during the intermittent communication time period, so as to reduce the interference of the interference signal source to the weak interference device.
[0036] In at least one embodiment of the present application, the intermittent anti-interference signal information is generated according to the interference signal strength, the interference signal frequency and the interference signal phase, and a device with a weak electromagnetic interference signal is selected from the audio device, and the specific step of obtaining the weak interference device also includes:
[0037] Obtain all electromagnetic interference signals within the coverage area of each audio device to obtain an electromagnetic interference signal set;
[0038] Analyze each electromagnetic interference signal in the electromagnetic interference signal set, and calculate the position information of each electromagnetic interference signal according to the signal strength of each electromagnetic interference signal in each audio device;
[0039] Generate an interference signal coordinate map based on the location information of each electromagnetic interference signal;
[0040] Devices with weak electromagnetic interference signals are selected from audio devices according to the interference signal coordinate map and marked as weak interference devices.
[0041] In at least one embodiment of the present application, the step of selecting devices with weak electromagnetic interference signals from audio devices according to the interference signal coordinate map and marking them as weak interference devices further includes:
[0042] Obtain the location information of each audio device and the signal coverage range of each audio device;
[0043] Mapping the location information of each audio device into the interference signal coordinate map to obtain an interference signal association map;
[0044] Calculate the coverage of each electromagnetic interference signal according to the signal strength of each electromagnetic interference signal in each audio device to obtain the range of each electromagnetic interference signal;
[0045] According to the interference signal association map, the signal coverage range of each audio device and the range of each electromagnetic interference signal, the signal interference data of each audio device is calculated, and the signal interference data includes: each audio device is affected by each electromagnetic interference signal and the interference strength value of the corresponding electromagnetic interference signal.
[0046] In at least one embodiment of the present application, the control method based on WIFI wireless audio further includes:
[0047] If all audio devices detect the same electromagnetic interference signal, the same electromagnetic interference signal is marked as a specific interference signal, and the interference intensity value of the specific interference signal on the audio device within the range of each audio device is obtained, the audio device with the largest interference intensity value of the specific interference signal is screened out, and the audio device with the largest interference intensity value is marked as a reverse device;
[0048] A reverse instruction is generated according to the specific interference signal, and the reverse instruction is sent to a reverse device.
[0049] In at least one embodiment of the present application, the step of generating a reverse instruction according to the specific interference signal and sending the reverse instruction to a reverse device further includes:
[0050] Analyze the specific interference signal to obtain the specific interference signal strength, the phase of the specific interference signal and the signal frequency;
[0051] A reverse signal is generated according to the strength and frequency of the specific interference signal, and a reverse instruction is generated according to the reverse signal. The reverse signal includes the frequency of the specific interference signal, a phase opposite to the phase of the specific interference signal, and a signal reverse coverage range.
[0052] In at least one embodiment of the present application, the step of generating a reverse signal according to the strength and frequency of the specific interference signal, generating a reverse instruction according to the reverse signal, wherein the reverse signal includes the frequency of the specific interference signal, the phase opposite to the phase of the specific interference signal, the strength of the specific interference signal, and the reverse coverage range of the signal further includes:
[0053] The signal reverse coverage range is calculated based on the interference signal coordinate map, the reverse device coordinates and the specific interference signal coordinates.
[0054] The implementation of the WIFI wireless audio control method of the present invention will have at least the following beneficial effects:
[0055] The present invention provides a control method based on WIFI wireless audio. The system first obtains all signal frequency bands that can communicate with the WIFI micro base station and the signal frequency band currently being used within the signal range of the WIFI micro base station.
[0056] Then the system generates a usable signal frequency band based on the signal usage frequency band of the WIFI micro base station and the signal frequency band currently in use.
[0057] Then the system periodically detects the electromagnetic interference signal within the coverage area of the audio device to obtain the corresponding electromagnetic interference signal frequency band.
[0058] The system removes the signal frequency band occupied by the electromagnetic interference signal frequency band according to the available signal frequency band to obtain the anti-interference signal frequency band. Then, the system configures the corresponding communication signal frequency band for each audio device within the signal range of the WIFI micro base station according to the anti-interference signal frequency band, and sends the configured signal frequency band to the corresponding audio device so that the audio device can transmit the signal through the configured signal frequency band.
[0059] The anti-interference signal frequency band is allocated to each audio device to achieve high-quality signal transmission. After each audio device receives the dedicated frequency band configuration, it can complete the audio signal transmission in a relatively stable frequency band to reduce the impact of interference.
[0060] By identifying and eliminating interfering frequency bands, the system can select frequency bands with less interference to transmit audio signals, thereby improving the clarity of the sound quality and the system's anti-interference ability. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0062] in:
[0063] Figure 1 This is a flow chart of a control method based on WIFI wireless audio in Embodiment 1;
[0064] Figure 2 This is a flow chart of a control method based on WIFI wireless audio in Embodiment 2;
[0065] Figure 3 This is a flow chart of the control method based on WIFI wireless audio in Example 3;
[0066] Figure 4 This is a flow chart of a control method based on WIFI wireless audio in Embodiment 4;
[0067] Figure 5 This is an application environment diagram of a control method based on WIFI wireless audio in an embodiment;
[0068] Figure 6 for Figure 3 Application scenario diagram of the control method based on WIFI wireless audio. DETAILED DESCRIPTION
[0069] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0070] The present invention provides a control method based on WIFI wireless audio, and the control method based on WIFI wireless audio includes:
[0071] S101, obtaining the signal frequency band used by the WIFI micro base station and the signal frequency band currently being used within the range of the WIFI micro base station;
[0072] S102, generating a usable signal frequency band according to the signal use frequency band of the WIFI micro base station and the signal frequency band currently being used within the range of the WIFI micro base station;
[0073] S103, periodically detecting electromagnetic interference signals within the coverage area of the audio device, and generating corresponding electromagnetic interference signal frequency bands according to the electromagnetic interference signals;
[0074] S104, removing the electromagnetic interference signal frequency band from the usable signal frequency band to obtain an anti-interference signal frequency band;
[0075] S105, configuring a communication signal frequency band for each audio device according to the anti-interference signal frequency band, and sending the configured signal frequency band to the corresponding audio device for signal transmission.
[0076] Embodiment 1:
[0077] Please refer to Figure 1 In this embodiment, the system first obtains all signal frequency bands that the WIFI micro base station can communicate with and the signal frequency bands currently being used within the signal range of the WIFI micro base station.
[0078] Then the system generates a usable signal frequency band based on the signal usage frequency band of the WIFI micro base station and the signal frequency band currently in use.
[0079] Then the system periodically detects the electromagnetic interference signal within the coverage area of the audio device to obtain the corresponding electromagnetic interference signal frequency band.
[0080] The system removes the signal frequency band occupied by the electromagnetic interference signal frequency band according to the available signal frequency band to obtain the anti-interference signal frequency band. Then, the system configures the corresponding communication signal frequency band for each audio device within the signal range of the WIFI micro base station according to the anti-interference signal frequency band, and sends the configured signal frequency band to the corresponding audio device so that the audio device can transmit the signal through the configured signal frequency band.
[0081] The anti-interference signal frequency band is allocated to each audio device to achieve high-quality signal transmission. After each audio device receives the dedicated frequency band configuration, it can complete the audio signal transmission in a relatively stable frequency band to reduce the impact of interference.
[0082] By identifying and eliminating interfering frequency bands, the system can select frequency bands with less interference to transmit audio signals, thereby improving the clarity of the sound quality and the system's anti-interference ability.
[0083] It should be noted that the signal frequency band used by the WIFI micro base station is all signal frequency bands that the WIFI micro base station can receive and transmit.
[0084] The signal frequency band currently being used within the range of the WIFI micro base station is the communication signal frequency band currently being used by all devices within the WIFI micro base station.
[0085] The system removes the signal frequency band being used within the range of the WIFI micro base station from the signal frequency band used by the WIFI micro base station to obtain a usable signal frequency band.
[0086] The usable signal frequency band is the signal frequency band that is not currently occupied by the WIFI micro base station.
[0087] The electromagnetic interference signal frequency band is that the system periodically obtains the electromagnetic interference signal received within the coverage range of each audio device, and then generates the electromagnetic interference signal frequency band according to the frequency band where the electromagnetic interference signal is located.
[0088] The system selects the corresponding communication signal frequency band from the anti-interference signal frequency band for signal transmission according to the signal frequency band range configuration of each audio device.
[0089] It should be further explained that periodic signals can be identified by using techniques such as FFT, autocorrelation analysis, time-frequency analysis, wavelet transform or time domain analysis. In this embodiment, the FFT signal analysis method is used to convert the time domain signal into a frequency domain signal, and the frequency signal of the periodic signal is detected by analyzing the spectrum of the signal.
[0090] In this embodiment, the problem of unstable signal connection caused by signal frequency hopping can be avoided by using periodic detection. For example, the periodic detection is performed once within 5 minutes or once within 15 minutes.
[0091] It should be noted that this method is applied to smart homes, industrial Internet of Things or smart transportation, etc.
[0092] In at least one embodiment of the present application, the step of removing the electromagnetic interference signal frequency band from the usable signal frequency band to obtain the anti-interference signal frequency band further includes:
[0093] S201. If there is no usable signal frequency band after removing the electromagnetic interference signal frequency band from the usable signal frequency band, analyzing the electromagnetic interference signal to obtain interference signal strength, interference signal frequency, and interference signal phase;
[0094] Generate intermittent anti-interference signal information according to the interference signal strength, the interference signal frequency and the interference signal phase, select a device with weak electromagnetic interference signal from the audio device, and obtain a weak interference device;
[0095] The intermittent anti-interference signal information is sent to the weak-interference device, so that the weak-interference device performs signal transmission through the intermittent anti-interference signal.
[0096] In at least one embodiment of the present application, the intermittent anti-interference signal information is generated according to the interference signal strength, the interference signal frequency and the interference signal phase, and a device with a weak electromagnetic interference signal is selected from the audio device. The specific steps of obtaining the weak interference device include:
[0097] S202. Obtain a signal phase opposite to the interference signal phase according to the interference signal phase, and generate the intermittent anti-interference signal information according to the opposite signal phase, a signal strength the same as the interference signal strength, and a signal frequency the same as the interference signal frequency.
[0098] In at least one embodiment of the present application, the method further includes:
[0099] S203, obtaining an interference period of the interference signal, and generating an intermittent period according to an interval period between two adjacent interference periods;
[0100] S204, generating an intermittent communication time period according to the intermittent period in the current time period and the interference period in the next time period;
[0101] S205, obtaining the playback data information required by the weak interference device during the intermittent communication period, and generating a data signal to be played;
[0102] S206. Establish communication between the data signal to be played and the weak interference device through the intermittent anti-interference signal, and send the data signal to be played to the weak interference device within the intermittent period of the time period to control the weak interference device to play the data to be played within the intermittent communication time period to ensure the continuity of the playback of the weak interference device.
[0103] Embodiment 2:
[0104] Please refer to Figure 2 In this embodiment, when all signal frequency bands within the signal coverage range of the WIFI micro base station are already in use, there is no signal frequency band that can be used.
[0105] The system selects one or more electromagnetic interference signals, and in this embodiment, selects one electromagnetic interference signal, and analyzes the selected electromagnetic interference signal to obtain the interference signal strength, interference signal frequency, and interference signal phase corresponding to the electromagnetic interference signal.
[0106] The system obtains the opposite signal phase based on the interference signal phase corresponding to the electromagnetic interference signal, that is, the opposite signal phase, and then the system obtains intermittent anti-interference signal information based on the opposite signal phase, the interference signal strength and the interference signal frequency; the intermittent anti-interference signal information includes the signal phase, signal strength and signal frequency of the intermittent anti-interference signal.
[0107] For example: the interference signal strength is -60dBm, the interference signal frequency is 2.4GHz, and the interference signal phase is 0°.
[0108] The opposite signal phase is 180°.
[0109] The signal strength of the intermittent anti-interference signal is -60dBm, the signal frequency is 2.4GHz, and the signal phase is 180°.
[0110] Next, the system selects audio devices with weak electromagnetic interference signals from all audio devices of the WIFI micro base station as weak interference devices.
[0111] The system determines whether the interference signal is periodic interference. If the interference source corresponding to the interference signal is periodic interference, the system obtains the interference period of the interference signal and generates an intermittent period based on the time interval between two adjacent interference periods. No interference signal will be generated during the intermittent period, that is, the interference source will not transmit or generate an interference signal during the intermittent period.
[0112] Then the system generates an intermittent communication time period according to the intermittent period in the current time period and the interference period in the next time period.
[0113] For example: if the intermittent period is 30 seconds and the interference period is 1 minute, then the intermittent communication time period is 1 minute and 30 seconds.
[0114] The system also sends the intermittent anti-interference signal information to the weak interference device through the intermittent anti-interference signal, so that the weak interference device communicates with the system or the WIFI micro base station through the corresponding intermittent anti-interference signal in the intermittent anti-interference signal information to realize the transmission of the audio data signal.
[0115] The system obtains the audio data information that the weak interference device needs to play during the intermittent communication period and generates a data signal to be played.
[0116] The system establishes communication between the data signal to be played and the weak interference device through the intermittent anti-interference signal, and sends the data signal to be played to the receiving end of the weak interference device within the intermittent period.
[0117] After receiving the data signal to be played, the weak interference device parses the data signal to be played, obtains the audio data to be played, and performs the playback action, and plays the audio data during the intermittent period and the interference period to ensure the continuity and stability of the playback of the weak interference device.
[0118] For example:
[0119] The duration of the first piece of music is 3 minutes and 20 seconds, the current time is 0 minutes, the interval period is 0-30 seconds, and the interference period is from 30 seconds to 1 minute and 30 seconds. The system obtains 1 minute and 30 seconds of audio data information and sends it to the weak interference device through intermittent anti-interference signals within 0-30 seconds.
[0120] Then the weak interference device plays the audio data information in the time period of 0-1 minute and 30 seconds to avoid signal interaction in the period of 30 seconds-1 minute and 30 seconds.
[0121] By combining the interference cycle with the intermittent cycle, the system can perform intermittent signal transmission at appropriate times, reduce the impact of interference signals, and avoid long-term fluctuations in system performance. The system calculates the interference cycle and intermittent cycle of the interference signal and accurately schedules the signal transmission time, thereby avoiding signal confusion or loss caused by multiple devices being in the interference signal frequency band at the same time.
[0122] The system's adaptability to interference signals is improved, allowing the system to maintain efficient and stable working conditions in environments with poor wireless signals. This enables audio devices to achieve efficient data transmission without interference from interference sources, further improving the audio system's anti-interference ability and signal transmission efficiency.
[0123] It should be noted that periodic interference sources include: refrigerators, air conditioners, electric water heaters, etc., which will generate periodic interference during operation, especially noise when current is switched.
[0124] The intermittent anti-interference signal information includes relevant information of the intermittent anti-interference signal, such as phase, frequency, and intensity.
[0125] In this embodiment, the interference signal is caused by switching of working states during the operation of the air conditioner or refrigerator.
[0126] In at least one embodiment of the present application, the method further includes:
[0127] S301, obtaining information of all devices within the range of the interference signal source to obtain first device information;
[0128] S302, selecting a device with strong interference from an interference signal source from the first device information as a signal cancellation device;
[0129] S303, sending the intermittent anti-interference signal information to the signal cancellation device through the intermittent anti-interference signal, so as to control the signal cancellation device to transmit the intermittent anti-interference signal to the interference signal source within the interference period, so as to form a cancellation signal, so as to reduce the interference of the interference signal source to the weak interference device;
[0130] S304, obtaining information of all devices within a weak interference device range, and obtaining second device information;
[0131] S305, selecting a smart home device that is farthest from the signal cancellation device and farthest from the interference signal source from the second device information as a relay device, where the relay device has a relay function;
[0132] S306. Transmit the data signal to be played to the relay device according to the communication frequency band between the relay device and the WIFI micro base station, and control the relay device to establish communication with the weak interference device through intermittent anti-interference signals. The relay device sends the data signal to be played to the weak interference device through intermittent anti-interference signals to control the weak interference device to play the data to be played during the intermittent communication time period, so as to reduce the interference of the interference signal source to the weak interference device.
[0133] Embodiment three:
[0134] Please refer to Figure 3 and Figure 6 In this embodiment, the system obtains all device information within the range of the interference signal source and generates the first device information based on all the device information.
[0135] Then, the system selects the device which is farthest from the weak interference device and has the strongest interference signal source from the first device information as the signal cancellation device.
[0136] The system sends the intermittent anti-interference signal information to the signal cancellation device through the intermittent anti-interference signal, and then the signal cancellation device transmits the intermittent anti-interference signal during the interference period. Since the intermittent anti-interference signal has the opposite phase, the same intensity and the same frequency as the interference signal, part of the interference signal is affected by the intermittent anti-interference signal and canceled out, thereby reducing the coverage range of the interference signal and reducing the signal interference of the interference signal source to the weak interference device.
[0137] The system obtains all smart home device information within the weak interference device signal range, and generates second device information based on all smart home device information.
[0138] The system selects the smart home device farthest from the signal cancellation device and the interference signal source from the second device information as the relay device.
[0139] Then the system controls the communication frequency band between the WIFI micro base station and the relay device, and sends the data signal to be played to the relay device through the communication frequency band between the WIFI micro base station and the relay device. After the relay device receives the data signal to be played, it sends the data signal to be played to the weak interference device through an intermittent anti-interference signal. After the weak interference device receives the data signal to be played, it executes the play command to control the weak interference device to play the data to be played during the intermittent communication time period, so as to avoid the signal generated by the interference source interfering with the communication of the weak interference device.
[0140] Since the signal cancellation device uses intermittent anti-interference signals to cancel signals near the interference signal source, the interference signal of the interference signal source is largely canceled, making it difficult for the interference signal to cover the weak interference device.
[0141] Preferably, the line connecting the signal cancellation device and the interference signal source is perpendicular to the line connecting the relay device and the weak interference device. In this case, the signal cancellation device can be placed side by side with the interference signal source, thereby canceling most of the interference signals. If the signal cancellation device is located on the side of the interference signal source away from the weak interference device, some signals may not be canceled.
[0142] At the same time, the WIFI micro base station sends the data signal to be played to the relay device first through the signal connection frequency band between the relay device, and will not be interfered by the interference signal at this time.
[0143] Then the relay device sends the data signal to be played to the weak interference device through the frequency band where the intermittent anti-interference signal is located. After receiving the data signal to be played, the weak interference device executes the play command to play the data to be played during the intermittent communication time period, so as to reduce the signal interference caused by the interference signal source to the weak interference device during the playback process.
[0144] Since the relay device is located within the signal range of the weak interference device and is far away from the interference signal source, the relay device will not be affected in the process of receiving the data signal to be played. At the same time, due to the signal cancellation device's cancellation effect on the interference signal source, the impact of the interference signal on the weak interference device is reduced, so that the relay device can transmit signals based on intermittent anti-interference signals near the weak interference device, so as to ensure the stability of the relay device during signal transmission.
[0145] It should be noted that the relay device can be a Wi-Fi repeater, Mesh Wi-Fi system, Powerline adapter, smart speaker, smart socket, camera, etc., with built-in Mesh function or Wi-Fi relay function, which can help expand the coverage of Wi-Fi signal.
[0146] Some smart sockets and smart lamps (such as Xiaomi's Mijia series) have built-in Wi-Fi signal relay functions, which can establish a Mesh network with other devices to provide coverage and enhance signals.
[0147] In at least one embodiment of the present application, the intermittent anti-interference signal information is generated according to the interference signal strength, the interference signal frequency and the interference signal phase, and a device with a weak electromagnetic interference signal is selected from the audio device, and the specific step of obtaining the weak interference device also includes:
[0148] S401, acquiring all electromagnetic interference signals within the coverage area of each audio device to obtain an electromagnetic interference signal set;
[0149] S402, analyzing each electromagnetic interference signal in the electromagnetic interference signal set, and calculating the position information of each electromagnetic interference signal according to the signal strength of each electromagnetic interference signal in each audio device;
[0150] S403, generating an interference signal coordinate map according to the location information of each electromagnetic interference signal;
[0151] Devices with weak electromagnetic interference signals are selected from audio devices according to the interference signal coordinate map and marked as weak interference devices.
[0152] In at least one embodiment of the present application, the step of selecting devices with weak electromagnetic interference signals from audio devices according to the interference signal coordinate map and marking them as weak interference devices further includes:
[0153] S404, obtaining location information of each audio device and signal coverage of each audio device;
[0154] S405, mapping the location information of each audio device into the interference signal coordinate map to obtain an interference signal association map;
[0155] S406, calculating the coverage range of each electromagnetic interference signal according to the signal strength of each electromagnetic interference signal in each audio device, and obtaining the range of each electromagnetic interference signal;
[0156] S407. Calculate signal interference data of each audio device according to the interference signal association map, the signal coverage range of each audio device, and the range of each electromagnetic interference signal. The signal interference data includes: interference strength values of each audio device affected by each electromagnetic interference signal and the corresponding electromagnetic interference signal.
[0157] In at least one embodiment of the present application, the control method based on WIFI wireless audio further includes:
[0158] S408. If all audio devices detect the same electromagnetic interference signal, mark the same electromagnetic interference signal as a specific interference signal, obtain the interference intensity value of the specific interference signal on the audio device within the range of each audio device, filter out the audio device with the largest interference intensity value of the specific interference signal, and mark the audio device with the largest interference intensity value as a reverse device;
[0159] A reverse instruction is generated according to the specific interference signal, and the reverse instruction is sent to a reverse device.
[0160] In at least one embodiment of the present application, the step of generating a reverse instruction according to the specific interference signal and sending the reverse instruction to a reverse device further includes:
[0161] S409, analyzing the specific interference signal to obtain a specific interference signal strength, a phase of the specific interference signal, and a signal frequency;
[0162] S410. Generate a reverse signal based on the specific interference signal strength and signal frequency, and generate a reverse instruction based on the reverse signal, wherein the reverse signal includes the frequency of the specific interference signal, a phase opposite to the phase of the specific interference signal, the specific interference signal strength, and the signal reverse coverage range.
[0163] In at least one embodiment of the present application, the step of generating a reverse signal according to the strength and frequency of the specific interference signal, generating a reverse instruction according to the reverse signal, wherein the reverse signal includes the frequency of the specific interference signal, the phase opposite to the phase of the specific interference signal, and the signal reverse coverage range further includes:
[0164] The signal reverse coverage range is calculated based on the interference signal coordinate map, the reverse device coordinates and the specific interference signal coordinates.
[0165] Embodiment 4:
[0166] Please refer to Figure 4 In this embodiment, the system obtains all electromagnetic interference signals within the coverage range of each audio device signal to obtain an electromagnetic interference signal set.
[0167] The system analyzes each electromagnetic interference signal and calculates the location information (position coordinates) of each electromagnetic interference signal based on the signal strength of each electromagnetic interference signal in each audio device;
[0168] The location information of each electromagnetic interference signal is mapped to the same map to generate an interference signal coordinate map; then the location information (location coordinates) of each audio device and the signal coverage range of each audio device are obtained.
[0169] The system maps the location information of each audio device to the interference signal coordinate map to obtain the interference signal association map.
[0170] The system calculates the coverage of the electromagnetic interference signal according to the signal strength of each electromagnetic interference signal in each audio device, and obtains the range of each electromagnetic interference signal.
[0171] The system calculates the signal interference data of each audio device based on the interference signal association map, the signal coverage range of each audio device and the range of each electromagnetic interference signal. The signal interference data includes: the interference strength value of each audio device affected by each electromagnetic interference signal and the corresponding electromagnetic interference signal.
[0172] The system detects all audio devices. If each audio device receives the same electromagnetic interference signal, the same electromagnetic interference signal is marked as a specific interference signal, indicating that the interference signal covers a very wide range and interferes with all audio devices.
[0173] The system filters out the audio device with the largest strength value of the specific interference signal, and marks the audio device with the largest interference as a reverse device.
[0174] The system calculates the signal reverse coverage range based on the interference signal coordinate map, the reverse device coordinates and the specific interference signal coordinates.
[0175] Then the system analyzes the specific interference signal to obtain the strength of the specific interference signal, the phase of the specific interference signal and the signal frequency. According to the strength of the specific interference signal and the signal frequency, a reverse signal is generated. And a reverse instruction is generated according to the reverse signal, the phase opposite to the phase of the specific interference signal and the signal reverse coverage range.
[0176] The system sends a reverse instruction to the reverse device to control the reverse device to execute the reverse instruction to cancel the interference signal source corresponding to the specific interference signal to avoid the interference signal from interfering with each audio device, thereby improving the stability of signal transmission.
[0177] The detailed steps to establish the coordinate map of the interference signal are:
[0178] Get the physical location (coordinates) of all audio devices, including the location of the audio device (such as two-dimensional plane coordinates Or three-dimensional space coordinates , this technical solution uses two-dimensional plane coordinates for calculation.
[0179] The location of each audio device is marked as a two-dimensional coordinate, e.g. , ,…, .
[0180] The signal receiving module built into each audio device detects the strength of the interference signal (eg RSSI value) in real time.
[0181] Assume that the signal strength received by the device is , where Si is the interference signal strength received by the i-th device.
[0182] The measured interference signal strength should be obtained in the same time period to ensure the time consistency of the data.
[0183] Signal strength values can be expressed in standardized units (such as dBm) to unify the measurement benchmark for interference strength.
[0184] The location of the interference signal can be calculated using multi-point signal strength positioning techniques (such as RSSI weighting or triangulation).
[0185] Assuming that the interference signal position is , the two-dimensional coordinates of the interference signal are calculated by weighted average method according to the known position of each audio device and the received signal strength value.
[0186] RSSI weighted method, the calculation formula is as follows:
[0187] , ;
[0188] : The coordinates of the i-th audio device.
[0189] : The interference signal strength received by the ith audio device (usually taken as its absolute value or inverse proportion, since the greater the strength, the closer the distance).
[0190] Triangulation:
[0191] The precise location of the interference signal is determined through geometric positioning using the location information of at least three audio devices and the strength of their received signals.
[0192] Assuming that the signal strength is inversely proportional to the device distance, establish the distance relationship between the interference signal and the device:
[0193] ;
[0194] in, : The distance from the ith device to the interference source. k: Proportional constant.
[0195] According to the position and distance relationship of the audio device, establish the equation group:
[0196] ;
[0197] ; ...
[0198] Solve the equations to get the location of the interference signal .
[0199] According to the calculated interference signal coordinates , determine the center point of the interference signal.
[0200] Reception strength of each audio device It can be represented by color gradients or isointensity lines.
[0201] The center position, intensity distribution and coordinates of each audio device of the interference signal are superimposed and drawn to generate a two-dimensional interference signal coordinate map.
[0202] Example:
[0203] The coordinates of the three audio devices are: (0, 0), (5, 0) and (2, 3), and the received interference signal strength is: , , ;
[0204] ;
[0205] .
[0206] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A control method based on WIFI wireless audio, characterized in that: The control method based on WIFI wireless audio includes: Obtain the signal frequency band used by the WIFI micro base station and the signal frequency band currently being used within the range of the WIFI micro base station; Generate a usable signal frequency band according to the signal use frequency band of the WIFI micro base station and the signal frequency band currently being used within the range of the WIFI micro base station; Periodically detecting electromagnetic interference signals within the coverage area of the audio device, and generating corresponding electromagnetic interference signal frequency bands according to the electromagnetic interference signals; Removing the electromagnetic interference signal frequency band from the usable signal frequency band to obtain an anti-interference signal frequency band; According to the anti-interference signal frequency band, a communication signal frequency band is configured for each audio device, and the configured signal frequency band is sent to the corresponding audio device for signal transmission; The step of removing the electromagnetic interference signal frequency band from the usable signal frequency band to obtain the anti-interference signal frequency band also includes: If there is no usable signal frequency band after removing the electromagnetic interference signal frequency band from the usable signal frequency band, analyzing the electromagnetic interference signal to obtain the interference signal strength, interference signal frequency and interference signal phase; Generate intermittent anti-interference signal information according to the interference signal strength, the interference signal frequency and the interference signal phase, select a device with weak electromagnetic interference signal from the audio device, and obtain a weak interference device; Sending the intermittent anti-interference signal information to the weak-interference device so that the weak-interference device performs signal transmission through the intermittent anti-interference signal; The specific steps of generating intermittent anti-interference signal information according to the interference signal strength, the interference signal frequency and the interference signal phase, selecting a device with a weak electromagnetic interference signal from the audio device, and obtaining the weak interference device include: Obtaining a signal phase opposite to the interference signal phase according to the interference signal phase, and generating the intermittent anti-interference signal information according to the opposite signal phase, a signal strength the same as the interference signal strength, and a signal frequency the same as the interference signal frequency; The method further comprises: Obtaining an interference period of the interference signal, and generating an intermittent period according to an interval period between two adjacent interference periods; Generate an intermittent communication time period according to the intermittent period in the time period and the interference period in the next time period; Obtain the playback data information required by the weak interference device during the intermittent communication period, and generate a data signal to be played; The data signal to be played establishes communication with the weak interference device through an intermittent anti-interference signal, and the data signal to be played is sent to the weak interference device during the intermittent period of the time period to control the weak interference device to play the data to be played during the intermittent communication time period to ensure the continuity of the playback of the weak interference device.
2. The control method based on WIFI wireless audio according to claim 1, characterized in that: The method further comprises: Obtaining information of all devices within the range of the interference signal source, and obtaining first device information; Filter out a device with strong interference from the interference signal source from the first device information as a signal cancellation device; The intermittent anti-interference signal information is sent to the signal cancellation device through the intermittent anti-interference signal to control the signal cancellation device to transmit the intermittent anti-interference signal to the interference signal source within the interference period to form a cancellation signal to reduce the interference of the interference signal source to the weak interference device; Obtain information of all devices within the range of the weak interference device and obtain information of the second device; Selecting a smart home device that is farthest from the signal canceling device and farthest from the interference signal source from the second device information as a relay device, where the relay device has a relay function; The data signal to be played is transmitted to the relay device according to the communication frequency band between the relay device and the WIFI micro base station, and the relay device is controlled to establish communication with the weak interference device through intermittent anti-interference signals. The relay device sends the data signal to be played to the weak interference device through intermittent anti-interference signals to control the weak interference device to play the data to be played during the intermittent communication time period, so as to reduce the interference of the interference signal source to the weak interference device.
3. The control method based on WIFI wireless audio according to claim 1, characterized in that: The specific steps of generating intermittent anti-interference signal information according to the interference signal strength, the interference signal frequency and the interference signal phase, selecting a device with a weak electromagnetic interference signal from the audio device, and obtaining the weak interference device also include: Obtain all electromagnetic interference signals within the coverage area of each audio device to obtain an electromagnetic interference signal set; Analyze each electromagnetic interference signal in the electromagnetic interference signal set, and calculate the position information of each electromagnetic interference signal according to the signal strength of each electromagnetic interference signal in each audio device; Generate an interference signal coordinate map based on the location information of each electromagnetic interference signal; Devices with weak electromagnetic interference signals are selected from audio devices according to the interference signal coordinate map and marked as weak interference devices.
4. The control method based on WIFI wireless audio according to claim 3, characterized in that: The step of selecting devices with weak electromagnetic interference signals from audio devices according to the interference signal coordinate map and marking them as weak interference devices also includes: Obtain the location information of each audio device and the signal coverage range of each audio device; Mapping the location information of each audio device into the interference signal coordinate map to obtain an interference signal association map; Calculate the coverage of each electromagnetic interference signal according to the signal strength of each electromagnetic interference signal in each audio device to obtain the range of each electromagnetic interference signal; According to the interference signal association map, the signal coverage range of each audio device and the range of each electromagnetic interference signal, the signal interference data of each audio device is calculated, and the signal interference data includes: each audio device is affected by each electromagnetic interference signal and the interference strength value of the corresponding electromagnetic interference signal.
5. The control method based on WIFI wireless audio according to claim 3, characterized in that: The control method based on WIFI wireless audio also includes: If all audio devices detect the same electromagnetic interference signal, the same electromagnetic interference signal is marked as a specific interference signal, and the interference intensity value of the specific interference signal on the audio device within the range of each audio device is obtained, the audio device with the largest interference intensity value of the specific interference signal is screened out, and the audio device with the largest interference intensity value is marked as a reverse device; A reverse instruction is generated according to the specific interference signal, and the reverse instruction is sent to a reverse device.
6. The control method based on WIFI wireless audio according to claim 5, characterized in that: The step of generating a reverse instruction according to the specific interference signal and sending the reverse instruction to the reverse device also includes: Analyze the specific interference signal to obtain the specific interference signal strength, the phase of the specific interference signal and the signal frequency; A reverse signal is generated based on the specific interference signal strength and signal frequency, and a reverse instruction is generated based on the reverse signal. The reverse signal includes the frequency of the specific interference signal, a phase opposite to the phase of the specific interference signal, the specific interference signal strength and the signal reverse coverage range.
7. The control method based on WIFI wireless audio according to claim 6, characterized in that: The step of generating a reverse signal according to the strength and frequency of the specific interference signal, generating a reverse instruction according to the reverse signal, wherein the reverse signal includes the frequency of the specific interference signal, a phase opposite to the phase of the specific interference signal, and a reverse coverage range of the signal also includes: The signal reverse coverage range is calculated based on the interference signal coordinate map, the reverse device coordinates and the specific interference signal coordinates.
Citation Information
Patent Citations
Signal processing method and device and electronic equipment
CN110971335A
Intelligent anti-interference method and device for radio communication, equipment and medium
CN115694547A