WO2015154282A1 - Call device and switching method and device applied thereto - Google Patents

Call device and switching method and device applied thereto Download PDF

Info

Publication number
WO2015154282A1
WO2015154282A1 PCT/CN2014/075078 CN2014075078W WO2015154282A1 WO 2015154282 A1 WO2015154282 A1 WO 2015154282A1 CN 2014075078 W CN2014075078 W CN 2014075078W WO 2015154282 A1 WO2015154282 A1 WO 2015154282A1
Authority
WO
WIPO (PCT)
Prior art keywords
speaker
microphone
path
signal
double
Prior art date
Application number
PCT/CN2014/075078
Other languages
French (fr)
Chinese (zh)
Inventor
行晓亮
Original Assignee
华为终端有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为终端有限公司 filed Critical 华为终端有限公司
Priority to CN201480001414.4A priority Critical patent/CN104380698A/en
Priority to PCT/CN2014/075078 priority patent/WO2015154282A1/en
Publication of WO2015154282A1 publication Critical patent/WO2015154282A1/en

Links

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

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a call device and a method and device for switching to a call device. Background technique
  • Speaker in the device used to convert electrical signals to acoustic signals, used in hands-free calling, ringing tones, music playback, etc.
  • microphone (mic) in the talking device used for Realize the conversion of acoustic signals to electrical signals, and use them in the case of hand-held calls, recordings, etc.
  • the call device in order to improve the call clarity of the user and improve the noise reduction effect, the call device has a built-in 2 mic, the main mic is used to stably maintain a clear call, and the sub mic is used to eliminate the call noise.
  • the position of ⁇ ij mic should be kept away from the main mic as much as possible, so that the voice entering the secondary mic should be as small as possible; the sound sealing and directionality of the speaker should be as good as possible, and the sound of the speaker should be prevented from being transmitted to the secondary mic. Affects the noise reduction effect.
  • the call device and the method and device for switching the call device in the embodiment of the present invention are used to simplify the internal structure of the dual-mic communication device, and realize the slim and light design of the device.
  • an embodiment of the present invention provides a handover method applied to a call device, where the method includes: Determining whether a preset switching signal is collected;
  • the speaker of the talking device is switched to a secondary microphone, so that the secondary microphone and the microphone of the talking device form a double microphone.
  • the preset switching signal is a handheld call signal sent by the optical sensor, and the dual microphone is used to suppress ambient noise.
  • the preset switching signal is an audio collecting signal
  • the dual microphone is used for performing acoustic positioning.
  • the preset switching signal is a picture acquisition signal
  • the dual microphone is used for performing acoustic focusing.
  • the speaker is connected to the speaker path and the sub-mike channel through the analog switch respectively;
  • the switching the speaker of the calling device to the secondary microphone includes:
  • the manner in which the speaker and the secondary microphone path form the secondary microphone include:
  • the voltage signal is amplified and output through the sub-microchannel.
  • an embodiment of the present invention provides a switching device applied to a call device, where the device includes:
  • a determining unit configured to determine whether a preset switching signal is collected
  • a switching unit configured to: when the determining unit determines that the preset switching signal is collected, switch the speaker of the calling device to a secondary microphone, so that the secondary microphone and the microphone of the calling device form a double microphone .
  • the speaker is connected to the speaker path and the sub-mike channel through an analog switch;
  • the switching unit is specifically configured to control the analog switch to open a connection between the speaker and the secondary microphone path, and cut a connection between the speaker and the speaker path, so that the speaker and the speaker A secondary mic path forms the secondary mic.
  • an embodiment of the present invention provides a call device, where the call device includes at least one processor, at least one network interface or other communication interface, a memory, at least one communication bus, and a speaker component; the memory is used for storing a program instruction, the processor is configured to execute the following steps according to the program instruction:
  • the speaker component When the preset switching signal is acquired, the speaker component is switched to a secondary microphone, so that the secondary microphone and the microphone of the talking device form a double microphone.
  • the speaker component includes a speaker, a double-pole double-throw analog switch, a speaker path, a sub-mike path, and an impedance matcher.
  • Two pins of the speaker are respectively connected to two input ends of the double-pole double-throw analog switch
  • Two output ends of the double-pole double-throw analog switch are connected to the speaker passage, and the remaining two output ends of the double-pole double-throw analog switch are connected to the auxiliary microphone passage;
  • the impedance matcher is connected in series in the secondary microphone path.
  • the processor performs the following steps: switching the speaker component to the secondary microphone:
  • Controlling the double-pole double-throw analog switch to turn on a connection between the speaker and the sub-mike path, and disconnect a connection between the speaker and the speaker path to form the speaker and the sub-mike path The secondary microphone.
  • the speaker of the communication device has two functions of electroacoustic conversion and acoustic-electric conversion, so that in the scenario where the dual microphone is needed, the speaker can be converted into a microphone, that is, the acoustic signal to the electrical signal is performed through the speaker.
  • the conversion together with the microphone of the calling device itself, forms a dual microphone.
  • the design requirements of the microphone and the speaker that are provided to the communication device itself can be reduced, and the structural space inside the communication device can be saved, which is beneficial to realize the slim and light design of the device.
  • FIG. 1 is a flowchart of a method for switching to a call device according to an embodiment of the present invention
  • FIG. 2 is a schematic view showing the structure of a speaker assembly according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a switching device applied to a call device according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram showing the hardware configuration of a call device according to an embodiment of the present invention. detailed description
  • the basic components include a speaker for playback and a microphone for mic.
  • the speaker is used to convert the received electrical signal into an acoustic signal for sound playback
  • the mic is used to convert the collected acoustic signal into an electrical signal for transmission.
  • the speaker and mic are independent of each other and implement their own functions.
  • a dual mic call device that is, two mics are built in the call device, and the main mic provides clearness to the user.
  • the call, the secondary mic cooperates with the main mic to reduce the environmental noise.
  • the main mic and the secondary mic are respectively set at the upper end and the lower end of the mobile phone, and the difference in signal strength, phase, time, and the like caused by the difference in position of the two mics is used to separate the noise and the voice signal.
  • the design of the present invention brings about the problems introduced in the background of the embodiments of the present invention.
  • the embodiment of the present invention provides a single mic call device (of course, the solution of the present invention is also The method for switching to a dual-mic communication device, which is not specifically limited in this embodiment of the present invention, converts the speaker in the single-mic communication device into a mic when necessary, so that the single-mic communication device itself has Mic is used as the main mic, and the mic converted by the speaker is used as the secondary mic to convert the single mic call device into a dual mic call device, providing the user with Clear calls and avoid problems with existing dual mic calling devices.
  • FIG. 1 a flowchart of a method for switching a call device according to an embodiment of the present invention is shown, where the method includes:
  • Step 101 Determine whether a preset switching signal is collected.
  • Step 102 When collecting the preset switching signal, switch the speaker of the calling device to a secondary microphone, so that the secondary microphone and the microphone of the calling device form a double microphone.
  • the speaker is used to implement the speaker.
  • the reverse application of the acoustic signal to the electrical signal enables the speaker to implement the mic function.
  • the speaker also acts as a speaker to convert the basic electrical signal to the acoustic signal. Only in special cases, the speaker is switched from the speaker to the microphone. That is, the speaker implements the speaker function by default, and the function is switched only when needed.
  • the embodiment of the present invention is mainly implemented by real-time monitoring a preset switching signal, that is, as long as the central processing unit collects a preset switching signal, the speaker is controlled to switch from the speaker function (that is, converting the electrical signal to the acoustic signal) to the microphone. Function (that is, converting the sound signal into an electric signal); if the preset switching signal is not collected, the speaker continues to maintain the speaker function.
  • the preset switching signals are also different, which can be embodied as: hand-held call signal, audio collection signal, picture acquisition signal, and explained one by one below.
  • the call can be divided into two types: hand-held call and hands-free call. If it is a hands-free call, the speaker needs to be used as a speaker. At this time, the function switch is not performed. If it is a hand-held call, the speaker is not needed at present, so the speaker can be used.
  • the function is switched to mic so that it can cooperate with the mic that comes with the call device to perform noise reduction processing.
  • the specific noise reduction process can be implemented in an existing manner, and the present invention is implemented. This article does not repeat this.
  • the signal collected by the proximity light sensor can be used as a preset switching signal.
  • the proximity light sensor is blocked, so that the sensor can determine that the current call is a call, and the central processor is notified. , perform the speaker function switch.
  • other signals may be used as the preset switching signal; for example, the mode of the hand-held call or the hands-free call is usually selected by the user, and the call device can know the current call mode according to the user's selection, when the call device knows that the current call is When the call is held, the speaker function can be switched.
  • the audio collection scene in the embodiment of the present invention may include scenes such as recording and frequency shooting: for the recording scene, the preset switching signal (ie, the audio collection signal) may be embodied as a signal for starting the recording application, that is, when the user turns on the recording application record.
  • the central processing unit receives the audio acquisition signal, so that the function of the speaker can be switched to mic.
  • the preset switching signal ie, the audio acquisition signal
  • the central processing unit receives the audio collection signal ( Of course, there is also a frequency acquisition signal), so that the function of the speaker can be converted to mic.
  • the preset switching signal can be reflected as a signal to enter the photographing mode, ⁇ , when the user turns on the camera application and selects to enter the photographing mode, the central processing unit receives the image capturing signal, so that the speaker can be controlled.
  • the function is converted to mic (sub mic) and interacts with the mic (main mic) built into the call device.
  • the two mics separately collect the sound for acoustic focusing.
  • the specific positioning and focusing process can be implemented in the existing manner, and the embodiment of the present invention does not describe the same.
  • the embodiment of the present invention is mainly directed to a scene that does not require a speaker, so that the speaker can form a double mic as the mic of the sub-mic and the communication device itself.
  • the embodiment of the present invention provides a speaker assembly, which is shown in the structural diagram shown in FIG. 2, and may include a speaker 201, a double-pole double-throw analog switch 202, a speaker path 203, and a sub-mike path. 204.
  • An impedance matcher 205 is shown in the structural diagram shown in FIG. 2, and may include a speaker 201, a double-pole double-throw analog switch 202, a speaker path 203, and a sub-mike path. 204.
  • An impedance matcher 205 An impedance matcher 205.
  • the two ends of the analog switch and the speaker can be defined as an input terminal, and the four ends connected to the speaker path and the sub-micro channel are defined as an output terminal, and the output terminals 1, 2, 3 are sequentially from top to bottom.
  • the connection relationship of the components in the speaker assembly is: two pins of the speaker are respectively connected to two input ends of the double-pole double-throw analog switch; two outputs of the double-pole double-throw analog switch Terminals 2, 4 are connected to the speaker path, and the remaining two output terminals 1, 3 of the double-pole double-throw analog switch are connected to the sub-mike path; the impedance matcher is serially connected in the sub-mike path .
  • the speaker can be connected to the speaker path for receiving the electrical signal from the speaker channel and converted into an acoustic signal to play out; or the speaker can be connected to the sub-micro channel for collecting The acoustic signal is converted into an electrical signal and transmitted through the secondary mic path.
  • the implementation manner of switching the speaker to the secondary microphone provided by the embodiment of the present invention may be as follows:
  • the embodiment of the present invention may further provide a speaker component for converting an acoustic signal to an electrical signal according to the speaker structure principle described above, and the specific process may be: the vibration signal of the diaphragm collected by the speaker, According to the corresponding relationship between the vibration amplitude and the voltage intensity, the vibration signal is converted into a voltage signal, and output to the sub-microchannel, and the voltage signal is amplified by the impedance matching device in the path, and finally outputted by the sub-microchannel.
  • a sub-micro channel is added on the basis of the original speaker and the speaker channel, so that the speaker has the function of converting the electrical signal to the acoustic signal, and has the function from the acoustic signal to the electrical signal.
  • the conversion function in this way, in the scene where the dual mic is required, it is possible to control the switching of the speaker in the talking device to the mic (sub mic) use, and convert the single mic talking device into a dual mic talking device. That is to say, the solution of the present invention does not need to establish a separate sub mic, so that the problems caused by the separate establishment of the secondary mic in the prior art can be avoided.
  • the speaker can also implement the microphone function by default, and switch the function to the speaker when needed, that is, in the central processing unit.
  • the preset switching signal may be a signal for stopping the use of the microphone, such as a hand-held call end signal, an audio collection end signal, a picture collection end signal sent by the proximity light sensor, or the preset switching signal may also be a ring tone playing signal, and the opening is free.
  • the signal of the call, the opening of the music playing signal, and the like indicate that the signal of the speaker is required, which is not specifically limited in the present invention.
  • the embodiment of the present invention may preferably enable the speaker to implement the speaker function by default.
  • the embodiment of the present invention further provides a switching device applied to the calling device.
  • the device may include:
  • the determining unit 301 is configured to determine whether a preset switching signal is collected
  • the switching unit 302 is configured to: when the determining unit determines that the preset switching signal is collected, switch the speaker of the calling device to a secondary microphone, so that the secondary microphone and the microphone of the calling device form a double Mike.
  • the switching unit in the embodiment of the present invention is specifically configured to control the analog switch to turn on the speaker and the secondary microphone path. And connecting the speaker and the speaker path to form the sub-microphone.
  • the embodiment of the present invention further provides a hardware configuration of the call device. Referring to Figure 4, at least one processor (e.g., a CPU), at least one network interface or other communication interface, memory, speaker assembly, and at least one communication bus can be included for enabling connection communication between the devices.
  • the processor is configured to execute an executable module, such as a computer program, stored in the memory.
  • Memory It may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk storage.
  • RAM random access memory
  • non-volatile memory such as at least one disk storage.
  • the communication connection between the system gateway and at least one other network element is implemented by at least one network interface (which may be wired or wireless), and may use an Internet, a wide area network, a local network, a metropolitan area network, or the like.
  • the processor may perform the following steps according to the program instructions stored in the memory:
  • the speaker component When the preset switching signal is acquired, the speaker component is switched to a secondary microphone, so that the secondary microphone and the microphone of the talking device form a double microphone.
  • the configuration of the speaker assembly and the function of the components can be referred to the above description, and will not be described herein.
  • the processor may perform the following steps to switch the speaker component to the secondary microphone:
  • Controlling the double-pole double-throw analog switch to turn on a connection between the speaker and the sub-mike path, and disconnect a connection between the speaker and the speaker path to form the speaker and the sub-mike path The secondary microphone.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

A call device and a switching method and device applied thereto. The method comprises: judging whether a preset switching signal is collected; when the preset switching signal is collected, switching a loudspeaker of the call device to an auxiliary microphone, so that the auxiliary microphone and a microphone that the call device has form double microphones. A loudspeaker of a call device can simultaneously possess two functions of electro-acoustic conversion and acoustic-electro conversion, and in a scenario of needing to use double microphones, the loudspeaker is switched to a microphone, which cooperates with a microphone that the call device itself has, to form the double microphones. In this way, not only can design requirements of a microphone and a loudspeaker that a call device itself has be lowered, but also a structure space inside the call device can be saved, thereby being favourable for realizing light and thin designs of a device.

Description

一种通话设备及应用于通话设备的切换方法、 装置  Call device and switching method and device applied to call device
技术领域 Technical field
本发明涉及通信技术领域, 具体涉及一种通话设备及应用于通话设备的 切换方法、 装置。 背景技术  The present invention relates to the field of communications technologies, and in particular, to a call device and a method and device for switching to a call device. Background technique
随着信息技术的不断发展, 手机等通话设备已成为人们日常生活中必不 可少的电子设备。 通话设备中的扬声器 (speaker) , 用于实现电信号到声信号 的转换, 在免提通话、 来电铃声、 音乐播放等情况下使用;通话设备中的麦 克 (mic) 作为收声设备, 用于实现声信号到电信号的转换, 在手持通话、 录 音等情况下使用。  With the continuous development of information technology, mobile devices such as mobile phones have become an indispensable electronic device in people's daily lives. Speaker in the device, used to convert electrical signals to acoustic signals, used in hands-free calling, ringing tones, music playback, etc.; microphone (mic) in the talking device as a sounding device, used for Realize the conversion of acoustic signals to electrical signals, and use them in the case of hand-held calls, recordings, etc.
现有技术中, 为了改善用户的通话清晰度, 提高降噪效果, 通话设备大 多内置 2个 mic, 主 mic用于稳定保持清晰通话, 副 mic配合主 mic用于消除 通话噪音。  In the prior art, in order to improve the call clarity of the user and improve the noise reduction effect, the call device has a built-in 2 mic, the main mic is used to stably maintain a clear call, and the sub mic is used to eliminate the call noise.
双 mic设计在提高通话设备降噪效果的同时, 还带来了以下问题:  The dual mic design also brings the following problems while improving the noise reduction effect of the call device:
1. 提高了对主 mic以及 speaker的设计要求。 为了保证降噪效果, 要求 畐 ij mic的位置要尽量远离主 mic, 使进入副 mic的语音尽量小;要求 speaker 的声音密封性、 定向性要尽量好, 避免 speaker播放的声音传入副 mic, 影响 降噪效果。  1. Improved design requirements for the main mic and speaker. In order to ensure the noise reduction effect, the position of 畐ij mic should be kept away from the main mic as much as possible, so that the voice entering the secondary mic should be as small as possible; the sound sealing and directionality of the speaker should be as good as possible, and the sound of the speaker should be prevented from being transmitted to the secondary mic. Affects the noise reduction effect.
2. 占用通话设备内部的结构空间。 主 mic、 副 mic作为两个独立的器件, 需要配置各自独立的外围电路来完成相应工作, 如此就会限制设备的轻薄化 发展。 发明内容  2. Take up the structural space inside the call device. The main mic and the sub-mic are two independent devices, and each peripheral circuit needs to be configured to perform the corresponding work, which limits the development of the device. Summary of the invention
本发明实施例的通话设备及应用于通话设备的切换方法、 装置, 用以简 化双 mic通话设备的内部结构, 实现设备的轻薄化设计。  The call device and the method and device for switching the call device in the embodiment of the present invention are used to simplify the internal structure of the dual-mic communication device, and realize the slim and light design of the device.
为此, 本发明实施例提供如下技术方案:  To this end, the embodiments of the present invention provide the following technical solutions:
第一方面, 本发明实施例提供了一种应用于通话设备的切换方法, 所述 方法包括: 判断是否采集到预设切换信号; In a first aspect, an embodiment of the present invention provides a handover method applied to a call device, where the method includes: Determining whether a preset switching signal is collected;
当采集到所述预设切换信号时,将所述通话设备的扬声器切换为副麦克, 以使所述副麦克与所述通话设备具有的麦克形成双麦克。  When the preset switching signal is collected, the speaker of the talking device is switched to a secondary microphone, so that the secondary microphone and the microphone of the talking device form a double microphone.
在第一方面的第一种可能的实现方式中, 所述预设切换信号为接近光传 感器发送的手持通话信号, 所述双麦克用于抑制环境噪声。  In a first possible implementation manner of the first aspect, the preset switching signal is a handheld call signal sent by the optical sensor, and the dual microphone is used to suppress ambient noise.
在第一方面的第二种可能的实现方式中, 所述预设切换信号为音频采集 信号, 所述双麦克用于进行声学定位。  In a second possible implementation manner of the first aspect, the preset switching signal is an audio collecting signal, and the dual microphone is used for performing acoustic positioning.
在第一方面的第三种可能的实现方式中, 所述预设切换信号为图片采集 信号, 所述双麦克用于进行声学聚焦。  In a third possible implementation manner of the first aspect, the preset switching signal is a picture acquisition signal, and the dual microphone is used for performing acoustic focusing.
结合第一方面或第一方面的第一种至第三种任一种可能的实现方式, 在 第四种可能的实现方式中, 所述扬声器通过模拟开关分别与扬声器通路和副 麦克通路相连;  With reference to the first aspect or the first to third possible implementation manners of the first aspect, in a fourth possible implementation manner, the speaker is connected to the speaker path and the sub-mike channel through the analog switch respectively;
所述将所述通话设备的扬声器切换为副麦克, 包括:  The switching the speaker of the calling device to the secondary microphone includes:
控制所述模拟开关接通所述扬声器与所述副麦克通路间的连接, 并切断 所述扬声器与所述扬声器通路间的连接, 以使所述扬声器与所述副麦克通路 形成所述副麦克。  Controlling the analog switch to turn on a connection between the speaker and the sub-mike path, and disconnecting the speaker from the speaker path to form the sub-microphone to form the sub-mike .
结合第一方面的第四种可能的实现方式, 在第五种可能的实现方式中, 所述扬声器与所述副麦克通路形成所述副麦克的方式包括:  With reference to the fourth possible implementation manner of the first aspect, in a fifth possible implementation manner, the manner in which the speaker and the secondary microphone path form the secondary microphone include:
采集所述扬声器的振膜的振动信号, 并根据预设的振动幅度与电压强度 的对应关系, 将所述振动信号转换为电压信号;  Acquiring a vibration signal of the diaphragm of the speaker, and converting the vibration signal into a voltage signal according to a preset relationship between a vibration amplitude and a voltage intensity;
将所述电压信号放大后通过所述副麦克通路输出。  The voltage signal is amplified and output through the sub-microchannel.
第二方面, 本发明实施例提供了一种应用于通话设备的切换装置, 所述 装置包括:  In a second aspect, an embodiment of the present invention provides a switching device applied to a call device, where the device includes:
判断单元, 用于判断是否采集到预设切换信号;  a determining unit, configured to determine whether a preset switching signal is collected;
切换单元, 用于在所述判断单元判定采集到所述预设切换信号时, 将所 述通话设备的扬声器切换为副麦克, 以使所述副麦克与所述通话设备具有的 麦克形成双麦克。  a switching unit, configured to: when the determining unit determines that the preset switching signal is collected, switch the speaker of the calling device to a secondary microphone, so that the secondary microphone and the microphone of the calling device form a double microphone .
在第二方面的第一种可能的实现方式中, 所述扬声器通过模拟开关分别 与扬声器通路和副麦克通路相连; 所述切换单元, 具体用于控制所述模拟开关接通所述扬声器与所述副麦 克通路间的连接, 并切断所述扬声器与所述扬声器通路间的连接, 以使所述 扬声器与所述副麦克通路形成所述副麦克。 In a first possible implementation manner of the second aspect, the speaker is connected to the speaker path and the sub-mike channel through an analog switch; The switching unit is specifically configured to control the analog switch to open a connection between the speaker and the secondary microphone path, and cut a connection between the speaker and the speaker path, so that the speaker and the speaker A secondary mic path forms the secondary mic.
第三方面, 本发明实施例提供了一种通话设备, 所述通话设备包括至少 一个处理器、 至少一个网络接口或者其它通信接口、 存储器、 至少一个通信 总线和扬声器组件;所述存储器用于存储程序指令, 所述处理器用于根据所 述程序指令执行以下歩骤:  In a third aspect, an embodiment of the present invention provides a call device, where the call device includes at least one processor, at least one network interface or other communication interface, a memory, at least one communication bus, and a speaker component; the memory is used for storing a program instruction, the processor is configured to execute the following steps according to the program instruction:
判断是否采集到预设切换信号;  Determining whether a preset switching signal is collected;
当采集到所述预设切换信号时, 将所述扬声器组件切换为副麦克, 以使 所述副麦克与所述通话设备具有的麦克形成双麦克。  When the preset switching signal is acquired, the speaker component is switched to a secondary microphone, so that the secondary microphone and the microphone of the talking device form a double microphone.
在第三方面的第一种可能的实现方式中, 所述扬声器组件包括扬声器、 双刀双掷模拟开关、 扬声器通路、 副麦克通路、 阻抗匹配器,  In a first possible implementation manner of the third aspect, the speaker component includes a speaker, a double-pole double-throw analog switch, a speaker path, a sub-mike path, and an impedance matcher.
所述扬声器的两个引脚分别与所述双刀双掷模拟开关的两个输入端相 连;  Two pins of the speaker are respectively connected to two input ends of the double-pole double-throw analog switch;
所述双刀双掷模拟开关的两个输出端与所述扬声器通路相连, 所述双刀 双掷模拟开关剩余的两个输出端与所述副麦克通路相连;  Two output ends of the double-pole double-throw analog switch are connected to the speaker passage, and the remaining two output ends of the double-pole double-throw analog switch are connected to the auxiliary microphone passage;
所述阻抗匹配器串接在所述副麦克通路中。  The impedance matcher is connected in series in the secondary microphone path.
结合第三方面的第一种可能的实现方式, 在第二种可能的实现方式中, 所述处理器执行以下歩骤将所述扬声器组件切换为所述副麦克:  In conjunction with the first possible implementation of the third aspect, in a second possible implementation, the processor performs the following steps: switching the speaker component to the secondary microphone:
控制所述双刀双掷模拟开关接通所述扬声器与所述副麦克通路间的连 接, 并切断所述扬声器与所述扬声器通路间的连接, 以使所述扬声器与所述 副麦克通路形成所述副麦克。  Controlling the double-pole double-throw analog switch to turn on a connection between the speaker and the sub-mike path, and disconnect a connection between the speaker and the speaker path to form the speaker and the sub-mike path The secondary microphone.
本发明实施例, 使通话设备的扬声器同时具备电声转换以及声电转换两 种功能, 这样在需要使用双麦克的场景下, 可以将扬声器转换为麦克, 即通 过扬声器进行声信号到电信号的转换, 再配合通话设备本身具有的麦克, 形 成双麦克。 如此, 既可降低对通话设备本身具有的麦克、 扬声器的设计要求, 又可节省通话设备内部的结构空间, 有利于实现设备的轻薄化设计。 附图说明 为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例描述中 所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本 发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的 前提下, 还可以根据这些附图获得其他的附图。 In the embodiment of the invention, the speaker of the communication device has two functions of electroacoustic conversion and acoustic-electric conversion, so that in the scenario where the dual microphone is needed, the speaker can be converted into a microphone, that is, the acoustic signal to the electrical signal is performed through the speaker. The conversion, together with the microphone of the calling device itself, forms a dual microphone. In this way, the design requirements of the microphone and the speaker that are provided to the communication device itself can be reduced, and the structural space inside the communication device can be saved, which is beneficial to realize the slim and light design of the device. DRAWINGS In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described. It is obvious that the drawings in the following description are only some embodiments of the present invention. Other drawings may also be obtained from those of ordinary skill in the art in view of the drawings.
图 1是本发明实施例应用于通话设备的切换方法的流程图;  1 is a flowchart of a method for switching to a call device according to an embodiment of the present invention;
图 2是本发明实施例扬声器组件的构成示意图;  2 is a schematic view showing the structure of a speaker assembly according to an embodiment of the present invention;
图 3是本发明实施例应用于通话设备的切换装置的示意图;  3 is a schematic diagram of a switching device applied to a call device according to an embodiment of the present invention;
图 4是本发明实施例通话设备的硬件构成示意图。 具体实施方式  4 is a schematic diagram showing the hardware configuration of a call device according to an embodiment of the present invention. detailed description
为了使本技术领域的人员更好地理解本发明实施例的方案, 下面结合附 图和实施方式对本发明实施例作进一歩的详细说明。  In order to make those skilled in the art better understand the solutions of the embodiments of the present invention, the embodiments of the present invention will be described in detail below with reference to the accompanying drawings and embodiments.
在介绍本发明技术方案之前, 先对本发明的应用场景进行解释说明。 众所周知, 对于具有通话和放音功能的通话设备 (如手机、 平板电脑等) 来说, 基本部件包括用于放音的扬声器 (speaker) 和用于收音的麦克 (mic)。 其中, speaker用于将接收到的电信号转换为声信号进行声音播放, mic用于 将采集到的声信号转换为电信号进行传输。 speaker和 mic相互独立, 实现各 自的功能。  Before introducing the technical solution of the present invention, the application scenario of the present invention will be explained. As is well known, for a call device (such as a cell phone, a tablet, etc.) having a call and playback function, the basic components include a speaker for playback and a microphone for mic. The speaker is used to convert the received electrical signal into an acoustic signal for sound playback, and the mic is used to convert the collected acoustic signal into an electrical signal for transmission. The speaker and mic are independent of each other and implement their own functions.
随着技术的不断发展以及用户对设备要求的逐渐提高, 为了在较为嘈杂 的环境中为用户提供清晰的通话, 出现了双 mic通话设备, 即通话设备内置 2 个 mic, 主 mic为用户提供清晰通话, 副 mic配合主 mic来降低环境噪音。 以 手机为例, 主 mic和副 mic分别被设置在手机上端和下端, 利用两个 mic的 位置差异造成的信号强度、 相位、 时间等方面的差别来分离噪声和语音信号。 如此设计就带来了本发明实施例背景技术部分介绍的问题, 为了解决这些问 题, 并保证用户通话清晰度, 本发明实施例提供了一种主要针对单 mic通话 设备 (当然, 本发明方案亦可应用到双 mic通话设备中, 本发明实施例对此 不做具体限定) 的切换方法, 在需要时, 将单 mic通话设备中的 speaker转换 成 mic使用, 这样, 单 mic通话设备本身具有的 mic作为主 mic, speaker转换 成的 mic作为副 mic, 将单 mic通话设备转换成双 mic通话设备, 为用户提供 清晰通话, 同时还可避免出现现有双 mic通话设备存在的问题。 With the continuous development of technology and the gradual improvement of user requirements for devices, in order to provide clear calls to users in a more noisy environment, a dual mic call device has emerged, that is, two mics are built in the call device, and the main mic provides clearness to the user. The call, the secondary mic cooperates with the main mic to reduce the environmental noise. Taking a mobile phone as an example, the main mic and the secondary mic are respectively set at the upper end and the lower end of the mobile phone, and the difference in signal strength, phase, time, and the like caused by the difference in position of the two mics is used to separate the noise and the voice signal. The design of the present invention brings about the problems introduced in the background of the embodiments of the present invention. In order to solve the problems and ensure the clarity of the call, the embodiment of the present invention provides a single mic call device (of course, the solution of the present invention is also The method for switching to a dual-mic communication device, which is not specifically limited in this embodiment of the present invention, converts the speaker in the single-mic communication device into a mic when necessary, so that the single-mic communication device itself has Mic is used as the main mic, and the mic converted by the speaker is used as the secondary mic to convert the single mic call device into a dual mic call device, providing the user with Clear calls and avoid problems with existing dual mic calling devices.
下面结合附图对本发明实施例的切换过程进行解释说明。 参见图 1 , 示出了本发明实施例应用于通话设备的切换方法的流程图, 该方法包括:  The switching process of the embodiment of the present invention will be explained below with reference to the accompanying drawings. Referring to FIG. 1 , a flowchart of a method for switching a call device according to an embodiment of the present invention is shown, where the method includes:
歩骤 101 , 判断是否采集到预设切换信号。  Step 101: Determine whether a preset switching signal is collected.
歩骤 102, 当采集到所述预设切换信号时, 将所述通话设备的扬声器切换 为副麦克, 以使所述副麦克与所述通话设备具有的麦克形成双麦克。  Step 102: When collecting the preset switching signal, switch the speaker of the calling device to a secondary microphone, so that the secondary microphone and the microphone of the calling device form a double microphone.
根据 speaker的结构原理可知, 若在 speaker的振膜上施加声压, 振膜振 动即会产生电信号, 且电信号强度还会随振幅大小而变, 本发明实施例就是 利用这个原理, 实现 speaker声信号到电信号的反向应用, 使 speaker实现 mic 的功能。  According to the structural principle of the speaker, if the sound pressure is applied to the diaphragm of the speaker, the vibration of the diaphragm generates an electrical signal, and the strength of the electrical signal varies with the amplitude. In this embodiment, the speaker is used to implement the speaker. The reverse application of the acoustic signal to the electrical signal enables the speaker to implement the mic function.
在正常情况下, speaker还是作为扬声器实现基本的电信号到声信号的转 换, 只有在特殊情况下, 才从扬声器切换成麦克使用, 即 speaker默认实现扬 声器功能, 只有在需要时才进行功能切换。 对此, 本发明实施例主要是通过 实时监控预设切换信号的方式实现,即只要中央处理器采集到预设切换信号, 就控制 speaker从扬声器功能(即将电信号转换为声信号)切换到麦克功能(即 将声信号转换为电信号) ;如果未采集到预设切换信号, 则使 speaker继续保 持扬声器功能。  Under normal circumstances, the speaker also acts as a speaker to convert the basic electrical signal to the acoustic signal. Only in special cases, the speaker is switched from the speaker to the microphone. That is, the speaker implements the speaker function by default, and the function is switched only when needed. In this regard, the embodiment of the present invention is mainly implemented by real-time monitoring a preset switching signal, that is, as long as the central processing unit collects a preset switching signal, the speaker is controlled to switch from the speaker function (that is, converting the electrical signal to the acoustic signal) to the microphone. Function (that is, converting the sound signal into an electric signal); if the preset switching signal is not collected, the speaker continues to maintain the speaker function.
下面分别对本发明实施例中的预设切换信号、 以及切换过程进行解释说 明。  The preset switching signals and the switching process in the embodiments of the present invention are explained below.
1. 预设切换信号  Preset switching signal
针对不同应用场景, 预设切换信号也有所不同, 可体现为:手持通话信 号、 音频采集信号、 图片采集信号, 下面一一进行解释说明。  For different application scenarios, the preset switching signals are also different, which can be embodied as: hand-held call signal, audio collection signal, picture acquisition signal, and explained one by one below.
(1) 手持通话场景  (1) Handheld call scene
通话可分为手持通话和免提通话两种, 如果是免提通话, 则需要 speaker 作为扬声器使用, 此时不进行功能切换;如果是手持通话, 则说明当前不需 要扬声器, 故可将 speaker的功能切换为 mic, 以便其与通话设备自带的 mic 相互配合, 进行降噪处理。 具体降噪过程可通过现有方式实现, 本发明实施 例不对此进行赘述。 The call can be divided into two types: hand-held call and hands-free call. If it is a hands-free call, the speaker needs to be used as a speaker. At this time, the function switch is not performed. If it is a hand-held call, the speaker is not needed at present, so the speaker can be used. The function is switched to mic so that it can cooperate with the mic that comes with the call device to perform noise reduction processing. The specific noise reduction process can be implemented in an existing manner, and the present invention is implemented. This article does not repeat this.
具体地, 可将接近光传感器采集的信号作为预设切换信号, 一般情况下, 在用户进行手持通话时, 会遮挡住接近光传感器, 如此传感器就可判定当前 为手持通话, 通知给中央处理器, 进行 speaker功能切换。 或者, 还可以由其 它信号作为预设切换信号;例如, 手持通话或免提通话的模式通常是由用户 选择的, 通话设备根据用户的选择可以获知当前处于的通话模式, 当通话设 备获知当前为手持通话时, 可以进行 speaker功能切换。  Specifically, the signal collected by the proximity light sensor can be used as a preset switching signal. Generally, when the user performs a handheld call, the proximity light sensor is blocked, so that the sensor can determine that the current call is a call, and the central processor is notified. , perform the speaker function switch. Alternatively, other signals may be used as the preset switching signal; for example, the mode of the hand-held call or the hands-free call is usually selected by the user, and the call device can know the current call mode according to the user's selection, when the call device knows that the current call is When the call is held, the speaker function can be switched.
(2) 音频采集场景  (2) Audio capture scene
本发明实施例中的音频采集场景可包括录音、 枧频拍摄等场景: 针对录音场景, 预设切换信号 (即音频采集信号) 可体现为启动录音应 用的信号, 即, 当用户开启录音应用记录音频信息时, 中央处理器就会接收 到音频采集信号, 如此就可将 speaker的功能切换为 mic。  The audio collection scene in the embodiment of the present invention may include scenes such as recording and frequency shooting: for the recording scene, the preset switching signal (ie, the audio collection signal) may be embodied as a signal for starting the recording application, that is, when the user turns on the recording application record. In the case of audio information, the central processing unit receives the audio acquisition signal, so that the function of the speaker can be switched to mic.
针对枧频拍摄场景, 预设切换信号 (即音频采集信号) 可体现为进入摄 像模式的信号, 即, 当用户开启相机应用并选择进入摄像模式时, 中央处理 器就会接收到音频采集信号 (当然同时还有枧频采集信号), 如此就可将 speaker的功能转换为 mic。  For the 拍摄 frequency shooting scene, the preset switching signal (ie, the audio acquisition signal) can be reflected as the signal entering the camera mode, that is, when the user turns on the camera application and selects to enter the camera mode, the central processing unit receives the audio collection signal ( Of course, there is also a frequency acquisition signal), so that the function of the speaker can be converted to mic.
在音频采集场景中, 当 speaker的功能转换成 mic (副 mic) 后, 即会与 通话设备内置的 mic (主 mic) 相互配合, 实现声学定位。 具体定位过程可通 过现有方式实现, 本发明实施例亦不对此进行赘述。  In the audio capture scene, when the function of the speaker is converted to mic (sub mic), it will cooperate with the mic (main mic) built into the call device to achieve acoustic positioning. The specific positioning process can be implemented in the existing manner, and the embodiment of the present invention does not describe the same.
(3) 图片采集场景  (3) Picture collection scene
针对图片采集场景, 预设切换信号可体现为进入拍照模式的信号, 艮, 当用户开启相机应用并选择进入拍照模式时, 中央处理器就会接收到图片采 集信号, 如此就可控制将 speaker的功能转换为 mic (副 mic) , 并与通话设备 内置的 mic (主 mic) 相互配合, 在拍摄对象发出声音时, 由两个 mic分别采 集声音进行声学聚焦。 具体定位聚焦过程可通过现有方式实现, 本发明实施 例亦不对此进行赘述。  For the picture collection scene, the preset switching signal can be reflected as a signal to enter the photographing mode, 艮, when the user turns on the camera application and selects to enter the photographing mode, the central processing unit receives the image capturing signal, so that the speaker can be controlled. The function is converted to mic (sub mic) and interacts with the mic (main mic) built into the call device. When the subject makes a sound, the two mics separately collect the sound for acoustic focusing. The specific positioning and focusing process can be implemented in the existing manner, and the embodiment of the present invention does not describe the same.
由上述对预设切换信号的介绍可知, 本发明实施例主要针对的是不需要 扬声器的场景, 这样 speaker就可作为副 mic与通话设备本身具有的 mic形成 双 mic。 2. 切换过程 It can be seen from the above description of the preset switching signal that the embodiment of the present invention is mainly directed to a scene that does not require a speaker, so that the speaker can form a double mic as the mic of the sub-mic and the communication device itself. 2. Switching process
为了实现扬声器和麦克功能之间的切换, 本发明实施例提供了一种扬声 器组件, 参见图 2所示结构示意图, 可包括扬声器 201、 双刀双掷模拟开关 202、 扬声器通路 203、 副麦克通路 204、 阻抗匹配器 205。  In order to realize the switching between the speaker and the microphone function, the embodiment of the present invention provides a speaker assembly, which is shown in the structural diagram shown in FIG. 2, and may include a speaker 201, a double-pole double-throw analog switch 202, a speaker path 203, and a sub-mike path. 204. An impedance matcher 205.
在此, 可将模拟开关与扬声器相接的两端定义为输入端, 与扬声器通路、 副麦克通路相接的四端定义为输出端, 且自上向下依次为输出端 1、 2、 3、 4, 扬声器组件内各部件的连接关系为:所述扬声器的两个引脚分别与所述双刀 双掷模拟开关的两个输入端相连;所述双刀双掷模拟开关的两个输出端 2、 4 与所述扬声器通路相连, 所述双刀双掷模拟开关剩余的两个输出端 1、 3与所 述副麦克通路相连;所述阻抗匹配器串接在所述副麦克通路中。  Here, the two ends of the analog switch and the speaker can be defined as an input terminal, and the four ends connected to the speaker path and the sub-micro channel are defined as an output terminal, and the output terminals 1, 2, 3 are sequentially from top to bottom. 4, the connection relationship of the components in the speaker assembly is: two pins of the speaker are respectively connected to two input ends of the double-pole double-throw analog switch; two outputs of the double-pole double-throw analog switch Terminals 2, 4 are connected to the speaker path, and the remaining two output terminals 1, 3 of the double-pole double-throw analog switch are connected to the sub-mike path; the impedance matcher is serially connected in the sub-mike path .
通过模拟开关的控制, 可以将扬声器接到扬声器通路中, 用于接收扬声 器通路传来的电信号, 并转换成声信号播放出去;也可以将扬声器接到副麦 克通路中, 用于把采集到的声信号转换成电信号, 并通过副麦克通路传输出 去。 基于此, 本发明实施例提供的将扬声器切换为副麦克的实现方式可体现 为:  Through the control of the analog switch, the speaker can be connected to the speaker path for receiving the electrical signal from the speaker channel and converted into an acoustic signal to play out; or the speaker can be connected to the sub-micro channel for collecting The acoustic signal is converted into an electrical signal and transmitted through the secondary mic path. Based on this, the implementation manner of switching the speaker to the secondary microphone provided by the embodiment of the present invention may be as follows:
控制所述模拟开关接通所述扬声器与所述副麦克通路间的连接, 并切断 所述扬声器与所述扬声器通路间的连接, 以使所述扬声器与所述副麦克通路 形成所述副麦克。  Controlling the analog switch to turn on a connection between the speaker and the sub-mike path, and disconnecting the speaker from the speaker path to form the sub-microphone to form the sub-mike .
作为一种示例, 本发明实施例还可以根据上文介绍的 speaker结构原理, 提供了一种扬声器组件进行声信号到电信号转换的方案,具体过程可体现为: 扬声器采集振膜的振动信号,并根据预设的振动幅度与电压强度的对应关系, 将振动信号转换为电压信号, 输出到副麦克通路, 由通路中的阻抗匹配器对 电压信号进行放大处理, 最后由副麦克通路输出。  As an example, the embodiment of the present invention may further provide a speaker component for converting an acoustic signal to an electrical signal according to the speaker structure principle described above, and the specific process may be: the vibration signal of the diaphragm collected by the speaker, According to the corresponding relationship between the vibration amplitude and the voltage intensity, the vibration signal is converted into a voltage signal, and output to the sub-microchannel, and the voltage signal is amplified by the impedance matching device in the path, and finally outputted by the sub-microchannel.
本发明实施例的切换方法, 通过改造扬声器组件, 在原有扬声器及扬声 器通路的基础上, 增设一个副麦克通路, 使扬声器既具备电信号到声信号的 转换功能, 又具备从声信号到电信号的转换功能, 这样, 在需要使用双 mic 的场景中, 就可控制将通话设备中的 speaker切换成 mic (副 mic) 使用, 将 单 mic通话设备转换成双 mic通话设备。 也就是说, 本发明方案不需单独设 立一个副 mic, 这样就可避免现有技术中单独设立副 mic所带来的问题。 另外, 需要说明的是, 基于本发明实施例的设计思路, 除上文所介绍的 方案之外, 还可使 speaker默认实现麦克功能, 并在需要时将功能切换为扬声 器,即在中央处理器采集到预设切换信号后,将 speaker从麦克切换为扬声器。 其中, 预设切换信号可为接近光传感器发送的手持通话结束信号、 音频采集 结束信号、 图片采集结束信号等表示停止使用麦克的信号, 或者预设切换信 号还可为铃音播放信号、 开启免提通话信号、 开启音乐播放信号等表示需要 使用扬声器的信号, 本发明对此可不做具体限定。 但是, 考虑到 speaker通常 情况下用于实现电信号到声信号的转换, 为了避免 speaker在扬声器功能与麦 克功能之间的频繁切换,本发明实施例可以优选使 speaker默认实现扬声器功 In the switching method of the embodiment of the present invention, by modifying the speaker component, a sub-micro channel is added on the basis of the original speaker and the speaker channel, so that the speaker has the function of converting the electrical signal to the acoustic signal, and has the function from the acoustic signal to the electrical signal. The conversion function, in this way, in the scene where the dual mic is required, it is possible to control the switching of the speaker in the talking device to the mic (sub mic) use, and convert the single mic talking device into a dual mic talking device. That is to say, the solution of the present invention does not need to establish a separate sub mic, so that the problems caused by the separate establishment of the secondary mic in the prior art can be avoided. In addition, it should be noted that, according to the design idea of the embodiment of the present invention, in addition to the solution described above, the speaker can also implement the microphone function by default, and switch the function to the speaker when needed, that is, in the central processing unit. After the preset switching signal is acquired, the speaker is switched from the microphone to the speaker. The preset switching signal may be a signal for stopping the use of the microphone, such as a hand-held call end signal, an audio collection end signal, a picture collection end signal sent by the proximity light sensor, or the preset switching signal may also be a ring tone playing signal, and the opening is free. The signal of the call, the opening of the music playing signal, and the like indicate that the signal of the speaker is required, which is not specifically limited in the present invention. However, in view of the fact that the speaker is usually used to implement the conversion of the electrical signal to the acoustic signal, in order to avoid frequent switching between the speaker function and the microphone function, the embodiment of the present invention may preferably enable the speaker to implement the speaker function by default.
与上文应用于通话设备的切换方法相对应地, 本发明实施例还提供一种 应用于通话设备的切换装置, 参见图 3所示示意图, 所述装置可包括: Corresponding to the above-mentioned switching method applied to the calling device, the embodiment of the present invention further provides a switching device applied to the calling device. Referring to the schematic diagram shown in FIG. 3, the device may include:
判断单元 301 , 用于判断是否采集到预设切换信号;  The determining unit 301 is configured to determine whether a preset switching signal is collected;
切换单元 302, 用于在所述判断单元判定采集到所述预设切换信号时, 将 所述通话设备的扬声器切换为副麦克, 以使所述副麦克与所述通话设备具有 的麦克形成双麦克。  The switching unit 302 is configured to: when the determining unit determines that the preset switching signal is collected, switch the speaker of the calling device to a secondary microphone, so that the secondary microphone and the microphone of the calling device form a double Mike.
关于预设切换信号以及预设切换信号针对的应用场景, 可参见上文方法 所做介绍, 此处不再赘述。  For the application scenarios of the preset switching signal and the preset switching signal, refer to the description of the above method, and details are not described here.
另外, 基于图 2所示的扬声器组件、 以及扬声器功能到麦克功能的具体 切换方式, 本发明实施例中的切换单元, 具体用于控制所述模拟开关接通所 述扬声器与所述副麦克通路间的连接, 并切断所述扬声器与所述扬声器通路 间的连接, 以使所述扬声器与所述副麦克通路形成所述副麦克。 进一歩地, 本发明实施例还提供了通话设备的硬件构成。 参见图 4, 可 包括至少一个处理器 (例如 CPU) , 至少一个网络接口或者其它通信接口, 存 储器, 扬声器组件, 和至少一个通信总线, 用于实现这些装置之间的连接通 信。 处理器用于执行存储器中存储的可执行模块, 例如计算机程序。 存储器 可能包含高速随机存取存储器 (RAM: Random Access Memory) , 也可能还包 括非不稳定的存储器 (non-volatile memory) , 例如至少一个磁盘存储器。 通过 至少一个网络接口 (可以是有线或者无线) 实现该系统网关与至少一个其它 网元之间的通信连接, 可以使用互联网, 广域网, 本地网, 城域网等。 In addition, based on the speaker assembly shown in FIG. 2 and the specific switching manner of the speaker function to the microphone function, the switching unit in the embodiment of the present invention is specifically configured to control the analog switch to turn on the speaker and the secondary microphone path. And connecting the speaker and the speaker path to form the sub-microphone. Further, the embodiment of the present invention further provides a hardware configuration of the call device. Referring to Figure 4, at least one processor (e.g., a CPU), at least one network interface or other communication interface, memory, speaker assembly, and at least one communication bus can be included for enabling connection communication between the devices. The processor is configured to execute an executable module, such as a computer program, stored in the memory. Memory It may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk storage. The communication connection between the system gateway and at least one other network element is implemented by at least one network interface (which may be wired or wireless), and may use an Internet, a wide area network, a local network, a metropolitan area network, or the like.
在实现本发明实施例的切换过程时, 处理器可以根据存储器中存储的程 序指令执行以下歩骤:  In implementing the handover process of the embodiment of the present invention, the processor may perform the following steps according to the program instructions stored in the memory:
判断是否采集到预设切换信号;  Determining whether a preset switching signal is collected;
当采集到所述预设切换信号时, 将所述扬声器组件切换为副麦克, 以使 所述副麦克与所述通话设备具有的麦克形成双麦克。  When the preset switching signal is acquired, the speaker component is switched to a secondary microphone, so that the secondary microphone and the microphone of the talking device form a double microphone.
具体地, 扬声器组件的构成方式、 构成部件所起作用可参见上文所作介 绍, 此处不再赘述。  Specifically, the configuration of the speaker assembly and the function of the components can be referred to the above description, and will not be described herein.
结合本发明实施例提供的扬声器组件方案, 所述处理器可以执行以下歩 骤将所述扬声器组件切换为所述副麦克:  In conjunction with the speaker assembly solution provided by the embodiment of the present invention, the processor may perform the following steps to switch the speaker component to the secondary microphone:
控制所述双刀双掷模拟开关接通所述扬声器与所述副麦克通路间的连 接, 并切断所述扬声器与所述扬声器通路间的连接, 以使所述扬声器与所述 副麦克通路形成所述副麦克。  Controlling the double-pole double-throw analog switch to turn on a connection between the speaker and the sub-mike path, and disconnect a connection between the speaker and the speaker path to form the speaker and the sub-mike path The secondary microphone.
通过以上的实施方式的描述可知, 本领域的技术人员可以清楚地了解到 上述实施例方法中的全部或部分歩骤可借助软件加必需的通用硬件平台的方 式来实现。 基于这样的理解, 本发明的技术方案本质上或者说对现有技术做 出贡献的部分可以以软件产品的形式体现出来, 该计算机软件产品可以存储 在存储介质中, 如 ROM/RAM、 磁碟、 光盘等, 包括若干指令用以使得一台 计算机设备 (可以是个人计算机, 服务器, 或者诸如媒体网关等网络通信设 备, 等等) 执行本发明各个实施例或者实施例的某些部分所述的方法。  It will be apparent to those skilled in the art from the above description of the embodiments that all or part of the steps of the above embodiments may be implemented by means of software plus a necessary general hardware platform. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product, which may be stored in a storage medium such as a ROM/RAM or a disk. , an optical disk, etc., comprising instructions for causing a computer device (which may be a personal computer, a server, or a network communication device such as a media gateway, etc.) to perform the various embodiments of the present invention or portions of the embodiments described herein. method.
需要说明的是, 本说明书中的各个实施例均采用递进的方式描述, 各个 实施例之间相同相似的部分互相参见即可, 每个实施例重点说明的都是与其 他实施例的不同之处。 尤其, 对于设备及系统实施例而言, 由于其基本相似 于方法实施例, 所以描述得比较简单, 相关之处参见方法实施例的部分说明 即可。 以上所描述的设备及系统实施例仅仅是示意性的, 其中作为分离部件 说明的单元可以是或者也可以不是物理上分开的, 作为单元显示的部件可以 是或者也可以不是物理单元, 即可以位于一个地方, 或者也可以分布到多个 网络单元上。 可以根据实际的需要选择其中的部分或者全部模块来实现本实 施例方案的目的。 本领域普通技术人员在不付出创造性劳动的情况下, 即可 以理解并实施。 It is to be noted that the various embodiments in the present specification are described in a progressive manner, and the same similar parts between the various embodiments may be referred to each other, and each embodiment focuses on different embodiments from other embodiments. At the office. In particular, for the device and the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment. The apparatus and system embodiments described above are merely illustrative, wherein the units illustrated as separate components may or may not be physically separate, and the components displayed as units may It may or may not be a physical unit, that is, it may be located in one place, or it may be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without any creative effort.
以上所述仅为本发明的较佳实施例而已, 并非用于限定本发明的保护范 围。 凡在本发明的精神和原则之内所作的任何修改、 等同替换、 改进等, 均 包含在本发明的保护范围内。  The above description is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention. Any modifications, equivalents, improvements, etc. made within the spirit and scope of the invention are intended to be included within the scope of the invention.

Claims

权 利 要 求 Rights request
1、 一种应用于通话设备的切换方法, 其特征在于, 所述方法包括: 判断是否采集到预设切换信号; 1. A switching method applied to communication equipment, characterized in that the method includes: determining whether a preset switching signal is collected;
当采集到所述预设切换信号时,将所述通话设备的扬声器切换为副麦克, 以使所述副麦克与所述通话设备具有的麦克形成双麦克。 When the preset switching signal is collected, the speaker of the communication device is switched to a secondary microphone, so that the secondary microphone and the microphone of the communication device form a double microphone.
2、 根据权利要求 1所述的方法, 其特征在于:所述预设切换信号为接近 光传感器发送的手持通话信号, 所述双麦克用于抑制环境噪声。 2. The method according to claim 1, characterized in that: the preset switching signal is a handheld call signal sent by a proximity light sensor, and the dual microphones are used to suppress environmental noise.
3、 根据权利要求 1所述的方法, 其特征在于:所述预设切换信号为音频 采集信号, 所述双麦克用于进行声学定位。 3. The method according to claim 1, characterized in that: the preset switching signal is an audio collection signal, and the dual microphones are used for acoustic positioning.
4、 根据权利要求 1所述的方法, 其特征在于:所述预设切换信号为图片 采集信号, 所述双麦克用于进行声学聚焦。 4. The method according to claim 1, characterized in that: the preset switching signal is a picture collection signal, and the dual microphones are used for acoustic focusing.
5、 根据权利要求 1 ~4任一项所述的方法, 其特征在于, 所述扬声器通过 模拟开关分别与扬声器通路和副麦克通路相连; 5. The method according to any one of claims 1 to 4, characterized in that the speakers are respectively connected to the speaker path and the auxiliary microphone path through analog switches;
所述将所述通话设备的扬声器切换为副麦克, 包括: Switching the speaker of the communication device to a secondary microphone includes:
控制所述模拟开关接通所述扬声器与所述副麦克通路间的连接, 并切断 所述扬声器与所述扬声器通路间的连接, 以使所述扬声器与所述副麦克通路 形成所述副麦克。 The analog switch is controlled to connect the connection between the speaker and the auxiliary microphone channel, and to cut off the connection between the speaker and the speaker channel, so that the speaker and the auxiliary microphone channel form the auxiliary microphone. .
6、 根据权利要求 5所述的方法, 其特征在于, 所述扬声器与所述副麦克 通路形成所述副麦克的方式包括: 6. The method according to claim 5, characterized in that the way in which the speaker and the secondary microphone pass through to form the secondary microphone includes:
采集所述扬声器的振膜的振动信号, 并根据预设的振动幅度与电压强度 的对应关系, 将所述振动信号转换为电压信号; Collect the vibration signal of the diaphragm of the speaker, and convert the vibration signal into a voltage signal according to the preset corresponding relationship between vibration amplitude and voltage intensity;
将所述电压信号放大后通过所述副麦克通路输出。 The voltage signal is amplified and output through the secondary microphone path.
7、 一种应用于通话设备的切换装置, 其特征在于, 所述装置包括: 判断单元, 用于判断是否采集到预设切换信号; 7. A switching device applied to communication equipment, characterized in that the device includes: a judging unit, used to judge whether a preset switching signal is collected;
切换单元, 用于在所述判断单元判定采集到所述预设切换信号时, 将所 述通话设备的扬声器切换为副麦克, 以使所述副麦克与所述通话设备具有的 麦克形成双麦克。 A switching unit configured to switch the speaker of the communication device to a secondary microphone when the determination unit determines that the preset switching signal is collected, so that the secondary microphone and the microphone of the communication device form a dual microphone. .
8、 根据权利要求 7所述的装置, 其特征在于:所述扬声器通过模拟开关 分别与扬声器通路和副麦克通路相连; 所述切换单元, 具体用于控制所述模拟开关接通所述扬声器与所述副麦 克通路间的连接, 并切断所述扬声器与所述扬声器通路间的连接, 以使所述 扬声器与所述副麦克通路形成所述副麦克。 8. The device according to claim 7, characterized in that: the speaker is connected to the speaker path and the auxiliary microphone path respectively through analog switches; The switching unit is specifically used to control the analog switch to connect the connection between the speaker and the auxiliary microphone channel, and to cut off the connection between the speaker and the speaker channel, so that the speaker and the A sub-mic path forms the sub-mic.
9、 一种通话设备, 其特征在于, 所述通话设备包括至少一个处理器、 至 少一个网络接口或者其它通信接口、 存储器、 至少一个通信总线和扬声器组 件;所述存储器用于存储程序指令, 所述处理器用于根据所述程序指令执行 以下歩骤: 9. A communication device, characterized in that the communication device includes at least one processor, at least one network interface or other communication interface, memory, at least one communication bus and speaker assembly; the memory is used to store program instructions, so The processor is configured to perform the following steps according to the program instructions:
判断是否采集到预设切换信号; Determine whether the preset switching signal is collected;
当采集到所述预设切换信号时, 将所述扬声器组件切换为副麦克, 以使 所述副麦克与所述通话设备具有的麦克形成双麦克。 When the preset switching signal is collected, the speaker assembly is switched to a secondary microphone, so that the secondary microphone and the microphone of the communication device form a double microphone.
10、 根据权利要求 9所述的通话设备, 其特征在于, 所述扬声器组件包 括扬声器、 双刀双掷模拟开关、 扬声器通路、 副麦克通路、 阻抗匹配器, 所述扬声器的两个引脚分别与所述双刀双掷模拟开关的两个输入端相 连; 10. The communication device according to claim 9, wherein the speaker assembly includes a speaker, a double pole double throw analog switch, a speaker path, a secondary microphone path, and an impedance matcher, and the two pins of the speaker are respectively Connected to the two input terminals of the double-pole double-throw analog switch;
所述双刀双掷模拟开关的两个输出端与所述扬声器通路相连, 所述双刀 双掷模拟开关剩余的两个输出端与所述副麦克通路相连; The two output terminals of the double-pole double-throw analog switch are connected to the speaker path, and the remaining two output terminals of the double-pole double-throw analog switch are connected to the auxiliary microphone path;
所述阻抗匹配器串接在所述副麦克通路中。 The impedance matching device is connected in series in the secondary microphone path.
11、 根据权利要求 10所述的通话设备, 其特征在于, 所述处理器执行以 下歩骤将所述扬声器组件切换为所述副麦克: 11. The communication device according to claim 10, wherein the processor performs the following steps to switch the speaker component to the secondary microphone:
控制所述双刀双掷模拟开关接通所述扬声器与所述副麦克通路间的连 接, 并切断所述扬声器与所述扬声器通路间的连接, 以使所述扬声器与所述 副麦克通路形成所述副麦克。 The double-pole double-throw analog switch is controlled to connect the connection between the speaker and the auxiliary microphone path, and to cut off the connection between the speaker and the speaker path, so that the speaker and the auxiliary microphone path form Said Deputy Mike.
PCT/CN2014/075078 2014-04-10 2014-04-10 Call device and switching method and device applied thereto WO2015154282A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201480001414.4A CN104380698A (en) 2014-04-10 2014-04-10 Verbal system, and switching method and device which are applied to verbal system
PCT/CN2014/075078 WO2015154282A1 (en) 2014-04-10 2014-04-10 Call device and switching method and device applied thereto

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/075078 WO2015154282A1 (en) 2014-04-10 2014-04-10 Call device and switching method and device applied thereto

Publications (1)

Publication Number Publication Date
WO2015154282A1 true WO2015154282A1 (en) 2015-10-15

Family

ID=52557552

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/075078 WO2015154282A1 (en) 2014-04-10 2014-04-10 Call device and switching method and device applied thereto

Country Status (2)

Country Link
CN (1) CN104380698A (en)
WO (1) WO2015154282A1 (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105204841B (en) * 2015-08-17 2019-02-15 小米科技有限责任公司 Range method of adjustment and device
CN105635378A (en) * 2015-12-28 2016-06-01 小米科技有限责任公司 Call quality adjusting method, device and mobile terminal
CN105895128B (en) * 2016-03-30 2018-06-29 广东欧珀移动通信有限公司 A kind of playback method and relevant apparatus
CN105872909B (en) * 2016-05-27 2019-03-01 努比亚技术有限公司 A kind of method and device for realizing Audio Signal Processing
CN106101927A (en) * 2016-06-29 2016-11-09 维沃移动通信有限公司 A kind of acoustic signal processing method, chip and electronic equipment
CN106255000A (en) * 2016-07-29 2016-12-21 维沃移动通信有限公司 A kind of audio signal sample method and mobile terminal
CN106373603A (en) * 2016-09-08 2017-02-01 Tcl通讯(宁波)有限公司 Device and method for controlling recording according to sound volume
CN106648536B (en) * 2016-12-28 2020-01-10 Oppo广东移动通信有限公司 Control method, control device and electronic device
CN106610812B (en) * 2016-12-28 2019-08-30 Oppo广东移动通信有限公司 Control method and control device
CN108040316A (en) * 2017-11-24 2018-05-15 维沃移动通信有限公司 A kind of amplitude detection method and mobile terminal
CN109040378A (en) * 2018-09-21 2018-12-18 深圳市万普拉斯科技有限公司 Method, apparatus and mobile terminal based on sound output element acquisition external sound wave
CN114171040A (en) * 2021-10-27 2022-03-11 歌尔科技有限公司 Audio noise reduction method and audio monitoring device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201383326Y (en) * 2009-04-21 2010-01-13 希姆通信息技术(上海)有限公司 Noise reduction device of mobile phone
CN102946493A (en) * 2012-11-27 2013-02-27 康佳集团股份有限公司 Call background noise adjusting method for mobile terminal
CN202841468U (en) * 2012-09-28 2013-03-27 安百特半导体有限公司 Bluetooth earphone with hearing-aid and anti-noise functions
CN103401966A (en) * 2013-08-08 2013-11-20 沈阳华立德电子科技有限公司 Earphone interface compatible with microphone function
CN203368544U (en) * 2013-08-08 2013-12-25 沈阳华立德电子科技有限公司 Headset interface compatible with microphone function

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2119053U (en) * 1992-04-21 1992-10-14 周颖平 Sound controller for microphone and earphone of intercom
US7881483B2 (en) * 2003-11-11 2011-02-01 Matech, Inc. Two-way communications device having a single transducer
CN2741147Y (en) * 2004-09-06 2005-11-16 方维行 Mini-recorder
US9354310B2 (en) * 2011-03-03 2016-05-31 Qualcomm Incorporated Systems, methods, apparatus, and computer-readable media for source localization using audible sound and ultrasound
DE102012214081A1 (en) * 2012-06-06 2013-12-12 Siemens Medical Instruments Pte. Ltd. Method of focusing a hearing instrument beamformer

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201383326Y (en) * 2009-04-21 2010-01-13 希姆通信息技术(上海)有限公司 Noise reduction device of mobile phone
CN202841468U (en) * 2012-09-28 2013-03-27 安百特半导体有限公司 Bluetooth earphone with hearing-aid and anti-noise functions
CN102946493A (en) * 2012-11-27 2013-02-27 康佳集团股份有限公司 Call background noise adjusting method for mobile terminal
CN103401966A (en) * 2013-08-08 2013-11-20 沈阳华立德电子科技有限公司 Earphone interface compatible with microphone function
CN203368544U (en) * 2013-08-08 2013-12-25 沈阳华立德电子科技有限公司 Headset interface compatible with microphone function

Also Published As

Publication number Publication date
CN104380698A (en) 2015-02-25

Similar Documents

Publication Publication Date Title
WO2015154282A1 (en) Call device and switching method and device applied thereto
US8620388B2 (en) Noise suppressing device, mobile phone, noise suppressing method, and recording medium
US8363823B1 (en) Two microphone uplink communication and stereo audio playback on three wire headset assembly
US9544703B2 (en) Detection of device configuration
CN105794186A (en) Method, device and electronic device for controlling application program
JP7442647B2 (en) bluetooth communication method and device
CN110602327B (en) Voice call method and device, electronic equipment and computer readable storage medium
JP2014064093A (en) Signal processing device and program
WO2020078330A1 (en) Voice call-based translation method and electronic device
US20070121606A1 (en) VOIP Hub Using Existing Audio or Video Systems
CN109327613B (en) Negotiation method based on voice call translation capability and electronic equipment
WO2015117347A1 (en) Adjustment method and device for terminal scene mode
WO2011153779A1 (en) Method and terminal for noise suppression using dual-microphone
CN114466097A (en) Mobile terminal capable of preventing sound leakage and sound output method of mobile terminal
EP4096202A1 (en) Wireless sound amplification system and terminal
CN105744022A (en) Mobile terminal as well as voice playing method and system
JP5417821B2 (en) Audio signal playback device, mobile phone terminal
WO2018064883A1 (en) Method and device for sound recording, apparatus and computer storage medium
US11388281B2 (en) Adaptive method and apparatus for intelligent terminal, and terminal
JP2020136865A (en) Electronic apparatus, control method thereof, and program thereof
CN113709906B (en) Wireless audio system, wireless communication method and equipment
WO2018090343A1 (en) Microphone, and method and device for audio processing
CN210444310U (en) Telephone system and noise elimination module of telephone
CN113329290A (en) Earphone control method, earphone control device, wireless earphone and storage medium
JP7353797B2 (en) Electronic devices, their control methods, and their programs

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

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

Country of ref document: EP

Kind code of ref document: A1