WO2017035771A1 - 语音通路的检测方法、装置和终端 - Google Patents

语音通路的检测方法、装置和终端 Download PDF

Info

Publication number
WO2017035771A1
WO2017035771A1 PCT/CN2015/088727 CN2015088727W WO2017035771A1 WO 2017035771 A1 WO2017035771 A1 WO 2017035771A1 CN 2015088727 W CN2015088727 W CN 2015088727W WO 2017035771 A1 WO2017035771 A1 WO 2017035771A1
Authority
WO
WIPO (PCT)
Prior art keywords
volume value
sound
microphone
communication terminal
blocked
Prior art date
Application number
PCT/CN2015/088727
Other languages
English (en)
French (fr)
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 华为技术有限公司
Priority to CN201580027125.6A priority Critical patent/CN106717027A/zh
Priority to PCT/CN2015/088727 priority patent/WO2017035771A1/zh
Publication of WO2017035771A1 publication Critical patent/WO2017035771A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R29/00Monitoring arrangements; Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04SSTEREOPHONIC SYSTEMS 
    • H04S7/00Indicating arrangements; Control arrangements, e.g. balance control

Definitions

  • the embodiments of the present invention relate to the field of communications, and in particular, to a method, an apparatus, and a terminal for detecting a voice path.
  • the user usually uses his finger to hold down the delay of the mobile phone during the call. Since the microphone on the mobile phone is usually placed on the extension of the mobile phone, and the opening of the microphone on the mobile phone is usually small, the user's finger may block the microphone. When the opening of the microphone is blocked, that is, when the voice path is blocked, the voice of the user is not transmitted to the microphone, and the other party cannot hear the user's voice.
  • some manufacturers in the prior art may open a plurality of openings in the microphone portion of the mobile phone to prevent the user from blocking the microphone with a finger during the call.
  • this method increases the risk of dust entering the microphone and may affect the operation of the speaker and other devices to form interference.
  • the embodiment of the invention provides a method, a device and a terminal for detecting a voice path, which can detect a voice path simply and effectively.
  • a method for detecting a voice path of a communication terminal comprising:
  • the method further includes:
  • the communication terminal When it is determined that the voice path is blocked, the communication terminal is instructed to issue an alarm signal for prompting the user that the voice path is blocked.
  • the volume value of the first sound is obtained by using the main microphone in a preset time period.
  • the average volume value of the first sound; the volume value of the second sound is an average volume value of the second sound acquired by the sub-microphone within a preset time period.
  • the volume value according to the first sound is different from the first The difference between the volume values of the two sounds determines whether the voice path is blocked, including:
  • the volume value according to the first sound is different from the first The difference between the volume values of the two sounds determines whether the voice path is blocked, including:
  • the communication terminal is in a handheld call state
  • the method further includes: before acquiring the volume value of the first sound acquired by the primary microphone and the volume value of the second sound acquired by the secondary microphone, the method further comprising:
  • the method when the communication terminal is in a handheld call state The method further includes: before acquiring the volume value of the first sound acquired by the primary microphone and the volume value of the second sound acquired by the secondary microphone, the method further comprising:
  • an apparatus for detecting a voice path of a communication terminal the apparatus being included in the communication terminal, the communication terminal comprising a primary microphone and a secondary microphone, the apparatus comprising:
  • An acquiring unit configured to acquire, when the communication terminal is in a handheld call state, a volume value of a first sound acquired by the primary microphone and a volume value of a second sound acquired by the secondary microphone;
  • a determining unit configured to determine whether the voice path is blocked according to a difference between a volume value of the first sound acquired by the acquiring unit and a volume value of the second sound acquired by the acquiring unit.
  • the device further includes:
  • an indicating unit configured to: when the determining unit determines that the voice path is blocked, instructing the communication terminal to send an alarm signal, where the alarm signal is used to prompt the user that the voice path is blocked.
  • the volume value of the first sound acquired by the acquiring unit is within a preset time period.
  • An average volume value of the first sound acquired by the primary microphone; a volume value of the second sound acquired by the acquiring unit is an average volume value of the second sound acquired by the secondary microphone within a preset time period.
  • the determining unit is specifically configured to be used by the acquiring unit When the difference between the volume value of the first sound and the volume value of the second sound acquired by the acquisition unit is less than or equal to the first threshold, it is determined that the voice path is blocked.
  • the determining unit is specifically configured to be used by the acquiring unit Determining the voice when the difference between the volume value of the first sound and the volume value of the second sound acquired by the acquiring unit is less than or equal to the first threshold, and the volume value of the second sound is greater than or equal to the second threshold The passage is blocked.
  • the acquiring unit is further configured to Obtaining, by the acquiring unit, a parameter value of a call mode parameter of the communication terminal, before acquiring a volume value of the first sound acquired by the primary microphone and a volume value of the second sound acquired by the secondary microphone;
  • the determining unit is further configured to determine that the communication terminal is in a handheld call state according to a parameter value of a call mode parameter acquired by the acquiring unit.
  • the acquiring unit is further configured to Obtaining, by the acquiring unit, a parameter value of an operating state parameter of the primary microphone and the secondary microphone before acquiring a volume value of the first sound acquired by the primary microphone and a volume value of the second sound acquired by the secondary microphone;
  • the determining unit is further configured to determine that both the primary microphone and the secondary microphone are working normally according to the parameter value of the working state parameter acquired by the acquiring unit.
  • a communication terminal comprising:
  • the memory is configured to store program instructions
  • the processor is configured to perform the following operations according to program instructions stored in the memory:
  • the processor is further configured to perform the following operations according to the program instructions stored in the memory:
  • the communication terminal When it is determined that the voice path is blocked, the communication terminal is instructed to issue an alarm signal for prompting the user that the voice path is blocked.
  • the volume value of the first sound is obtained by using the main microphone in a preset time period.
  • the average volume value of the first sound; the volume value of the second sound is an average volume value of the second sound acquired by the sub-microphone within a preset time period.
  • the processor performs the volume according to the first sound And a value of the difference between the value and the volume value of the second sound to determine whether the voice path is blocked, including:
  • the processor performs the volume according to the first sound And a value of the difference between the value and the volume value of the second sound to determine whether the voice path is blocked, including:
  • the processor is further configured to perform the memory according to the The program instructions stored in it do the following:
  • the processor is further configured to use the memory
  • the program instructions stored in it do the following:
  • An embodiment of the present invention provides a method for detecting a voice path of a communication terminal.
  • the communication terminal includes a primary microphone and a secondary microphone.
  • the volume value of the first sound acquired by the primary microphone is acquired and the secondary microphone is acquired.
  • the volume value of the second sound determining whether the voice path is blocked according to the difference between the volume value of the first sound and the volume value of the second sound, so that the user may be prompted to change the gesture when detecting that the voice path is blocked.
  • the method is simple and effective, and will not cause other adverse effects.
  • FIG. 1 is a flowchart of a method for detecting a voice path of a communication terminal according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram showing an example of operation of a microphone according to an embodiment of the present invention.
  • FIG. 3 is a flowchart of another method for detecting a voice path of a communication terminal according to an embodiment of the present invention
  • FIG. 4 is a structural diagram of an apparatus for detecting a voice path of a communication terminal according to an embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of a communication terminal according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for detecting a voice path of a communication terminal according to an embodiment of the present invention.
  • the execution body of the method is a communication terminal, and the communication terminal can be, but is not limited to, a terminal capable of voice communication such as a mobile phone.
  • a mobile phone is mainly taken as an example for description.
  • the communication terminal includes a main microphone and a sub-microphone. The position of the main microphone and the sub-microphone on the communication terminal is relatively long. Generally, when the user makes a voice call in the handheld communication terminal, the main microphone is located at the lower part of the communication terminal, and the sub-microphone is located at the communication terminal. In the upper part, it is easy for the user's finger to block the main microphone, thereby causing the voice path to be blocked. To identify the occurrence of this situation, the method includes:
  • Step 101 When the communication terminal is in the handheld call state, acquire the volume value of the first sound acquired by the primary microphone and the volume value of the second sound acquired by the secondary microphone.
  • the communication terminal has a main microphone and a sub-microphone.
  • the main microphone is used to receive a voice signal sent by the user
  • the sub-microphone is used to receive a noise signal in the call environment.
  • the communication terminal can use the signal received by the sub-microphone to The signal received by the microphone is subjected to noise reduction processing.
  • FIG. 2 is a schematic diagram of an example of operation of a microphone according to an embodiment of the present invention.
  • a communication terminal may be referred to as a handheld device, and a main microphone (referred to as a main mic) and a sub-microphone (abbreviated as a main mic) and a sub-microphone (referred to as a main mic) of the handheld device during a call by one of the two parties of the call.
  • a main microphone referred to as a main mic
  • a sub-microphone abbreviated as a main mic
  • main mic sub-microphone
  • the voice data is transmitted to the other party's handheld device through the network, and the other party of the two parties on the call listens to the sound emitted by the device such as the handset of the other party's handheld device.
  • the microphone located at the lower part of the mobile phone is referred to as the primary microphone
  • the microphone located at the upper part of the mobile phone is referred to as the secondary microphone.
  • the sub-microphone is mainly used for receiving ambient sound, and the mobile phone can use the ambient sound received by the sub-microphone to perform noise reduction processing on the sound signal received by the main microphone.
  • the volume value is a parameter used to measure the strength of the sound, and the volume value over a period of time can be calculated based on the intensity of the sound.
  • the volume value can be divided into the following range of ranges: a: 0-20 decibels, very quiet, almost imperceptible; b: 20-40 decibels, quiet, like a soft whisper; c : 40-60 decibels, general, ordinary indoor conversation; d: 60-70 decibels, noisy, detrimental nerves, has exceeded the safe volume; e: more than 70 decibels, defined as the damaged volume.
  • the call volume is usually in the range of b or c above, about 40 decibels.
  • the volume value of the first sound is an average volume value of the first sound acquired by the main microphone in the preset time period;
  • the volume value of the second sound is the average volume value of the second sound acquired by the sub-microphone in the preset time period.
  • Step 102 Determine whether the voice path is blocked according to the difference between the volume value of the first sound and the volume value of the second sound.
  • the main microphone is usually located in the lower part of the mobile phone
  • the sub-microphone is usually located in the upper part of the mobile phone, and the normal calling habit of the user is to speak to the lower part of the mobile phone, so the volume value of the sound received by the sub-microphone is smaller than the volume value of the sound received by the main microphone. That is to say, during normal conversation, the difference between the volume value of the first sound received by the primary microphone and the volume value of the second sound received by the secondary microphone should belong to a range of intervals.
  • the voice path is blocked, the difference between the volume value of the first sound received by the primary microphone and the volume value of the second sound received by the secondary microphone should belong to another range of intervals.
  • the clogging of the voice path means that the main mic is blocked, so that after being blocked, the difference between the volume value of the sound received by the main mic and the volume value of the sound received by the sub mic is small.
  • the first threshold may be set, and when the difference between the volume value of the first sound and the volume value of the second sound is less than or equal to the first threshold, it is determined that the voice path is blocked.
  • the first threshold may be set to 0, or may be set to other values according to actual accuracy requirements, for example, 5 decibels or -5 decibels.
  • pause may occur, that is, a time period in which the main microphone and the sub-microphone can not receive the voice signal may occur, and the volume value of the first sound is simply used.
  • the difference between the volume values of the second sound determines whether the voice path is blocked, and there is a possibility of misjudgment, so it is necessary to determine whether the sub-microphone can receive the sound signal and the volume value of the received sound signal conforms to the normal call situation, and Not at a standstill.
  • the difference between the volume value of the first sound and the volume value of the second sound and the volume value of the second sound may be combined to determine whether the voice path is blocked. Specifically, when the difference between the volume value of the first sound and the volume value of the second sound is less than or equal to the first threshold, and the volume value of the second sound is greater than or equal to the second threshold, it is determined that the voice path is blocked.
  • the second threshold may be set according to actual accuracy requirements. For example, the second threshold is set to 20 decibels.
  • the communication terminal when it is determined that the voice path is blocked, the communication terminal may be instructed to issue an alarm signal, which is used to prompt the user that the voice path is blocked.
  • the specific form of the alarm signal is not specifically limited in the embodiment of the present invention, and may be, for example, a sound signal, a vibration signal, or an optical signal.
  • step 101 and step 102 may be performed multiple times in a loop.
  • an alarm signal is sent to the user to enable the user to change the gesture during the hand-held call to avoid The voice path is blocked.
  • the method provided by the embodiment of the present invention is to block the voice path caused by the improper gesture of the user. Therefore, before the step 101, it may be determined whether the communication terminal is in the handheld call state. Specifically, the communication terminal may be acquired first. Parameter value of the call mode parameter; The parameter value of the mode parameter determines that the communication terminal is in the handheld call state.
  • the type of the voice output device used by the communication terminal can also be obtained, and the type of the voice output device used by the obtained communication terminal is determined.
  • the communication terminal is in a handheld call state.
  • step 101 it may first detect whether the main microphone and the sub-microphone are all working normally, specifically, acquiring the working state parameters of the main microphone and the sub-microphone. Parameter value; according to the parameter value of the working state parameter, it is determined that the main microphone and the sub-microphone are working normally.
  • the microphone receives the volume value of the sound for comprehensive judgment.
  • the voice path is blocked.
  • weights are respectively set for each of the plurality of sub-microphones, and the volume value of each sub-microphone received sound is multiplied by the corresponding weight and summed, and the result is a comprehensive volume value of the sound received by the plurality of sub-microphones, when the main
  • the difference between the volume value of the microphone received sound and the integrated volume value of the plurality of sub-microphone received sounds is less than or equal to the first threshold, it is determined that the voice path is blocked.
  • weights are respectively set for each of the plurality of sub-microphones, and the volume value of each sub-microphone received sound is multiplied by the corresponding weight and summed, and the result is a comprehensive volume value of the sound received by the plurality of sub-microphones, when the main The difference between the volume value of the microphone receiving sound and the integrated volume value of the plurality of sub-microphone receiving sounds is less than or equal to the first threshold, and the difference between the volume values of the sounds received by each of the plurality of sub-microphones is greater than or equal to At the second threshold, it is determined that the voice path is blocked.
  • An embodiment of the present invention provides a method for detecting a voice path of a communication terminal.
  • the communication terminal includes a primary microphone and a secondary microphone.
  • the volume value of the first sound acquired by the primary microphone is acquired and the secondary microphone is acquired.
  • the volume value of the second sound determining whether the voice path is blocked according to the difference between the volume value of the first sound and the volume value of the second sound, so that the user may be prompted to change the gesture when detecting that the voice path is blocked.
  • the method is simple and effective, and will not cause other adverse effects.
  • the following is a description of a method for detecting a voice path of a communication terminal provided by the present invention by using a communication terminal as a mobile phone as an example.
  • FIG. 3 is a flowchart of another method for detecting a voice path of a communication terminal according to an embodiment of the present invention. The method includes the following:
  • Step 301 when a call is initiated, the mobile phone obtains the mic device information of the mobile phone.
  • the mic device information includes device information of the primary microphone and device information of the secondary microphone.
  • Step 302 The mobile phone determines whether the call type of the call belongs to a handheld call.
  • step 303 is performed; otherwise, step 308 is performed.
  • step 303 the mobile phone determines whether the primary mic and the secondary mic are working normally.
  • step 304 is performed; otherwise, when the result of the determination is that at least one of the primary mic and the secondary mic is abnormally working, step 308 is performed.
  • Step 304 The mobile phone determines a volume value of the sound received by the primary mic and the secondary mic within a preset time period.
  • the volume value may also be referred to as a volume strength.
  • the preset time period may be set to N seconds, and the value of N is a positive integer. For example, N is 5, and the preset time period is set to 5 seconds.
  • Step 305 The mobile phone determines whether the volume value of the secondary mic is greater than the volume value of the primary mic.
  • step 306 When the result of the determination is that the volume value of the secondary mic is greater than the volume value of the primary mic, step 306 is performed; otherwise, when the result of the determination is that the volume value of the secondary mic is less than or equal to the volume value of the primary mic, step 308 is performed.
  • the volume value of the main mic refers to the volume value of the sound received by the main mic.
  • Volume value of the secondary mic It is the volume value of the sound received by the secondary mic.
  • the determination condition of this embodiment is whether the volume value of the sub mic is greater than the volume value of the main mic.
  • This judgment condition is only a specific example. In the specific implementation process, there may be multiple judgment conditions.
  • the determination condition may be, for example, whether the difference between the volume value of the primary mic and the volume value of the secondary mic is less than a certain preset value.
  • step 306 the mobile phone determines whether the volume value of the secondary mic is greater than 20 decibels (DB).
  • step 307 When the result of the determination is that the volume value of the sub mic is greater than 20 decibels, step 307 is performed; otherwise, when the result of the judgment is that the volume value of the sub mic is less than or equal to 20 decibels, step 308 is performed.
  • the setting threshold of 20 decibels is merely illustrative and is not intended to limit the invention.
  • step 307 the mobile phone determines that the mic is blocked.
  • the blockage of the voice path means that the main mic is blocked.
  • Step 308 the process flow ends.
  • the voice input device of the mobile phone used by the user is first detected.
  • the call is determined to be a hand-held call.
  • the subsequent processes of the method are sequentially executed, otherwise at least one of the primary mic and the secondary mic.
  • the volume values of the primary mic and the secondary mic are obtained within a specified time (Ns).
  • Ns a specified time
  • the volume value of the primary mic is less than or equal to the volume value of the secondary mic
  • the method of the embodiment of the present invention may be performed multiple times, and the results of multiple executions show that the voice path is blocked, or in the result of multiple executions.
  • the results of multiple executions show that the voice path is blocked, or in the result of multiple executions.
  • FIG. 4 is a structural diagram of a device for detecting a voice path of a communication terminal according to an embodiment of the present invention.
  • the device may be disposed in a communication terminal, where the communication terminal includes a primary microphone and a secondary microphone, and the device is used to perform the first embodiment of the present invention.
  • a method of detecting a voice path of a communication terminal, the apparatus comprising:
  • the obtaining unit 401 is configured to acquire, when the communication terminal is in a handheld call state, a volume value of the first sound acquired by the primary microphone and a volume value of the second sound acquired by the secondary microphone;
  • the determining unit 402 is configured to determine whether the voice path is blocked according to a difference between a volume value of the first sound acquired by the acquiring unit 401 and a volume value of the second sound acquired by the acquiring unit 401.
  • the device further includes:
  • the indicating unit 403 is configured to instruct the communication terminal to issue an alarm signal when the determining unit 402 determines that the voice path is blocked, and the alarm signal is used to prompt the user that the voice path is blocked.
  • the volume value of the first sound acquired by the acquiring unit 401 is an average volume value of the first sound acquired by the primary microphone in the preset time period; and the volume value of the second sound acquired by the acquiring unit 401 The average volume value of the second sound acquired by the sub-microphone within a preset time period.
  • the determining unit 402 is specifically configured to: when a difference between a volume value of the first sound acquired by the acquiring unit 401 and a volume value of the second sound acquired by the acquiring unit 401 is less than or equal to a first threshold It is determined that the voice path is blocked.
  • the determining unit 402 is specifically configured to: when a difference between a volume value of the first sound acquired by the acquiring unit 401 and a volume value of the second sound acquired by the acquiring unit 401 is less than or equal to a first threshold And when the volume value of the second sound is greater than or equal to the second threshold, it is determined that the voice path is blocked.
  • the obtaining unit 401 is further configured to: before the acquiring unit 401 acquires a volume value of the first sound acquired by the primary microphone and a volume value of the second sound acquired by the secondary microphone, Obtaining a parameter value of a call mode parameter of the communication terminal;
  • the determining unit 402 is further configured to determine, according to the parameter value of the call mode parameter acquired by the acquiring unit 401, that the communication terminal is in a handheld call state.
  • the acquiring unit 401 is further configured to acquire, before the acquiring unit 401 acquires a volume value of the first sound acquired by the primary microphone and a volume value of the second sound acquired by the secondary microphone. Parameter values of the operating state parameters of the primary microphone and the secondary microphone;
  • the determining unit 402 is further configured to determine that both the primary microphone and the secondary microphone are working normally according to the parameter values of the working state parameters acquired by the acquiring unit 401.
  • FIG. 5 is a schematic structural diagram of a communication terminal according to an embodiment of the present invention.
  • the communication terminal provided by the embodiment of the present invention may be used to implement the method provided by the embodiment of the present invention.
  • FIGS. 5 For the convenience of description, only the embodiment of the present invention is shown.
  • related parts which are not disclosed in the specific technical details, please refer to the embodiments of the present invention shown in FIGS.
  • the communication terminal can be a mobile phone, a tablet computer, a notebook computer, a UMPC (Ultra-mobile Personal Computer), a netbook, a PDA (Personal Digital Assistant), and the like, and has a voice communication function terminal device, and the present invention
  • the embodiment is described by taking a communication terminal as a mobile phone as an example, and FIG. 5 is a block diagram showing a part of the structure of the mobile phone 500 related to each embodiment of the present invention.
  • the mobile phone 500 includes a main microphone 571, a sub-microphone 572, a memory 510, a processor 520, a radio frequency (RF) circuit 530, an input unit 540, a display unit 550, a gravity sensor 560, and an audio circuit 570. And power supply 580 and other components.
  • RF radio frequency
  • the components of the mobile phone 500 will be specifically described below with reference to FIG. 5:
  • the RF circuit 530 can be used for receiving and transmitting signals during the transmission or reception of information or during a call. Specifically, after receiving the downlink information of the base station, the processing is performed by the processor 520. In addition, the uplink data is sent to the base station.
  • RF circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, and a coupling , low noise amplifier (LNA), duplexer, etc.
  • RF circuitry 530 can also communicate with the network and other devices via wireless communication.
  • the wireless communication may use any communication standard or protocol, including but not limited to global system of mobile communication (GSM), general packet radio service (GPRS), code division multiple access (code) Division multiple access (CDMA), wideband code division multiple access (WCDMA), long term evolution (LTE), e-mail, short messaging service (SMS), and the like.
  • GSM global system of mobile communication
  • GPRS general packet radio service
  • code code division multiple access
  • WCDMA wideband code division multiple access
  • LTE long term evolution
  • SMS short messaging service
  • the memory 510 can be used to store software programs and modules, and the processor 520 executes various functional applications and data processing of the mobile phone 500 by running software programs and modules stored in the memory 510.
  • the memory 510 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to The data created by the use of the mobile phone 500 (such as audio data, image data, phone book, etc.) and the like.
  • memory 510 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • the input unit 540 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function controls of the handset 500.
  • input unit 540 can include touch screen 541 and other input devices 542.
  • a touch screen 541, also referred to as a touch panel, can collect touch operations on or near the user (such as the user's operation on or near the touch screen 541 using any suitable object or accessory such as a finger, stylus, etc.), and The corresponding connecting device is driven according to a preset program.
  • the touch screen 541 may include two parts of a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 520 is provided and can receive commands from the processor 520 and execute them. In addition, resistive, capacitive, infrared, and surface acoustics can be used.
  • the touch screen 541 is implemented in various types such as waves.
  • the input unit 540 can also include other input devices 542.
  • other input devices 542 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, power switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • the display unit 550 can be used to display information input by the user or information provided to the user and various menus of the mobile phone 500.
  • the display unit 550 can include a display panel 551.
  • the display panel 551 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • the touch screen 541 can cover the display panel 551. When the touch screen 541 detects a touch operation on or near it, the touch screen 541 transmits to the processor 520 to determine the type of the touch event, and then the processor 520 displays the panel according to the type of the touch event. A corresponding visual output is provided on the 551.
  • the touch screen 541 and the display panel 551 are two separate components to implement the input and input functions of the mobile phone 500, in some embodiments, the touch screen 541 can be integrated with the display panel 551 to implement the mobile phone 500. Input and output functions.
  • a gravity sensor 560 can detect the magnitude of the acceleration of the mobile phone in various directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping).
  • the handset 500 can also include other sensors, such as light sensors.
  • the light sensor can include an ambient light sensor and a proximity light sensor.
  • the ambient light sensor can adjust the brightness of the display panel 551 according to the brightness of the ambient light; the proximity light sensor can detect whether an object approaches or contacts the mobile phone, and can close the display panel 551 and/or the backlight when the mobile phone 500 moves to the ear.
  • the mobile phone 500 can also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like, and will not be described herein.
  • the audio circuit 570, the speaker 573, the main microphone 571, and the sub-microphone 572 can provide an audio interface between the user and the handset 500.
  • the audio circuit 570 can convert the received audio data into electricity
  • the signal is transmitted to the speaker 573 and converted into a sound signal output by the speaker 573.
  • the main microphone 571 and the sub-microphone 572 convert the collected sound signal into an electrical signal, which is received by the audio circuit 570 and converted into audio data, and then
  • the audio data is output to the RF circuit 530 for transmission to, for example, another mobile phone, or the audio data is output to the memory 510 for further processing, wherein the primary microphone 571 is for receiving a voice signal from a user, and the secondary microphone 572 is for receiving a call environment.
  • the noise signal of the mobile phone 500 can perform noise reduction processing on the signal received by the main microphone 571 according to the signal received by the sub-microphone 572.
  • Processor 520 is the control center of handset 500, which connects various portions of the entire handset using various interfaces and lines, by running or executing software programs and/or modules stored in memory 510, and recalling data stored in memory 510, The various functions and processing data of the mobile phone 500 are performed to perform overall monitoring of the mobile phone.
  • the processor 520 may include one or more processing units; preferably, the processor 520 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 520.
  • the handset 500 also includes a power source 580 (such as a battery) that supplies power to the various components.
  • a power source 580 such as a battery
  • the power source can be logically coupled to the processor 520 via a power management system to enable management of charging, discharging, and power management functions through the power management system.
  • the mobile phone 500 may further include a WiFi (wireless fidelity) module, a Bluetooth module, and the like, and details are not described herein again.
  • WiFi wireless fidelity
  • Bluetooth wireless fidelity
  • an embodiment of the present invention provides a communication terminal, which is used to perform the method provided by the embodiment of the present invention.
  • the following components are mainly involved: a main microphone 571; a sub-microphone 572; a memory 510; Processor 520.
  • the main microphone 571 is configured to form a voice path
  • the memory 510 is configured to store program instructions.
  • the processor 520 is configured to perform the following operations according to the program instructions stored in the memory 510:
  • the processor 520 is further configured to perform the following operations according to the program instructions stored in the memory 510:
  • the communication terminal When it is determined that the voice path is blocked, the communication terminal is instructed to issue an alarm signal for prompting the user that the voice path is blocked.
  • the volume value of the first sound is an average volume value of the first sound acquired by the primary microphone 571 in a preset time period; and the volume value of the second sound is the secondary time in a preset time period.
  • the performing, by the processor 520, the determining, according to a difference between a volume value of the first sound and a volume value of the second sound, whether the voice path is blocked includes:
  • the performing, by the processor 520, the determining, according to a difference between a volume value of the first sound and a volume value of the second sound, whether the voice path is blocked includes:
  • the processor 520 is further configured to perform the following operations according to the program instructions stored in the memory 510:
  • the processor 520 is further configured to perform the following operations according to the program instructions stored in the memory 510:
  • Non-transitory medium such as random access memory, read only memory, flash memory, hard disk, solid state disk, magnetic tape, floppy disk, optical disc, and any combination thereof.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Otolaryngology (AREA)
  • Telephone Function (AREA)

Abstract

本发明实施例涉及语音通路的检测方法、装置和终端。该方法用于检测通信终端的语音通路。所述通信终端包括主麦克风和副麦克风,该方法包括:当所述通信终端处于手持通话状态时,获取所述主麦克风获取的第一声音的音量值与所述副麦克风获取的第二声音的音量值;根据所述第一声音的音量值与所述第二声音的音量值的差值,确定所述语音通路是否被堵塞,从而可以在检测出语音通路被堵塞时,提示用户改变手势。这种方式简单、有效,不会造成其他的不良影响。

Description

语音通路的检测方法、装置和终端 技术领域
本发明实施例涉及通信领域,尤其涉及语音通路的检测方法、装置和终端。
背景技术
当前,用户经常会使用手机进行通话。随着手机尺寸的逐渐增大,用户在通话过程中,通常会用手指托一下手机的下延。由于手机上的麦克风通常设置于手机的下延,并且手机上的麦克风的开孔通常很小,因此用户的手指可能会遮挡住麦克风。当麦克风的开孔被遮挡时,即语音通路被堵塞时,用户说话的声音并未传入麦克风,从而造成对方无法听到用户的声音。
为了避免发生上述语音通路被堵塞的情况,现有技术中有些厂家会在手机的麦克风部分开设多个开孔,以防止用户在通话过程中用手指遮挡麦克风。但是这种方式会增加麦克风进尘的风险,并且可能会影响扬声器等器件的工作,形成干扰。
发明内容
本发明实施例提供了一种语音通路的检测方法、装置和终端,该方法可以简单、有效的检测语音通路。
第一方面,提供了一种检测通信终端的语音通路的方法,所述通信终端包括主麦克风和副麦克风,所述方法包括:
当所述通信终端处于手持通话状态时,获取所述主麦克风获取的第一声音的音量值与所述副麦克风获取的第二声音的音量值;
根据所述第一声音的音量值与所述第二声音的音量值的差值,确定所述语音通路是否被堵塞。
结合第一方面,在第一方面的第一种可能的实现方式中,所述方法还包括:
当确定出所述语音通路被堵塞时,指示所述通信终端发出报警信号,所述报警信号用于提示用户所述语音通路被堵塞。
结合第一方面或第一方面的第一种可能的实现方式,在第一方面的第二种可能的实现方式中,所述第一声音的音量值为预设时间段内所述主麦克风获取的第一声音的平均音量值;所述第二声音的音量值为预设时间段内所述副麦克风获取的第二声音的平均音量值。
结合第一方面或第一方面的第一种或第二种可能的实现方式,在第一方面的第三种可能的实现方式中,所述根据所述第一声音的音量值与所述第二声音的音量值的差值,确定所述语音通路是否被堵塞,包括:
当所述第一声音的音量值与所述第二声音的音量值的差值小于或等于第一阈值时,确定所述语音通路被堵塞。
结合第一方面或第一方面的第一种或第二种可能的实现方式,在第一方面的第四种可能的实现方式中,所述根据所述第一声音的音量值与所述第二声音的音量值的差值,确定所述语音通路是否被堵塞,包括:
当所述第一声音的音量值与所述第二声音的音量值的差值小于或等于第一阈值,且所述第二声音的音量值大于或等于第二阈值时,确定所述语音通路被堵塞。
结合第一方面或第一方面的第一种至第四种中任一种可能的实现方式,在第一方面的第五种可能的实现方式中,所述当所述通信终端处于手持通话状态时,获取所述主麦克风获取的第一声音的音量值与所述副麦克风获取的第二声音的音量值之前,所述方法还包括:
获取所述通信终端的通话模式参数的参数值;
根据所述通话模式参数的参数值,确定所述通信终端处于手持通话状态。
结合第一方面或第一方面的第一种至第五种中任一种可能的实现方式,在第一方面的第六种可能的实现方式中,所述当所述通信终端处于手持通话状态时,获取所述主麦克风获取的第一声音的音量值与所述副麦克风获取的第二声音的音量值之前,所述方法还包括:
获取所述主麦克风和所述副麦克风的工作状态参数的参数值;
根据所述工作状态参数的参数值,确定所述主麦克风和所述副麦克风均正常工作。
第二方面,提供了一种检测通信终端的语音通路的装置,所述装置包含于所述通信终端中,所述通信终端包括主麦克风和副麦克风,所述装置包括:
获取单元,用于在所述通信终端处于手持通话状态时,获取所述主麦克风获取的第一声音的音量值与所述副麦克风获取的第二声音的音量值;
确定单元,用于根据所述获取单元获取的第一声音的音量值与所述获取单元获取的第二声音的音量值的差值,确定所述语音通路是否被堵塞。
结合第二方面,在第二方面的第一种可能的实现方式中,所述装置还包括:
指示单元,用于在所述确定单元确定出所述语音通路被堵塞时,指示所述通信终端发出报警信号,所述报警信号用于提示用户所述语音通路被堵塞。
结合第二方面或第二方面的第一种可能的实现方式,在第二方面的第二种可能的实现方式中,所述获取单元获取的第一声音的音量值为预设时间段内所述主麦克风获取的第一声音的平均音量值;所述获取单元获取的第二声音的音量值为预设时间段内所述副麦克风获取的第二声音的平均音量值。
结合第二方面或第二方面的第一种或第二种可能的实现方式,在第二方面的第三种可能的实现方式中,所述确定单元,具体用于当所述获取单元获取的第一声音的音量值与所述获取单元获取的第二声音的音量值的差值小于或等于第一阈值时,确定所述语音通路被堵塞。
结合第二方面或第二方面的第一种或第二种可能的实现方式,在第二方面的第四种可能的实现方式中,所述确定单元,具体用于当所述获取单元获取的第一声音的音量值与所述获取单元获取的第二声音的音量值的差值小于或等于第一阈值,且所述第二声音的音量值大于或等于第二阈值时,确定所述语音通路被堵塞。
结合第二方面或第二方面的第一种至第四种中任一种可能的实现方式,在第二方面的第五种可能的实现方式中,所述获取单元,还用于在所述获取单元获取所述主麦克风获取的第一声音的音量值与所述副麦克风获取的第二声音的音量值之前,获取所述通信终端的通话模式参数的参数值;
所述确定单元,还用于根据所述获取单元获取的通话模式参数的参数值,确定所述通信终端处于手持通话状态。
结合第二方面或第二方面的第一种至第五种中任一种可能的实现方式,在第二方面的第六种可能的实现方式中,所述获取单元,还用于在所述获取单元获取所述主麦克风获取的第一声音的音量值与所述副麦克风获取的第二声音的音量值之前,获取所述主麦克风和所述副麦克风的工作状态参数的参数值;
所述确定单元,还用于根据所述获取单元获取的工作状态参数的参数值,确定所述主麦克风和所述副麦克风均正常工作。
第三方面,提供了一种通信终端,所述通信终端包括:
主麦克风;
副麦克风;
存储器;
处理器;
所述存储器,用于存储程序指令;
所述处理器,用于根据所述存储器中存储的程序指令执行以下操作:
当所述通信终端处于手持通话状态时,获取所述主麦克风获取的第一声 音的音量值与所述副麦克风获取的第二声音的音量值;
根据所述第一声音的音量值与所述第二声音的音量值的差值,确定语音通路是否被堵塞。
结合第三方面,在第三方面的第一种可能的实现方式中,所述处理器还用于根据所述存储器中存储的程序指令执行以下操作:
当确定出所述语音通路被堵塞时,指示所述通信终端发出报警信号,所述报警信号用于提示用户所述语音通路被堵塞。
结合第三方面或第三方面的第一种可能的实现方式,在第三方面的第二种可能的实现方式中,所述第一声音的音量值为预设时间段内所述主麦克风获取的第一声音的平均音量值;所述第二声音的音量值为预设时间段内所述副麦克风获取的第二声音的平均音量值。
结合第三方面或第三方面的第一种或第二种可能的实现方式,在第三方面的第三种可能的实现方式中,所述处理器执行所述根据所述第一声音的音量值与所述第二声音的音量值的差值,确定语音通路是否被堵塞的操作,包括:
当所述第一声音的音量值与所述第二声音的音量值的差值小于或等于第一阈值时,确定语音通路被堵塞。
结合第三方面或第三方面的第一种或第二种可能的实现方式,在第三方面的第四种可能的实现方式中,所述处理器执行所述根据所述第一声音的音量值与所述第二声音的音量值的差值,确定语音通路是否被堵塞的操作,包括:
当所述第一声音的音量值与所述第二声音的音量值的差值小于或等于第一阈值,且所述第二声音的音量值大于或等于第二阈值时,确定语音通路被堵塞。
结合第三方面或第三方面的第一种至第四种中任一种可能的实现方式,在第三方面的第五种可能的实现方式中,所述处理器还用于根据所述存储器 中存储的程序指令执行以下操作:
在所述当所述通信终端处于手持通话状态时,获取所述主麦克风获取的第一声音的音量值与所述副麦克风获取的第二声音的音量值之前,获取所述通信终端的通话模式参数的参数值;
根据所述通话模式参数的参数值,确定所述通信终端处于手持通话状态。
结合第三方面或第三方面的第一种至第五种中任一种可能的实现方式,在第三方面的第六种可能的实现方式中,所述处理器还用于根据所述存储器中存储的程序指令执行以下操作:
在所述当所述通信终端处于手持通话状态时,获取所述主麦克风获取的第一声音的音量值与所述副麦克风获取的第二声音的音量值之前,获取所述主麦克风和所述副麦克风的工作状态参数的参数值;
根据所述工作状态参数的参数值,确定所述主麦克风和所述副麦克风均正常工作。
本发明实施例提供了一种检测通信终端的语音通路的方法,通信终端包括主麦克风和副麦克风,当通信终端处于手持通话状态时,获取主麦克风获取的第一声音的音量值与副麦克风获取的第二声音的音量值;根据第一声音的音量值与第二声音的音量值的差值,确定语音通路是否被堵塞,从而可以在检测出语音通路被堵塞时,提示用户改变手势,这种方式简单、有效,不会造成其他的不良影响。
附图说明
图1为本发明实施例提供的一种检测通信终端的语音通路的方法流程图;
图2为本发明实施例提供的麦克风的工作示例示意图;
图3为本发明实施例提供的另一种检测通信终端的语音通路的方法流程图;
图4为本发明实施例提供的一种检测通信终端的语音通路的装置结构图;
图5为本发明实施例提供的一种通信终端的结构示意图。
具体实施方式
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
当本发明实施例提及“第一”、“第二”等序数词时,除非根据上下文其确实表达顺序之意,应当理解为仅仅起区分的作用。
图1为本发明实施例提供的一种检测通信终端的语音通路的方法流程图。该方法的执行主体为通信终端,通信终端可以但不限于为手机等能够进行语音通信的终端。本发明实施例中主要以手机为例来进行说明。通信终端包括主麦克风和副麦克风,主麦克风和副麦克风在通信终端上的位置距离较远,通常地,用户在手持通信终端进行语音通话时,主麦克风位于通信终端的下部,副麦克风位于通信终端的上部,容易出现用户手指遮挡主麦克风,从而造成语音通路被堵塞的情况。为了识别这种情况的发生,该方法包括:
步骤101,当通信终端处于手持通话状态时,获取主麦克风获取的第一声音的音量值与副麦克风获取的第二声音的音量值。
本发明实施例中,通信终端具有主麦克风和副麦克风,主麦克风用于接收用户发出的语音信号,副麦克风用于接收通话环境中的噪音信号,通信终端可以根据副麦克风接收的信号,对主麦克风接收的信号进行降噪处理。
图2为本发明实施例提供的麦克风的工作示例示意图。参照图2,本发明实施例中,可以将通信终端称为手持设备,在通话双方的一方用户使用手持设备进行通话的过程中,手持设备的主麦克风(简称为主mic)和副麦克风(简称为副mic)获取声音信号,由手持设备对获取的声音信号进行录音并编码, 通过网络传输语音数据给对方手持设备,通话双方的对方用户收听由该对方手持设备的听筒等器件发出的声音。
在一个典型的应用场景中,在用户使用手机通话时,由于用户正常的通话习惯是对着手机下部说话,因此将位于手机下部的麦克风称为主麦克风,将位于手机上部的麦克风称为副麦克风,副麦克风主要用于接收环境声音,手机可以利用副麦克风接收到的环境声音,来对主麦克风接收到的声音信号进行降噪处理。
音量值是用来衡量声音强弱的参数,可以根据声音的强度计算一段时间内的音量值。
对应于人的听力的特征描述,可以将音量值划分为如下几个区间范围:a:0-20分贝,很静、几乎感觉不到;b:20-40分贝,安静、犹如轻声絮语;c:40-60分贝,一般、普通室内谈话;d:60-70分贝,吵闹、有损神经,已经超出安全音量;e:超出70分贝以上,定义为受损音量。其中,通话音量通常处于上述b或c区间范围,约40分贝。
本发明实施例中,为了更加准确地反映一段时间内的声音强弱,避免后续发生误判,上述第一声音的音量值为预设时间段内主麦克风获取的第一声音的平均音量值;上述第二声音的音量值为预设时间段内副麦克风获取的第二声音的平均音量值。
步骤102,根据第一声音的音量值与第二声音的音量值的差值,确定语音通路是否被堵塞。
由于主麦克风通常位于手机下部,副麦克风通常位于手机上部,用户正常的通话习惯是对着手机下部说话,因此副麦克风接收到声音的音量值会小于主麦克风接收到声音的音量值。也就是说,正常通话时,主麦克风接收的第一声音的音量值与副麦克风接收的第二声音的音量值的差值应当属于一个区间范围。而当语音通路被堵塞时,主麦克风接收的第一声音的音量值与副麦克风接收的第二声音的音量值的差值应当属于另一个区间范围。通常情况 下,语音通路被堵塞指的是主mic被堵塞了,所以当被堵塞之后,主mic接收的声音的音量值与副mic接收的声音的音量值之间的差值较小。
本发明实施例中,可以设定第一阈值,当第一声音的音量值与第二声音的音量值的差值小于或等于第一阈值时,确定语音通路被堵塞。上述第一阈值可以设定为0,也可以根据实际的精度需求设定为其他数值,例如,5分贝或-5分贝。
由于当用户使用通信终端进行语音通话的过程中,可能会出现停顿,也就是说,可能出现主麦克风和副麦克风均接收不到语音信号的时间段,此时单纯利用第一声音的音量值与第二声音的音量值的差值来确定语音通路是否被堵塞,有可能出现误判,因此需要判断副麦克风是否能够接收到声音信号并且接收到的声音信号的音量值符合正常通话的情况,而不是处于停顿。
本发明实施例中,为了提高检测的准确度,可以结合第一声音的音量值与第二声音的音量值的差值,以及第二声音的音量值,共同来判定语音通路是否被堵塞。具体地,当第一声音的音量值与第二声音的音量值的差值小于或等于第一阈值,且第二声音的音量值大于或等于第二阈值时,确定语音通路被堵塞。其中,可以根据实际的精度需求来设定上述第二阈值,例如,设定第二阈值为20分贝。
本发明实施例中,当确定出语音通路被堵塞时,可以指示通信终端发出报警信号,该报警信号用于提示用户语音通路被堵塞。该报警信号的具体形式本发明实施例不做具体限定,例如,可以为声音信号,也可以为振动信号,或者光信号等。为避免误判,可以循环多次执行步骤101和步骤102,当多次执行的结果均为确定语音通路被堵塞时,再向用户发出报警信号,以使用户改变手持通话时的手势,以避免语音通路被堵塞。
此外,由于本发明实施例所提供的方法是针对于用户手势不当所引起的语音通路被堵塞,因此在步骤101之前,可以先确定通信终端是否处于手持通话状态,具体地,可以先获取通信终端的通话模式参数的参数值;根据通 话模式参数的参数值,确定通信终端处于手持通话状态。
由于有些通信终端在手持通话状态和免提通话状态时,使用的语音输出设备不同,因此还可以获取通信终端使用的语音输出设备的类型,根据获取的通信终端使用的语音输出设备的类型,确定通信终端处于手持通话状态。
此外,当主麦克风或者副麦克风出现故障时,也会引起误判,因此在步骤101之前,可以先检测主麦克风和副麦克风是否均正常工作,具体地,获取主麦克风和副麦克风的工作状态参数的参数值;根据工作状态参数的参数值,确定主麦克风和副麦克风均正常工作。
当手机存在多个麦克风时,例如,一个主麦克风、两个副麦克风,若需判断主麦克风是否被用户的手指堵住,可以参考任意一个副麦克风接收声音的音量值,也可以参考两个副麦克风接收声音的音量值进行综合判断。
具体地,当主麦克风接收声音的音量值与多个副麦克风中的每个副麦克风接收声音的音量值的差值均小于或等于第一阈值时,确定语音通路被堵塞。
或者,当主麦克风接收声音的音量值与多个副麦克风中的每个副麦克风接收声音的音量值的差值均小于或等于第一阈值,且多个副麦克风中的每个副麦克风接收声音的音量值的差值均大于或等于第二阈值时,确定语音通路被堵塞。
或者,为多个副麦克风中的每个副麦克风分别设置权重,将每个副麦克风接收声音的音量值乘以相应的权重再求和,结果作为多个副麦克风接收声音的综合音量值,当主麦克风接收声音的音量值与多个副麦克风接收声音的综合音量值的差值小于或等于第一阈值时,确定语音通路被堵塞。
或者,为多个副麦克风中的每个副麦克风分别设置权重,将每个副麦克风接收声音的音量值乘以相应的权重再求和,结果作为多个副麦克风接收声音的综合音量值,当主麦克风接收声音的音量值与多个副麦克风接收声音的综合音量值的差值小于或等于第一阈值,且多个副麦克风中的每个副麦克风接收声音的音量值的差值均大于或等于第二阈值时,确定语音通路被堵塞。
具体地实现方式有很多,在此不做赘述。
本发明实施例提供了一种检测通信终端的语音通路的方法,通信终端包括主麦克风和副麦克风,当通信终端处于手持通话状态时,获取主麦克风获取的第一声音的音量值与副麦克风获取的第二声音的音量值;根据第一声音的音量值与第二声音的音量值的差值,确定语音通路是否被堵塞,从而可以在检测出语音通路被堵塞时,提示用户改变手势,这种方式简单、有效,不会造成其他的不良影响。
下面以通信终端为手机为例,通过一个具体的实施例对本发明提供的检测通信终端的语音通路的方法进行说明。
图3为本发明实施例提供的另一种检测通信终端的语音通路的方法流程图。该方法包括如下:
步骤301,当启动一个通话时,手机获取该手机的mic设备信息。
其中,mic为麦克风的简写,mic设备信息包括主麦克风的器件信息和副麦克风的器件信息。
步骤302,手机判断该通话的通话类型是否属于手持通话。
当判断结果为属于手持通话时,执行步骤303;否则,执行步骤308。
步骤303,手机判断主mic和副mic是否正常工作。
当判断结果为主mic和副mic均正常工作时,执行步骤304;否则,当判断结果为主mic和副mic中至少有一个非正常工作时,执行步骤308。
步骤304,手机确定主mic和副mic在预设时间段内接收的声音的音量值。
其中,音量值也可称为音量强度,上述预设时间段可以设定为N秒,N的取值为正整数,例如,N取值为5,上述预设时间段设定为5秒。
步骤305,手机判断副mic的音量值是否大于主mic的音量值。
当判断结果为副mic的音量值大于主mic的音量值时,执行步骤306;否则,当判断结果为副mic的音量值小于或等于主mic的音量值时,执行步骤308。主mic的音量值指的是主mic接收的声音的音量值。副mic的音量值指 的是副mic接收的声音的音量值。
需要说明的是,本实施例的判断条件为副mic的音量值是否大于主mic的音量值。该判断条件仅是一个具体的例子。在具体实现过程中,判断条件可以有多种。判断条件例如还可以为:主mic的音量值与副mic的音量值的差值是否小于某一预设值。
步骤306,手机判断副mic的音量值是否大于20分贝(DB)。
当判断结果为副mic的音量值大于20分贝时,执行步骤307;否则,当判断结果为副mic的音量值小于或等于20分贝时,执行步骤308。
其中,设定阈值为20分贝仅为举例说明,并不用于对本发明的限定。
步骤307,手机判定mic被堵住了。
也就是说,确定语音通路被堵塞。一般而言,语音通路被堵塞指的是主mic被堵住了。
步骤308,结束该处理流程。
本发明实施例中,在用户通话过程中,先检测用户使用的手机的语音输入器件,当用户使用手机底部的mic作为语音输入器件时,判定该通话为手持通话。然后判断主副mic是否正常工作,当判断出手机包含主mic和副mic,主副mic都在使用中且正常工作时,顺序执行该方法的后续流程,否则当主mic和副mic中的至少一个发生异常没有启动(open)成功时,可能硬件出现问题,为防止误判,结束该处理流程。在该方法的后续流程中,获取指定时间内(Ns)主mic与副mic的音量值,当主mic的音量值小于或等于副mic的音量值的时候,判断副mic的音量是否大于20分贝,当判断出副mic的音量大于20分贝时,说明处于正常通话过程中,此时判断用户因手指按压引起单通,由于本发明实施例中,经过多项判决,因此检测结果准确度高,可以最大限度地避免误判。
优选地,为了进一步提高判决的准确度,可以多次执行本发明实施例的方法,当多次执行的结果均显示语音通路被堵塞,或者,多次执行的结果中 显示语音通路被堵塞的次数超过预设次数时,再确认语音通路被堵塞的最终判决结果,并向用户发出报警信号。
图4为本发明实施例提供的一种检测通信终端的语音通路的装置结构图,该装置可设置于通信终端中,通信终端包括主麦克风和副麦克风,该装置用于执行本发明实施例一提供的检测通信终端的语音通路的方法,该装置包括:
获取单元401,用于在所述通信终端处于手持通话状态时,获取所述主麦克风获取的第一声音的音量值与所述副麦克风获取的第二声音的音量值;
确定单元402,用于根据所述获取单元401获取的第一声音的音量值与所述获取单元401获取的第二声音的音量值的差值,确定所述语音通路是否被堵塞。
可选地,所述装置还包括:
指示单元403,用于在所述确定单元402确定出所述语音通路被堵塞时,指示所述通信终端发出报警信号,所述报警信号用于提示用户所述语音通路被堵塞。
可选地,所述获取单元401获取的第一声音的音量值为预设时间段内所述主麦克风获取的第一声音的平均音量值;所述获取单元401获取的第二声音的音量值为预设时间段内所述副麦克风获取的第二声音的平均音量值。
可选地,所述确定单元402,具体用于当所述获取单元401获取的第一声音的音量值与所述获取单元401获取的第二声音的音量值的差值小于或等于第一阈值时,确定所述语音通路被堵塞。
可选地,所述确定单元402,具体用于当所述获取单元401获取的第一声音的音量值与所述获取单元401获取的第二声音的音量值的差值小于或等于第一阈值,且所述第二声音的音量值大于或等于第二阈值时,确定所述语音通路被堵塞。
可选地,所述获取单元401,还用于在所述获取单元401获取所述主麦克风获取的第一声音的音量值与所述副麦克风获取的第二声音的音量值之前, 获取所述通信终端的通话模式参数的参数值;
所述确定单元402,还用于根据所述获取单元401获取的通话模式参数的参数值,确定所述通信终端处于手持通话状态。
可选地,所述获取单元401,还用于在所述获取单元401获取所述主麦克风获取的第一声音的音量值与所述副麦克风获取的第二声音的音量值之前,获取所述主麦克风和所述副麦克风的工作状态参数的参数值;
所述确定单元402,还用于根据所述获取单元401获取的工作状态参数的参数值,确定所述主麦克风和所述副麦克风均正常工作。
图5为本发明实施例提供的一种通信终端的结构示意图,本发明实施例提供的通信终端可以用于实施本发明实施例提供的方法,为了便于说明,仅示出了与本发明实施例相关的部分,具体技术细节未揭示的,请参照图1-图4所示的本发明各实施例。
该通信终端可以为手机、平板电脑、笔记本电脑、UMPC(Ultra-mobile Personal Computer,超级移动个人计算机)、上网本、PDA(Personal Digital Assistant,个人数字助理)等具有语音通信功能的终端设备,本发明实施例以通信终端为手机为例进行说明,图5示出的是与本发明各实施例相关的手机500的部分结构的框图。
如图5所示,手机500包括:主麦克风571、副麦克风572、存储器510、处理器520、射频(radio frequency,RF)电路530、输入单元540、显示单元550、重力传感器560、音频电路570、以及电源580等部件。本领域技术人员可以理解,图5中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
下面结合图5对手机500的各个构成部件进行具体的介绍:
RF电路530可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器520处理;另外,将上行的数据发送给基站。通常,RF电路包括但不限于天线、至少一个放大器、收发信机、耦合 器、低噪声放大器(low noise amplifier,LNA)、双工器等。此外,RF电路530还可以通过无线通信与网络和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(global system of mobile communication,GSM)、通用分组无线服务(general packet radio service,GPRS)、码分多址(code division multiple access,CDMA)、宽带码分多址(wideband code division multiple access,WCDMA)、长期演进(long term evolution,LTE)、电子邮件、短消息服务(short messaging service,SMS)等。
存储器510可用于存储软件程序以及模块,处理器520通过运行存储在存储器510的软件程序以及模块,从而执行手机500的各种功能应用以及数据处理。存储器510可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机500的使用所创建的数据(比如音频数据、图像数据、电话本等)等。此外,存储器510可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
输入单元540可用于接收输入的数字或字符信息,以及产生与手机500的用户设置以及功能控制有关的键信号输入。具体地,输入单元540可包括触摸屏541以及其他输入设备542。触摸屏541,也称为触控面板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触摸屏541上或在触摸屏541附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触摸屏541可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器520,并能接收处理器520发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声 波等多种类型实现触摸屏541。除了触摸屏541,输入单元540还可以包括其他输入设备542。具体地,其他输入设备542可以包括但不限于物理键盘、功能键(比如音量控制按键、电源开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。
显示单元550可用于显示由用户输入的信息或提供给用户的信息以及手机500的各种菜单。显示单元550可包括显示面板551,可选的,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板551。进一步的,触摸屏541可覆盖显示面板551,当触摸屏541检测到在其上或附近的触摸操作后,传送给处理器520以确定触摸事件的类型,随后处理器520根据触摸事件的类型在显示面板551上提供相应的视觉输出。虽然在图5中,触摸屏541与显示面板551是作为两个独立的部件来实现手机500的输入和输入功能,但是在某些实施例中,可以将触摸屏541与显示面板551集成而实现手机500的输入和输出功能。
重力传感器(gravity sensor)560,可以检测手机在各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等。
手机500还可以包括其它传感器,比如光传感器。具体地,光传感器可包括环境光传感器及接近光传感器。其中,环境光传感器可根据环境光线的明暗来调节显示面板551的亮度;接近光传感器可以检测是否有物体靠近或接触手机,可在手机500移动到耳边时,关闭显示面板551和/或背光。手机500还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
音频电路570、扬声器573、主麦克风571、副麦克风572可提供用户与手机500之间的音频接口。音频电路570可将接收到的音频数据转换后的电 信号,传输到扬声器573,由扬声器573转换为声音信号输出;另一方面,主麦克风571、副麦克风572将收集的声音信号转换为电信号,由音频电路570接收后转换为音频数据,再将音频数据输出至RF电路530以发送给比如另一手机,或者将音频数据输出至存储器510以便进一步处理,其中,主麦克风571用于接收用户发出的语音信号,副麦克风572用于接收通话环境中的噪音信号,手机500可以根据副麦克风572接收的信号,对主麦克风571接收的信号进行降噪处理。
处理器520是手机500的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器510内的软件程序和/或模块,以及调用存储在存储器510内的数据,执行手机500的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器520可包括一个或多个处理单元;优选的,处理器520可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器520中。
手机500还包括给各个部件供电的电源580(比如电池),优选的,电源可以通过电源管理系统与处理器520逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
尽管未示出,手机500还可以包括WiFi(wireless fidelity,无线保真)模块、蓝牙模块等,在此不再赘述。
参照图5,本发明实施例提供了一种通信终端,该通信终端用于执行本发明实施例提供的方法,在执行上述方法时主要涉及以下部件:主麦克风571;副麦克风572;存储器510;处理器520。
所述主麦克风571,用于构成语音通路;
所述存储器510,用于存储程序指令;
所述处理器520,用于根据所述存储器510中存储的程序指令执行以下操作:
当所述通信终端处于手持通话状态时,获取所述主麦克风571获取的第一声音的音量值与所述副麦克风572获取的第二声音的音量值;
根据所述第一声音的音量值与所述第二声音的音量值的差值,确定所述语音通路是否被堵塞。
可选地,所述处理器520还用于根据所述存储器510中存储的程序指令执行以下操作:
当确定出所述语音通路被堵塞时,指示所述通信终端发出报警信号,所述报警信号用于提示用户所述语音通路被堵塞。
可选地,所述第一声音的音量值为预设时间段内所述主麦克风571获取的第一声音的平均音量值;所述第二声音的音量值为预设时间段内所述副麦克风572获取的第二声音的平均音量值。
可选地,所述处理器520执行所述根据所述第一声音的音量值与所述第二声音的音量值的差值,确定所述语音通路是否被堵塞的操作,包括:
当所述第一声音的音量值与所述第二声音的音量值的差值小于或等于第一阈值时,确定所述语音通路被堵塞。
可选地,所述处理器520执行所述根据所述第一声音的音量值与所述第二声音的音量值的差值,确定所述语音通路是否被堵塞的操作,包括:
当所述第一声音的音量值与所述第二声音的音量值的差值小于或等于第一阈值,且所述第二声音的音量值大于或等于第二阈值时,确定所述语音通路被堵塞。
可选地,所述处理器520还用于根据所述存储器510中存储的程序指令执行以下操作:
在所述当所述通信终端处于手持通话状态时,获取所述主麦克风571获取的第一声音的音量值与所述副麦克风572获取的第二声音的音量值之前,获取所述通信终端的通话模式参数的参数值;
根据所述通话模式参数的参数值,确定所述通信终端处于手持通话状态。
可选地,所述处理器520还用于根据所述存储器510中存储的程序指令执行以下操作:
在所述当所述通信终端处于手持通话状态时,获取所述主麦克风571获取的第一声音的音量值与所述副麦克风572获取的第二声音的音量值之前,获取所述主麦克风571和所述副麦克风572的工作状态参数的参数值;
根据所述工作状态参数的参数值,确定所述主麦克风571和所述副麦克风572均正常工作。
专业人员应该还可以进一步意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤是可以通过程序来指令处理器完成,所述的程序可以存储于计算机可读存储介质中,所述存储介质是非短暂性(non-transitory)介质,例如随机存取存储器,只读存储器,快闪存储器,硬盘,固态硬盘,磁带(magnetic tape),软盘(floppy disk),光盘(optical disc)及其任意组合。
以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应该以权利要求的保护范围为准。

Claims (21)

  1. 一种检测通信终端的语音通路的方法,其特征在于,所述通信终端包括主麦克风和副麦克风,所述方法包括:
    当所述通信终端处于手持通话状态时,获取所述主麦克风获取的第一声音的音量值与所述副麦克风获取的第二声音的音量值;
    根据所述第一声音的音量值与所述第二声音的音量值的差值,确定所述语音通路是否被堵塞。
  2. 如权利要求1所述的方法,其特征在于,所述方法还包括:
    当确定出所述语音通路被堵塞时,指示所述通信终端发出报警信号,所述报警信号用于提示用户所述语音通路被堵塞。
  3. 如权利要求1或2所述的方法,其特征在于:
    所述第一声音的音量值为预设时间段内所述主麦克风获取的第一声音的平均音量值;所述第二声音的音量值为所述预设时间段内所述副麦克风获取的第二声音的平均音量值。
  4. 如权利要求1至3中任意一项权利要求所述的方法,其特征在于,所述根据所述第一声音的音量值与所述第二声音的音量值的差值,确定所述语音通路是否被堵塞,包括:
    当所述第一声音的音量值与所述第二声音的音量值的差值小于或等于第一阈值时,确定所述语音通路被堵塞。
  5. 如权利要求1至3中任意一项权利要求所述的方法,其特征在于,所述根据所述第一声音的音量值与所述第二声音的音量值的差值,确定所述语音通路是否被堵塞,包括:
    当所述第一声音的音量值与所述第二声音的音量值的差值小于或等于第一阈值,且所述第二声音的音量值大于或等于第二阈值时,确定所述语音通路被堵塞。
  6. 如权利要求1至5中任意一项权利要求所述的方法,其特征在于,所 述当所述通信终端处于手持通话状态时,获取所述主麦克风获取的第一声音的音量值与所述副麦克风获取的第二声音的音量值之前,所述方法还包括:
    获取所述通信终端的通话模式参数的参数值;
    根据所述通话模式参数的参数值,确定所述通信终端处于手持通话状态。
  7. 如权利要求1至6中任意一项权利要求所述的方法,其特征在于,所述当所述通信终端处于手持通话状态时,获取所述主麦克风获取的第一声音的音量值与所述副麦克风获取的第二声音的音量值之前,所述方法还包括:
    获取所述主麦克风和所述副麦克风的工作状态参数的参数值;
    根据所述工作状态参数的参数值,确定所述主麦克风和所述副麦克风均正常工作。
  8. 一种检测通信终端的语音通路的装置,所述装置包含于所述通信终端中,其特征在于,所述通信终端包括主麦克风和副麦克风,所述装置包括:
    获取单元,用于在所述通信终端处于手持通话状态时,获取所述主麦克风获取的第一声音的音量值与所述副麦克风获取的第二声音的音量值;
    确定单元,用于根据所述获取单元获取的第一声音的音量值与所述获取单元获取的第二声音的音量值的差值,确定所述语音通路是否被堵塞。
  9. 如权利要求8所述的装置,其特征在于,所述装置还包括:
    指示单元,用于在所述确定单元确定出所述语音通路被堵塞时,指示所述通信终端发出报警信号,所述报警信号用于提示用户所述语音通路被堵塞。
  10. 如权利要求8或9所述的装置,其特征在于:
    所述获取单元获取的第一声音的音量值为预设时间段内所述主麦克风获取的第一声音的平均音量值;所述获取单元获取的第二声音的音量值为所述预设时间段内所述副麦克风获取的第二声音的平均音量值。
  11. 如权利要求8至10中任意一项权利要求所述的装置,其特征在于,所述确定单元,具体用于当所述获取单元获取的第一声音的音量值与所述获取单元获取的第二声音的音量值的差值小于或等于第一阈值时,确定所述语 音通路被堵塞。
  12. 如权利要求8至10中任意一项权利要求所述的装置,其特征在于,所述确定单元,具体用于当所述获取单元获取的第一声音的音量值与所述获取单元获取的第二声音的音量值的差值小于或等于第一阈值,且所述第二声音的音量值大于或等于第二阈值时,确定所述语音通路被堵塞。
  13. 如权利要求8至12中任意一项权利要求所述的装置,其特征在于:
    所述获取单元,还用于在所述获取单元获取所述主麦克风获取的第一声音的音量值与所述副麦克风获取的第二声音的音量值之前,获取所述通信终端的通话模式参数的参数值;
    所述确定单元,还用于根据所述获取单元获取的通话模式参数的参数值,确定所述通信终端处于手持通话状态。
  14. 如权利要求8至13中任意一项权利要求所述的装置,其特征在于:
    所述获取单元,还用于在所述获取单元获取所述主麦克风获取的第一声音的音量值与所述副麦克风获取的第二声音的音量值之前,获取所述主麦克风和所述副麦克风的工作状态参数的参数值;
    所述确定单元,还用于根据所述获取单元获取的工作状态参数的参数值,确定所述主麦克风和所述副麦克风均正常工作。
  15. 一种通信终端,其特征在于,所述通信终端包括:
    主麦克风;
    副麦克风;
    存储器;
    处理器;
    所述存储器,用于存储程序指令;
    所述处理器,用于根据所述存储器中存储的程序指令执行以下操作:
    当所述通信终端处于手持通话状态时,获取所述主麦克风获取的第一声音的音量值与所述副麦克风获取的第二声音的音量值;
    根据所述第一声音的音量值与所述第二声音的音量值的差值,确定语音通路是否被堵塞。
  16. 如权利要求15所述的通信终端,其特征在于,所述处理器还用于根据所述存储器中存储的程序指令执行以下操作:
    当确定出所述语音通路被堵塞时,指示所述通信终端发出报警信号,所述报警信号用于提示用户所述语音通路被堵塞。
  17. 如权利要求15或16所述的通信终端,其特征在于:
    所述第一声音的音量值为预设时间段内所述主麦克风获取的第一声音的平均音量值;所述第二声音的音量值为所述预设时间段内所述副麦克风获取的第二声音的平均音量值。
  18. 如权利要求15至17中任意一项权利要求所述的通信终端,其特征在于,所述处理器执行所述根据所述第一声音的音量值与所述第二声音的音量值的差值,确定语音通路是否被堵塞的操作,包括:
    当所述第一声音的音量值与所述第二声音的音量值的差值小于或等于第一阈值时,确定所述语音通路被堵塞。
  19. 如权利要求15至17中任意一项权利要求所述的通信终端,其特征在于,所述处理器执行所述根据所述第一声音的音量值与所述第二声音的音量值的差值,确定语音通路是否被堵塞的操作,包括:
    当所述第一声音的音量值与所述第二声音的音量值的差值小于或等于第一阈值,且所述第二声音的音量值大于或等于第二阈值时,确定语音通路被堵塞。
  20. 如权利要求15至19中任意一项权利要求所述的通信终端,其特征在于,所述处理器还用于根据所述存储器中存储的程序指令执行以下操作:
    在所述当所述通信终端处于手持通话状态时,获取所述主麦克风获取的第一声音的音量值与所述副麦克风获取的第二声音的音量值之前,获取所述通信终端的通话模式参数的参数值;
    根据所述通话模式参数的参数值,确定所述通信终端处于手持通话状态。
  21. 如权利要求15至20中任意一项权利要求所述的通信终端,其特征在于,所述处理器还用于根据所述存储器中存储的程序指令执行以下操作:
    在所述当所述通信终端处于手持通话状态时,获取所述主麦克风获取的第一声音的音量值与所述副麦克风获取的第二声音的音量值之前,获取所述主麦克风和所述副麦克风的工作状态参数的参数值;
    根据所述工作状态参数的参数值,确定所述主麦克风和所述副麦克风均正常工作。
PCT/CN2015/088727 2015-09-01 2015-09-01 语音通路的检测方法、装置和终端 WO2017035771A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201580027125.6A CN106717027A (zh) 2015-09-01 2015-09-01 语音通路的检测方法、装置和终端
PCT/CN2015/088727 WO2017035771A1 (zh) 2015-09-01 2015-09-01 语音通路的检测方法、装置和终端

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/088727 WO2017035771A1 (zh) 2015-09-01 2015-09-01 语音通路的检测方法、装置和终端

Publications (1)

Publication Number Publication Date
WO2017035771A1 true WO2017035771A1 (zh) 2017-03-09

Family

ID=58186570

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/088727 WO2017035771A1 (zh) 2015-09-01 2015-09-01 语音通路的检测方法、装置和终端

Country Status (2)

Country Link
CN (1) CN106717027A (zh)
WO (1) WO2017035771A1 (zh)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109089201A (zh) * 2018-07-26 2018-12-25 Oppo广东移动通信有限公司 麦克风堵孔检测方法及相关产品
CN109151699A (zh) * 2018-07-26 2019-01-04 Oppo广东移动通信有限公司 麦克风堵孔检测方法及相关产品
CN112584293A (zh) * 2018-07-26 2021-03-30 Oppo广东移动通信有限公司 麦克风堵孔检测方法及相关产品
CN113014844A (zh) * 2021-02-08 2021-06-22 Oppo广东移动通信有限公司 一种音频处理方法、装置、存储介质及电子设备
US11234089B2 (en) 2018-07-26 2022-01-25 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Microphone hole blockage detection method, microphone hole blockage detection device, and wireless earphone

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109769191B (zh) * 2017-11-09 2021-03-23 北京小米移动软件有限公司 音频输出检测方法及装置、电子设备
CN109089191B (zh) * 2018-07-24 2021-11-02 Oppo(重庆)智能科技有限公司 堵孔处理方法及相关产品
CN113746976B (zh) * 2021-07-23 2023-03-28 荣耀终端有限公司 音频模块检测方法、电子设备及计算机存储介质
CN117135254A (zh) * 2023-03-28 2023-11-28 荣耀终端有限公司 语音通话的方法和电子设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103247298A (zh) * 2013-04-28 2013-08-14 华为技术有限公司 一种灵敏度校准方法和音频设备
CN103260098A (zh) * 2012-02-20 2013-08-21 Jvc建伍株式会社 通信装置、状态通知方法
CN104025699A (zh) * 2012-12-31 2014-09-03 展讯通信(上海)有限公司 适应性音频捕获
CN104320544A (zh) * 2014-11-10 2015-01-28 广东欧珀移动通信有限公司 移动终端的麦克风控制方法及移动终端
WO2015067846A1 (en) * 2013-11-06 2015-05-14 Nokia Technologies Oy Calibration of a microphone
US20150189436A1 (en) * 2013-12-27 2015-07-02 Nokia Corporation Method, apparatus, computer program code and storage medium for processing audio signals

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8374362B2 (en) * 2008-01-31 2013-02-12 Qualcomm Incorporated Signaling microphone covering to the user
US20110317848A1 (en) * 2010-06-23 2011-12-29 Motorola, Inc. Microphone Interference Detection Method and Apparatus
US9736287B2 (en) * 2013-02-25 2017-08-15 Spreadtrum Communications (Shanghai) Co., Ltd. Detecting and switching between noise reduction modes in multi-microphone mobile devices
CN103501375B (zh) * 2013-09-16 2017-04-19 华为终端有限公司 音效控制方法及装置
CN104320527B (zh) * 2014-09-29 2017-10-13 广东欧珀移动通信有限公司 一种提高手机送话效果的方法及装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103260098A (zh) * 2012-02-20 2013-08-21 Jvc建伍株式会社 通信装置、状态通知方法
CN104025699A (zh) * 2012-12-31 2014-09-03 展讯通信(上海)有限公司 适应性音频捕获
CN103247298A (zh) * 2013-04-28 2013-08-14 华为技术有限公司 一种灵敏度校准方法和音频设备
WO2015067846A1 (en) * 2013-11-06 2015-05-14 Nokia Technologies Oy Calibration of a microphone
US20150189436A1 (en) * 2013-12-27 2015-07-02 Nokia Corporation Method, apparatus, computer program code and storage medium for processing audio signals
CN104320544A (zh) * 2014-11-10 2015-01-28 广东欧珀移动通信有限公司 移动终端的麦克风控制方法及移动终端

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109089201A (zh) * 2018-07-26 2018-12-25 Oppo广东移动通信有限公司 麦克风堵孔检测方法及相关产品
CN109151699A (zh) * 2018-07-26 2019-01-04 Oppo广东移动通信有限公司 麦克风堵孔检测方法及相关产品
CN112584293A (zh) * 2018-07-26 2021-03-30 Oppo广东移动通信有限公司 麦克风堵孔检测方法及相关产品
US11234089B2 (en) 2018-07-26 2022-01-25 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Microphone hole blockage detection method, microphone hole blockage detection device, and wireless earphone
CN112584293B (zh) * 2018-07-26 2022-04-08 Oppo广东移动通信有限公司 麦克风堵孔检测方法及相关产品
US11425520B2 (en) 2018-07-26 2022-08-23 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for detecting blocking of microphone and related products
CN113014844A (zh) * 2021-02-08 2021-06-22 Oppo广东移动通信有限公司 一种音频处理方法、装置、存储介质及电子设备

Also Published As

Publication number Publication date
CN106717027A (zh) 2017-05-24

Similar Documents

Publication Publication Date Title
WO2017035771A1 (zh) 语音通路的检测方法、装置和终端
US9832582B2 (en) Sound effect control method and apparatus
WO2017197650A1 (zh) 通话中的交互方法和设备
CN107734614B (zh) Wi-Fi天线控制方法、移动终端及计算机可读存储介质
WO2017075979A1 (zh) 语音信号的处理方法及装置
CN109511037A (zh) 耳机音量调节方法、装置及计算机可读存储介质
CN109788423B (zh) 语音接收方法、装置及计算机可读存储介质
CN110602696A (zh) 通话隐私保护方法和电子设备
US20080220820A1 (en) Battery saving selective screen control
WO2019011231A1 (zh) 降低移动终端sar值的方法及存储介质、移动终端
CN108833683B (zh) 动态天线调整实现方法及相关产品
CN108200267A (zh) 一种终端控制方法、终端及计算机可读存储介质
WO2014078986A1 (zh) 一种终端及自动接听来电的方法
CN109842725A (zh) 一种移动终端的音量控制方法、移动终端及存储介质
CN106936516B (zh) 显示屏显示状态控制方法、存储介质及终端
CN108432220B (zh) 一种切换通话模式的方法和终端
CN108769364B (zh) 通话控制方法、装置、移动终端及计算机可读介质
US11653184B2 (en) Call prompt method
CN108668018B (zh) 移动终端、音量控制方法及相关产品
CN112997471A (zh) 音频通路切换方法和装置、可读存储介质、电子设备
CN111641480B (zh) 一种tcp重传次数的控制方法及终端设备、存储介质
CN108307075A (zh) 一种来电处理方法及移动终端
CN106909295B (zh) 应用程序的处理方法和终端
CN111372003A (zh) 一种摄像头切换方法、装置及终端
WO2018166087A1 (zh) 一种终端通话方法及终端

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: 15902578

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15902578

Country of ref document: EP

Kind code of ref document: A1