[go: up one dir, main page]

CN108228038B - Noise canceling device, noise canceling method, computer-readable storage medium, and electronic apparatus - Google Patents

Noise canceling device, noise canceling method, computer-readable storage medium, and electronic apparatus Download PDF

Info

Publication number
CN108228038B
CN108228038B CN201711408951.2A CN201711408951A CN108228038B CN 108228038 B CN108228038 B CN 108228038B CN 201711408951 A CN201711408951 A CN 201711408951A CN 108228038 B CN108228038 B CN 108228038B
Authority
CN
China
Prior art keywords
noise
algorithm
user
noise cancellation
noise elimination
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201711408951.2A
Other languages
Chinese (zh)
Other versions
CN108228038A (en
Inventor
石奇
肖翔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Pinecone Electronic Co Ltd
Original Assignee
Beijing Xiaomi Pinecone Electronic Co Ltd
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 Beijing Xiaomi Pinecone Electronic Co Ltd filed Critical Beijing Xiaomi Pinecone Electronic Co Ltd
Priority to CN201711408951.2A priority Critical patent/CN108228038B/en
Publication of CN108228038A publication Critical patent/CN108228038A/en
Application granted granted Critical
Publication of CN108228038B publication Critical patent/CN108228038B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/162Interface to dedicated audio devices, e.g. audio drivers, interface to CODECs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Soundproofing, Sound Blocking, And Sound Damping (AREA)
  • Telephone Function (AREA)
  • Noise Elimination (AREA)

Abstract

The utility model relates to a device, method, computer readable storage medium and electronic equipment of making an uproar disappears belongs to electron technical field, can call more MIPS, and the effect of making an uproar is better, makes the user can freely select the algorithm of making an uproar and obtain better noise elimination and experience moreover. This noise cancellation device includes: the detection module is used for detecting whether a listening device connected to the communication device is provided with a noise elimination algorithm; the output module is used for outputting a noise elimination algorithm selection option to a user when the detection module detects that the listening device is provided with the noise elimination algorithm; and the noise elimination module is used for carrying out noise elimination processing based on the noise elimination algorithm selection option selected by the user.

Description

Noise canceling device, noise canceling method, computer-readable storage medium, and electronic apparatus
Technical Field
The present disclosure relates to the field of electronic technologies, and in particular, to a noise cancellation device, a noise cancellation method, a computer-readable storage medium, and an electronic device.
Background
At present, when a mobile phone detects that a USB digital earphone or a Bluetooth earphone with a noise elimination algorithm is inserted, the algorithm of the mobile phone is bypassed, and the noise elimination algorithm of the USB digital earphone or the Bluetooth earphone is selected for noise elimination, so that the mobile phone and the USB digital earphone or the Bluetooth earphone are ensured not to generate conflict during signal processing. However, since the noise cancellation algorithm of the USB digital headset or the bluetooth headset is not mature enough, there are few Instructions per second (MIPS) that can be called, and the noise cancellation effect is not very good, the user can neither freely select the noise cancellation algorithm, nor has a good noise cancellation experience.
Disclosure of Invention
An object of the present disclosure is to provide a noise canceling device, a noise canceling method, a computer-readable storage medium, and an electronic device, which are capable of invoking more MIPS and achieving better noise canceling effect, and which enable a user to freely select a noise canceling algorithm and obtain better noise canceling experience, compared to the prior art.
In order to achieve the above object, the present disclosure provides a noise cancellation device including:
the detection module is used for detecting whether a listening device connected to the communication device is provided with a noise elimination algorithm;
the output module is used for outputting a noise elimination algorithm selection option to a user when the detection module detects that the listening device is provided with the noise elimination algorithm; and
and the noise elimination module is used for selecting options to carry out noise elimination processing based on the noise elimination algorithm selected by the user.
Optionally, the noise cancellation algorithm selection option comprises at least an option to select a noise cancellation algorithm onboard the communication device.
Optionally, the listening device is a USB digital headset or a bluetooth headset.
Optionally, the noise cancellation module is further configured to perform noise cancellation directly using the own noise cancellation algorithm on the communications device when the detection module detects that there is no own noise cancellation algorithm on the listener.
According to still another embodiment of the present disclosure, there is provided a noise canceling method including:
detecting whether a sound receiver connected to the communication device is provided with a noise elimination algorithm;
outputting a noise cancellation algorithm selection option to a user when the sound receiver is detected to be provided with a noise cancellation algorithm; and
and selecting an option to perform denoising processing based on the denoising algorithm selected by the user.
Optionally, the noise cancellation algorithm selection option comprises at least an option to select a noise cancellation algorithm onboard the communication device.
Optionally, the listening device is a USB digital headset or a bluetooth headset.
Optionally, the method further comprises: when detecting that the listening device has no self-contained noise elimination algorithm, directly utilizing the self-contained noise elimination algorithm on the communication device to eliminate noise.
According to yet another embodiment of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored, which when executed by a processor implements the steps of the above-described noise cancellation method.
According to still another embodiment of the present disclosure, there is provided an electronic apparatus including:
the computer-readable storage medium described above; and
one or more processors to execute the program in the computer-readable storage medium.
By adopting the technical scheme, the output module can output the selection option of the noise canceling algorithm to a user when the detection module detects that the listening device connected to the communication device is provided with the noise canceling algorithm, and the noise canceling module can perform noise canceling processing based on the selection option of the noise canceling algorithm selected by the user, so that the noise canceling device, the noise canceling method, the computer readable storage medium and the electronic equipment according to the embodiment of the disclosure can enable the user to freely select the noise canceling algorithm, and can call more MIPSs when the user selects the noise canceling algorithm of the communication device, thereby realizing better noise canceling effect and bringing better noise canceling experience to the user.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure without limiting the disclosure. In the drawings:
fig. 1 is a schematic block diagram of a noise cancellation apparatus according to an embodiment of the present disclosure;
FIG. 2 is a flow diagram of a method of denoising according to one embodiment of the present disclosure;
FIG. 3 is a flow diagram of a method of denoising according to yet another embodiment of the present disclosure;
FIG. 4 is a block diagram of an electronic device according to one embodiment of the present disclosure.
Detailed Description
The following detailed description of specific embodiments of the present disclosure is provided in connection with the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present disclosure, are given by way of illustration and explanation only, not limitation.
According to an embodiment of the present disclosure, there is provided a noise cancellation device, as shown in fig. 1, the noise cancellation device 1 includes a detection module 10, an output module 20, and a noise cancellation module 30, wherein: a detection module 10, for detecting whether a noise cancellation algorithm is provided on a listening device connected to the communication device; an output module 20, configured to output a noise cancellation algorithm selection option to a user when the detection module 10 detects that the listening device has a noise cancellation algorithm; and a noise canceling module 30 for performing noise canceling processing based on the user-selected noise canceling algorithm selection option.
The noise canceling algorithm mentioned here may include an algorithm for canceling echo, an algorithm for adding sound effect, and the like, in addition to an algorithm for canceling noise. The listening device can be a USB digital earphone or a Bluetooth earphone.
By adopting the above technical scheme, because the output module 20 can output the selection option of the noise cancellation algorithm to the user when the detection module 10 detects that the listening device connected to the communication device has the noise cancellation algorithm, and the noise cancellation module 30 can perform the noise cancellation processing based on the selection option of the noise cancellation algorithm selected by the user, the noise cancellation device according to the embodiment of the disclosure can enable the user to freely select the noise cancellation algorithm, and can call more MIPS when the user selects the noise cancellation algorithm of the communication device, thereby achieving a better noise cancellation effect and bringing better noise cancellation experience to the user.
In one possible implementation, the noise cancellation algorithm selection option includes at least an option to select a noise cancellation algorithm onboard the communication device. Because the noise elimination algorithm carried by the communication device is generally mature, the called MIPS is more, and the noise elimination effect is better, the user is provided with an option for selecting the noise elimination algorithm carried by the communication device, and the better noise elimination effect can be realized. For example, when the detection module 10 detects the noise canceling algorithm of the listening device connected to the communication device, the output module 20 outputs a prompt box of "whether to select the noise canceling algorithm of the listening device itself" to the user through the display of the communication device, so that if the user clicks the "yes" button on the display, it indicates that the user determines to use the noise canceling algorithm of the listening device itself, and if the user clicks the "no" button on the display, it indicates that the user determines to use the noise canceling algorithm of the listening device itself. More specifically, the noise canceling algorithm selection options may include the following: selecting a noise elimination algorithm carried by the communication device and selecting a noise elimination algorithm carried by the listening device.
In a possible embodiment, the noise cancellation module 30 may also be adapted to perform noise cancellation directly using the own noise cancellation algorithm on the communication device when the detection module 10 detects that there is no own noise cancellation algorithm on the listening device connected to the communication device. In this case, the output module 20 does not output the noise canceling algorithm selection option to the user to speed up the noise canceling process.
According to still another embodiment of the present disclosure, there is provided a noise canceling method, as shown in fig. 2, which may include the steps of:
s201, detecting whether a listening device connected to a communication device is provided with a noise elimination algorithm;
s202a, outputting a noise cancellation algorithm selection option to a user when the noise cancellation algorithm is detected to be carried on the listening device; and
and S203, selecting options based on the noise elimination algorithm selected by the user to perform noise elimination processing.
By adopting the technical scheme, the noise canceling algorithm selection option can be output to a user when the noise canceling algorithm is detected to be carried on the listening device connected to the communication device, and the noise canceling processing is carried out based on the noise canceling algorithm selection option selected by the user, so that the noise canceling method according to the embodiment of the disclosure can enable the user to freely select the noise canceling algorithm, and can call more MIPSs when the user selects the noise canceling algorithm carried by the communication device, thereby realizing better noise canceling effect and bringing better noise canceling experience to the user.
The noise canceling algorithm mentioned here may include an algorithm for canceling echo, an algorithm for adding sound effect, and the like, in addition to an algorithm for canceling noise. The listening device can be a USB digital earphone or a Bluetooth earphone.
In one possible implementation, the noise cancellation algorithm selection option includes at least an option to select a noise cancellation algorithm onboard the communication device. Because the noise elimination algorithm carried by the communication device is generally mature, the called MIPS is more, and the noise elimination effect is better, the user is provided with an option for selecting the noise elimination algorithm carried by the communication device, and the better noise elimination effect can be realized. For example, when a listener attached to the communications device is detected to have its own noise canceling algorithm, a prompt is output to the user via the display of the communications device to indicate to the user whether to select the communications device's own noise canceling algorithm, such that if the user clicks the "yes" button on the display, the user is instructed to determine to use the communications device's own noise canceling algorithm, and if the user clicks the "no" button on the display, the user is instructed to use the communications device's own noise canceling algorithm. More specifically, the noise canceling algorithm selection options may include the following: selecting a noise elimination algorithm carried by the communication device and selecting a noise elimination algorithm carried by the listening device.
Fig. 3 shows a flow chart of a method of denoising according to yet another embodiment of the present disclosure. As shown in fig. 3, the noise cancellation method includes, in addition to steps S201 to S203 shown in fig. 2, the following step S202 b: when detecting that the listening device has no self-contained noise elimination algorithm, directly utilizing the self-contained noise elimination algorithm on the communication device to eliminate noise. In this case, the denoising method according to the embodiment of the present disclosure does not output a denoising algorithm selection option to the user to speed up the denoising process.
Fig. 4 is a block diagram illustrating an electronic device 700 according to an example embodiment. As shown in fig. 4, the electronic device 700 may include: a processor 701, a memory 702, multimedia components 703, input/output (I/O) interfaces 704, and communication components 705.
The processor 701 is configured to control the overall operation of the electronic device 700, so as to complete all or part of the steps in the noise cancellation method. The memory 702 is used to store various types of data to support operation of the electronic device 700, such as instructions for any application or method operating on the electronic device 700 and application-related data. The Memory 702 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk, or optical disk. The multimedia components 703 may include screen and audio components. Wherein the screen may be, for example, a touch screen and the audio component is used for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may further be stored in the memory 702 or transmitted through the communication component 705. The audio assembly also includes at least one speaker for outputting audio signals. The I/O interface 704 provides an interface between the processor 701 and other interface modules, such as a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 705 is used for wired or wireless communication between the electronic device 700 and other devices. Wireless Communication, such as Wi-Fi, bluetooth, Near Field Communication (NFC), 2G, 3G, or 4G, or a combination of one or more of them, so that the corresponding Communication component 705 may include: Wi-Fi module, bluetooth module, NFC module.
In an exemplary embodiment, the electronic Device 700 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the above-described noise cancellation method.
In another exemplary embodiment, a computer readable storage medium comprising program instructions, such as the memory 702 comprising program instructions, executable by the processor 701 of the electronic device 700 to perform the above-described noise canceling method is also provided.
The preferred embodiments of the present disclosure are described in detail with reference to the accompanying drawings, however, the present disclosure is not limited to the specific details of the above embodiments, and various simple modifications may be made to the technical solution of the present disclosure within the technical idea of the present disclosure, and these simple modifications all belong to the protection scope of the present disclosure.
It should be noted that the various features described in the above embodiments may be combined in any suitable manner without departing from the scope of the invention. In order to avoid unnecessary repetition, various possible combinations will not be separately described in this disclosure.
In addition, any combination of various embodiments of the present disclosure may be made, and the same should be considered as the disclosure of the present disclosure, as long as it does not depart from the spirit of the present disclosure.

Claims (8)

1. A noise cancellation apparatus, characterized by comprising:
the detection module is used for detecting whether a listening device connected to the communication device is provided with a noise elimination algorithm;
an output module, configured to output a noise cancellation algorithm selection option to a user when the detection module detects that the listening device has a noise cancellation algorithm, where the noise cancellation algorithm selection option at least includes an option of selecting the noise cancellation algorithm carried by the communication device; and
and the noise elimination module is used for selecting options to carry out noise elimination processing based on the noise elimination algorithm selected by the user.
2. The noise cancellation apparatus of claim 1, wherein the listening device is a USB digital headset or a bluetooth headset.
3. The noise cancellation apparatus of claim 1, wherein the noise cancellation module is further configured to perform noise cancellation directly using the own noise cancellation algorithm on the communication apparatus when the detection module detects that there is no own noise cancellation algorithm on the listening device.
4. A method of denoising, comprising:
detecting whether a sound receiver connected to the communication device is provided with a noise elimination algorithm;
outputting a noise canceling algorithm selection option to a user upon detecting the listener's own noise canceling algorithm, wherein the noise canceling algorithm selection option comprises at least an option to select the noise canceling algorithm of the communication device's own noise canceling algorithm; and
and selecting an option to perform denoising processing based on the denoising algorithm selected by the user.
5. The noise canceling method of claim 4, wherein the listening device is a USB digital headset or a Bluetooth headset.
6. The noise canceling method of claim 4, further comprising:
when detecting that the listening device has no self-contained noise elimination algorithm, directly utilizing the self-contained noise elimination algorithm on the communication device to eliminate noise.
7. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 4 to 6.
8. An electronic device, comprising:
the computer-readable storage medium recited in claim 7; and
one or more processors to execute the program in the computer-readable storage medium.
CN201711408951.2A 2017-12-22 2017-12-22 Noise canceling device, noise canceling method, computer-readable storage medium, and electronic apparatus Active CN108228038B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711408951.2A CN108228038B (en) 2017-12-22 2017-12-22 Noise canceling device, noise canceling method, computer-readable storage medium, and electronic apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711408951.2A CN108228038B (en) 2017-12-22 2017-12-22 Noise canceling device, noise canceling method, computer-readable storage medium, and electronic apparatus

Publications (2)

Publication Number Publication Date
CN108228038A CN108228038A (en) 2018-06-29
CN108228038B true CN108228038B (en) 2020-09-18

Family

ID=62647698

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711408951.2A Active CN108228038B (en) 2017-12-22 2017-12-22 Noise canceling device, noise canceling method, computer-readable storage medium, and electronic apparatus

Country Status (1)

Country Link
CN (1) CN108228038B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111107461A (en) * 2019-12-13 2020-05-05 恒玄科技(北京)有限公司 Noise reduction earphone configuration method and device, intelligent terminal and noise reduction earphone

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09153827A (en) * 1995-11-30 1997-06-10 Nec Eng Ltd Receiving device
CN1738488A (en) * 2004-08-19 2006-02-22 美商富迪科技股份有限公司 Message device with active noise eliminating function
CN101681617A (en) * 2007-05-09 2010-03-24 沃福森微电子股份有限公司 Communication apparatus with ambient noise reduction
CN106255003A (en) * 2016-08-19 2016-12-21 华为技术有限公司 Audio process in the operation control method of earphone noise reduction and terminal unit
CN106303839A (en) * 2016-09-29 2017-01-04 中山市天键电声有限公司 ANC noise reduction control method based on mobile APP
CN106572411A (en) * 2016-09-29 2017-04-19 乐视控股(北京)有限公司 Noise cancelling control method and relevant device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09153827A (en) * 1995-11-30 1997-06-10 Nec Eng Ltd Receiving device
CN1738488A (en) * 2004-08-19 2006-02-22 美商富迪科技股份有限公司 Message device with active noise eliminating function
CN101681617A (en) * 2007-05-09 2010-03-24 沃福森微电子股份有限公司 Communication apparatus with ambient noise reduction
CN106255003A (en) * 2016-08-19 2016-12-21 华为技术有限公司 Audio process in the operation control method of earphone noise reduction and terminal unit
CN106303839A (en) * 2016-09-29 2017-01-04 中山市天键电声有限公司 ANC noise reduction control method based on mobile APP
CN106572411A (en) * 2016-09-29 2017-04-19 乐视控股(北京)有限公司 Noise cancelling control method and relevant device

Also Published As

Publication number Publication date
CN108228038A (en) 2018-06-29

Similar Documents

Publication Publication Date Title
US9832582B2 (en) Sound effect control method and apparatus
US10635388B2 (en) Sound effect processing method and mobile terminal
CN107509153B (en) Detection method and device of sound playing device, storage medium and terminal
CN107071119B (en) A sound cancellation method and mobile terminal
CN106357871A (en) Voice amplifying method and mobile terminal
CN112770214A (en) Earphone control method and device and earphone
CN107506167B (en) Volume control method and device of mobile terminal, storage medium and mobile terminal
CN106791109A (en) A kind of sound prompting method and mobile terminal
US10073672B2 (en) Method, system, and computer storage medium for voice control of a split-screen terminal
US9398130B2 (en) Mobile terminal and method for controlling answer mode of the mobile terminal and non-transitory computer-readable storage medium
CN107633849B (en) Bluetooth device volume adjustment method, device and computer-readable storage medium
US20150248879A1 (en) Method and system for configuring an active noise cancellation unit
CN104393848A (en) Method and device for adjusting volume
CN106255000A (en) A kind of audio signal sample method and mobile terminal
CN110784804B (en) Wireless earphone noise reduction calibration method and device, earphone box and storage medium
CN107147767B (en) Call volume control method and device, storage medium and terminal
KR20200017702A (en) Electronic device and method for adjusting the output intensity of a speaker based on distance from an external electronic device
US9503556B2 (en) Handling voice calls
CN112752186A (en) Earphone wearing state detection method and device and earphone
CN108228038B (en) Noise canceling device, noise canceling method, computer-readable storage medium, and electronic apparatus
CN108605067B (en) Method for playing audio and mobile terminal
KR102443637B1 (en) Electronic device for determining a noise control parameter based on network connection information and an operating method thereof
CN106375554B (en) Audio output control method and mobile terminal
CN107332984B (en) Voice processing method and mobile terminal
US10353504B2 (en) User interface for computing devices equipped with pressure-sensitive displays

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 100085 unit C, building C, lin66, Zhufang Road, Qinghe, Haidian District, Beijing

Applicant after: Beijing Xiaomi pinecone Electronic Co., Ltd

Address before: 100085 Beijing city Haidian District Qinghe Shun Yip things Park Building 3 unit A

Applicant before: BEIJING PINECONE ELECTRONICS Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant