WO2022252781A1 - Noise reduction control method, electronic device, and computer-readable storage apparatus - Google Patents

Noise reduction control method, electronic device, and computer-readable storage apparatus Download PDF

Info

Publication number
WO2022252781A1
WO2022252781A1 PCT/CN2022/083432 CN2022083432W WO2022252781A1 WO 2022252781 A1 WO2022252781 A1 WO 2022252781A1 CN 2022083432 W CN2022083432 W CN 2022083432W WO 2022252781 A1 WO2022252781 A1 WO 2022252781A1
Authority
WO
WIPO (PCT)
Prior art keywords
noise reduction
processed
frequency band
reduction amount
preset
Prior art date
Application number
PCT/CN2022/083432
Other languages
French (fr)
Chinese (zh)
Inventor
韩坤
廖昀
罗鹏
Original Assignee
安克创新科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 安克创新科技股份有限公司 filed Critical 安克创新科技股份有限公司
Publication of WO2022252781A1 publication Critical patent/WO2022252781A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1083Reduction of ambient noise
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2460/00Details of hearing devices, i.e. of ear- or headphones covered by H04R1/10 or H04R5/033 but not provided for in any of their subgroups, or of hearing aids covered by H04R25/00 but not provided for in any of its subgroups
    • H04R2460/01Hearing devices using active noise cancellation

Definitions

  • the present application relates to the technical field of noise reduction, and in particular to a noise reduction control method, electronic equipment, and a computer-readable storage device.
  • Headphones with ANC Active Noise Control, Active Noise Cancellation
  • ANC Active Noise Control, Active Noise Cancellation
  • the existing earphones with ANC function generally only have several fixed noise reduction modes and transparency modes, and the ambient noise is processed according to the fixed noise reduction modes and transparency modes, and cannot be flexibly adjusted.
  • the present application provides a noise reduction control method, an electronic device, and a computer-readable storage device, which can perform more flexible noise control processing on environmental noise.
  • the first technical solution adopted by this application is to provide a noise reduction control method, including: obtaining the environmental noise, which includes the frequency band to be processed; obtaining the preset noise reduction amount of the frequency band to be processed, and the preset noise reduction amount and the user Corresponding to the noise reduction requirements of the frequency band to be processed; comparing the preset noise reduction amount of the frequency band to be processed with the corresponding passive noise reduction amount to obtain a comparison result; generating the first control parameter according to the comparison result to achieve the preset Amount of noise reduction: sending the first control parameter to the earphone, so that the earphone performs noise control processing on the frequency band to be processed according to the first control parameter.
  • generating the first control parameter according to the comparison result includes: if the preset noise reduction amount of the frequency band to be processed is greater than the corresponding passive noise reduction amount, generating a first sub-control parameter for active noise reduction of the frequency band to be processed Noise processing for further noise reduction; if the preset noise reduction amount of the frequency band to be processed is less than the corresponding passive noise reduction amount, a second sub-control parameter is generated for passive noise reduction and elimination processing of the frequency band to be processed to eliminate passive noise reduction Amount of noise reduction.
  • generating the first sub-control parameter includes: calculating a first difference between the preset noise reduction amount of the frequency band to be processed and the corresponding passive noise reduction amount; generating the first sub-control parameter according to the first difference, Active noise reduction processing with the noise reduction amount used for the frequency band to be processed as the first difference; generating a second sub-control parameter, including: calculating the difference between the passive noise reduction amount of the frequency band to be processed and the corresponding preset noise reduction amount The second difference: generating a second sub-control parameter according to the second difference, so as to perform passive noise reduction and elimination processing with a cancellation amount of the second difference on the frequency band to be processed.
  • generating the first control parameter according to the comparison result includes: judging whether the frequency band to be processed is in the active noise reduction area; The first sub-control parameter is used to perform active noise reduction processing on the frequency band to be processed to further reduce noise; if the preset noise reduction amount of the frequency band to be processed is less than the corresponding passive noise reduction amount, a second sub-control parameter is generated to It is used to perform passive noise reduction and elimination processing on the frequency band to be processed to eliminate the passive noise reduction amount; if not, when the preset noise reduction amount of the frequency band to be processed is greater than the corresponding passive noise reduction amount, active noise reduction will not be performed on the frequency band to be processed Processing, when the preset noise reduction amount of the frequency band to be processed is smaller than the corresponding passive noise reduction amount, generate a second sub-control parameter for performing passive noise reduction and elimination processing on the frequency band to be processed, so as to eliminate the passive noise reduction amount.
  • comparing the preset noise reduction amount of the frequency band to be processed with the size of the corresponding passive noise reduction amount also includes: judging whether the frequency band to be processed is in the passive noise reduction area; The amount of noise reduction and the corresponding passive noise reduction amount; if not, generate a second control parameter according to the preset noise reduction amount, and send the second control parameter to the earphone, so that the amount of noise reduction for the frequency band to be processed by the earphone is Active noise reduction processing with preset noise reduction amounts.
  • obtaining the preset noise reduction amount of the frequency band to be processed includes: obtaining a user's instruction for setting the noise reduction amount of the frequency band to be processed, and generating the preset noise reduction amount.
  • the environmental noise includes a plurality of frequency bands to be processed; acquiring the environmental noise includes: picking up the environmental noise through its own microphone, or receiving the environmental noise picked up by the earphone.
  • the second technical solution adopted in this application is to provide an electronic device, including a display screen, a processor, a memory and a communication circuit, the display screen and the memory are coupled to the processor through the communication circuit, and the electronic device communicates with the earphone through the communication circuit; Computer instructions are stored in the memory; the processor executes the above noise reduction control method when running the computer instructions.
  • the third technical solution adopted by the present application is to provide a computer-readable storage device storing computer instructions that can be executed by a processor, and the computer instructions can implement the above noise reduction control method when executed by the processor.
  • the fourth technical solution adopted by the present application is to provide another noise reduction control method, including: receiving the first control parameter, the first control parameter is obtained by the electronic device after obtaining the environmental noise and the frequency band to be processed in the environmental noise The preset noise reduction amount, and compare the preset noise reduction amount of the frequency band to be processed with the corresponding passive noise reduction amount, get the comparison result, and generate according to the comparison result to achieve the preset noise reduction amount ; Perform noise control processing on the frequency band to be processed according to the first control parameter.
  • the electronic device obtains the comparison result by comparing the preset noise reduction amount of the frequency band to be processed with the corresponding passive noise reduction amount, so that the type of noise control processing required by the frequency band to be processed can be flexibly identified, such as Active noise reduction processing or passive noise reduction processing.
  • the electronic device further generates a first control parameter for achieving a preset noise reduction amount according to the comparison result, and sends the first control parameter to the earphone, and the earphone performs noise control processing on the frequency band to be processed according to the first control parameter.
  • the noise reduction control method is more flexible, more targeted, and more adaptable to different environmental noises.
  • Fig. 1 is a schematic flow chart of an embodiment of the noise reduction control method of the present application
  • Fig. 2 is a schematic diagram of the relationship between the passive noise reduction amount and the frequency in the passive noise reduction area
  • Fig. 3 is a schematic diagram of a data adjustment chart in an embodiment of S31 shown in Fig. 1;
  • Fig. 4 is another schematic diagram of the data adjustment chart in an embodiment of S31 shown in Fig. 1;
  • FIG. 5 is a schematic diagram of the relationship between the passive noise reduction area and the active noise reduction area and frequency.
  • FIG. 6 is a schematic diagram of the relationship between the active noise reduction amount and the frequency in the active noise reduction area
  • FIG. 7 is a schematic structural diagram of an embodiment of the electronic device of the present application.
  • FIG. 8 is a schematic flowchart of another embodiment of the noise reduction control method of the present application.
  • Fig. 9 is a schematic diagram of a noise reduction process of an embodiment of the earphone of the present application.
  • FIG. 10 is a schematic structural diagram of an embodiment of a computer-readable storage device of the present application.
  • FIG. 11 is another schematic flowchart of the noise reduction control method shown in FIG. 1 .
  • Electronic equipment as referred to in this application includes, but is not limited to, configured to be connected via a wireline connection (such as via a public switched telephone network (PSTN), digital subscriber line (DSL), digital cable, direct cable connection, and/or another a data connection/network) and/or via (for example, for a cellular network, a wireless local area network (WLAN), a digital television network such as a DVB-H network, a satellite network, an AM-FM broadcast transmitter, and/or another communication terminal
  • PSTN public switched telephone network
  • DSL digital subscriber line
  • WLAN wireless local area network
  • DVB-H digital television network
  • satellite network such as a satellite network
  • AM-FM broadcast transmitter AM-FM broadcast transmitter
  • first”, “second”, and “third” in this application are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance or implicitly specifying the quantity of indicated technical features. Thus, features defined as “first”, “second”, and “third” may explicitly or implicitly include at least one of these features.
  • “plurality” means at least two, such as two, three, etc., unless otherwise specifically defined. All directional indications (such as up, down, left, right, front, back%) in the embodiments of the present application are only used to explain the relative positional relationship between the various components in a certain posture (as shown in the drawings) , sports conditions, etc., if the specific posture changes, the directional indication also changes accordingly.
  • FIG. 1 is a schematic flowchart of an embodiment of a noise reduction control method of the present application.
  • the noise reduction control method described in this embodiment can be applied to electronic devices such as computers, smart watches, smart phones, and tablets, and may specifically include the following steps:
  • S10 Obtain ambient noise, which includes a frequency band to be processed.
  • electronic devices can pick up ambient noise.
  • the electronic device can pick up ambient noise through its own microphone.
  • the electronic device can also receive ambient noise picked up by the earphone.
  • the electronic device and the earphone can be connected through a wired connection or a wireless communication method such as Bluetooth, and the earphone picks up ambient noise and then sends it to the electronic device.
  • electronic devices can also pick up ambient noise picked up by other electronic devices.
  • the frequency of the environmental noise is usually in the range of 10-10000 Hz, which can be divided into multiple frequency bands to be processed.
  • the width of each frequency band to be processed can be different, and the environmental noise can be divided into 10-100Hz, 100-200Hz, 200-400Hz, 400-800Hz, 800-1000Hz, 1000-2000Hz, 2000-4000Hz, 4000-6000Hz , 6000-8000Hz, 8000-10000Hz and other 10 frequency bands to be processed.
  • the multiple frequency bands to be processed may be all frequency bands of the environmental noise, or may be part of the frequency bands in the environmental noise.
  • the widths of the frequency bands to be processed may also be the same, which is not limited in the present application, and those skilled in the art may select according to actual needs.
  • the environmental noise can also be divided into 6 frequency bands to be processed, or 8 frequency bands to be processed, or 12 frequency bands to be processed, or even more frequency bands to be processed. This application is not limited, and those skilled in the art You can choose according to actual needs.
  • S30 Obtain a preset noise reduction amount of the frequency band to be processed, where the preset noise reduction amount corresponds to the noise reduction requirement of the user for the frequency band to be processed.
  • the preset noise reduction amount of the frequency band to be processed can be set by the user, specifically as shown in the following steps included in S30:
  • S31 Obtain a user's instruction for setting a noise reduction amount of a frequency band to be processed, and generate a preset noise reduction amount.
  • the electronic device after the electronic device acquires the environmental noise, it can present a data adjustment chart corresponding to the environmental noise on the display interface of its display screen, so that the user can perform a noise reduction amount setting operation on the data adjustment chart.
  • the data adjustment graph can be similar to an EQ equalizer.
  • the electronic device can generate an original data adjustment chart according to the original volume of each frequency band to be processed in the environmental noise, as shown in FIG. 3 , which is a schematic diagram of the data adjustment chart in an implementation of S31 shown in FIG. 1 . Further, the user can perform a noise reduction amount setting operation based on the raw data adjustment chart, so that the electronic device generates a corresponding preset noise reduction amount. There are many ways to set the noise reduction amount:
  • the user can first select a frequency band to be processed with an original volume of 20dB on the display interface, and then set the volume of the frequency band to be processed to 10dB by sliding or clicking the display screen of the electronic device, as shown in Figure 4, Figure 4
  • Figure 4 It is another schematic diagram of the data adjustment chart in an embodiment of S31 shown in FIG. 1 .
  • the preset noise reduction amount of each frequency band to be processed can be any value freely set by the user, for example, if the original volume of a certain frequency band to be processed is 20dB, the preset noise reduction amount can be set to 0 Any value required by the user between -20dB, not limited to several fixed values of the inherent noise reduction mode or the transparency mode. Therefore, the noise reduction control method enables users to fully customize the preset noise reduction amount of the frequency band to be processed according to their own needs, which is conducive to improving the degree of freedom of the noise control.
  • the preset noise reduction amount of each frequency band to be processed can be set to different values.
  • the preset noise reduction amount of one of the frequency bands to be processed can be set to 10dB
  • the preset noise reduction amount of the other frequency band to be processed can be set to 10dB.
  • Set the noise reduction amount to 20dB, so that in a complex noise environment, the user can selectively receive or selectively shield the environmental noise of certain frequency bands to be processed, so as to meet the special needs of the user, not limited to only through Inherent noise reduction mode or transparent mode for noise control.
  • the noise reduction control method can flexibly meet different noise reduction requirements of users for various environmental noises.
  • the preset noise reduction amount of the frequency band to be processed can be automatically set by the electronic device.
  • an automatic setting button can be further displayed on the display interface of the electronic device. The user can click the automatic setting button, and the electronic device can automatically set the noise reduction amount of each frequency band to be processed according to the monitored environmental noise in response to the click operation. On this basis, it can further respond to the user's operation, and further adjust the amount of noise reduction automatically set to meet the specific needs of the user.
  • the preset noise reduction amount of the frequency band to be processed may also be sent by other electronic devices, or obtained from the cloud. After the electronic device receives the preset noise reduction amount, the user can also adjust the received preset noise reduction amount to form the final preset noise reduction amount. This application does not limit this, and those skilled in the art can choose according to actual needs.
  • the earphone may be an in-ear earphone, a headphone or a semi-in-ear earphone.
  • the earphone When the earphone is worn, due to its structure, material and other characteristics, it physically isolates the noise of some frequency bands, that is, it has a passive noise reduction function.
  • FIG. 2 is a schematic diagram of the relationship between the passive noise reduction amount and the frequency in the passive noise reduction area.
  • the passive noise reduction area may refer to the frequency range in which the passive noise reduction function of the earphone can work, which is determined by the characteristics of the earphone itself, which is not limited in this application. After the headset is manufactured, its passive noise reduction area is relatively stable when worn correctly. The passive noise reduction areas of different headphones may vary due to their respective characteristics.
  • the preset minimum frequency of the passive noise reduction zone may be 500 Hz
  • the preset maximum frequency may be 10000 Hz
  • the frequency range of the passive noise reduction zone may be between 500-10000 Hz. That is to say, in the frequency range of 10-500Hz, there is no passive noise reduction, or the passive noise reduction is 0, and in the frequency range of 500-10000Hz, there is passive noise reduction, or the passive noise reduction Greater than 0.
  • FIG. 11 is another schematic flowchart of the noise reduction control method shown in FIG. The following steps are implemented:
  • S40 may be implemented through the following steps:
  • the first threshold is a preset minimum frequency of the passive noise reduction area.
  • the preset minimum frequency in the passive noise reduction area may refer to the lowest frequency value at which the passive noise reduction function of the earphone can work, and is a performance parameter of the earphone itself.
  • the first threshold can be adjusted artificially.
  • the first threshold may be built into a client of the electronic device, such as a corresponding APP on a smart phone.
  • the frequency band to be processed is in a passive noise reduction region. Specifically, if the highest frequency value of the frequency band to be processed is greater than the first threshold, it indicates that the frequency band to be processed is at least partially within the passive noise reduction area. If the highest frequency value of the frequency band to be processed is less than or equal to the first threshold, the frequency band to be processed is not in the passive noise reduction area.
  • the frequency range of the passive noise reduction area can be between 500-10000 Hz.
  • the passive noise reduction amount of the passive noise reduction area can first gradually increase with the increase of the frequency, and then roughly Keep it at a constant value. For the sound of the same frequency, the amount of passive noise reduction is roughly a constant value.
  • the relationship between the passive noise reduction amount and frequency in the passive noise reduction area is determined by the characteristics of the earphone itself.
  • the above description of the relationship between the passive noise reduction amount and frequency in the passive noise reduction area is just an example, not Those skilled in the art can choose the limitations of the present application according to actual needs.
  • the earphone itself has its own passive noise reduction effect, such as the earmuffs and ear caps of the earphone. After wearing the earphone, it will play a certain passive noise reduction effect. Therefore, the earphone has a corresponding passive noise reduction amount in each frequency band.
  • the frequency band to be processed is in the passive noise reduction area, if the preset noise reduction amount of a certain frequency band to be processed is equal to the corresponding passive noise reduction amount, it means that the noise reduction requirement has been met, and no further noise control is required for the frequency band to be processed deal with.
  • the preset noise reduction amount of a frequency band to be processed is greater than the corresponding passive noise reduction amount, it means that pure passive noise reduction cannot meet the noise reduction requirements, and further active noise reduction processing is required for the frequency band to be processed. If the preset noise reduction amount of a frequency band to be processed is less than the corresponding passive noise reduction amount, it means that the frequency band to be processed is the sound that the user needs to hear, and passive noise reduction and elimination processing is required for the frequency band to be processed to eliminate the earphone noise.
  • the electronic device can directly generate a second control parameter according to the preset noise reduction amount, and send it to the earphone, so that the earphone can perform active noise reduction processing on the second frequency band to be processed according to the second control parameter, and the noise reduction amount is the preset noise reduction amount .
  • the noise reduction control method performs different noise control processing on the frequency band to be processed in the passive noise reduction area and the frequency band to be processed not in the passive noise reduction area, which is beneficial to improve the accuracy of noise reduction, so that the actual noise reduction amount and the expected Set the amount of noise reduction to match.
  • S70 Generate a first control parameter according to the comparison result, so as to achieve a preset noise reduction amount.
  • the first control parameter generated by the electronic device may be used to adjust related settings or parameters of the earphone, so that the earphone can perform noise control processing on the frequency band to be processed according to the first control parameter.
  • the corresponding first control parameter is generated according to the comparison result, which can target the frequency bands to be processed with different comparison results
  • Different noise control processes are carried out to make the noise reduction control more flexible, more targeted, and more adaptable to different environmental noises.
  • active noise reduction can be performed on one of the frequency bands to be processed, and passive noise reduction can be performed on the other frequency band to be processed, not limited to the inherent noise reduction mode or transparent mode, so that the active Noise reduction processing and passive noise reduction processing can coexist and cooperate with each other, breaking through the limitations of traditional fixed noise reduction mode or transparent mode, making noise reduction control more flexible.
  • S711 Calculate a first difference between the preset noise reduction amount of the frequency band to be processed and the corresponding passive noise reduction amount.
  • S712 Generate a first sub-control parameter according to the first difference, so as to perform active noise reduction processing with a noise reduction amount equal to the first difference for the frequency band to be processed.
  • the preset noise reduction amount of the frequency band to be processed is 20dB, and the corresponding passive noise reduction amount is 10dB, it means that pure passive noise reduction cannot meet the user's noise reduction needs, and further active noise reduction is required for the frequency band to be processed deal with.
  • the "active noise reduction processing” mentioned in this embodiment may refer to: the earphones use external and/or built-in microphones (that is, noise reduction technology of feedforward combined with feedback) to collect environmental noise, and the loudspeaker plays the same size and phase The opposite sound is used to offset the effect of environmental noise, so that users can avoid being disturbed by external sounds.
  • the electronic device may first calculate the first difference of 10dB between the preset noise reduction amount of the frequency band to be processed and the corresponding passive noise reduction amount, and then generate the first sub-control parameter according to the first difference of 10dB, and the headset then Active noise reduction processing with a noise reduction amount of the first difference may be further performed on the frequency band to be processed according to the first sub-control parameter, so as to satisfy the preset noise reduction amount.
  • S721 Calculate a second difference between the passive noise reduction amount of the frequency band to be processed and the corresponding preset noise reduction amount.
  • S722 Generate a second sub-control parameter according to the second difference, so as to perform passive noise reduction and elimination processing in which the cancellation amount is the second difference on the frequency band to be processed.
  • the preset noise reduction amount of the frequency band to be processed is 5dB, and the corresponding passive noise reduction amount is 10dB, it means that the inherent passive noise reduction function of the earphone has shielded the sound that the user wants to hear, and further Eliminates the amount of passive noise cancellation created by the headphones' inherent passive noise cancellation.
  • the "passive noise reduction and elimination processing" mentioned in this embodiment may refer to: the earphone uses an external microphone to collect ambient sound, and introduces it to the speaker for playback, so as to offset the passive noise reduction effect formed by wearing the earphone, so that the user can clearly Hear outside voices.
  • the electronic device may first calculate the second difference 5dB between the passive noise reduction amount of the frequency band to be processed and the corresponding preset noise reduction amount, and then generate the second sub-control parameter according to the second difference value 5dB, and the earphone then
  • the frequency band to be processed may be further processed according to the second sub-control parameter, and the passive noise reduction processing whose elimination amount is the second difference value may be performed, so as to satisfy the preset noise reduction amount.
  • this embodiment compares the preset noise reduction amount of the frequency band to be processed with the corresponding passive noise reduction Active noise reduction processing is performed on frequency bands whose preset noise reduction amount is greater than the corresponding passive noise reduction amount, and passive noise reduction is performed on frequency bands whose preset noise reduction amount is smaller than the corresponding passive noise reduction amount.
  • FIG. 5 is a diagram showing the relationship between the passive noise reduction area and the active noise reduction area and frequency.
  • FIG. 6 is a schematic diagram of the relationship between the active noise reduction amount and the frequency in the active noise reduction area.
  • the active noise reduction area may refer to the frequency range in which the active noise reduction function of the earphone can work, which is determined by the characteristics of the earphone itself, which is not limited in this application.
  • the preset minimum frequency of the active noise reduction zone can be 10Hz, and the preset maximum frequency can be 1000Hz. That is to say, the frequency range of the active noise reduction zone can be between 10-1000Hz. Ambient noise, which is not affected by active noise reduction processing.
  • the amount of active noise reduction can be changed according to the parameter settings of the earphones, as shown in Figure 6.
  • Figure 6 shows three curves, which respectively represent the earphones under different parameter settings. ANC amount vs. frequency.
  • some frequency ranges can be processed by active noise reduction technology, that is, the active noise reduction technology can cover.
  • the other part of the frequency range cannot be actively noise-cancelled by active noise-cancellation technology. In other words, there are overlapping frequency bands between the passive noise reduction area and the active noise reduction area.
  • S701 Determine whether the frequency band to be processed is in an active noise reduction area.
  • S701 may be implemented through the following steps:
  • the second threshold is a preset highest frequency of the active noise reduction area.
  • the preset maximum frequency in the active noise reduction area may refer to the highest frequency value at which the active noise reduction function of the earphone can work, which is a performance parameter of the earphone itself.
  • the second threshold can be adjusted artificially.
  • the second threshold can be built into a client of the electronic device, such as a corresponding APP on a smart phone.
  • the frequency band to be processed is in an active noise reduction region. Specifically, the frequency band to be processed is at least partially located in an active noise reduction area, and the active noise reduction processing can reduce noise on the frequency band to be processed. If the lowest frequency value of a frequency band to be processed is greater than or equal to the second threshold, it means that active noise processing cannot reduce noise for the frequency band to be processed, and the frequency band to be processed is not in the active noise reduction area.
  • step of generating the second sub-control parameter in S703 may be the same as or similar to the step of generating the second sub-control parameter in S72, and will not be repeated here.
  • S90 Send the first control parameter to the earphone, so that the earphone performs noise control processing on the frequency band to be processed according to the first control parameter.
  • the electronic device and the earphone can be connected through wired connection or wireless communication means such as bluetooth. Therefore, the electronic device can send the first control parameter to the earphone.
  • the earphone receives the first control parameter, and then performs noise control processing on the frequency band to be processed according to the first control parameter.
  • the electronic device obtains the comparison result by comparing the preset noise reduction amount of the frequency band to be processed with the corresponding passive noise reduction amount, so that the type of noise control processing required for the frequency band to be processed can be flexibly identified, such as active noise reduction processing or passive noise reduction Noise reduction processing.
  • the electronic device further generates a first control parameter for achieving a preset noise reduction amount according to the comparison result, and sends the first control parameter to the earphone, and the earphone performs noise control processing on the frequency band to be processed according to the first control parameter.
  • the noise reduction control method is more flexible, more targeted, and more adaptable to different environmental noises.
  • the noise reduction control method provided in this embodiment enables the noise isolation of the earphone to be freely adjusted within the full frequency band of 10-10000 Hz by establishing a composite debugging system of active noise reduction processing and passive noise reduction processing .
  • FIG. 7 is a schematic structural diagram of an embodiment of an electronic device of the present application.
  • the electronic device 100 may include a display screen 110 , a processor 120 , a memory 130 and a communication circuit 140 , the display screen 110 and the memory 130 are coupled to the processor 120 through the communication circuit 140 , and the electronic device 100 communicates with the earphone through the communication circuit 140 .
  • the memory 130 stores computer instructions
  • the processor 120 executes any one of the above noise reduction control methods when executing the computer instructions.
  • the processor 120 is used to operate the electronic device 100, and the processor 120 may also be called a CPU (Central Processing Unit, central processing unit).
  • the processor 120 may be an integrated circuit chip with signal processing capabilities.
  • the processor 120 can also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components .
  • the general purpose processor may be a microprocessor or the processor 120 may be any conventional processor or the like.
  • the communication circuit 140 may be an interface for the electronic device 100 to communicate with an earphone or other electronic devices, such as a transceiver.
  • Memory 130 may include random access memory (RAM), read only memory (ROM), flash memory, erasable programmable read only memory (EPROM), electrically erasable programmable read only memory (EEPROM), registers, hard disk, Removable disks, CD-ROMs, etc.
  • RAM random access memory
  • ROM read only memory
  • EPROM erasable programmable read only memory
  • EEPROM electrically erasable programmable read only memory
  • registers hard disk, Removable disks, CD-ROMs, etc.
  • Memory 130 may store program data, which may include, for example, a single instruction, or many instructions, and may be distributed over several different code segments, among different programs, and across multiple memories 130 .
  • the memory 130 may be coupled to the processor 120 such that the processor 120 can read and write information from/to the memory 130 . Of course, the memory 130 may be integrated into
  • FIG. 8 is a schematic flowchart of another embodiment of the noise reduction control method of the present application.
  • the noise reduction control method described in this embodiment can be applied to earphones, and may specifically include the following steps:
  • S210 Receive the first control parameter, the first control parameter is obtained by the electronic device after acquiring the environmental noise, the preset noise reduction amount of the frequency band to be processed in the environmental noise, and compare the preset noise reduction amount of the frequency band to be processed.
  • the noise reduction amount and the corresponding passive noise reduction amount are set, a comparison result is obtained, and the result generated according to the comparison result is used to achieve the preset noise reduction amount.
  • S220 Perform noise control processing on the frequency band to be processed according to the first control parameter.
  • the headset in this application may include a feedforward microphone, a feedback microphone, an active noise reduction filter, a passive noise reduction filter, a speaker, and a Bluetooth module.
  • the bluetooth module is used for receiving control parameters.
  • the control parameters may include a first control parameter (including a first sub-control parameter and a second sub-control parameter) and a second control parameter.
  • the active noise reduction filter may include a first noise reduction filter and a second noise reduction filter.
  • FIG. 9 is a schematic diagram of a noise reduction process of an embodiment of the earphone of the present application.
  • the Bluetooth module receives the first sub-control parameter from the electronic device, the first The noise reduction filter controls the input signal gain of the feedforward microphone according to the first sub-control parameter, and the second noise reduction filter controls the input signal gain of the feedback microphone according to the first sub-control parameter, so as to achieve the preset reduction for the frequency band to be processed. Active Noise Cancellation processing.
  • the Bluetooth module receives the second sub-control parameter from the electronic device, and the passive noise reduction
  • the noise filter controls the input signal gain of the feedforward microphone according to the second sub-control parameter, so as to perform passive noise reduction and elimination processing on the frequency band to be processed that can reach its preset noise reduction amount.
  • the Bluetooth module receives the second control parameter from the electronic device, and the first noise reduction filter controls the input signal gain of the feedforward microphone according to the second control parameter , the second noise reduction filter controls the input signal gain of the feedback microphone according to the second control parameter, so as to perform active noise reduction processing on the frequency band to be processed that can reach its preset noise reduction amount.
  • the Bluetooth module receives the second sub-control parameter from the electronic device, passive
  • the noise reduction filter controls the input signal gain of the feedforward microphone according to the second sub-control parameter, so as to perform passive noise reduction and elimination processing on the frequency band to be processed that can reach its preset noise reduction amount.
  • the disclosed noise reduction control method may be implemented in other ways.
  • the electronic device embodiments described above are only illustrative.
  • the division of modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined Or it can be integrated into another system, or some features can be ignored, or not implemented.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
  • a unit described as a separate component may or may not be physically separated, and a component displayed as a unit may or may not be a physical unit, that is, it may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
  • FIG. 10 is a schematic structural diagram of an embodiment of a computer-readable storage device of the present application. If the above-mentioned integrated unit is implemented in the form of a software function unit and sold or used as an independent product, it can be stored in a storage device with a storage function. in the computer readable storage device 200.
  • the technical solution of the present application is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a computer-readable In the storage device 200, several computer instructions (program data) are included to enable a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to execute all or part of the methods of various embodiments of the present invention step.
  • the aforementioned computer-readable storage device 200 includes: various storage media such as U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, etc. And electronic devices such as computers, mobile phones, notebook computers, tablet computers, cameras, etc. that have the above-mentioned storage media.

Abstract

The present application provides a noise reduction control method, an electronic device, and a computer-readable storage apparatus. The noise reduction control method comprises: obtaining environmental noise, the environmental noise comprising a frequency band to be processed; obtaining a preset noise reduction amount of said frequency band, the preset noise reduction amount corresponding to a noise reduction requirement of a user for said frequency band; comparing the size of the preset noise reduction amount of said frequency band with that of a corresponding passive noise reduction amount, so as to obtain a comparison result; generating a first control parameter according to the comparison result to achieve the preset noise reduction amount; and sending the first control parameter to an earphone, so that the earphone performs, according to the first control parameter, noise control on said frequency band. The technical solution provided in the present application can perform relatively flexible noise control on environmental noise.

Description

降噪控制方法、电子设备及计算机可读存储装置Noise reduction control method, electronic device, and computer-readable storage device
本申请要求于2021年6月2日提交的申请号为202110613689.5,发明名称为“降噪控制方法、电子设备及计算机可读存储装置”的中国专利申请的优先权,并通过引用方式将其并入本申请。This application claims the priority of the Chinese Patent Application No. 202110613689.5 filed on June 2, 2021, entitled "Noise Reduction Control Method, Electronic Equipment, and Computer-Readable Storage Device", which is incorporated by reference into this application.
【技术领域】【Technical field】
本申请涉及降噪的技术领域,具体涉及一种降噪控制方法、电子设备及计算机可读存储装置。The present application relates to the technical field of noise reduction, and in particular to a noise reduction control method, electronic equipment, and a computer-readable storage device.
【背景技术】【Background technique】
具有ANC(Active Noise Control,主动降噪)功能的耳机具有出色的降噪效果。比如,在耳机播放音频时,具有ANC功能的耳机能够降低环境噪音,以隔绝环境噪音的干扰,保证音频效果。但是,现有的具有ANC功能的耳机通常只有若干个固定的降噪模式和通透模式,按照固定的降噪模式和通透模式对环境噪音进行处理,而无法进行灵活调节。Headphones with ANC (Active Noise Control, Active Noise Cancellation) function have excellent noise reduction effects. For example, when the earphones play audio, the earphones with ANC function can reduce the environmental noise to isolate the interference of the environmental noise and ensure the audio effect. However, the existing earphones with ANC function generally only have several fixed noise reduction modes and transparency modes, and the ambient noise is processed according to the fixed noise reduction modes and transparency modes, and cannot be flexibly adjusted.
【发明内容】【Content of invention】
本申请提供降噪控制方法、电子设备及计算机可读存储装置,能够对环境噪音进行较为灵活的噪声控制处理。The present application provides a noise reduction control method, an electronic device, and a computer-readable storage device, which can perform more flexible noise control processing on environmental noise.
本申请采用的第一个技术方案是:提供一种降噪控制方法,包括:获取环境噪音,环境噪音包括待处理频段;获取待处理频段的预设降噪量,预设降噪量与用户对待处理频段的降噪需求相对应;比较待处理频段的预设降噪量和相应的被动降噪量的大小,得出比较结果;按照比较结果生成第一控制参数,以用于达到预设降噪量;将第一控制参数发送给耳机,以使得耳机按照第一控制参数对待处理频段进行噪声控制处理。The first technical solution adopted by this application is to provide a noise reduction control method, including: obtaining the environmental noise, which includes the frequency band to be processed; obtaining the preset noise reduction amount of the frequency band to be processed, and the preset noise reduction amount and the user Corresponding to the noise reduction requirements of the frequency band to be processed; comparing the preset noise reduction amount of the frequency band to be processed with the corresponding passive noise reduction amount to obtain a comparison result; generating the first control parameter according to the comparison result to achieve the preset Amount of noise reduction: sending the first control parameter to the earphone, so that the earphone performs noise control processing on the frequency band to be processed according to the first control parameter.
可选地,按照比较结果生成第一控制参数,包括:若待处理频段的预设降噪量大于相应的被动降噪量,则生成第一子控制参数,以用于对待处理频段进行主动降噪处理,以进一步降噪;若待处理频段的预设降噪量小于相应的被动降噪量,则生成第二子控制参数,以用于对待处理频段进行被动降噪消除处理,以消除被动降噪量。Optionally, generating the first control parameter according to the comparison result includes: if the preset noise reduction amount of the frequency band to be processed is greater than the corresponding passive noise reduction amount, generating a first sub-control parameter for active noise reduction of the frequency band to be processed Noise processing for further noise reduction; if the preset noise reduction amount of the frequency band to be processed is less than the corresponding passive noise reduction amount, a second sub-control parameter is generated for passive noise reduction and elimination processing of the frequency band to be processed to eliminate passive noise reduction Amount of noise reduction.
可选地,生成第一子控制参数,包括:计算待处理频段的预设降噪量与相应的被动降噪量之间的第一差值;根据第一差值生成第一子控制参数,以用于对待处理频段进行降噪量为第一差值的主动降噪处理;生成第二子控制参数,包括:计算待处理频段的被动降噪量与相应的预设降噪量之间的第二差值;根据第二差值生成第二子控制参数,以用于对待处理频段进行消除量为第二差值的被动降噪消除处理。Optionally, generating the first sub-control parameter includes: calculating a first difference between the preset noise reduction amount of the frequency band to be processed and the corresponding passive noise reduction amount; generating the first sub-control parameter according to the first difference, Active noise reduction processing with the noise reduction amount used for the frequency band to be processed as the first difference; generating a second sub-control parameter, including: calculating the difference between the passive noise reduction amount of the frequency band to be processed and the corresponding preset noise reduction amount The second difference: generating a second sub-control parameter according to the second difference, so as to perform passive noise reduction and elimination processing with a cancellation amount of the second difference on the frequency band to be processed.
可选地,按照比较结果生成第一控制参数,包括:判断待处理频段是否处于主动降噪区域;若是,则执行若待处理频段的预设降噪量大于相应的被动降噪量,则生成第一子控制参数,以用于对待处理频段进行主动降噪处理,以进一步降噪;若待处理频段的预设降噪量小于相应的被动降噪量,则生成第二子控制参数,以用于对待处理频段进行被动降噪消除处理,以消除被动降噪量;若否,则在待处理频段的预设降噪量大于相应的被动降噪量时,不对待处理频段进行主动降噪处理,在待处理频段的预设降噪量小于相应的被动降噪量时,生成第二子控制参数,以用于对待处理频段进行被动降噪消除处理,以消除被动降噪量。Optionally, generating the first control parameter according to the comparison result includes: judging whether the frequency band to be processed is in the active noise reduction area; The first sub-control parameter is used to perform active noise reduction processing on the frequency band to be processed to further reduce noise; if the preset noise reduction amount of the frequency band to be processed is less than the corresponding passive noise reduction amount, a second sub-control parameter is generated to It is used to perform passive noise reduction and elimination processing on the frequency band to be processed to eliminate the passive noise reduction amount; if not, when the preset noise reduction amount of the frequency band to be processed is greater than the corresponding passive noise reduction amount, active noise reduction will not be performed on the frequency band to be processed Processing, when the preset noise reduction amount of the frequency band to be processed is smaller than the corresponding passive noise reduction amount, generate a second sub-control parameter for performing passive noise reduction and elimination processing on the frequency band to be processed, so as to eliminate the passive noise reduction amount.
可选地,比较待处理频段的预设降噪量和相应的被动降噪量的大小,之前还包括:判断待处理频段是否处于被动降噪区域;若是,则执行比较待处理频段的预设降噪量和相应的被动降噪量的大小;若否,则根据预设降噪量生成第二控制参数,并将第二控制参数发送给耳机,以使得耳机对待处理频段进行降噪量为预设降噪量的主动降噪处理。Optionally, comparing the preset noise reduction amount of the frequency band to be processed with the size of the corresponding passive noise reduction amount also includes: judging whether the frequency band to be processed is in the passive noise reduction area; The amount of noise reduction and the corresponding passive noise reduction amount; if not, generate a second control parameter according to the preset noise reduction amount, and send the second control parameter to the earphone, so that the amount of noise reduction for the frequency band to be processed by the earphone is Active noise reduction processing with preset noise reduction amounts.
可选地,获取待处理频段的预设降噪量,包括:获取用户对待处理频段的降噪量设置指令,生成预设降噪量。Optionally, obtaining the preset noise reduction amount of the frequency band to be processed includes: obtaining a user's instruction for setting the noise reduction amount of the frequency band to be processed, and generating the preset noise reduction amount.
可选地,环境噪音包括多个待处理频段;获取环境噪音,包括:通过自身麦克风拾取环境噪音,或者接收耳机所拾取的环境噪音。Optionally, the environmental noise includes a plurality of frequency bands to be processed; acquiring the environmental noise includes: picking up the environmental noise through its own microphone, or receiving the environmental noise picked up by the earphone.
本申请采用的第二个技术方案是:提供一种电子设备,包括显示屏、处理器、存储器以及通信电路,显示屏和存储器通过通信电路耦接处理器,电子设备通过通信电路与耳机通信;存储器中存储有计算机指令;处理器在运行计算机指令时执行以上的降噪控制方法。The second technical solution adopted in this application is to provide an electronic device, including a display screen, a processor, a memory and a communication circuit, the display screen and the memory are coupled to the processor through the communication circuit, and the electronic device communicates with the earphone through the communication circuit; Computer instructions are stored in the memory; the processor executes the above noise reduction control method when running the computer instructions.
本申请采用的第三个技术方案是:提供一种计算机可读存储装置,存储有能够被处理器运行的计算机指令,计算机指令在被处理器执行时能够实现以上的降噪控制方法。The third technical solution adopted by the present application is to provide a computer-readable storage device storing computer instructions that can be executed by a processor, and the computer instructions can implement the above noise reduction control method when executed by the processor.
本申请采用的第四个技术方案是:提供另一种降噪控制方法,包括:接收第一控制参数,第一控制参数是由电子设备在获取环境噪音后,获取环境噪音中的待处理频段的预设降噪量,并比较待处理频段的预设降噪量和相应的被动降噪量的大小,得出比较结果,并按照比较结果所生成的,用于达到预设降噪量的;按照第一控制参数对待处理频段进行噪声控制处理。The fourth technical solution adopted by the present application is to provide another noise reduction control method, including: receiving the first control parameter, the first control parameter is obtained by the electronic device after obtaining the environmental noise and the frequency band to be processed in the environmental noise The preset noise reduction amount, and compare the preset noise reduction amount of the frequency band to be processed with the corresponding passive noise reduction amount, get the comparison result, and generate according to the comparison result to achieve the preset noise reduction amount ; Perform noise control processing on the frequency band to be processed according to the first control parameter.
本申请的有益效果:电子设备通过比较待处理频段的预设降噪量与相应的被动降噪量,得到比较结果,如此可以灵活地识别出待处理频段所需的噪声控制处理的类型,如主动降噪处理还是被动降噪消除处理。电子设备进一步按照比较结果生成用于达到预设降噪量的第一控制参数,并将该第一控制参数发送耳机,耳机按照该第一控制参数对待处理频段进行噪声控制处理。相比于固定的降噪模式或者通透模式,使得该降噪控制方法更灵活,更有针对性,也更能适应不同环境噪音。Beneficial effects of the present application: the electronic device obtains the comparison result by comparing the preset noise reduction amount of the frequency band to be processed with the corresponding passive noise reduction amount, so that the type of noise control processing required by the frequency band to be processed can be flexibly identified, such as Active noise reduction processing or passive noise reduction processing. The electronic device further generates a first control parameter for achieving a preset noise reduction amount according to the comparison result, and sends the first control parameter to the earphone, and the earphone performs noise control processing on the frequency band to be processed according to the first control parameter. Compared with a fixed noise reduction mode or a transparent mode, the noise reduction control method is more flexible, more targeted, and more adaptable to different environmental noises.
【附图说明】【Description of drawings】
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can also be obtained based on these drawings without creative effort.
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can also be obtained based on these drawings without creative effort.
图1是本申请降噪控制方法一实施例的流程示意图;Fig. 1 is a schematic flow chart of an embodiment of the noise reduction control method of the present application;
图2是被动降噪区域的被动降噪量与频率之间的关系示意图;Fig. 2 is a schematic diagram of the relationship between the passive noise reduction amount and the frequency in the passive noise reduction area;
图3是图1所示的S31一实施方式中数据调整图表的一示意图;Fig. 3 is a schematic diagram of a data adjustment chart in an embodiment of S31 shown in Fig. 1;
图4是图1所示的S31一实施方式中数据调整图表的另一示意图;Fig. 4 is another schematic diagram of the data adjustment chart in an embodiment of S31 shown in Fig. 1;
图5是被动降噪区域及主动降噪区域与频率之间的关系示意图。FIG. 5 is a schematic diagram of the relationship between the passive noise reduction area and the active noise reduction area and frequency.
图6是主动降噪区域的主动降噪量与频率之间的关系示意图;6 is a schematic diagram of the relationship between the active noise reduction amount and the frequency in the active noise reduction area;
图7是本申请电子设备一实施例的结构示意图;FIG. 7 is a schematic structural diagram of an embodiment of the electronic device of the present application;
图8是本申请降噪控制方法另一实施例的流程示意图;FIG. 8 is a schematic flowchart of another embodiment of the noise reduction control method of the present application;
图9是本申请耳机一实施例的降噪流程示意图;Fig. 9 is a schematic diagram of a noise reduction process of an embodiment of the earphone of the present application;
图10是本申请计算机可读存储装置一实施例的结构示意图;FIG. 10 is a schematic structural diagram of an embodiment of a computer-readable storage device of the present application;
图11是图1所示的降噪控制方法的另一流程示意图。FIG. 11 is another schematic flowchart of the noise reduction control method shown in FIG. 1 .
【具体实施方式】【Detailed ways】
下面结合附图和实施例,对本申请作进一步的详细描述。特别指出的是,以下实施例仅用于说明本申请,但不对本申请的范围进行限定。同样的,以下实施例仅为本申请的部分实施例而非全部实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The application will be described in further detail below in conjunction with the accompanying drawings and embodiments. In particular, the following examples are only used to illustrate the present application, but not to limit the scope of the present application. Likewise, the following embodiments are only some of the embodiments of the present application but not all of them, and all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present application.
在本申请中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference in this application to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application. The occurrences of this phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is understood explicitly and implicitly by those skilled in the art that the embodiments described herein can be combined with other embodiments.
本申请提及的“电子设备”包括,但不限于被设置成经由有线线路连接(如经由公共交换电话网络(PSTN)、数字用户线路(DSL)、数字电缆、直接电缆连接,以及/或另一数据连接/网络)和/或经由(例如,针对蜂窝网络、无线局域网(WLAN)、诸如DVB-H网络的数字电视网络、卫星网络、AM-FM广播发送器,以及/或另一通信终端的)无线界面接收/发送通信信号的设备。比如,智能手机、平板、笔记本计算机以及可穿戴设备等等。"Electronic equipment" as referred to in this application includes, but is not limited to, configured to be connected via a wireline connection (such as via a public switched telephone network (PSTN), digital subscriber line (DSL), digital cable, direct cable connection, and/or another a data connection/network) and/or via (for example, for a cellular network, a wireless local area network (WLAN), a digital television network such as a DVB-H network, a satellite network, an AM-FM broadcast transmitter, and/or another communication terminal A device that receives/transmits communication signals through a wireless interface. For example, smartphones, tablets, notebook computers and wearable devices, etc.
本申请中的术语“第一”、“第二”、“第三”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”、“第三”的特征可以明示或者隐含地包括至少一个该特征。本申请的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。本申请实施例中所有方向性指示(诸如上、下、左、右、前、后……)仅用于解释在某一特定姿态(如附图所示)下各部件之间的相对位置关系、运动情况等,如果该特定姿态发生改变时,则该方向性指示也相应地随之改变。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。The terms "first", "second", and "third" in this application are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance or implicitly specifying the quantity of indicated technical features. Thus, features defined as "first", "second", and "third" may explicitly or implicitly include at least one of these features. In the description of the present application, "plurality" means at least two, such as two, three, etc., unless otherwise specifically defined. All directional indications (such as up, down, left, right, front, back...) in the embodiments of the present application are only used to explain the relative positional relationship between the various components in a certain posture (as shown in the drawings) , sports conditions, etc., if the specific posture changes, the directional indication also changes accordingly. Furthermore, the terms "include" and "have", as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally further includes For other steps or units inherent in these processes, methods, products or devices.
请参阅图1,图1是本申请降噪控制方法一实施例的流程示意图。本实施例 描述的降噪控制方法可以应用于计算机、智能手表、智能手机、平板等电子设备中,具体可以包括以下步骤:Please refer to FIG. 1 . FIG. 1 is a schematic flowchart of an embodiment of a noise reduction control method of the present application. The noise reduction control method described in this embodiment can be applied to electronic devices such as computers, smart watches, smart phones, and tablets, and may specifically include the following steps:
S10:获取环境噪音,环境噪音包括待处理频段。S10: Obtain ambient noise, which includes a frequency band to be processed.
具体地,电子设备可以获取环境噪音。在一些实施方式中,电子设备可以通过自身的麦克风拾取环境噪音。在一些实施方式中,电子设备还可以接收耳机所拾取的环境噪音。比如,电子设备和耳机之间可以通过有线连接或者蓝牙等无线通讯方式连接,耳机拾取环境噪音,然后发送给电子设备。当然,电子设备还可以获取其他电子设备所拾取的环境噪音。Specifically, electronic devices can pick up ambient noise. In some implementations, the electronic device can pick up ambient noise through its own microphone. In some implementations, the electronic device can also receive ambient noise picked up by the earphone. For example, the electronic device and the earphone can be connected through a wired connection or a wireless communication method such as Bluetooth, and the earphone picks up ambient noise and then sends it to the electronic device. Of course, electronic devices can also pick up ambient noise picked up by other electronic devices.
其中,环境噪音的频率通常在10-10000Hz范围内,可以被划分为多个待处理频段。举例而言,各个待处理频段的宽度可以不同,环境噪音可以被划分为10-100Hz、100-200Hz、200-400Hz、400-800Hz、800-1000Hz、1000-2000Hz、2000-4000Hz、4000-6000Hz、6000-8000Hz、8000-10000Hz等10个待处理频段。多个待处理频段可以是环境噪音所有的频段,也可以是环境噪音中的部分频段。Wherein, the frequency of the environmental noise is usually in the range of 10-10000 Hz, which can be divided into multiple frequency bands to be processed. For example, the width of each frequency band to be processed can be different, and the environmental noise can be divided into 10-100Hz, 100-200Hz, 200-400Hz, 400-800Hz, 800-1000Hz, 1000-2000Hz, 2000-4000Hz, 4000-6000Hz , 6000-8000Hz, 8000-10000Hz and other 10 frequency bands to be processed. The multiple frequency bands to be processed may be all frequency bands of the environmental noise, or may be part of the frequency bands in the environmental noise.
在一些实施方式中,各个待处理频段的宽度也可以相同,本申请不作限制,本领域技术人员可以根据实际需求进行选择。在一些实施方式中,环境噪音还可以被划分为6个待处理频段、或者8个待处理频段、或者12个待处理频段,甚至更多的待处理频段,本申请不作限制,本领域技术人员可以根据实际需求进行选择。In some implementation manners, the widths of the frequency bands to be processed may also be the same, which is not limited in the present application, and those skilled in the art may select according to actual needs. In some embodiments, the environmental noise can also be divided into 6 frequency bands to be processed, or 8 frequency bands to be processed, or 12 frequency bands to be processed, or even more frequency bands to be processed. This application is not limited, and those skilled in the art You can choose according to actual needs.
S30:获取待处理频段的预设降噪量,预设降噪量与用户对待处理频段的降噪需求相对应。S30: Obtain a preset noise reduction amount of the frequency band to be processed, where the preset noise reduction amount corresponds to the noise reduction requirement of the user for the frequency band to be processed.
在一些实施方式中,待处理频段的预设降噪量是可以由用户设置的,具体地如S30包括的如下步骤所示:In some implementations, the preset noise reduction amount of the frequency band to be processed can be set by the user, specifically as shown in the following steps included in S30:
S31:获取用户对待处理频段的降噪量设置指令,生成预设降噪量。S31: Obtain a user's instruction for setting a noise reduction amount of a frequency band to be processed, and generate a preset noise reduction amount.
举例而言,电子设备在获取环境噪音之后,可以在其显示屏的显示界面上呈现对应于环境噪音的数据调整图表,以使得用户能够在数据调整图表上进行降噪量设置操作。在一些实施方式中,数据调整图表可以类似于EQ均衡器。For example, after the electronic device acquires the environmental noise, it can present a data adjustment chart corresponding to the environmental noise on the display interface of its display screen, so that the user can perform a noise reduction amount setting operation on the data adjustment chart. In some implementations, the data adjustment graph can be similar to an EQ equalizer.
举例而言,电子设备可以根据环境噪音中各个待处理频段的原始音量生成原始的数据调整图表,如图3所示,图3是图1所示的S31一实施方式中数据调整图表的一示意图。进一步地,用户能够基于该原始数据调整图表进行降噪量设置操作,使得电子设备生成相应的预设降噪量。降噪量设置操作可以有多种方式:For example, the electronic device can generate an original data adjustment chart according to the original volume of each frequency band to be processed in the environmental noise, as shown in FIG. 3 , which is a schematic diagram of the data adjustment chart in an implementation of S31 shown in FIG. 1 . Further, the user can perform a noise reduction amount setting operation based on the raw data adjustment chart, so that the electronic device generates a corresponding preset noise reduction amount. There are many ways to set the noise reduction amount:
比如,用户可以在显示界面上先选中某一原始音量为20dB的待处理频段,然后通过滑动或者点击电子设备的显示屏将该待处理频段的音量设置为10dB,如图4所示,图4是图1所示的S31一实施方式中数据调整图表的另一示意图。通过计算该待处理频段的设置音量10dB与原始音量20dB的差值,即可获得该待处理频段的预设降噪量10dB。For example, the user can first select a frequency band to be processed with an original volume of 20dB on the display interface, and then set the volume of the frequency band to be processed to 10dB by sliding or clicking the display screen of the electronic device, as shown in Figure 4, Figure 4 It is another schematic diagram of the data adjustment chart in an embodiment of S31 shown in FIG. 1 . By calculating the difference between the set volume of 10dB of the frequency band to be processed and the original volume of 20dB, the preset noise reduction amount of 10dB of the frequency band to be processed can be obtained.
一方面,由于各个待处理频段的预设降噪量可以是由用户自由设置的任意值,比如,若某个待处理频段的原始音量为20dB,则预设降噪量则可以被设置为0-20dB之间的用户所需的任意值,而不仅仅局限于固有的降噪模式或通透模式的若干个固定值。因此,该降噪控制方法使得用户能够根据自身需求对待处理频段的预设降噪量进行全自由化的定制化设置,有利于提高该噪声控制的自由度。On the one hand, since the preset noise reduction amount of each frequency band to be processed can be any value freely set by the user, for example, if the original volume of a certain frequency band to be processed is 20dB, the preset noise reduction amount can be set to 0 Any value required by the user between -20dB, not limited to several fixed values of the inherent noise reduction mode or the transparency mode. Therefore, the noise reduction control method enables users to fully customize the preset noise reduction amount of the frequency band to be processed according to their own needs, which is conducive to improving the degree of freedom of the noise control.
另一方面,各个待处理频段的预设降噪量可以被设置为不相同的数值,比如,可以设置其中一个待处理频段的预设降噪量为10dB,设置其中另一个待处理频段的预设降噪量为20dB,使得在复杂的噪音环境中,使得用户能够选择性地接收或者选择性地屏蔽某些待处理频段的环境噪音,如此可以满足用户的特殊需求,而不限于只能通过固有的降噪模式或通透模式进行噪声控制。On the other hand, the preset noise reduction amount of each frequency band to be processed can be set to different values. For example, the preset noise reduction amount of one of the frequency bands to be processed can be set to 10dB, and the preset noise reduction amount of the other frequency band to be processed can be set to 10dB. Set the noise reduction amount to 20dB, so that in a complex noise environment, the user can selectively receive or selectively shield the environmental noise of certain frequency bands to be processed, so as to meet the special needs of the user, not limited to only through Inherent noise reduction mode or transparent mode for noise control.
比如,在环境噪音包括处于被动降噪区域的机械噪声和婴儿啼哭声时,用户可以选择性地消除机械噪声,并且接收婴儿啼哭声。因此,该降噪控制方法能够灵活地满足用户对各种环境噪声的不同降噪需求。For example, when the environmental noise includes mechanical noise and a crying baby in the passive noise reduction area, the user can selectively eliminate the mechanical noise and receive the crying baby. Therefore, the noise reduction control method can flexibly meet different noise reduction requirements of users for various environmental noises.
在一些实施方式中,待处理频段的预设降噪量是可以由电子设备自动设置的。比如,电子设备的显示界面上可以进一步显示有自动设置按钮,用户可以点击该自动设置按钮,电子设备可以回应该点击操作自动地根据监测到的环境噪音设置各个待处理频段的降噪量。在此基础上,可以进一步回应用户的操作,对自动设置的降噪量进一步调整,以适应用户的具体需求。In some embodiments, the preset noise reduction amount of the frequency band to be processed can be automatically set by the electronic device. For example, an automatic setting button can be further displayed on the display interface of the electronic device. The user can click the automatic setting button, and the electronic device can automatically set the noise reduction amount of each frequency band to be processed according to the monitored environmental noise in response to the click operation. On this basis, it can further respond to the user's operation, and further adjust the amount of noise reduction automatically set to meet the specific needs of the user.
在一些实施方式中,待处理频段的预设降噪量还可以是其他电子设备所发送,或者从云端所获取的。电子设备在接收到预设降噪量后,用户同样可以对接收到的预设降噪量后进行调整,以形成最终的预设降噪量,本申请对此不作限制,本领域技术人员可以根据实际需求进行选择。In some implementation manners, the preset noise reduction amount of the frequency band to be processed may also be sent by other electronic devices, or obtained from the cloud. After the electronic device receives the preset noise reduction amount, the user can also adjust the received preset noise reduction amount to form the final preset noise reduction amount. This application does not limit this, and those skilled in the art can Choose according to actual needs.
S50:比较待处理频段的预设降噪量和相应的被动降噪量的大小,得出比较结果。S50: Comparing the preset noise reduction amount of the frequency band to be processed with the corresponding passive noise reduction amount to obtain a comparison result.
在本实施例中,耳机可以是入耳式耳机、头戴式耳机或者半入耳式耳机。 耳机在佩戴时由于其结构、材料等特性从物理上隔绝一些频段的噪音,也即具有被动降噪功能。In this embodiment, the earphone may be an in-ear earphone, a headphone or a semi-in-ear earphone. When the earphone is worn, due to its structure, material and other characteristics, it physically isolates the noise of some frequency bands, that is, it has a passive noise reduction function.
请参阅图2,图2是被动降噪区域的被动降噪量与频率之间的关系示意图。被动降噪区域可以是指耳机的被动降噪功能能够起作用的频率范围,是由耳机本身的特性决定的,本申请并不对此进行限制。耳机在被制造完成后,在正确佩戴时,其被动降噪区域是比较稳定的。不同的耳机的被动降噪区域由于各自的特性可能存在差异。Please refer to FIG. 2 . FIG. 2 is a schematic diagram of the relationship between the passive noise reduction amount and the frequency in the passive noise reduction area. The passive noise reduction area may refer to the frequency range in which the passive noise reduction function of the earphone can work, which is determined by the characteristics of the earphone itself, which is not limited in this application. After the headset is manufactured, its passive noise reduction area is relatively stable when worn correctly. The passive noise reduction areas of different headphones may vary due to their respective characteristics.
举例而言,被动降噪区域的预设最低频率可以是500Hz,预设最高频率可以是10000Hz,也就是说,被动降噪区域的频率范围可以在500-10000Hz之间。也就是说,在10-500Hz的频率范围内,不存在被动降噪量,或者说被动降噪量为0,在500-10000Hz的频率范围内,存在被动降噪量,或者说被动降噪量大于0。For example, the preset minimum frequency of the passive noise reduction zone may be 500 Hz, and the preset maximum frequency may be 10000 Hz, that is, the frequency range of the passive noise reduction zone may be between 500-10000 Hz. That is to say, in the frequency range of 10-500Hz, there is no passive noise reduction, or the passive noise reduction is 0, and in the frequency range of 500-10000Hz, there is passive noise reduction, or the passive noise reduction Greater than 0.
进一步地,在S50之前,需要判断出待处理频段是否存在相应的被动降噪量,请参阅图11,图11是图1所示的降噪控制方法的另一流程示意图,具体可以通过S50之前的如下步骤实现:Further, before S50, it is necessary to determine whether there is a corresponding amount of passive noise reduction in the frequency band to be processed. Please refer to FIG. 11. FIG. 11 is another schematic flowchart of the noise reduction control method shown in FIG. The following steps are implemented:
S40:判断待处理频段是否处于被动降噪区域。S40: Determine whether the frequency band to be processed is in a passive noise reduction area.
在一些实施方式中,S40可以通过如下步骤实现:In some implementation manners, S40 may be implemented through the following steps:
判断待处理频段的最高频率值是否大于第一阈值。其中,第一阈值为被动降噪区域的预设最低频率。如前文所述,被动降噪区域的预设最低频率可以是指耳机的被动降噪功能所能够起作用的最低频率值,是耳机本身的一个性能参数。在一些耳机中,可以人为地对第一阈值进行调整。在一些实施方式中,第一阈值可以被内置到电子设备的客户端中,例如智能手机上相应的APP。It is judged whether the highest frequency value of the frequency band to be processed is greater than the first threshold. Wherein, the first threshold is a preset minimum frequency of the passive noise reduction area. As mentioned above, the preset minimum frequency in the passive noise reduction area may refer to the lowest frequency value at which the passive noise reduction function of the earphone can work, and is a performance parameter of the earphone itself. In some headsets, the first threshold can be adjusted artificially. In some implementations, the first threshold may be built into a client of the electronic device, such as a corresponding APP on a smart phone.
若待处理频段的最高频率值大于第一阈值,则待处理频段处于被动降噪区域。具体地,待处理频段的最高频率值大于第一阈值,则说明该待处理频段至少部分位于被动降噪区域内。若待处理频段的最高频率值小于或等于第一阈值,则待处理频段不处于被动降噪区域。If the highest frequency value of the frequency band to be processed is greater than the first threshold, the frequency band to be processed is in a passive noise reduction region. Specifically, if the highest frequency value of the frequency band to be processed is greater than the first threshold, it indicates that the frequency band to be processed is at least partially within the passive noise reduction area. If the highest frequency value of the frequency band to be processed is less than or equal to the first threshold, the frequency band to be processed is not in the passive noise reduction area.
S41:若是,则执行S50。S41: If yes, execute S50.
如图2所示,被动降噪区域的频率范围可以在500-10000Hz之间,在该频率范围内,被动降噪区域的被动降噪量可以先随频率的增大而逐渐增大,然后大致保持为一个定值。而针对于同一频率的声音,被动降噪量则大致为一个定值。As shown in Figure 2, the frequency range of the passive noise reduction area can be between 500-10000 Hz. In this frequency range, the passive noise reduction amount of the passive noise reduction area can first gradually increase with the increase of the frequency, and then roughly Keep it at a constant value. For the sound of the same frequency, the amount of passive noise reduction is roughly a constant value.
被动降噪区域的被动降噪量与频率之间的关系是由耳机本身的特性所决定 的,以上关于被动降噪区域的被动降噪量与频率之间的关系的描述仅仅是举例,并不是对本申请的限制,本领域技术人员可以根据实际需求进行选择。The relationship between the passive noise reduction amount and frequency in the passive noise reduction area is determined by the characteristics of the earphone itself. The above description of the relationship between the passive noise reduction amount and frequency in the passive noise reduction area is just an example, not Those skilled in the art can choose the limitations of the present application according to actual needs.
耳机本身自带被动降噪效果,例如耳机的耳罩、耳帽等,戴入耳机后即起到一定的被动降噪作用,因此耳机在每个频段均存在相应的被动降噪量。当待处理频段处于被动降噪区域时,若某个待处理频段的预设降噪量等于相应的被动降噪量,则说明降噪需求已经被满足,无须再对待处理频段进行进一步的噪声控制处理。若某个待处理频段的预设降噪量大于相应的被动降噪量,则说明单纯的被动降噪无法满足降噪需求,需要进一步对该待处理频段进行主动降噪处理。若某个待处理频段的预设降噪量小于相应的被动降噪量,则说明该待处理频段是用户需要听到的声音,需要对该待处理频段进行被动降噪消除处理,以消除耳机固有的被动降噪功能所产生的被动降噪量。The earphone itself has its own passive noise reduction effect, such as the earmuffs and ear caps of the earphone. After wearing the earphone, it will play a certain passive noise reduction effect. Therefore, the earphone has a corresponding passive noise reduction amount in each frequency band. When the frequency band to be processed is in the passive noise reduction area, if the preset noise reduction amount of a certain frequency band to be processed is equal to the corresponding passive noise reduction amount, it means that the noise reduction requirement has been met, and no further noise control is required for the frequency band to be processed deal with. If the preset noise reduction amount of a frequency band to be processed is greater than the corresponding passive noise reduction amount, it means that pure passive noise reduction cannot meet the noise reduction requirements, and further active noise reduction processing is required for the frequency band to be processed. If the preset noise reduction amount of a frequency band to be processed is less than the corresponding passive noise reduction amount, it means that the frequency band to be processed is the sound that the user needs to hear, and passive noise reduction and elimination processing is required for the frequency band to be processed to eliminate the earphone noise. The amount of passive noise reduction produced by Inherent Passive Noise Cancellation.
S42:若否,则根据预设降噪量生成第二控制参数,并将第二控制参数发送给耳机,以使得耳机对待处理频段进行降噪量为预设降噪量的主动降噪处理。S42: If not, generate a second control parameter according to the preset noise reduction amount, and send the second control parameter to the earphone, so that the earphone performs active noise reduction processing with the preset noise reduction amount for the frequency band to be processed.
当待处理频段不处于被动降噪区域时,第二待处理频段不存在相应的被动降噪量,或者说,相应的被动降噪量为0。电子设备可以直接根据预设降噪量生成第二控制参数,并发送给耳机,以使得耳机按照第二控制参数对第二待处理频段进行降噪量为预设降噪量的主动降噪处理。When the frequency band to be processed is not in the passive noise reduction area, there is no corresponding passive noise reduction amount in the second frequency band to be processed, or in other words, the corresponding passive noise reduction amount is 0. The electronic device can directly generate a second control parameter according to the preset noise reduction amount, and send it to the earphone, so that the earphone can perform active noise reduction processing on the second frequency band to be processed according to the second control parameter, and the noise reduction amount is the preset noise reduction amount .
该降噪控制方法分别对处于被动降噪区域的待处理频段和不处于被动降噪区域的待处理频段进行不同的噪声控制处理,有利于提高降噪的准确性,使得实际降噪量与预设降噪量相匹配。The noise reduction control method performs different noise control processing on the frequency band to be processed in the passive noise reduction area and the frequency band to be processed not in the passive noise reduction area, which is beneficial to improve the accuracy of noise reduction, so that the actual noise reduction amount and the expected Set the amount of noise reduction to match.
S70:按照比较结果生成第一控制参数,以用于达到预设降噪量。S70: Generate a first control parameter according to the comparison result, so as to achieve a preset noise reduction amount.
电子设备生成的第一控制参数,可以用于对耳机的相关设置或者参数进行相应的调整,以使得耳机能够按照该第一控制参数对待处理频段进行噪声控制处理。The first control parameter generated by the electronic device may be used to adjust related settings or parameters of the earphone, so that the earphone can perform noise control processing on the frequency band to be processed according to the first control parameter.
相对于现有技术中固定的降噪模式(隔绝所述外界噪音)或通透模式(将外界噪音完全引入),按照比较结果生成相应的第一控制参数,能够针对比较结果不同的待处理频段进行不同的噪声控制处理,使得降噪控制更灵活,更有针对性,也更能适应不同环境噪音。Compared with the fixed noise reduction mode (isolate the external noise) or the transparent mode (completely introduce the external noise) in the prior art, the corresponding first control parameter is generated according to the comparison result, which can target the frequency bands to be processed with different comparison results Different noise control processes are carried out to make the noise reduction control more flexible, more targeted, and more adaptable to different environmental noises.
比如,针对比较结果,可以对其中一个待处理频段进行主动降噪处理,而对其中另一个待处理频段进行被动降噪消除处理,而不局限于固有的降噪模式或通透模式,使得主动降噪处理和被动降噪消除处理可以共存,并且相互配合, 突破传统固定降噪模式或者通透模式的限制,使得降噪控制更加灵活。For example, for the comparison results, active noise reduction can be performed on one of the frequency bands to be processed, and passive noise reduction can be performed on the other frequency band to be processed, not limited to the inherent noise reduction mode or transparent mode, so that the active Noise reduction processing and passive noise reduction processing can coexist and cooperate with each other, breaking through the limitations of traditional fixed noise reduction mode or transparent mode, making noise reduction control more flexible.
对于S70,具体可以通过其所包括的如下步骤实现:For S70, it can be realized through the following steps:
S71:若待处理频段的预设降噪量大于相应的被动降噪量,则生成第一子控制参数,以用于对待处理频段进行主动降噪处理,以进一步降噪。S71: If the preset noise reduction amount of the frequency band to be processed is greater than the corresponding passive noise reduction amount, generate a first sub-control parameter for performing active noise reduction processing on the frequency band to be processed to further reduce noise.
其中,对于S71中生成第一子控制参数的步骤,可以通过其所包括如下步骤实现:Wherein, for the step of generating the first sub-control parameter in S71, it can be realized through the following steps:
S711:计算待处理频段的预设降噪量与相应的被动降噪量之间的第一差值。S711: Calculate a first difference between the preset noise reduction amount of the frequency band to be processed and the corresponding passive noise reduction amount.
S712:根据第一差值生成第一子控制参数,以用于对待处理频段进行降噪量为第一差值的主动降噪处理。S712: Generate a first sub-control parameter according to the first difference, so as to perform active noise reduction processing with a noise reduction amount equal to the first difference for the frequency band to be processed.
举例而言,若待处理频段的预设降噪量为20dB,而相应的被动降噪量为10dB,说明单纯的被动降噪无法满足用户的降噪需求,需要进一步对待处理频段进行主动降噪处理。For example, if the preset noise reduction amount of the frequency band to be processed is 20dB, and the corresponding passive noise reduction amount is 10dB, it means that pure passive noise reduction cannot meet the user's noise reduction needs, and further active noise reduction is required for the frequency band to be processed deal with.
本实施例提及的“主动降噪处理”可以是指:耳机使用外置和/或内置麦克风(也即,前馈结合反馈的降噪技术)收集环境噪音,由喇叭播放出大小相同,相位相反的声音,来抵消环境噪音的作用,让使用者避免受到外界声音的干扰。The "active noise reduction processing" mentioned in this embodiment may refer to: the earphones use external and/or built-in microphones (that is, noise reduction technology of feedforward combined with feedback) to collect environmental noise, and the loudspeaker plays the same size and phase The opposite sound is used to offset the effect of environmental noise, so that users can avoid being disturbed by external sounds.
具体地,电子设备可以先计算出待处理频段的预设降噪量与相应的被动降噪量之间的第一差值10dB,然后根据第一差值10dB生成第一子控制参数,耳机则可以进一步按照第一子控制参数对待处理频段进行降噪量为第一差值的主动降噪处理,以满足预设降噪量。Specifically, the electronic device may first calculate the first difference of 10dB between the preset noise reduction amount of the frequency band to be processed and the corresponding passive noise reduction amount, and then generate the first sub-control parameter according to the first difference of 10dB, and the headset then Active noise reduction processing with a noise reduction amount of the first difference may be further performed on the frequency band to be processed according to the first sub-control parameter, so as to satisfy the preset noise reduction amount.
S72:若待处理频段的预设降噪量小于相应的被动降噪量,则生成第二子控制参数,以用于对待处理频段进行被动降噪消除处理,以消除被动降噪量。S72: If the preset noise reduction amount of the frequency band to be processed is smaller than the corresponding passive noise reduction amount, generate a second sub-control parameter for performing passive noise reduction and elimination processing on the frequency band to be processed, so as to eliminate the passive noise reduction amount.
其中,对于S72中生成第二子控制参数的步骤,可以通过其所包括如下步骤实现:Wherein, for the step of generating the second sub-control parameter in S72, it can be realized through the following steps:
S721:计算待处理频段的被动降噪量与相应的预设降噪量之间的第二差值。S721: Calculate a second difference between the passive noise reduction amount of the frequency band to be processed and the corresponding preset noise reduction amount.
S722:根据第二差值生成第二子控制参数,以用于对待处理频段进行消除量为第二差值的被动降噪消除处理。S722: Generate a second sub-control parameter according to the second difference, so as to perform passive noise reduction and elimination processing in which the cancellation amount is the second difference on the frequency band to be processed.
举例而言,若待处理频段的预设降噪量为5dB,而相应的的被动降噪量为10dB,说明耳机固有的被动降噪功能把用户希望听到的声音给屏蔽掉了,需要进一步消除耳机固有的被动降噪功能所产生的被动降噪量。For example, if the preset noise reduction amount of the frequency band to be processed is 5dB, and the corresponding passive noise reduction amount is 10dB, it means that the inherent passive noise reduction function of the earphone has shielded the sound that the user wants to hear, and further Eliminates the amount of passive noise cancellation created by the headphones' inherent passive noise cancellation.
本实施例提及的“被动降噪消除处理”可以是指:耳机使用外置麦克风收集环境音,并引入至喇叭进行播放,以抵消耳机佩戴所形成的被动降噪作用,让使 用者可以清晰听到外界声音。The "passive noise reduction and elimination processing" mentioned in this embodiment may refer to: the earphone uses an external microphone to collect ambient sound, and introduces it to the speaker for playback, so as to offset the passive noise reduction effect formed by wearing the earphone, so that the user can clearly Hear outside voices.
具体地,电子设备可以先计算出待处理频段的被动降噪量与相应的预设降噪量之间的第二差值5dB,然后根据第二差值5dB生成第二子控制参数,耳机则可以进一步按照第二子控制参数对待处理频段进行消除量为第二差值的被动降噪消除处理,以满足预设降噪量。Specifically, the electronic device may first calculate the second difference 5dB between the passive noise reduction amount of the frequency band to be processed and the corresponding preset noise reduction amount, and then generate the second sub-control parameter according to the second difference value 5dB, and the earphone then The frequency band to be processed may be further processed according to the second sub-control parameter, and the passive noise reduction processing whose elimination amount is the second difference value may be performed, so as to satisfy the preset noise reduction amount.
相对于现有技术中固定的降噪模式(隔绝所述外界噪音)或通透模式(将外界噪音完全引入),本实施例通过比较待处理频段的预设降噪量与相应的被动降噪量的大小,对预设降噪量大于相应的被动降噪量的待处理频段进行主动降噪处理,对预设降噪量小于相应的被动降噪量的待处理频段进行被动降噪消除处理。Compared with the fixed noise reduction mode (isolate the external noise) or the transparent mode (completely introduce the external noise) in the prior art, this embodiment compares the preset noise reduction amount of the frequency band to be processed with the corresponding passive noise reduction Active noise reduction processing is performed on frequency bands whose preset noise reduction amount is greater than the corresponding passive noise reduction amount, and passive noise reduction is performed on frequency bands whose preset noise reduction amount is smaller than the corresponding passive noise reduction amount. .
本实施例通过建立主动降噪处理与被动降噪消除处理的复合降噪系统,能够灵活地对处于被动降噪区域的各个待处理频段进行不同的噪声控制处理,能够在复杂的噪音环境下,更灵活更有效地满足用户对不同的待处理频段的不同降噪需求。In this embodiment, by establishing a composite noise reduction system of active noise reduction processing and passive noise reduction processing, it is possible to flexibly perform different noise control processing on each frequency band to be processed in the passive noise reduction area. It is more flexible and more effective to meet the different noise reduction requirements of users for different frequency bands to be processed.
请一并参阅图5及图6,图5是被动降噪区域及主动降噪区域与频率之间的关系图,图6是主动降噪区域的主动降噪量与频率之间的关系示意图。Please refer to FIG. 5 and FIG. 6 together. FIG. 5 is a diagram showing the relationship between the passive noise reduction area and the active noise reduction area and frequency. FIG. 6 is a schematic diagram of the relationship between the active noise reduction amount and the frequency in the active noise reduction area.
主动降噪区域可以是指耳机的主动降噪功能能够起作用的频率范围,是由耳机本身的特性决定的,本申请并不对此进行限制。举例而言,主动降噪区域的预设最低频率可以是10Hz,预设最高频率可以是1000Hz,也就是说,主动降噪区域的频率范围可以在10-1000Hz之间,对于频率高于1000Hz的环境噪音,主动降噪处理无法对其产生作用。The active noise reduction area may refer to the frequency range in which the active noise reduction function of the earphone can work, which is determined by the characteristics of the earphone itself, which is not limited in this application. For example, the preset minimum frequency of the active noise reduction zone can be 10Hz, and the preset maximum frequency can be 1000Hz. That is to say, the frequency range of the active noise reduction zone can be between 10-1000Hz. Ambient noise, which is not affected by active noise reduction processing.
针对于同一频率的声音,主动降噪量的大小则是可以根据耳机的参数设置而发生变化的,如图6所示,图6中示出了三条曲线,分别代表耳机在不同的参数设置下主动降噪量与频率之间的关系。For the sound of the same frequency, the amount of active noise reduction can be changed according to the parameter settings of the earphones, as shown in Figure 6. Figure 6 shows three curves, which respectively represent the earphones under different parameter settings. ANC amount vs. frequency.
在被动降噪区域的频率范围500-10000Hz内,有部分频率范围是能够通过主动降噪技术进行主动降噪处理的,也即主动降噪技术所能够覆盖的。而另一部分频率范围无法通过主动降噪技术进行主动降噪处理。换句话来说,被动降噪区域和主动降噪区域存在重合的频段。Within the frequency range of 500-10000Hz in the passive noise reduction area, some frequency ranges can be processed by active noise reduction technology, that is, the active noise reduction technology can cover. The other part of the frequency range cannot be actively noise-cancelled by active noise-cancellation technology. In other words, there are overlapping frequency bands between the passive noise reduction area and the active noise reduction area.
进一步地,在S70中,还需要进一步判断出能否对处于被动降噪区域的待处理频段进行主动降噪处理,请继续参阅图11,具体可以通过S70所包括的如下步骤实现:Furthermore, in S70, it is necessary to further determine whether active noise reduction processing can be performed on the frequency band to be processed in the passive noise reduction area, please continue to refer to Figure 11, which can be realized through the following steps included in S70:
S701:判断待处理频段是否处于主动降噪区域。S701: Determine whether the frequency band to be processed is in an active noise reduction area.
在一些实施方式中,S701可以通过如下步骤实现:In some implementation manners, S701 may be implemented through the following steps:
判断待处理频段的最低频率值是否大于或等于第二阈值,其中,第二阈值为主动降噪区域的预设最高频率。如前文所述,主动降噪区域的预设最高频率可以是指耳机的主动降噪功能所能起作用的最高频率值,是耳机本身的一个性能参数。在一些耳机中,可以人为地对第二阈值进行调整。在一些实施方式中,第二阈值可以被内置到电子设备的客户端中,例如智能手机上相应的APP。It is judged whether the lowest frequency value of the frequency band to be processed is greater than or equal to a second threshold, where the second threshold is a preset highest frequency of the active noise reduction area. As mentioned above, the preset maximum frequency in the active noise reduction area may refer to the highest frequency value at which the active noise reduction function of the earphone can work, which is a performance parameter of the earphone itself. In some headsets, the second threshold can be adjusted artificially. In some implementations, the second threshold can be built into a client of the electronic device, such as a corresponding APP on a smart phone.
若某个待处理频段的最低频率值小于第二阈值,则该待处理频段处于主动降噪区域。具体地,该待处理频段至少部分位于主动降噪区域内,主动降噪处理能够对该待处理频段起到降噪作用。若某个待处理频段的最低频率值大于或等于第二阈值,说明主动将噪处理对该待处理频段无法起到降噪作用,该待处理频段不处于主动降噪区域。If the lowest frequency value of a frequency band to be processed is smaller than the second threshold, the frequency band to be processed is in an active noise reduction region. Specifically, the frequency band to be processed is at least partially located in an active noise reduction area, and the active noise reduction processing can reduce noise on the frequency band to be processed. If the lowest frequency value of a frequency band to be processed is greater than or equal to the second threshold, it means that active noise processing cannot reduce noise for the frequency band to be processed, and the frequency band to be processed is not in the active noise reduction area.
S702:若是,则执行S71和S72。S702: If yes, execute S71 and S72.
S703:若否,则在待处理频段的预设降噪量大于相应的被动降噪量时,不对待处理频段进行主动降噪处理,在待处理频段的预设降噪量小于相应的被动降噪量时,生成第二子控制参数,以用于对待处理频段进行被动降噪消除处理,以消除被动降噪量。S703: If not, when the preset noise reduction amount of the frequency band to be processed is greater than the corresponding passive noise reduction amount, active noise reduction processing is not performed on the frequency band to be processed, and the preset noise reduction amount of the frequency band to be processed is smaller than the corresponding passive noise reduction amount. When the amount of noise is used, a second sub-control parameter is generated for performing passive noise reduction and elimination processing on the frequency band to be processed, so as to eliminate the amount of passive noise reduction.
其中,对于S703中的生成第二子控制参数的步骤,可以与S72中生成第二子控制参数的步骤相同或相似,此处不再赘述。Wherein, the step of generating the second sub-control parameter in S703 may be the same as or similar to the step of generating the second sub-control parameter in S72, and will not be repeated here.
S90:将第一控制参数发送给耳机,以使得耳机按照第一控制参数对待处理频段进行噪声控制处理。S90: Send the first control parameter to the earphone, so that the earphone performs noise control processing on the frequency band to be processed according to the first control parameter.
如前文所述,电子设备和耳机之间可以通过有线连接或者通过蓝牙等无线通讯方式连接,因此,电子设备能够将第一控制参数发送给耳机。耳机接收该第一控制参数,进而按照该第一控制参数对待处理频段进行噪声控制处理。As mentioned above, the electronic device and the earphone can be connected through wired connection or wireless communication means such as bluetooth. Therefore, the electronic device can send the first control parameter to the earphone. The earphone receives the first control parameter, and then performs noise control processing on the frequency band to be processed according to the first control parameter.
电子设备通过比较待处理频段的预设降噪量与相应的被动降噪量,得到比较结果,如此可以灵活地识别出待处理频段所需的噪声控制处理的类型,如主动降噪处理还是被动降噪消除处理。电子设备进一步按照比较结果生成用于达到预设降噪量的第一控制参数,并将该第一控制参数发送耳机,耳机按照该第一控制参数对待处理频段进行噪声控制处理。相比于固定的降噪模式或者通透模式,使得该降噪控制方法更灵活,更有针对性,也更能适应不同环境噪音。The electronic device obtains the comparison result by comparing the preset noise reduction amount of the frequency band to be processed with the corresponding passive noise reduction amount, so that the type of noise control processing required for the frequency band to be processed can be flexibly identified, such as active noise reduction processing or passive noise reduction Noise reduction processing. The electronic device further generates a first control parameter for achieving a preset noise reduction amount according to the comparison result, and sends the first control parameter to the earphone, and the earphone performs noise control processing on the frequency band to be processed according to the first control parameter. Compared with a fixed noise reduction mode or a transparent mode, the noise reduction control method is more flexible, more targeted, and more adaptable to different environmental noises.
总的来说,本实施例所提供的降噪控制方法通过建立主动降噪处理和被动 降噪消除处理的复合调试系统,使耳机的噪音隔绝量可以在10-10000Hz的全频段内进行自由调节。In general, the noise reduction control method provided in this embodiment enables the noise isolation of the earphone to be freely adjusted within the full frequency band of 10-10000 Hz by establishing a composite debugging system of active noise reduction processing and passive noise reduction processing .
请参阅图7,图7是本申请电子设备一实施例的结构示意图。该电子设备100可以包括显示屏110、处理器120、存储器130以及通信电路140,显示屏110和存储器130通过通信电路140耦接处理器120,电子设备100通过通信电路140与耳机通信。其中,存储器130中存储有计算机指令,处理器120在运行该计算机指令时执行以上任一的降噪控制方法。Please refer to FIG. 7 . FIG. 7 is a schematic structural diagram of an embodiment of an electronic device of the present application. The electronic device 100 may include a display screen 110 , a processor 120 , a memory 130 and a communication circuit 140 , the display screen 110 and the memory 130 are coupled to the processor 120 through the communication circuit 140 , and the electronic device 100 communicates with the earphone through the communication circuit 140 . Wherein, the memory 130 stores computer instructions, and the processor 120 executes any one of the above noise reduction control methods when executing the computer instructions.
处理器120用于电子设备100的操作,处理器120还可以称为CPU(Central Processing Unit,中央处理单元)。处理器120可能是一种集成电路芯片,具有信号的处理能力。处理器120还可以是通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现场可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。通用处理器可以是微处理器或者该处理器120也可以是任何常规的处理器等。The processor 120 is used to operate the electronic device 100, and the processor 120 may also be called a CPU (Central Processing Unit, central processing unit). The processor 120 may be an integrated circuit chip with signal processing capabilities. The processor 120 can also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components . The general purpose processor may be a microprocessor or the processor 120 may be any conventional processor or the like.
通信电路140可以是电子设备100与耳机或者其他电子设备进行通信的界面,例如收发器。存储器130可以包括随机存取存储器(RAM)、只读存储器(ROM)、闪存、可擦除可编程只读存储器(EPROM)、电可擦除可编程只读存储器(EEPROM)、寄存器、硬盘、可移动盘、CD-ROM,等等。存储器130可以存储有程序数据,程序数据例如可包括单条指令、或许多条指令,且可分布在若干不同的代码段上,分布在不同的程序间以及跨多个存储器130分布。存储器130可被耦接到处理器120以使得该处理器120能从/向该存储器130读写信息。当然,存储器130可以被整合到处理器120。The communication circuit 140 may be an interface for the electronic device 100 to communicate with an earphone or other electronic devices, such as a transceiver. Memory 130 may include random access memory (RAM), read only memory (ROM), flash memory, erasable programmable read only memory (EPROM), electrically erasable programmable read only memory (EEPROM), registers, hard disk, Removable disks, CD-ROMs, etc. Memory 130 may store program data, which may include, for example, a single instruction, or many instructions, and may be distributed over several different code segments, among different programs, and across multiple memories 130 . The memory 130 may be coupled to the processor 120 such that the processor 120 can read and write information from/to the memory 130 . Of course, the memory 130 may be integrated into the processor 120 .
请参阅图8,图8是本申请降噪控制方法另一实施例的流程示意图。本实施例所描述的降噪控制方法可以应用于耳机,具体可以包括以下步骤:Please refer to FIG. 8 . FIG. 8 is a schematic flowchart of another embodiment of the noise reduction control method of the present application. The noise reduction control method described in this embodiment can be applied to earphones, and may specifically include the following steps:
S210:接收第一控制参数,所述第一控制参数是由电子设备在获取环境噪音后,获取所述环境噪音中的待处理频段的预设降噪量,并比较所述待处理频段的预设降噪量和相应的被动降噪量的大小,得出比较结果,并按照所述比较结果所生成的,用于达到所述预设降噪量的。S210: Receive the first control parameter, the first control parameter is obtained by the electronic device after acquiring the environmental noise, the preset noise reduction amount of the frequency band to be processed in the environmental noise, and compare the preset noise reduction amount of the frequency band to be processed. The noise reduction amount and the corresponding passive noise reduction amount are set, a comparison result is obtained, and the result generated according to the comparison result is used to achieve the preset noise reduction amount.
S220:按照所述第一控制参数对所述待处理频段进行噪声控制处理。S220: Perform noise control processing on the frequency band to be processed according to the first control parameter.
具体地,本申请中的耳机可以包括前馈麦克风、反馈麦克风、主动降噪滤波器、被动降噪消除滤波器、扬声器以及蓝牙模块。其中,蓝牙模块用于接收控制参数。如前文所述,控制参数可以包括第一控制参数(包括第一子控制参 数和第二子控制参数)和第二控制参数。主动降噪滤波器可以包括第一降噪滤波器和第二降噪滤波器。Specifically, the headset in this application may include a feedforward microphone, a feedback microphone, an active noise reduction filter, a passive noise reduction filter, a speaker, and a Bluetooth module. Wherein, the bluetooth module is used for receiving control parameters. As mentioned above, the control parameters may include a first control parameter (including a first sub-control parameter and a second sub-control parameter) and a second control parameter. The active noise reduction filter may include a first noise reduction filter and a second noise reduction filter.
请参阅图9,图9是本申请耳机一实施例的降噪流程示意图。Please refer to FIG. 9 . FIG. 9 is a schematic diagram of a noise reduction process of an embodiment of the earphone of the present application.
对于处于主动降噪区域和被动降噪区域的重合区域的待处理频段,在预设降噪量大于相应的被动降噪量时,蓝牙模块接收来自于电子设备的第一子控制参数,第一降噪滤波器按照第一子控制参数控制前馈麦克风输入信号增益,第二降噪滤波器按照第一子控制参数控制反馈麦克风输入信号增益,以对该待处理频段进行能够达到其预设降噪量的主动降噪处理。For the frequency band to be processed in the overlapping area of the active noise reduction area and the passive noise reduction area, when the preset noise reduction amount is greater than the corresponding passive noise reduction amount, the Bluetooth module receives the first sub-control parameter from the electronic device, the first The noise reduction filter controls the input signal gain of the feedforward microphone according to the first sub-control parameter, and the second noise reduction filter controls the input signal gain of the feedback microphone according to the first sub-control parameter, so as to achieve the preset reduction for the frequency band to be processed. Active Noise Cancellation processing.
对于处于主动降噪区域和被动降噪区域的重合区域的待处理频段,在预设降噪量小于相应的被动降噪量时,蓝牙模块接收来自于电子设备的第二子控制参数,被动降噪滤波器按照第二子控制参数控制前馈麦克风输入信号增益,以对该待处理频段进行能够达到其预设降噪量的被动降噪消除处理。For the frequency band to be processed in the overlapping area of the active noise reduction area and the passive noise reduction area, when the preset noise reduction amount is less than the corresponding passive noise reduction amount, the Bluetooth module receives the second sub-control parameter from the electronic device, and the passive noise reduction The noise filter controls the input signal gain of the feedforward microphone according to the second sub-control parameter, so as to perform passive noise reduction and elimination processing on the frequency band to be processed that can reach its preset noise reduction amount.
对于处于主动降噪区域,但不处于被动降噪区域的待处理频段,蓝牙模块接收来自于电子设备的第二控制参数,第一降噪滤波器按照第二控制参数控制前馈麦克风输入信号增益,第二降噪滤波器按照第二控制参数控制反馈麦克风输入信号增益,以对该待处理频段进行能够达到其预设降噪量的主动降噪处理。For the frequency band to be processed that is in the active noise reduction area but not in the passive noise reduction area, the Bluetooth module receives the second control parameter from the electronic device, and the first noise reduction filter controls the input signal gain of the feedforward microphone according to the second control parameter , the second noise reduction filter controls the input signal gain of the feedback microphone according to the second control parameter, so as to perform active noise reduction processing on the frequency band to be processed that can reach its preset noise reduction amount.
对于处于被动降噪区域,但不处于主动降噪区域的待处理频段,在在预设降噪量小于相应的被动降噪量时,蓝牙模块接收来自于电子设备的第二子控制参数,被动降噪滤波器按照第二子控制参数控制前馈麦克风输入信号增益,以对该待处理频段进行能够达到其预设降噪量的被动降噪消除处理。For the frequency band to be processed that is in the passive noise reduction area but not in the active noise reduction area, when the preset noise reduction amount is less than the corresponding passive noise reduction amount, the Bluetooth module receives the second sub-control parameter from the electronic device, passive The noise reduction filter controls the input signal gain of the feedforward microphone according to the second sub-control parameter, so as to perform passive noise reduction and elimination processing on the frequency band to be processed that can reach its preset noise reduction amount.
在本申请所提供的几个实施例中,应该理解到,所揭露的降噪控制方法,可以通过其他的方式实现。例如,以上所描述的电子设备实施例仅仅是示意性的,例如,模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些界面,装置或单元的间接耦合或通信连接,可以是电性,机械或其他的形式。In the several embodiments provided in this application, it should be understood that the disclosed noise reduction control method may be implemented in other ways. For example, the electronic device embodiments described above are only illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined Or it can be integrated into another system, or some features can be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施方式方案的目的。A unit described as a separate component may or may not be physically separated, and a component displayed as a unit may or may not be a physical unit, that is, it may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
请参阅图10,图10是本申请计算机可读存储装置一实施例的结构示意图,上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在具有存储功能的计算机可读存储装置200中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个计算机可读存储装置200中,包括若干计算机指令(程序数据)用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本发明各个实施方式方法的全部或部分步骤。而前述的计算机可读存储装置200包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种存储介质以及具有上述存储介质的计算机、手机、笔记本计算机、平板计算机、相机等电子设备。Please refer to FIG. 10, FIG. 10 is a schematic structural diagram of an embodiment of a computer-readable storage device of the present application. If the above-mentioned integrated unit is implemented in the form of a software function unit and sold or used as an independent product, it can be stored in a storage device with a storage function. in the computer readable storage device 200. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a computer-readable In the storage device 200, several computer instructions (program data) are included to enable a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to execute all or part of the methods of various embodiments of the present invention step. The aforementioned computer-readable storage device 200 includes: various storage media such as U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, etc. And electronic devices such as computers, mobile phones, notebook computers, tablet computers, cameras, etc. that have the above-mentioned storage media.
以上所述仅为本申请的部分实施例,并非因此限制本申请的保护范围,凡是利用本申请说明书及附图内容所作的等效装置或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above descriptions are only part of the embodiments of the application, and are not intended to limit the scope of protection of the application. All equivalent devices or equivalent process transformations made by using the contents of the specification and drawings of the application, or directly or indirectly used in other related All technical fields are equally included in the patent protection scope of the present application.

Claims (10)

  1. 一种降噪控制方法,其特征在于,包括:A noise reduction control method, characterized in that, comprising:
    获取环境噪音,所述环境噪音包括待处理频段;Acquire environmental noise, where the environmental noise includes a frequency band to be processed;
    获取所述待处理频段的预设降噪量,所述预设降噪量与用户对所述待处理频段的降噪需求相对应;Acquiring a preset noise reduction amount of the frequency band to be processed, where the preset noise reduction amount corresponds to a user's noise reduction requirement for the frequency band to be processed;
    比较所述待处理频段的预设降噪量和相应的被动降噪量的大小,得出比较结果;Comparing the preset noise reduction amount of the frequency band to be processed with the corresponding passive noise reduction amount to obtain a comparison result;
    按照所述比较结果生成第一控制参数,以用于达到所述预设降噪量;generating a first control parameter according to the comparison result for achieving the preset noise reduction amount;
    将所述第一控制参数发送给耳机,以使得所述耳机按照所述第一控制参数对所述待处理频段进行噪声控制处理。Sending the first control parameter to the earphone, so that the earphone performs noise control processing on the frequency band to be processed according to the first control parameter.
  2. 根据权利要求1所述的降噪控制方法,其特征在于,The noise reduction control method according to claim 1, wherein:
    所述按照所述比较结果生成第一控制参数,包括:The generating the first control parameter according to the comparison result includes:
    若所述待处理频段的所述预设降噪量大于相应的所述被动降噪量,则生成第一子控制参数,以用于对所述待处理频段进行主动降噪处理,以进一步降噪;If the preset noise reduction amount of the frequency band to be processed is greater than the corresponding passive noise reduction amount, a first sub-control parameter is generated to perform active noise reduction processing on the frequency band to be processed to further reduce noise;
    若所述待处理频段的所述预设降噪量小于相应的所述被动降噪量,则生成第二子控制参数,以用于对所述待处理频段进行被动降噪消除处理,以消除所述被动降噪量。If the preset noise reduction amount of the frequency band to be processed is smaller than the corresponding passive noise reduction amount, a second sub-control parameter is generated to perform passive noise reduction and elimination processing on the frequency band to be processed to eliminate The amount of passive noise reduction.
  3. 根据权利要求2所述的降噪控制方法,其特征在于,The noise reduction control method according to claim 2, wherein:
    所述生成第一子控制参数,包括:The generating the first sub-control parameter includes:
    计算所述待处理频段的所述预设降噪量与相应的所述被动降噪量之间的第一差值;calculating a first difference between the preset noise reduction amount of the frequency band to be processed and the corresponding passive noise reduction amount;
    根据所述第一差值生成所述第一子控制参数,以用于对所述待处理频段进行降噪量为所述第一差值的主动降噪处理;generating the first sub-control parameter according to the first difference, so as to perform active noise reduction processing on the frequency band to be processed whose noise reduction amount is the first difference;
    所述生成第二子控制参数,包括:Said generating the second sub-control parameter includes:
    计算所述待处理频段的所述被动降噪量与相应的所述预设降噪量之间的第二差值;calculating a second difference between the passive noise reduction amount of the frequency band to be processed and the corresponding preset noise reduction amount;
    根据所述第二差值生成所述第二子控制参数,以用于对所述待处理频段进行消除量为所述第二差值的被动降噪消除处理。The second sub-control parameter is generated according to the second difference, so as to perform passive noise reduction and elimination processing on the frequency band to be processed with a removal amount equal to the second difference.
  4. 根据权利要求2所述的降噪控制方法,其特征在于,The noise reduction control method according to claim 2, wherein:
    所述按照所述比较结果生成第一控制参数,包括:The generating the first control parameter according to the comparison result includes:
    判断所述待处理频段是否处于主动降噪区域;Judging whether the frequency band to be processed is in an active noise reduction area;
    若是,则执行所述若所述待处理频段的所述预设降噪量大于相应的所述被动降噪量,则生成第一子控制参数,以用于对所述待处理频段进行主动降噪处理,以进一步降噪;若所述待处理频段的所述预设降噪量小于相应的所述被动降噪量,则生成第二子控制参数,以用于对所述待处理频段进行被动降噪消除处理,以消除所述被动降噪量;If yes, execute the step of generating a first sub-control parameter for actively reducing the frequency band to be processed if the preset noise reduction amount of the frequency band to be processed is greater than the corresponding passive noise reduction amount. Noise processing to further reduce noise; if the preset noise reduction amount of the frequency band to be processed is less than the corresponding passive noise reduction amount, a second sub-control parameter is generated for performing the noise reduction on the frequency band to be processed passive noise reduction removal processing to remove said passive noise reduction amount;
    若否,则在所述待处理频段的所述预设降噪量大于相应的所述被动降噪量时,不对所述待处理频段进行主动降噪处理,在所述待处理频段的所述预设降噪量小于相应的所述被动降噪量时,生成第二子控制参数,以用于对所述待处理频段进行被动降噪消除处理,以消除所述被动降噪量。If not, when the preset noise reduction amount of the frequency band to be processed is greater than the corresponding passive noise reduction amount, active noise reduction processing is not performed on the frequency band to be processed, and the When the preset noise reduction amount is smaller than the corresponding passive noise reduction amount, a second sub-control parameter is generated for performing passive noise reduction processing on the frequency band to be processed so as to eliminate the passive noise reduction amount.
  5. 根据权利要求1所述的降噪控制方法,其特征在于,The noise reduction control method according to claim 1, wherein:
    所述比较所述待处理频段的预设降噪量和相应的被动降噪量的大小,之前还包括:The comparison of the preset noise reduction amount of the frequency band to be processed and the corresponding passive noise reduction amount also includes:
    判断所述待处理频段是否处于被动降噪区域;judging whether the frequency band to be processed is in a passive noise reduction area;
    若是,则执行所述比较所述待处理频段的预设降噪量和相应的被动降噪量的大小;If so, performing the comparison between the preset noise reduction amount of the frequency band to be processed and the corresponding passive noise reduction amount;
    若否,则根据所述预设降噪量生成第二控制参数,并将所述第二控制参数发送给所述耳机,以使得所述耳机对所述待处理频段进行降噪量为所述预设降噪量的主动降噪处理。If not, generate a second control parameter according to the preset noise reduction amount, and send the second control parameter to the earphone, so that the earphone performs noise reduction on the frequency band to be processed by the Active noise reduction processing with preset noise reduction amounts.
  6. 根据权利要求1所述的降噪控制方法,其特征在于,The noise reduction control method according to claim 1, wherein:
    所述获取所述待处理频段的预设降噪量,包括:The acquisition of the preset noise reduction amount of the frequency band to be processed includes:
    获取用户对所述待处理频段的降噪量设置指令,生成所述预设降噪量。Obtain a user's instruction for setting the noise reduction amount of the frequency band to be processed, and generate the preset noise reduction amount.
  7. 根据权利要求6所述的降噪控制方法,其特征在于,The noise reduction control method according to claim 6, wherein:
    所述环境噪音包括多个待处理频段,The environmental noise includes multiple frequency bands to be processed,
    所述获取环境噪音,包括:The acquisition of ambient noise includes:
    通过自身麦克风拾取所述环境噪音,或者接收所述耳机所拾取的所述环境噪音。Pick up the ambient noise through its own microphone, or receive the ambient noise picked up by the earphone.
  8. 一种降噪控制方法,其特征在于,包括:A noise reduction control method, characterized in that, comprising:
    接收第一控制参数,所述第一控制参数是由电子设备在获取环境噪音后,获取所述环境噪音中的待处理频段的预设降噪量,并比较所述待处理频段的预设降噪量和相应的被动降噪量的大小,得出比较结果,并按照所述比较结果所 生成的,用于达到所述预设降噪量的;Receive the first control parameter, the first control parameter is obtained by the electronic device after acquiring the environmental noise, the preset noise reduction amount of the frequency band to be processed in the environmental noise, and compare the preset noise reduction amount of the frequency band to be processed The noise amount and the corresponding passive noise reduction amount are compared to obtain the comparison result, which is generated according to the comparison result and used to achieve the preset noise reduction amount;
    按照所述第一控制参数对所述待处理频段进行噪声控制处理。Perform noise control processing on the frequency band to be processed according to the first control parameter.
  9. 一种电子设备,其特征在于,包括显示屏、处理器、存储器以及通信电路,所述显示屏和所述存储器通过所述通信电路耦接所述处理器,所述电子设备通过所述通信电路与耳机通信;An electronic device, characterized in that it includes a display screen, a processor, a memory, and a communication circuit, the display screen and the memory are coupled to the processor through the communication circuit, and the electronic device is connected to the processor through the communication circuit communicate with the headset;
    所述存储器中存储有计算机指令;computer instructions are stored in the memory;
    所述处理器在运行所述计算机指令时执行权利要求1至7任一项所述的降噪控制方法。The processor executes the noise reduction control method according to any one of claims 1 to 7 when running the computer instructions.
  10. 一种计算机可读存储装置,其特征在于,存储有能够被处理器运行的计算机指令,所述计算机指令在被所述处理器执行时能够实现权利要求1至7任一项所述的降噪控制方法。A computer-readable storage device, characterized in that computer instructions that can be executed by a processor are stored, and when the computer instructions are executed by the processor, the noise reduction described in any one of claims 1 to 7 can be realized Control Method.
PCT/CN2022/083432 2021-06-02 2022-03-28 Noise reduction control method, electronic device, and computer-readable storage apparatus WO2022252781A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110613689.5A CN113490089B (en) 2021-06-02 2021-06-02 Noise reduction control method, electronic device and computer readable storage device
CN202110613689.5 2021-06-02

Publications (1)

Publication Number Publication Date
WO2022252781A1 true WO2022252781A1 (en) 2022-12-08

Family

ID=77934508

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/083432 WO2022252781A1 (en) 2021-06-02 2022-03-28 Noise reduction control method, electronic device, and computer-readable storage apparatus

Country Status (2)

Country Link
CN (1) CN113490089B (en)
WO (1) WO2022252781A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116320176A (en) * 2023-05-16 2023-06-23 泰坦(天津)能源技术有限公司 Processing method and system for improving underground voice recognition accuracy

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113490089B (en) * 2021-06-02 2022-07-29 安克创新科技股份有限公司 Noise reduction control method, electronic device and computer readable storage device
CN114390391B (en) * 2021-12-29 2023-10-27 联想(北京)有限公司 Audio processing method and equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030223518A1 (en) * 2002-03-21 2003-12-04 Globespan Virata Incorporated Adaptive RFI canceller for DSL
CN105376668A (en) * 2015-11-24 2016-03-02 广东欧珀移动通信有限公司 Headset noise reduction method and device
CN106535027A (en) * 2016-12-30 2017-03-22 佳禾智能科技股份有限公司 Device for monitoring noise-canceling effect of noise-canceling headset and active noise-canceling headset capable of adjusting noise-canceling effect
EP3346725A1 (en) * 2017-01-05 2018-07-11 Harman Becker Automotive Systems GmbH Active noise reduction earphones
CN110650412A (en) * 2019-10-17 2020-01-03 陕西金蝌蚪智能科技有限公司 Drying processing method and device, terminal and storage medium
CN113490089A (en) * 2021-06-02 2021-10-08 安克创新科技股份有限公司 Noise reduction control method, electronic device and computer readable storage device

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102348151B (en) * 2011-09-10 2015-07-29 歌尔声学股份有限公司 Noise canceling system and method, intelligent control method and device, communication equipment
CN105120389B (en) * 2015-08-17 2019-07-12 惠州Tcl移动通信有限公司 A kind of method and earphone carrying out noise reduction process according to scene
CN108551604B (en) * 2018-04-26 2021-05-07 海尔优家智能科技(北京)有限公司 Noise reduction method, noise reduction device and noise reduction earphone
CN108847208B (en) * 2018-05-04 2020-11-27 歌尔科技有限公司 Noise reduction processing method and device and earphone
CN108882092A (en) * 2018-07-03 2018-11-23 歌尔智能科技有限公司 A kind of earphone noise-reduction method and feedback noise reduction system
CN109714663B (en) * 2018-12-21 2020-05-22 歌尔科技有限公司 Earphone control method, earphone and storage medium
CN110475170A (en) * 2019-07-10 2019-11-19 深圳壹账通智能科技有限公司 Control method, device, mobile terminal and the storage medium of earphone broadcast state
CN111754969B (en) * 2020-07-06 2023-06-16 歌尔科技有限公司 Noise reduction method and device, electronic equipment and noise reduction system
CN112839278A (en) * 2020-12-28 2021-05-25 广州番禺巨大汽车音响设备有限公司 Bluetooth headset noise reduction method and device based on ANC noise reduction and Bluetooth headset
CN112637724B (en) * 2020-12-29 2023-08-08 西安讯飞超脑信息科技有限公司 Earphone noise reduction method, system and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030223518A1 (en) * 2002-03-21 2003-12-04 Globespan Virata Incorporated Adaptive RFI canceller for DSL
CN105376668A (en) * 2015-11-24 2016-03-02 广东欧珀移动通信有限公司 Headset noise reduction method and device
CN106535027A (en) * 2016-12-30 2017-03-22 佳禾智能科技股份有限公司 Device for monitoring noise-canceling effect of noise-canceling headset and active noise-canceling headset capable of adjusting noise-canceling effect
EP3346725A1 (en) * 2017-01-05 2018-07-11 Harman Becker Automotive Systems GmbH Active noise reduction earphones
CN110650412A (en) * 2019-10-17 2020-01-03 陕西金蝌蚪智能科技有限公司 Drying processing method and device, terminal and storage medium
CN113490089A (en) * 2021-06-02 2021-10-08 安克创新科技股份有限公司 Noise reduction control method, electronic device and computer readable storage device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116320176A (en) * 2023-05-16 2023-06-23 泰坦(天津)能源技术有限公司 Processing method and system for improving underground voice recognition accuracy
CN116320176B (en) * 2023-05-16 2023-08-15 泰坦(天津)能源技术有限公司 Processing method and system for improving underground voice recognition accuracy

Also Published As

Publication number Publication date
CN113490089A (en) 2021-10-08
CN113490089B (en) 2022-07-29

Similar Documents

Publication Publication Date Title
WO2022252781A1 (en) Noise reduction control method, electronic device, and computer-readable storage apparatus
US9961444B2 (en) Reproducing device, headphone and reproducing method
US10410654B2 (en) Active noise control headphones
US9779716B2 (en) Occlusion reduction and active noise reduction based on seal quality
WO2017215657A1 (en) Sound effect processing method, and terminal device
US20220335924A1 (en) Method for reducing occlusion effect of earphone, and related apparatus
CN112954530B (en) Earphone noise reduction method, device and system and wireless earphone
CN111541966B (en) Uplink noise reduction method and device of wireless earphone and wireless earphone
WO2023284402A1 (en) Audio signal processing method, system, and apparatus, electronic device, and storage medium
CN109155802A (en) For generating the device of audio output
WO2023098401A1 (en) Earphone having active noise reduction function and active noise reduction method
WO2023284430A1 (en) Volume adjustment method, terminal device, and computer readable storage medium
WO2023092761A1 (en) Noise reduction earphone audio processing method, noise reduction earphone, apparatus, and readable storage medium
TWM526238U (en) Electronic device capable of adjusting settings of equalizer according to user's age and audio playing device thereof
WO2020252973A1 (en) Wireless earphone noise reduction method and system, wireless earphone and storage medium
CN113207056B (en) Wireless earphone and transparent transmission method, device and system thereof
CN113038337B (en) Audio playing method, wireless earphone and computer readable storage medium
CN113038318B (en) Voice signal processing method and device
WO2023197474A1 (en) Method for determining parameter corresponding to earphone mode, and earphone, terminal and system
JP2023511836A (en) Wireless headset with hearable function
CN111770404A (en) Recording method, recording device, electronic equipment and readable storage medium
CN208015947U (en) Earphone
CN105721710A (en) Recording method and apparatus, and electronic device
US11533555B1 (en) Wearable audio device with enhanced voice pick-up
TWI746001B (en) Head-mounted apparatus and stereo effect controlling method thereof

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22814828

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE