Noise reduction method, device, electronic device and storage medium for audio playback device
By obtaining and processing the noise signals generated during Bluetooth communication in the audio playback device, generating inverse phases and playing them, the noise problem of audio playback device is solved, and a small-size design and a better user experience are achieved.
Patent Information
- Application Number
- CN202110332705.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-26
- Publication Date
- 2025-04-08
- Estimated Expiration
- 2041-03-26
AI Technical Summary
Audio playback devices are often accompanied by noise during use, especially current sound and white noise generated during Bluetooth communication, which affects the user experience and is difficult to reduce noise by increasing component spacing under space limitations.
By acquiring the target noise signal generated by the audio playback device during Bluetooth communication, and generating an inverted phase signal based on the signal, the inverted phase signal is played to cancel the target noise signal.
It effectively reduces the impact of noise signals, realizes the small-volume design of audio playback equipment, and improves the user experience.
Smart Images

Figure CN115134711B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electronic equipment, and more specifically, to a noise reduction method and device for an audio playback device, an electronic device, and a storage medium. Background Art
[0002] With the development of science and technology, audio playback devices are used more and more widely, with more and more functions, and have become one of the necessities in people's daily life. However, during the use of audio playback devices, noise is often accompanied, resulting in poor user experience. Summary of the invention
[0003] In view of the above problems, the present application proposes a noise reduction method, device, electronic device and storage medium for an audio playback device to solve the above problems.
[0004] In a first aspect, an embodiment of the present application provides a noise reduction method for an audio playback device, which is applied to the audio playback device, and the method includes: obtaining a target noise signal of the audio playback device, wherein the target noise signal is caused by the audio playback device performing Bluetooth communication; generating an anti-phase signal according to the target noise signal, wherein the waveform phase of the target noise signal is opposite to that of the anti-phase signal; and playing the anti-phase signal.
[0005] In a second aspect, an embodiment of the present application provides a noise reduction method for an audio playback device, which is applied to the audio playback device, and the method includes: obtaining a noise signal of a target frequency, wherein the target frequency is the same as the frequency of a current acoustic signal caused by Bluetooth communication of the audio playback device or the frequency difference is within a preset range; generating an antiphase signal according to the noise signal of the target frequency, wherein the noise signal of the target frequency has a waveform phase opposite to that of the antiphase signal; and playing the antiphase signal.
[0006] In a third aspect, an embodiment of the present application provides a noise reduction device for an audio playback device, which is applied to the audio playback device, and the device includes: a target noise signal acquisition module, used to acquire a target noise signal of the audio playback device, wherein the target noise signal is caused by the audio playback device performing Bluetooth communication; an inverted signal generation module, used to generate an inverted signal according to the target noise signal, wherein the waveform phase of the target noise signal is opposite to that of the inverted signal; and an inverted signal playing module, used to play the inverted signal.
[0007] In a fourth aspect, an embodiment of the present application provides a noise reduction device for an audio playback device, which is applied to the audio playback device, and the device includes: a noise signal acquisition module, used to acquire a noise signal of a target frequency, wherein the target frequency is the same as the frequency of the current sound signal caused by the Bluetooth communication of the audio playback device or the frequency difference is within a preset range; an inverted signal generation module, used to generate an inverted signal according to the noise signal of the target frequency, wherein the noise signal of the target frequency has a waveform phase opposite to that of the inverted signal; and an inverted signal playing module, used to play the inverted signal.
[0008] In a fifth aspect, an embodiment of the present application provides an electronic device, comprising a memory and a processor, wherein the memory is coupled to the processor, the memory stores instructions, and when the instructions are executed by the processor, the processor executes the above method.
[0009] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a program code is stored, and the program code can be called by a processor to execute the above method.
[0010] The embodiments of the present application provide a noise reduction method, device, electronic device and storage medium for an audio playback device, which obtain a target noise signal of the audio playback device, wherein the target noise signal is caused by Bluetooth communication of the audio playback device, and generate an anti-phase signal according to the target noise signal, wherein the waveform phase of the target noise signal is opposite to that of the anti-phase signal, and the anti-phase signal is played, thereby reducing the influence of the target noise signal by playing the anti-phase signal with the opposite waveform phase to the target noise signal of the audio playback device, realizing a small volume design of the audio playback device, and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.
[0012] Figure 1 A schematic diagram showing an application environment of the noise reduction method for an audio playback device provided in an embodiment of the present application
[0013] Figure 2 A block diagram of an electronic device according to an embodiment of the present application for executing a noise reduction method for an audio playback device according to an embodiment of the present application is shown;
[0014] Figure 3 A schematic diagram showing a flow chart of a noise reduction method for an audio playback device provided by an embodiment of the present application;
[0015] Figure 4 shows a spectrum diagram of a target noise signal provided by an embodiment of the present application;
[0016] Figure 5 shows a spectrum diagram of an inverted signal provided by an embodiment of the present application;
[0017] Figure 6 A schematic flow chart of a noise reduction method for an audio playback device provided in another embodiment of the present application is shown;
[0018] Figure 7 This application shows Figure 6 The flowchart of step S210 of the audio playback device shown;
[0019] Figure 8 A schematic diagram showing a flow chart of a noise reduction method for an audio playback device provided in yet another embodiment of the present application;
[0020] Fig. 9 A schematic diagram showing current changes of an audio playback device provided in an embodiment of the present application during communication is shown;
[0021] Fig.10 A schematic diagram showing a flow chart of a noise reduction method for an audio playback device provided in another embodiment of the present application is shown;
[0022] Fig.11 A schematic flow chart of a noise reduction method for an audio playback device provided in yet another embodiment of the present application is shown;
[0023] Fig.12 A schematic flow chart of a noise reduction method for an audio playback device provided in yet another embodiment of the present application is shown;
[0024] Fig.13 A schematic flow chart of a noise reduction method for an audio playback device provided in yet another embodiment of the present application is shown;
[0025] Fig.14 A schematic flow chart of a noise reduction method for an audio playback device provided in yet another embodiment of the present application is shown;
[0026] Fig.15 A module block diagram of a noise reduction device for an audio playback device provided by an embodiment of the present application is shown;
[0027] Fig.16 A module block diagram of a noise reduction device for an audio playback device provided in another embodiment of the present application is shown;
[0028] Fig.17A storage unit for storing or carrying a program code for implementing a noise reduction method for an audio playback device according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0029] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0030] With the development of science and technology, audio playback devices are used more and more widely and have more and more functions. They have become one of the necessities in people's daily life. However, noise can often be heard during the use of audio playback devices. This noise is generally called background noise. The background noise mainly includes two categories: one is current noise, and the source of this current noise is mainly caused by the interference of electronic components on the speaker. Electronic components can include power inductors, batteries, for example, the source of current noise can be caused by the interference of batteries on the speaker; the other is white noise, which is mainly related to the chip itself.
[0031] At present, the reduction of background noise such as current sound is generally achieved by increasing the distance between electronic components, for example, by increasing the distance between the battery and the speaker. After the distance between the battery and the speaker is increased, the interference of the power radiated by the battery on the speaker is reduced, so the noise generated will be reduced. However, for audio playback devices with relatively small volume, due to space limitations, the speaker cannot be far away from the battery, and the radiation from the battery will still interfere with the speaker. Therefore, the noise of the audio playback device cannot be reduced well. In order to keep the battery away from the speaker, the distance between the two is increased, which will cause the volume of the audio playback device to be too large, affecting the aesthetics and user experience of the audio playback device.
[0032] In view of the above problems, the inventors have discovered after long-term research and proposed the noise reduction method, device, electronic device and storage medium of the audio playback device provided in the embodiments of the present application, which reduces the influence of the target noise signal by playing an anti-phase signal with a waveform phase opposite to that of the target noise signal of the audio playback device, realizes a small volume design of the audio playback device, and improves the user experience. Among them, the specific noise reduction method of the audio playback device is described in detail in the subsequent embodiments.
[0033] The following describes the application environment of the noise reduction method for the audio playback device provided in the embodiment of the present application.
[0034] See also Figure 1 , Figure 1 A schematic diagram of an application environment of the noise reduction method for an audio playback device provided in an embodiment of the present application is shown. Figure 1As shown, it includes an audio playback device 100 and an audio providing device 200. The audio playback device 100 may include headphones, speakers, etc. Of course, the audio playback device 100 may also include other devices with audio playback functions, which are not limited here. The audio providing device 200 may include a smart phone, a tablet computer, a smart watch, a computer, a wearable electronic device, etc. Of course, the audio providing device 200 may also include other devices with audio providing functions, which are not limited here. In this application scenario, the audio providing device 200 can be used as an audio providing device to send audio content to the audio playback device 100 for playback.
[0035] In some embodiments, the audio playback device 100 and the audio providing device 200 can communicate to complete data interaction. Among them, the audio playback device 100 and the audio providing device 200 can communicate through a local area network (LAN), or can communicate with each other through a wide area network (WAN). For example, the audio playback device 100 and the audio providing device 200 can be connected to a router at the same time, and the audio playback device 100 and the audio providing device 200 can communicate through the local area network provided by the router; for another example, the audio playback device 100 and the audio providing device 200 can communicate with the cloud, and realize data interaction between the two through the cloud; for another example, the audio playback device 100 and the audio providing device 200 can also establish an end-to-end network connection (i.e., a P2P network connection) through communication methods such as Bluetooth, Zigbee, and WebRTC, and communicate through the established network connection. Of course, the communication method between the audio playback device 100 and the audio providing device 200 can be unlimited.
[0036] In this embodiment, the audio playback device 100 communicates with the audio providing device 200 via Bluetooth. Figure 1 As shown, the audio playback device 100 can be a true wireless stereo (TWS) headset, the audio providing device 200 can be a smart phone, the audio playback device 100 and the audio providing device 200 communicate via Bluetooth, and the TWS headset can obtain and play audio data from the smart phone via Bluetooth technology.
[0037] See also Figure 2 , Figure 2The module block diagram of the audio playback device 100 provided in the embodiment of the present application is shown. The audio playback device 100 can be an audio playback device with Bluetooth communication technology such as a Bluetooth headset, a Bluetooth speaker, etc. The audio playback device 100 in the present application may include one or more of the following components: a processor 110, a memory 120, a Bluetooth module 130, a power module 140, an audio module 150, and one or more application programs, wherein one or more application programs may be stored in the memory 120 and configured to be executed by one or more processors 110, and one or more programs are configured to execute the method described in the aforementioned method embodiment.
[0038] As a way, the processor 110 is respectively connected to the memory 120, the Bluetooth module 130, the power module 140 and the audio module 150, and the power module 140 is respectively connected to the processor 110, the memory 120, the Bluetooth module 130 and the audio module 150. The processor 110 is used for controlling the entire system, such as controlling charging, audio signal processing, etc. The Bluetooth module 130 is mainly used for communication between the audio playback device 100 and the audio providing device 200. When the audio playback device is a TWS headset, it is also used for communication between the left and right headsets. The power module 140 is used to power each module in the audio playback device 100. The audio module 150 includes a speaker, a microphone, etc., which is used for audio playback and audio collection.
[0039] Among them, the processor 110 may include one or more processing cores. The processor 110 uses various interfaces and lines to connect various parts of the entire audio playback device 100, and executes various functions and processes data of the electronic device 100 by running or executing instructions, programs, code sets or instruction sets stored in the memory 120, and calling data stored in the memory 120. Optionally, the processor 110 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 110 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed; and the modem is used to process wireless communication. It can be understood that the above-mentioned modem may not be integrated into the processor 110, but implemented separately through a communication chip.
[0040] The memory 120 may include a random access memory (RAM) or a read-only memory (ROM). The memory 120 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 120 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc. The data storage area may also store data (such as a phone book, audio and video data, chat record data) created by the audio playback device 100 during use.
[0041] The inventors have found that in part or all of the Bluetooth communication process, some audio playback devices (such as Bluetooth headsets) will produce current sounds of specific frequencies. Further research has found that the current sounds are more prominent in the process of establishing a Bluetooth connection. Establishing a Bluetooth connection can be the first time to establish a connection with other Bluetooth devices, or it can be the re-establishment of a Bluetooth connection (reconnection) with a certain Bluetooth device, or it can be the connection process of re-pairing after the Bluetooth connection information is erased. Generally speaking, in the process of establishing a Bluetooth connection, the Bluetooth device may be in a paging page, a paging scan, an inquiry, an inquiry scan, and other states, and may switch between different states. The inventors have found that, especially when in the paging or inquiry state, due to the need to send Bluetooth signals, such as ID packets, in each frequency band according to the Bluetooth frequency hopping protocol, and wait for feedback, the alternation of transmitting Bluetooth signals and not transmitting Bluetooth signals becomes more frequent, and the fluctuation of the power supply output current caused by this will increase, which may cause electronic devices such as batteries and inductors to generate a large electromagnetic field, thereby interfering with sensitive devices such as speakers to generate noise such as current sounds. Taking Bluetooth headsets as an example, if the Bluetooth connection is suddenly disconnected during user use, the main headset of the Bluetooth headset will enter the paging state and try to reconnect to the mobile phone. In the paging state, due to the frequent transmission of ID packets and waiting for feedback, the power output current changes greatly and frequently. The battery and power inductor may generate a large electromagnetic field, which in turn interferes with the speaker and produces current sound (target noise signal).
[0042] See also Figure 3 , Figure 3A flow chart of a noise reduction method for an audio playback device provided by an embodiment of the present application is shown. The noise reduction method for an audio playback device is used to reduce the impact of a target noise signal by playing an anti-phase signal with a waveform phase opposite to that of a target noise signal of the audio playback device, and to achieve a small volume design of the audio playback device, thereby improving the user experience. In a specific embodiment, the noise reduction method for an audio playback device is applied to Fig.15 The noise reduction device 300 for an audio playback device and the electronic device 100 ( Figure 2 ). The following will take an audio playback device as an example to illustrate the specific process of this embodiment. Of course, it can be understood that the electronic device used in this embodiment can be an audio playback device based on Bluetooth communication technology such as a Bluetooth headset and a Bluetooth speaker, which is not limited here. Figure 3 The process shown is described in detail, and the noise reduction method of the audio playback device may specifically include the following steps:
[0043] Step S110: Acquire a target noise signal of an audio playback device, wherein the target noise signal is caused by the audio playback device performing Bluetooth communication.
[0044] Among them, when the Bluetooth function of the audio playback device is turned on, the audio playback device will perform Bluetooth communication. For example, the audio playback device will perform Bluetooth communication with other Bluetooth devices (such as audio providing devices). When the audio playback device performs Bluetooth communication, a noise signal will be generated, which is recorded as a target noise signal. As a method, the frequency of the target noise signal generated by the audio playback device based on Bluetooth communication is fixed, for example, a target noise noise signal with a frequency of 800 Hz or a harmonic of 800 Hz is generated. Therefore, in this embodiment, in order to perform noise reduction processing on the noise signal to be processed by the audio playback device, the target noise signal can be obtained, and the target noise signal can be noise-reduced in a targeted manner.
[0045] In some implementations, the audio playback device may pre-set a pre-collected target noise signal, and regard other sounds collected in the environment that do not belong to the target noise signal as environmental noise signals.
[0046] As a method, the audio playback device can pre-set a target noise signal and obtain a target sound quality corresponding to the target noise signal, and use the target sound quality as a basis for judging the sound collected in the environment. Therefore, in this embodiment, when the audio playback device collects the sound in the environment through a microphone, it can obtain the sound quality of the sound collected in the environment, and compare the sound quality of the sound in the environment with the target sound quality to determine whether the sound quality of the sound in the environment matches the target sound quality. When the judgment result indicates that the sound quality of the sound in the environment matches the target sound quality, it can be determined that the sound in the environment is the target noise signal. On the contrary, when the judgment result indicates that the sound quality of the sound in the environment does not match the target sound quality, it can be determined that the sound in the environment is the environmental noise signal.
[0047] As another way, the audio playback device can pre-set a target noise signal and obtain a target decibel corresponding to the target noise signal, and use the target decibel as a basis for judging the sound collected in the environment. Therefore, in this embodiment, when the audio playback device collects the sound in the environment through a microphone, it can obtain the decibel of the sound in the environment collected, and compare the decibel of the sound in the environment with the target decibel to determine whether the decibel of the sound in the environment matches the target decibel. When the judgment result indicates that the decibel of the sound in the environment matches the target decibel, it can be determined that the sound in the environment is the target noise signal. On the contrary, when the judgment result indicates that the decibel of the sound in the environment does not match the target decibel, it can be determined that the sound in the environment is the environmental noise signal. When the decibel of the sound is higher than the preset value, it can be considered that the sound does not match the target decibel, and when the decibel of the sound is not higher than the preset value, it can be considered that the sound matches the target decibel.
[0048] As another way, when collecting and acquiring noise signals, the source of the collected noise signal can be detected. When it is detected that the source of the collected noise signal is an audio playback device, the collected noise signal can be determined as a target noise signal. When it is detected that the source of the collected noise signal is not an audio playback device, the collected noise signal can be determined as an ambient noise signal.
[0049] In some embodiments, the audio playback device may be a TWS headset, wherein two metal pins are provided at the bottom of the TWS headset, and when the TWS headset is placed in a charging box, the circuit between the TWS headset and the charging box is turned on, so that the charging box is used to charge the TWS headset. Among them, a common TWS headset has two metal pins or three metal pins, which are located at corresponding positions of the TWS headset and the charging box, respectively. When the TWS headset is placed in the charging box, the metal pins on the TWS headset and the metal pins on the charging box just touch each other to charge and place the TWS headset. In addition, when the TWS headset is taken out of the charging box, the TWS headset can automatically turn on and attempt to perform Bluetooth communication to attempt to establish a Bluetooth connection with other Bluetooth devices. Based on this, it is possible to detect whether the TWS headset is taken out of the charging box, wherein when it is detected that the TWS headset is taken out of the charging box, it indicates that the TWS headset starts to perform Bluetooth communication, and then the target noise signal of the audio playback device can be obtained. When it is detected that the TWS headset is placed in the charging box, it indicates that the TWS headset starts to perform Bluetooth communication, and then the target noise signal of the audio playback device may not be obtained.
[0050] In some embodiments, the audio playback device may be a Bluetooth speaker, wherein the Bluetooth speaker may be provided with a Bluetooth switch. Based on this, the state information of the Bluetooth switch of the Bluetooth speaker may be detected, wherein when the state information of the Bluetooth switch of the Bluetooth speaker is detected to be in an on state, it indicates that the Bluetooth speaker has started Bluetooth communication, and the target noise signal of the audio playback device may be obtained, and when the Bluetooth switch of the Bluetooth speaker is detected to be in an off state, it indicates that the Bluetooth speaker has not started Bluetooth communication, and the target noise signal of the audio playback device may not be obtained.
[0051] Step S120: generating an anti-phase signal according to the target noise signal, wherein the waveform phases of the target noise signal and the anti-phase signal are opposite.
[0052] In this embodiment, after obtaining the target noise signal of the audio playback device, an anti-phase signal can be generated according to the target noise signal, wherein the generated anti-phase signal has a waveform phase opposite to that of the target noise signal. In some implementations, after obtaining the target noise signal, the spectrum of the target noise signal can be calculated, and an anti-phase signal with an opposite phase and the same amplitude can be generated based on the spectrum of the target noise signal.
[0053] See also Figure 4 and Figure 5 ,in, Figure 4 shows a spectrum diagram of a target noise signal provided by an embodiment of the present application, Figure 5 FIG. 4 shows a spectrum diagram of an inverted signal provided by an embodiment of the present application, such as Figure 4 and Figure 5As shown, the waveforms of the target noise signal and the anti-phase signal have opposite phases.
[0054] Step S130: playing the inverted signal.
[0055] In this embodiment, after the inverted signal is obtained, the inverted signal can be played, wherein, since the waveform phases of the inverted signal and the target noise signal are opposite, playing the inverted signal can offset the target noise signal, thereby reducing the influence of the target noise signal. In addition, since the target noise signal is offset by the inverted signal in this embodiment, the spacing between electronic components does not need to be increased, and a small volume design of the audio playback device can be achieved.
[0056] In some embodiments, after the audio data path between the audio playback device and the audio providing device is opened, the audio playback device can receive the audio data sent by the audio providing device, and play the audio data together with the inverted signal. It can be understood that at this time, the inverted signal and the target noise signal cancel each other out, and the audio playback device finally outputs the audio data, thereby improving the user experience.
[0057] In some embodiments, the audio playback device may pre-set and store a volume threshold value, which is used as a basis for determining the volume of the audio output by the audio playback device. Therefore, in this embodiment, the volume of the audio output by the audio playback device may be detected. After the volume of the audio output by the audio playback device is detected, the volume of the audio output by the audio playback device may be compared with the volume threshold value to determine whether the volume of the audio output by the audio playback device is less than the volume threshold value, wherein when the volume of the audio output by the audio playback device is less than the volume threshold value, it may be considered that the audio output by the audio playback device cannot cover the target noise signal, and an inverted signal may be played; when the volume of the audio output by the audio playback device is not less than the volume threshold value, it may be considered that the audio output by the audio playback device can cover the target noise signal, and an inverted signal may not be played to reduce the power consumption of the audio playback device.
[0058] In some embodiments, the audio playback device may pre-set and store a power threshold, which is used as a basis for determining the remaining power of the audio playback device. Therefore, in this embodiment, the remaining power of the audio playback device may be detected, and after the remaining power of the audio playback device is detected, the remaining power may be compared with the power threshold to determine whether the remaining power is greater than the power threshold, wherein when the remaining power is greater than the power threshold, it may be considered that the audio playback device has sufficient remaining power to play the inverted signal, and the inverted signal may be played; when the remaining power is not greater than the power threshold, it may be considered that the audio playback device does not have sufficient remaining power to play the inverted signal, and the inverted signal may not be played, so as to reduce the power consumption of the audio playback device.
[0059] An embodiment of the present application provides a noise reduction method for an audio playback device, which obtains a target noise signal of the audio playback device, wherein the target noise signal is caused by Bluetooth communication of the audio playback device, generates an anti-phase signal according to the target noise signal, wherein the waveform phase of the target noise signal is opposite to that of the anti-phase signal, and plays the anti-phase signal, thereby reducing the influence of the target noise signal by playing the anti-phase signal with the waveform phase opposite to that of the target noise signal of the audio playback device, and realizing a small-volume design of the audio playback device, thereby improving the user experience.
[0060] See also Figure 6 , Figure 6 A schematic diagram of a noise reduction method for an audio playback device according to another embodiment of the present application is shown. The method is applied to the above-mentioned audio playback device. Figure 6 The process shown is described in detail, and the noise reduction method of the audio playback device may specifically include the following steps:
[0061] Step S210: acquiring the target noise signal during a part or all of the Bluetooth communication process, wherein the target noise signal is caused by the audio playback device performing Bluetooth communication.
[0062] In some implementations, since the audio playback device may generate an electric current sound of a specific frequency during part or all of the Bluetooth communication process, that is, the audio playback device may generate a noise signal to be processed during part or all of the Bluetooth communication process. Therefore, in this embodiment, the target noise signal may be obtained during part or all of the Bluetooth communication process.
[0063] In some implementations, since the current sound of the audio playback device is more prominent during the process of establishing the Bluetooth connection, that is, the noise signal to be processed generated by the audio playback device is more obvious during part or all of the process of establishing the Bluetooth connection. Therefore, in this embodiment, the target noise signal can be obtained during part or all of the process of establishing the Bluetooth connection.
[0064] In some embodiments, the fluctuation of the power output current will increase when in the paging or query state, which may cause the electronic components such as batteries and inductors to generate a large electromagnetic field, thereby interfering with the current sound and other noises of sensitive components such as speakers, that is, in the partial or full process of Bluetooth paging or Bluetooth query, the noise signal to be processed generated by the audio playback device is more obvious. Therefore, in this embodiment, the target noise signal can be obtained in the partial or full process of Bluetooth paging or Bluetooth query.
[0065] In some embodiments, when the audio player device transmits a Bluetooth signal, the power consumption of the entire system of the audio player device will be very large, so the current drawn from the power module will also be relatively large. Then, when the current is large, the electromagnetic field flowing through the coil of the audio module (such as a speaker) will also be relatively large, that is, the noise signal is relatively large, that is, in the partial or full process of the audio player device transmitting the Bluetooth signal, the situation of the noise signal to be processed generated by the audio player device is more obvious. Therefore, in this embodiment, the target noise signal can be obtained in the partial or full process of the audio player device transmitting the Bluetooth signal.
[0066] See also Figure 7 , Figure 7 This application shows Figure 6 The following is a flow chart of step S210 of the audio playback device. Figure 7 The process shown is described in detail, and the method may specifically include the following steps:
[0067] Step S211: acquiring a current acoustic signal during a part or all of the Bluetooth communication process.
[0068] In some embodiments, during the Bluetooth communication process of the audio playback device, the transmission of Bluetooth signals may cause the battery and / or inductor to generate an equivalent electric field, thereby interfering with the components of the audio playback device, such as sensitive components such as speakers, thereby generating a current acoustic signal, that is, noise, affecting the user experience. Specifically, when transmitting a Bluetooth signal, the power consumption of the entire system of the audio playback device will be very large, so the current drawn from the power module will also be relatively large. Then, when the current is large, the electromagnetic field flowing through the coil of the audio module (such as a speaker) will also be relatively large, thereby generating a fixed frequency current acoustic signal on the audio module, that is, noise, affecting the user experience. Therefore, in this embodiment, the current acoustic signal can be obtained during part or all of the Bluetooth communication process.
[0069] Step S212: determining the current acoustic signal as the target noise signal.
[0070] In this embodiment, since the current acoustic signal generated inside the audio playback device will produce noise, after obtaining the current acoustic signal, the current acoustic signal can be determined as a target noise signal, so that the current acoustic signal can be offset by the subsequently generated anti-phase signal to improve the user experience.
[0071] Step S220: generating an anti-phase signal according to the target noise signal, wherein the waveform phases of the target noise signal and the anti-phase signal are opposite.
[0072] Step S230: playing the inverted signal.
[0073] For the detailed description of step S220 to step S230, please refer to step S120 to step S130, which will not be repeated here.
[0074] Another embodiment of the present application provides a noise reduction method for an audio playback device, which obtains a target noise signal during part or all of the Bluetooth communication process, wherein the target noise signal is caused by the Bluetooth communication of the audio playback device, generates an anti-phase signal according to the target noise signal, wherein the waveform phase of the target noise signal is opposite to that of the anti-phase signal, and plays the anti-phase signal. Figure 3 The noise reduction method for the audio playback device shown in the figure, this embodiment also obtains the target noise signal during part or all of the Bluetooth communication process, and plays an anti-phase signal with a waveform phase opposite to that of the target noise signal of the audio playback device to improve the noise reduction processing effect.
[0075] See also Figure 8 , Figure 8 A schematic diagram of a noise reduction method for an audio playback device provided in another embodiment of the present application is shown. The method is applied to the above-mentioned audio playback device. In this embodiment, the audio playback device includes a Bluetooth module. Figure 8 The process shown is described in detail, and the noise reduction method of the audio playback device may specifically include the following steps:
[0076] Step S310: when a Bluetooth signal is transmitted based on the Bluetooth module, monitoring the transmission signal of the Bluetooth module.
[0077] In some embodiments, the audio playback device includes a Bluetooth module, and the audio providing device includes a Bluetooth module. The audio playback device can transmit a Bluetooth signal to the Bluetooth module included in the audio providing device through the Bluetooth module included in the audio playback device, thereby realizing Bluetooth communication between the audio playback device and the audio providing device. In this embodiment, when the audio playback device transmits a Bluetooth signal to the audio providing device based on the Bluetooth module, the transmission signal of the Bluetooth module can be monitored, wherein the transmission signal of the Bluetooth module can include the transmission frequency of the Bluetooth module, the transmission power of the Bluetooth module, etc., which are not limited here.
[0078] Step S320: Based on the transmit signal, the target noise signal is acquired.
[0079] In this embodiment, after acquiring the transmission signal of the Bluetooth module, the target noise signal can be acquired based on the transmission signal. As a method, the waveform phase of the target noise signal corresponds to the transmission signal. Then, after acquiring the transmission signal, the target noise signal can be acquired based on the correspondence between the target noise signal and the transmission signal.
[0080] In some embodiments, the audio playback device may create a mapping relationship table, which may include multiple transmission signals, multiple target noise signals, and correspondences between multiple transmission signals and multiple target noise signals. For example, the mapping relationship table may be as shown in Table 1, wherein the transmission signal is represented by A and the target noise signal is represented by B. Then, through the mapping relationship table, the audio playback device may set the correspondence between the transmission signal and the target noise signal and store it locally in the audio playback device. Of course, in some embodiments, the mapping relationship table may also be created by other devices and sent to the audio playback device for local storage in the audio playback device. For example, the mapping relationship table may also be created by the audio playback device and sent to the audio playback device.
[0081] Table 1
[0082] Transmit signal A Target noise signal B A1 B1 A2 B2 A3 B3 A4 B4
[0083] In some embodiments, after acquiring the transmission signal of the Bluetooth module, the audio playback device can search for a transmission signal matching the transmission signal of the Bluetooth module from the mapping relationship table as the target transmission signal, and then search for a target noise signal corresponding to the transmission signal matching the target transmission signal based on the correspondence between the transmission signal and the target noise signal in the mapping relationship table. For example, when the transmission signal of the Bluetooth module is A1, the target noise signal can be determined to be B1.
[0084] In some implementations, the audio playback device includes a Bluetooth module, and the audio providing device includes a Bluetooth module. The audio playback device can transmit a Bluetooth signal to the Bluetooth module included in the audio providing device through the Bluetooth module included in the audio playback device, thereby realizing Bluetooth communication between the audio playback device and the audio providing device. In this embodiment, when the audio playback device transmits a Bluetooth signal to the audio providing device based on the Bluetooth module, the transmission frequency of the Bluetooth module can be monitored.
[0085] According to the Bluetooth communication protocol, during the Bluetooth communication process, the Bluetooth module of the audio playback device communicates with the Bluetooth module of other Bluetooth devices (such as the audio providing device) at intervals. For example, when the audio playback device and the audio providing device are in a back-connected state, the audio playback device can transmit a Bluetooth signal at a certain transmission frequency, such as the audio providing device transmitting a Bluetooth signal at a transmission frequency of 1.25ms (Tx Slot is 0.625ms, Rx Slot is 0.625ms). Therefore, in this embodiment, it can be considered that the audio playback device will generate a target noise signal at each interval of the transmission frequency, and the target noise signal can be obtained at the transmission frequency.
[0086] In some embodiments, since the audio playback device is in the Bluetooth back-connected state, it is necessary to first transmit a Bluetooth signal and then receive a signal fed back by the audio providing device. The time for transmitting the Bluetooth signal is recorded as Tx Slot, and the time for receiving the signal is recorded as Rx Slot. The time of Tx Slot can be 0.625ms, and the time of Rx Slot can be 0.625ms. The period of TxSlot+Rx Slot is 1.25ms. That is to say, the audio playback device transmits the Bluetooth signal at a transmission frequency of 1.25ms. Then 1.25ms can be recorded as the transmission frequency, and the target noise signal can be obtained according to the transmission frequency.
[0087] See also Fig. 9 , Fig. 9 FIG. 1 is a schematic diagram showing the current variation of the audio playback device provided by the embodiment of the present application during communication. Fig. 9 As shown, when the audio playback device transmits a Bluetooth signal, the current drawn from the power module increases at regular intervals, and the time interval between each two adjacent current increases is basically the same. This time interval can be regarded as the transmission frequency. Therefore, the target noise signal can be obtained according to the transmission frequency.
[0088] Step S330: Generate an anti-phase signal according to the target noise signal, wherein the waveform phases of the target noise signal and the anti-phase signal are opposite.
[0089] Step S340: playing the inverted signal.
[0090] Another embodiment of the present application provides a noise reduction method for an audio playback device. When a Bluetooth signal is transmitted based on a Bluetooth module, the transmission signal of the Bluetooth module is monitored, a target noise signal is obtained based on the transmission signal, and an anti-phase signal is generated according to the target noise signal, wherein the waveform phase of the target noise signal is opposite to that of the anti-phase signal, and the anti-phase signal is played. Figure 3 The noise reduction method for the audio playback device shown in the figure, this embodiment also obtains the target noise signal by monitoring the transmission signal of the Bluetooth module to improve the efficiency and convenience of obtaining the noise signal.
[0091] See also Fig.10 , Fig.10 A schematic diagram of a noise reduction method for an audio playback device provided by another embodiment of the present application is shown. The method is applied to the above-mentioned audio playback device. Fig.10 The process shown is described in detail, and the noise reduction method of the audio playback device may specifically include the following steps:
[0092] Step S410: Acquire a target noise signal of an audio playback device, wherein the target noise signal is caused by the audio playback device performing Bluetooth communication.
[0093] Step S420: Generate an anti-phase signal according to the target noise signal, wherein the waveform phases of the target noise signal and the anti-phase signal are opposite.
[0094] Step S430: playing the inverted signal.
[0095] For the detailed description of step S410 to step S430 , please refer to step S110 to step S130 , which will not be repeated here.
[0096] Step S440: When the anti-phase signal fails to cancel the target noise signal, a prompt tone is played, wherein the prompt tone is used to cover the target noise signal.
[0097] In some embodiments, after playing the inverted signal, it can be detected whether the audio signal output by the audio playback device also includes the target noise signal. When the detection result indicates that the audio signal output by the audio playback device still includes the target noise signal, it indicates that the inverted signal has not offset the target noise signal. In this case, a prompt tone can be played to cover the target noise signal by the prompt tone so that the user cannot hear the noise problem. When the detection result indicates that the audio signal output by the audio playback device does not include the target noise signal, it indicates that the inverted signal offsets the target noise signal. In this case, the prompt tone may not be played.
[0098] Another embodiment of the present application provides a noise reduction method for an audio playback device, which obtains a target noise signal of the audio playback device, wherein the target noise signal is caused by Bluetooth communication of the audio playback device, generates an anti-phase signal according to the target noise signal, wherein the waveform phase of the target noise signal is opposite to that of the anti-phase signal, plays the anti-phase signal, and when the anti-phase signal does not cancel the target noise signal, plays a prompt tone for covering the target noise signal. Figure 3 The noise reduction method for the audio playback device shown in the figure, in this embodiment, plays a prompt sound to cover the target noise signal when the inverted signal fails to offset the target noise signal, so as to enhance the noise reduction effect of the audio playback device.
[0099] See also Fig.11 , Fig.11 A flowchart of a noise reduction method for an audio playback device provided by yet another embodiment of the present application is shown. The method is applied to the above-mentioned audio playback device. In this embodiment, the audio playback device is a Bluetooth headset. Fig.11 The process shown is described in detail, and the noise reduction method of the audio playback device may specifically include the following steps:
[0100] Step S510: Acquire a target noise signal of an audio playback device, wherein the target noise signal is caused by the audio playback device performing Bluetooth communication.
[0101] Step S520: Generate an anti-phase signal according to the target noise signal, wherein the waveform phases of the target noise signal and the anti-phase signal are opposite.
[0102] For the detailed description of step S510 to step S520, please refer to step S110 to step S120, which will not be repeated here.
[0103] Step S530: Detect the wearing status of the Bluetooth headset.
[0104] In this embodiment, the audio playback device is a Bluetooth headset, and the Bluetooth headset may include a first Bluetooth headset and a second Bluetooth headset.
[0105] In some embodiments, it is possible to detect whether the first Bluetooth headset is in a wearing state and whether the second Bluetooth headset is in a wearing state. Among them, it is possible to determine whether the first Bluetooth headset is in a wearing state by detecting whether the first Bluetooth headset is placed on the user's ear. It is understandable that when the first Bluetooth headset is placed on the user's ear, it is determined that the first Bluetooth headset is in a wearing state, and when the first Bluetooth headset is not placed on the user's ear, it is determined that the first Bluetooth headset is in a non-wearing state. Similarly, it is possible to determine whether the second Bluetooth headset is in a wearing state by detecting whether the second Bluetooth headset is placed on the user's ear. It is understandable that when the second Bluetooth headset is placed on the user's ear, it is determined that the second Bluetooth headset is in a wearing state, and when the second Bluetooth headset is not placed on the user's ear, it is determined that the second Bluetooth headset is in a non-wearing state.
[0106] For example, when the first Bluetooth headset and the second Bluetooth headset are both in a wearing state, it may include the first Bluetooth headset being worn on the user's left ear and the second Bluetooth headset being worn on the user's right ear, or the first Bluetooth headset being worn on the user's right ear and the first Bluetooth headset being worn on the user's left ear; when only one of the first Bluetooth headset and the second Bluetooth headset is in a wearing state, it may include the first Bluetooth headset being worn on the user's left ear and the second Bluetooth headset being in a non-wearing state, the first Bluetooth headset being worn on the user's right ear and the second Bluetooth headset being in a non-wearing state, the second Bluetooth headset being worn on the user's right ear and the first Bluetooth headset being in a non-wearing state, and the second Bluetooth headset being worn on the user's left ear and the first Bluetooth headset being in a non-wearing state; when both the first Bluetooth headset and the second Bluetooth headset are in a non-wearing state, it indicates that the first Bluetooth headset and the second Bluetooth headset are not placed on the user's ears, which will not be repeated here.
[0107] As one approach, a first Bluetooth headset may include a first headset body and a first contact sensor disposed on the first headset body, wherein the first contact sensor may be disposed on the outer surface of the first headset body, and when the first Bluetooth headset is placed on the user's ear, the first contact sensor contacts the user's ear to generate a first contact signal, and therefore, it may be determined whether the first Bluetooth headset is placed on the user's ear by a first contact parameter detected by the first contact sensor, wherein the first contact parameter may include a contact area and / or a contact point.
[0108] As one approach, the second Bluetooth headset includes a second earphone body and a second contact sensor disposed on the second earphone body, wherein the second contact sensor can be disposed on the outer surface of the second earphone body. When the second Bluetooth headset is placed on the user's ear, the second contact sensor contacts the user's ear to generate a second contact signal. Therefore, it is possible to determine whether the second Bluetooth headset is placed on the user's ear through a second contact parameter detected by the second contact sensor, wherein the second contact parameter can also include a contact area and / or a contact point.
[0109] As another way, the posture data of the first Bluetooth headset can be detected, and the posture data of the second Bluetooth headset can be detected. Specifically, the first Bluetooth headset can also include a first acceleration sensor and / or a first gyroscope, which are arranged in the first headset body and are used to detect the posture data of the first Bluetooth headset. Similarly, the second Bluetooth headset can also include a second acceleration sensor and / or a second gyroscope, which are arranged in the second headset body and are used to detect the posture data of the second Bluetooth headset and transmit the detected posture data.
[0110] As a method, the electronic device pre-stores the posture data of the Bluetooth headset when it is placed on the user's ear, wherein the posture data is configured as preset posture data, which is used as a basis for judging the posture data of the first Bluetooth headset and the posture data of the second Bluetooth headset detected. It can be understood that after detecting the first posture data of the first Bluetooth headset, the first posture data is compared with the preset posture data to determine whether the first posture data is consistent with the preset posture data or is within the error range allowed by the preset posture data. When the first posture data is consistent with the preset posture data or is within the error range allowed by the preset posture data, it can be determined that the posture data of the first Bluetooth headset meets the preset posture data, and it is determined that the first Bluetooth headset is in a wearing state. When the first posture data is inconsistent with the preset posture data or is outside the error range allowed by the preset posture data, it can be determined that the posture data of the first Bluetooth headset does not meet the preset posture data, and it is determined that the first Bluetooth headset is in a non-wearing state.
[0111] Similarly, after detecting the second posture data of the second Bluetooth headset, the second posture data is compared with the preset posture data to determine whether the second posture data is consistent with the preset posture data or is within the error range allowed by the preset posture data. When the second posture data is consistent with the preset posture data or is within the error range allowed by the preset posture data, it can be determined that the posture data of the second Bluetooth headset meets the preset posture data, and it is determined that the second Bluetooth headset is in a wearing state. When the second posture data is inconsistent with the preset posture data or is outside the error range allowed by the preset posture data, it can be determined that the posture data of the second Bluetooth headset does not meet the preset posture data, and it is determined that the second Bluetooth headset is in a non-wearing state.
[0112] Step S540: When the Bluetooth headset is in a wearing state, the anti-phase signal is played.
[0113] In this embodiment, when it is detected that the Bluetooth headset is in a worn state, it can be determined that the Bluetooth headset is in use, and an inverted signal can be played to offset the target noise signal, thereby improving the user experience. When it is detected that the Bluetooth headset is not worn, it can be determined that the Bluetooth headset is not in use, and the inverted signal may not be played, thereby reducing the power consumption of the electronic device.
[0114] In some embodiments, when the Bluetooth headset is in a worn state, it is possible to detect whether the Bluetooth headset is performing audio output. For example, it is possible to detect whether the Bluetooth headset is outputting songs, voice, or audio clips, etc. When it is detected that the Bluetooth headset is performing audio output, it can be considered that the audio output by the Bluetooth headset can cover or weaken the target noise signal, and the reverse signal may not be played. When it is detected that the Bluetooth headset is not outputting audio, it can be considered that the target noise signal has a greater impact, and an inverted signal may be played to offset the target noise signal.
[0115] In some embodiments, when it is detected that the first Bluetooth headset is in a worn state and the second Bluetooth headset is in a worn state, both the first Bluetooth headset and the second Bluetooth headset play an inverted signal; when it is detected that the first Bluetooth headset is in a worn state and the second Bluetooth headset is in a non-worn state, the first Bluetooth headset plays an inverted signal and the second Bluetooth headset does not play an inverted signal; when it is detected that the first Bluetooth headset is in a non-worn state and the second Bluetooth headset is in a worn state, the first Bluetooth headset does not play an inverted signal and the second Bluetooth headset plays an inverted signal; when it is detected that the first Bluetooth headset is in a non-worn state and the second Bluetooth headset is in a non-worn state, both the first Bluetooth headset and the second Bluetooth headset do not play an inverted signal.
[0116] Another embodiment of the present application provides a noise reduction method for an audio playback device, which obtains a target noise signal of the audio playback device, wherein the target noise signal is caused by the audio playback device performing Bluetooth communication, generates an anti-phase signal according to the target noise signal, wherein the waveform phase of the target noise signal is opposite to that of the anti-phase signal, detects the wearing state of a Bluetooth headset, and plays the anti-phase signal when the Bluetooth headset is in the wearing state. Figure 3 The noise reduction method for the audio playback device shown in the figure, this embodiment also performs noise reduction processing on the target noise signal of the Bluetooth headset when the Bluetooth headset is in a wearing state, so as to reduce the power consumption of the Bluetooth headset.
[0117] See also Fig.12 , Fig.12 A schematic diagram of a noise reduction method for an audio playback device provided in another embodiment of the present application is shown. The method is applied to the above-mentioned audio playback device. In this embodiment, the audio playback device is a Bluetooth headset. Fig.12 The process shown is described in detail, and the noise reduction method of the audio playback device may specifically include the following steps:
[0118] Step S610: Collect multiple noise signals.
[0119] In some implementations, the audio playback device may collect noise signals without any conditional restrictions, that is, the audio playback device may simultaneously collect target noise signals generated based on Bluetooth communication and ambient noise signals of the surrounding environment, thereby collecting and obtaining multiple noise signals.
[0120] Step S620: Acquire a noise signal belonging to a target frequency from the multiple noise signals as the target noise signal.
[0121] Among them, based on the different characteristics of the frequencies of the target noise signal generated by the transmission of the environmental noise signal and the Bluetooth signal, the present embodiment can pre-set and store a target frequency corresponding to the target noise signal generated by the Bluetooth communication, and the target frequency is used as a basis for judging the collected multiple noise signals. Therefore, in the present embodiment, after collecting and obtaining multiple noise signals, the frequency of each noise signal in the multiple noise signals can be compared with the target frequency to determine whether the frequency of each noise signal matches the target frequency. According to the judgment result, the noise signal belonging to the target frequency can be obtained from the multiple noise signals as the target noise signal.
[0122] Step S630: Generate an anti-phase signal according to the target noise signal, wherein the waveform phases of the target noise signal and the anti-phase signal are opposite.
[0123] Step S640: Play the inverted signal.
[0124] For the detailed description of step S630 to step S640, please refer to step S120 to step S130, which will not be repeated here.
[0125] Another embodiment of the present application provides a noise reduction method for an audio playback device, which collects multiple noise signals, obtains a noise signal belonging to a target frequency from the multiple noise signals as a target noise signal, generates an anti-phase signal according to the target noise signal, wherein the waveform phase of the target noise signal is opposite to that of the anti-phase signal, and plays the anti-phase signal. Figure 3 The noise reduction method for the audio playback device shown in the figure, this embodiment also screens the collected multiple noise signals according to the frequency to obtain the target noise signal generated based on the Bluetooth communication, and performs noise reduction processing in a targeted manner.
[0126] See also Fig.13 , Fig.13 A flow chart of a noise reduction method for an audio playback device provided by yet another embodiment of the present application is shown. The noise reduction method for an audio playback device is used to reduce the impact of a target noise signal by playing an anti-phase signal with a waveform phase opposite to that of a noise signal of a target frequency, and to achieve a small volume design of the audio playback device, thereby improving the user experience. In a specific embodiment, the noise reduction method for an audio playback device is applied to Fig.16 The noise reduction device 400 for an audio playback device and the electronic device 100 ( Figure 2 ). The following will take an audio playback device as an example to illustrate the specific process of this embodiment. Of course, it can be understood that the electronic device used in this embodiment can be an audio playback device based on Bluetooth communication technology such as a Bluetooth headset and a Bluetooth speaker, which is not limited here. Fig.13 The process shown is described in detail, and the noise reduction method of the audio playback device may specifically include the following steps:
[0127] Step S710: Acquire a noise signal of a target frequency, wherein the target frequency is the same as the frequency of the current sound signal caused by the Bluetooth communication of the audio playback device or the frequency difference is within a preset range.
[0128] Among them, when the Bluetooth function of the audio playback device is turned on, the audio playback device may cause the battery and / or inductor to generate an equivalent electric field due to the transmission of the Bluetooth signal, thereby interfering with the devices of the audio playback device, such as sensitive devices such as speakers, thereby generating a current sound signal. At this time, the electronic device generates a noise signal accordingly, wherein the frequency of the generated noise signal is recorded as the target frequency, then, the target frequency is the same as the frequency of the current sound signal, or the frequency difference between the target frequency and the current sound signal is within a preset range. For example, the target frequency is 800HZ or a harmonic of 800HZ. Therefore, in this embodiment, in order to perform noise reduction processing on the generated noise signal, a noise signal of the target frequency can be obtained, for example, a noise signal of a frequency of 800HZ or a harmonic of 800HZ can be obtained.
[0129] It can be understood that the audio playback device has the ability to collect noise signals of the target frequency. The audio playback device may cause the battery and / or inductor to generate an equivalent electric field due to the transmission of Bluetooth signals, thereby interfering with the devices of the audio playback device, such as sensitive devices such as speakers, thereby generating a current acoustic signal. The frequency of the current acoustic signal generated in this case is different from that of ordinary environmental noise. For this reason, the characteristics of the noise signal to be collected, such as the frequency characteristics, can be determined based on the frequency and other characteristics of the above-mentioned current acoustic signal, and then the noise signal can be collected based on the above-mentioned characteristics, and the purpose of reducing or eliminating the current acoustic signal can be achieved by using a reverse signal, such as playing an inverted signal.
[0130] Therefore, in this embodiment, the audio playback device can use the target frequency as a basis for determining the sound collected in the environment in which it is located. As a method, when collecting noise signals through a microphone, the audio playback device can collect noise signals that match the target frequency, so that the obtained noise signals include noise signals of the target frequency.
[0131] Step S720: Generate an anti-phase signal according to the noise signal of the target frequency, wherein the waveform phases of the noise signal of the target frequency and the anti-phase signal are opposite.
[0132] In this embodiment, after acquiring the noise signal of the target frequency, an anti-phase signal can be generated according to the noise signal of the target frequency, wherein the generated anti-phase signal has a waveform phase opposite to that of the noise signal of the target frequency. In some embodiments, after acquiring the noise signal of the target frequency, the spectrum of the noise signal of the target frequency can be calculated, and an anti-phase signal with an opposite phase and the same amplitude can be generated based on the spectrum of the noise signal of the target frequency.
[0133] Step S730: Play the inverted signal.
[0134] In this embodiment, after the inverted signal is obtained, the inverted signal can be played, wherein, since the waveform phases of the inverted signal and the noise signal of the target frequency are opposite, playing the inverted signal can offset the noise signal of the target frequency, thereby reducing the influence of the noise signal of the target frequency. In addition, since the noise signal of the target frequency is offset by the inverted signal in this embodiment, the spacing between electronic components does not need to be increased, and a small volume design of the audio playback device can be achieved.
[0135] Yet another embodiment of the present application provides a noise reduction method for an audio playback device, which obtains a noise signal of a target frequency, wherein the target frequency is the same as the frequency of a current acoustic signal caused by Bluetooth communication of the audio playback device or the frequency difference is within a preset range, generates an anti-phase signal according to the noise signal of the target frequency, wherein the waveform phase of the noise signal of the target frequency is opposite to that of the anti-phase signal, and plays the anti-phase signal, thereby reducing the influence of the target noise signal by playing the anti-phase signal with the opposite waveform phase to the noise signal of the target frequency, and realizing a small-volume design of the audio playback device, thereby improving the user experience.
[0136] See also Fig.14 , Fig.14 A schematic diagram of a flow chart of an audio playback device provided by yet another embodiment of the present application is shown. The method is applied to the above-mentioned audio playback device. Fig.14 The process shown is described in detail, and the noise reduction method of the audio playback device may specifically include the following steps:
[0137] Step S810: During part or all of the Bluetooth communication process, a noise signal of the target frequency is obtained, wherein the target frequency is the same as the frequency of the current sound signal caused by the Bluetooth communication of the audio playback device or the frequency difference is within a preset range.
[0138] In some implementations, since the audio playback device may generate an electric current sound of a specific frequency during part or all of the Bluetooth communication process, that is, the audio playback device may generate a noise signal of a target frequency during part or all of the Bluetooth communication process. Therefore, in this embodiment, the noise signal of the target frequency may be obtained during part or all of the Bluetooth communication process, and the noise signal of the target frequency may be subjected to noise reduction processing to improve the noise reduction processing effect.
[0139] In some implementations, the current sound of the audio playback device is more prominent during the process of establishing the Bluetooth connection, that is, the noise signal of the target frequency generated by the audio playback device is more obvious during part or all of the process of establishing the Bluetooth connection. Therefore, in this embodiment, during part or all of the process of establishing the Bluetooth connection, the noise signal of the target frequency is obtained, and the noise signal of the target frequency is subjected to noise reduction processing to improve the noise reduction processing effect.
[0140] In some embodiments, the fluctuation of the power supply output current will increase when in the paging or query state, which may cause the electronic devices such as batteries and inductors to generate a large electromagnetic field, thereby interfering with the current sound and other noises of sensitive devices such as speakers, that is, in part or all of the Bluetooth paging or Bluetooth query process, the noise signal of the target frequency generated by the audio playback device is more obvious. Therefore, in this embodiment, in part or all of the Bluetooth paging or Bluetooth query process, the noise signal of the target frequency is obtained, and the noise signal of the target frequency is subjected to noise reduction processing to improve the noise reduction processing effect.
[0141] In some embodiments, when the audio player device transmits a Bluetooth signal, the power consumption of the entire system of the audio player device will be very large, so the current drawn from the power module will also be relatively large. Then, when the current is large, the electromagnetic field flowing through the coil of the audio module (such as a speaker) will also be relatively large, that is, the noise signal is relatively large, that is, in part or all of the process of the audio player device transmitting the Bluetooth signal, the noise signal of the target frequency generated by the audio player device is more obvious. Therefore, in this embodiment, in part or all of the process of the audio player device transmitting the Bluetooth signal, the noise signal of the target frequency is obtained, and the noise signal of the target frequency is subjected to noise reduction processing to improve the noise reduction processing effect.
[0142] Step S820: Generate an anti-phase signal according to the noise signal of the target frequency, wherein the waveform phases of the noise signal of the target frequency and the anti-phase signal are opposite.
[0143] Step S830: Play the inverted signal.
[0144] For the detailed description of step S820 to step S830, please refer to step S720 to step S730, which will not be repeated here.
[0145] Yet another embodiment of the present application provides a method for reducing noise in an audio playback device. In a partial or complete Bluetooth communication process, a noise signal of a target frequency is obtained, wherein the target frequency is the same as the frequency of the current acoustic signal caused by the Bluetooth communication of the audio playback device or the frequency difference is within a preset range, and an anti-phase signal is generated according to the noise signal of the target frequency, wherein the waveform phase of the noise signal of the target frequency is opposite to that of the anti-phase signal, and the anti-phase signal is played. Compared to Fig.10 The noise reduction method for the audio playback device shown in the figure, this embodiment also obtains a noise signal of a target frequency during part or all of the Bluetooth communication process, and plays an anti-phase signal with a waveform phase opposite to that of the noise signal of the target frequency, so as to reduce the influence of the target noise signal and improve the noise reduction processing effect.
[0146] See also Fig.15 , Fig.15 The module block diagram of the noise reduction device for an audio player provided by an embodiment of the present application is shown. The noise reduction device 300 for the audio player is applied to the above-mentioned audio player. Fig.15 The block diagram shown in FIG. 1 is used to illustrate that the noise reduction device 300 of the audio playback device includes: a target noise signal acquisition module 310, an inverted signal generation module 320 and an inverted signal playback module 330, wherein:
[0147] The target noise signal acquisition module 310 is used to acquire a target noise signal of the audio playback device, wherein the target noise signal is caused by the audio playback device performing Bluetooth communication.
[0148] Furthermore, the target noise signal acquisition module 310 includes: a first target noise signal acquisition submodule, wherein:
[0149] The first target noise signal acquisition submodule is used to acquire the target noise signal during a part or all of the Bluetooth communication process.
[0150] Furthermore, the first target noise signal acquisition submodule includes: a current acoustic signal acquisition unit and a first target noise signal acquisition unit, wherein:
[0151] The current acoustic signal acquisition unit is used to acquire the current acoustic signal during part or all of the Bluetooth communication process.
[0152] Furthermore, the audio playback device includes a power module and an audio module, and the current sound signal acquisition unit includes: a current sound signal acquisition subunit, wherein:
[0153] The current sound signal acquisition subunit is used to acquire the current sound signal generated by the audio module based on the current change of the power module during part or all of the Bluetooth communication process.
[0154] The first target noise signal acquisition unit is configured to determine the current acoustic signal as the target noise signal.
[0155] Furthermore, the audio playback device includes a Bluetooth module, and the target noise signal acquisition module 310 includes: a transmission signal monitoring submodule and a second target noise signal acquisition submodule, wherein:
[0156] The transmission signal monitoring submodule is used to monitor the transmission signal of the Bluetooth module when the Bluetooth signal is transmitted based on the Bluetooth module.
[0157] The second target noise signal acquisition submodule is configured to acquire the target noise signal based on the transmit signal.
[0158] Further, the transmission signal includes a transmission frequency, and the second target noise signal acquisition submodule includes: a second target noise signal acquisition unit, wherein:
[0159] The second target noise signal acquisition unit is used to acquire the target noise signal according to the transmission frequency.
[0160] Furthermore, the target noise signal acquisition module 310 includes: a noise signal acquisition submodule and a third target noise signal acquisition submodule, wherein:
[0161] The noise signal acquisition submodule is used to acquire multiple noise signals.
[0162] The third target noise signal acquisition submodule is used to acquire a noise signal belonging to a target frequency from the multiple noise signals as the target noise signal
[0163] The anti-phase signal generating module 320 is configured to generate an anti-phase signal according to the target noise signal, wherein the waveform phases of the target noise signal and the anti-phase signal are opposite.
[0164] The inverse phase signal playing module 330 is used to play the inverse phase signal.
[0165] Furthermore, the reverse phase signal playing module 330 includes: a wearing state detection submodule and a reverse phase signal playing submodule, wherein:
[0166] The wearing status detection submodule is used to detect the wearing status of the Bluetooth headset.
[0167] The inverted signal playing submodule is used to play the inverted signal when the Bluetooth headset is in a wearing state.
[0168] Furthermore, the reverse phase signal playing submodule comprises: a reverse phase signal playing unit, wherein:
[0169] The inverted signal playing unit is used to play the inverted signal when the Bluetooth headset is in a worn and muted state.
[0170] Furthermore, the noise reduction device 300 of the audio playback device further includes: a prompt sound playback module, wherein:
[0171] A prompt sound playing module is used to play a prompt sound when the anti-phase signal fails to offset the target noise signal, wherein the prompt sound is used to cover the target noise signal.
[0172] See also Fig.16 , Fig.16 A block diagram of a noise reduction device for an audio player provided by another embodiment of the present application is shown. The noise reduction device 400 for an audio player is applied to the above-mentioned audio player. Fig.16 The block diagram shown in FIG. 4 is used to illustrate that the noise reduction device 400 of the audio playback device includes: a noise signal acquisition module 410, an inverted signal generation module 420 and an inverted signal playback module 430, wherein:
[0173] The noise signal acquisition module 410 is used to acquire a noise signal of a target frequency, wherein the target frequency is the same as the frequency of the current sound signal caused by the Bluetooth communication of the audio playback device or the frequency difference is within a preset range.
[0174] Furthermore, the noise signal acquisition module 410 includes: a noise signal acquisition submodule, wherein:
[0175] The noise signal acquisition submodule is used to acquire the noise signal of the target frequency during part or all of the Bluetooth communication process.
[0176] The anti-phase signal generating module 420 is configured to generate an anti-phase signal according to the noise signal of the target frequency, wherein the waveform phases of the noise signal of the target frequency and the anti-phase signal are opposite.
[0177] The inverted signal playing module 430 is used to play the inverted signal
[0178] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and modules can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.
[0179] In several embodiments provided in the present application, the coupling between modules may be electrical, mechanical or other forms of coupling.
[0180] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules.
[0181] See also Fig.17 , which shows a structural block diagram of a computer-readable storage medium provided in an embodiment of the present application. The computer-readable medium 500 stores program codes, which can be called by a processor to execute the method described in the above method embodiment.
[0182] The computer-readable storage medium 500 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer-readable storage medium 500 includes a non-transitory computer-readable storage medium. The computer-readable storage medium 500 has storage space for program code 510 that performs any method steps in the above method. These program codes can be read from or written to one or more computer program products. The program code 510 can be compressed, for example, in an appropriate form.
[0183] In summary, the noise reduction method, device, electronic device and storage medium for an audio playback device provided in the embodiments of the present application obtain a target noise signal of the audio playback device, wherein the target noise signal is caused by Bluetooth communication of the audio playback device, and an anti-phase signal is generated according to the target noise signal, wherein the waveform phase of the target noise signal is opposite to that of the anti-phase signal, and the anti-phase signal is played, thereby reducing the influence of the target noise signal by playing the anti-phase signal with the opposite waveform phase to the target noise signal of the audio playback device, and realizing a small volume design of the audio playback device, thereby improving the user experience.
[0184] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A noise reduction method for an audio playback device, characterized in that: Applied to an audio playback device, the method comprises: During part or all of the Bluetooth communication process, obtaining the current sound signal generated by the audio playback device; Determine the current acoustic signal as a target noise signal, wherein the target noise signal is a current acoustic signal generated by an increase in fluctuation of a power supply output current caused by Bluetooth communication of the audio playback device; Generating an anti-phase signal according to the target noise signal, wherein the waveform phases of the target noise signal and the anti-phase signal are opposite; The inverted signal is played.
2. The method according to claim 1, characterized in that The part or all of the process of Bluetooth communication includes: the part or all of the process of establishing Bluetooth connection.
3. The method according to claim 1, characterized in that The part or all of the Bluetooth communication process includes: the process in which the audio playback device transmits a Bluetooth signal.
4. The method according to claim 1, characterized in that: The part or the whole process of Bluetooth communication includes: the part or the whole process of Bluetooth paging or Bluetooth query.
5. The method according to claim 1, characterized in that The audio playback device includes a power module and an audio module. The current sound signal is obtained during part or all of the Bluetooth communication process, including: During part or all of the Bluetooth communication process, a current sound signal generated by the audio module based on the current change of the power module is obtained.
6. The method according to claim 1, characterized in that The audio playback device includes a Bluetooth module, and obtaining a target noise signal of the audio playback device includes: When a Bluetooth signal is transmitted based on the Bluetooth module, monitoring the transmission signal of the Bluetooth module; Based on the transmit signal, the target noise signal is acquired.
7. The method according to claim 6, characterized in that The transmission signal includes a transmission frequency, and acquiring the target noise signal based on the transmission signal includes: The target noise signal is acquired according to the transmitting frequency.
8. The method according to claim 1, characterized in that: After playing the inverted signal, the method further includes: When the anti-phase signal fails to cancel the target noise signal, a prompt tone is played, wherein the prompt tone is used to cover the target noise signal.
9. The method according to any one of claims 1 to 8, characterized in that: When the audio playback device is a Bluetooth headset, playing the inverted signal includes: Detecting the wearing status of the Bluetooth headset; When the Bluetooth headset is in a wearing state, the anti-phase signal is played.
10. The method according to claim 9, characterized in that When the Bluetooth headset is in a wearing state, obtaining the target noise signal includes: When the Bluetooth headset is in a wearing and muted state, the anti-phase signal is played.
11. The method according to any one of claims 1 to 8, characterized in that: The obtaining of the target noise signal of the audio playback device comprises: Collect multiple noise signals; A noise signal belonging to a target frequency is acquired from the multiple noise signals as the target noise signal.
12. A noise reduction method for an audio playback device, characterized in that: Applied to an audio playback device, the method comprises: During part or all of the Bluetooth communication process, obtaining the current sound signal generated by the audio playback device; Determine the current acoustic signal as a noise signal of a target frequency, wherein the target frequency is the same as the frequency of the current acoustic signal generated by the increase in fluctuation of the power output current caused by the Bluetooth communication of the audio playback device, or the frequency difference is within a preset range; Generate an anti-phase signal according to the noise signal of the target frequency, wherein the waveform phases of the noise signal of the target frequency and the anti-phase signal are opposite; The inverted signal is played.
13. The method according to claim 12, characterized in that The part or all of the process of Bluetooth communication includes: the part or all of the process of establishing Bluetooth connection.
14. The method according to claim 12, characterized in that The part or all of the Bluetooth communication process includes: the process in which the audio playback device transmits a Bluetooth signal.
15. The method according to claim 12, characterized in that The part or the whole process of Bluetooth communication includes: the part or the whole process of Bluetooth paging or Bluetooth query.
16. The method according to claim 12, characterized in that The target frequency is 800 Hz, or a harmonic of 800 Hz.
17. A noise reduction device for an audio playback device, characterized in that: Applied to an audio playback device, the device comprises: a target noise signal acquisition module, configured to acquire a current acoustic signal generated by the audio playback device during part or all of the Bluetooth communication process, and determine the current acoustic signal as the target noise signal, wherein the target noise signal is a current acoustic signal generated by an increase in fluctuation of a power supply output current caused by the Bluetooth communication of the audio playback device; an anti-phase signal generating module, configured to generate an anti-phase signal according to the target noise signal, wherein the waveform phases of the target noise signal and the anti-phase signal are opposite; The inverted signal playing module is used to play the inverted signal.
18. A noise reduction device for an audio playback device, characterized in that: Applied to an audio playback device, the device comprises: a noise signal acquisition module, used for acquiring the current acoustic signal generated by the audio playback device during part or all of the Bluetooth communication process, and determining the current acoustic signal as a noise signal of a target frequency, wherein the target frequency is the same as the frequency of the current acoustic signal generated by the increase in fluctuation of the power supply output current caused by the Bluetooth communication of the audio playback device, or the frequency difference is within a preset range; an anti-phase signal generating module, configured to generate an anti-phase signal according to the noise signal of the target frequency, wherein the waveform phases of the noise signal of the target frequency and the anti-phase signal are opposite; The inverted signal playing module is used to play the inverted signal.
19. An electronic device, characterized in that: The method comprises a memory and a processor, wherein the memory is coupled to the processor, and the memory stores instructions. When the instructions are executed by the processor, the processor performs the method according to any one of claims 1 to 11 or any one of claims 12 to 16.
20. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program codes, which can be called by a processor to execute the method according to any one of claims 1 to 11 or any one of claims 12 to 16.
Citation Information
Patent Citations
Bluetooth earphone hearing aid and anti-noise method and device
CN104521247B
Bluetooth earphone audio transmission structure
CN210579188U