Voice call processing method, circuit, device, medium, chip and terminal

CN117354412BActive Publication Date: 2026-08-11BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-27
Publication Date
2026-08-11

AI Technical Summary

Technical Problem

其中,超声波信号与语音通话过程中的语音信号共用一个通路,这会导致超声波信号被严重地抑制与削减,降低了接近检测的灵敏度

Benefits of technology

[0017]根据本公开实施例的第六方面,提供一种终端,包括根据本公开第二方面所述电路的任一项。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117354412B_ABST
    Figure CN117354412B_ABST
Patent Text Reader

Abstract

This disclosure relates to a voice call processing method, circuit, apparatus, medium, chip, and terminal, belonging to the field of electronic technology, and can improve the sensitivity of signals used for proximity detection. A voice call processing method includes: during a voice call at the terminal, receiving a sampled signal acquired by the terminal's microphone, wherein the sampled signal includes a first voice signal and a proximity detection signal for proximity detection; filtering the sampled signal to remove the first voice signal and obtain the proximity detection signal; amplifying the filtered proximity detection signal; performing analog-to-digital conversion on the amplified proximity detection signal; and determining a proximity detection result based on the analog-to-digital converted proximity detection signal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of electronic technology, and in particular to a voice call processing method, circuit, device, medium, chip, and terminal. Background Technology

[0002] In related technologies, proximity detection during voice calls in mobile phones uses ultrasonic detection, where the earpiece emits ultrasonic waves, which are then received by a microphone at the top. However, the ultrasonic signal shares a path with the voice signal during the call, which severely suppresses and attenuates the ultrasonic signal, reducing the sensitivity of proximity detection. Summary of the Invention

[0003] To overcome the problems existing in related technologies, this disclosure provides a voice call processing method, circuit, device, medium, chip, and terminal.

[0004] According to a first aspect of the present disclosure, a voice call processing method is provided, comprising: receiving a collection signal acquired by a microphone of the terminal during a voice call, wherein the collection signal includes a first voice signal and a proximity detection signal for proximity detection; filtering the collection signal to remove the first voice signal and obtain the proximity detection signal; amplifying the filtered proximity detection signal; performing analog-to-digital conversion on the amplified proximity detection signal; and determining a proximity detection result based on the analog-to-digital converted proximity detection signal.

[0005] Optionally, the method further includes: receiving a second voice signal collected by an earphone connected to the terminal; and amplifying the second voice signal and the filtered proximity detection signal by a first amplifier using a time-division multiplexing method.

[0006] Optionally, the step of using time-division multiplexing to amplify the second voice signal and the filtered proximity detection signal by the first amplifier includes: determining whether the terminal is making a voice call using the headset or the microphone; when the terminal is making a voice call using the headset, amplifying the second voice signal by the first amplifier; and when the terminal is making a voice call using the microphone, amplifying the filtered proximity detection signal by the first amplifier.

[0007] Optionally, the method further includes: filtering the acquired signal to remove the proximity detection signal and obtain the first speech signal; amplifying the filtered first speech signal by a second amplifier, wherein the second amplifier is different from the amplifier that amplifies the filtered proximity detection signal; performing analog-to-digital conversion on the amplified first speech signal; and performing audio processing on the analog-to-digital converted first speech signal.

[0008] According to a second aspect of the present disclosure, a voice call processing circuit is provided, comprising: a first filter, configured to receive a sampled signal acquired by the microphone of the terminal during a voice call, filter the sampled signal to remove a first voice signal included in the sampled signal and output a proximity detection signal included in the sampled signal, wherein the proximity detection signal is used for proximity detection; a first amplifier, configured to amplify the filtered proximity detection signal; a first analog-to-digital converter, configured to perform analog-to-digital conversion on the amplified proximity detection signal; and a first processor, configured to determine a proximity detection result based on the analog-to-digital converted proximity detection signal.

[0009] Optionally, the first amplifier is further configured to: receive a second voice signal collected by an earphone connected to the terminal; and amplify the second voice signal and the filtered proximity detection signal using time-division multiplexing.

[0010] Optionally, the first amplifier is further configured to: amplify the second voice signal when the terminal is making a voice call using the headset; and amplify the filtered proximity detection signal when the terminal is making a voice call using the microphone.

[0011] Optionally, the circuit further includes a multiplexer for transmitting the output signal of the headset to the input of the first amplifier when the terminal is making a voice call using the headset, and for connecting the output of the first filter to the input of the first amplifier when the terminal is making a voice call using the microphone.

[0012] Optionally, the circuit further includes a first switch and a second switch, wherein the first switch is used to control the connection between the headset and the first amplifier, and the second switch is used to control the connection between the microphone and the first filter, wherein: when the terminal is using the headset for voice calls, the first switch is turned on and the second switch is turned off; and when the terminal is using the microphone for voice calls, the first switch is turned off and the second switch is turned on.

[0013] Optionally, the circuit further includes: a second filter for filtering the acquired signal to remove the proximity detection signal and output the first speech signal; a second amplifier for amplifying the filtered first speech signal, wherein the second amplifier is different from the first amplifier; a second analog-to-digital converter for performing analog-to-digital conversion on the amplified first speech signal; and a speech processor for performing audio processing on the analog-to-digital converted first speech signal.

[0014] According to a third aspect of the present disclosure, a voice call processing apparatus is provided, comprising: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to perform steps of the method according to any one of the first aspects of the present disclosure.

[0015] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided that stores computer program instructions thereon, which, when executed by a processor, implement the steps of the method described in any of the first aspects of the present disclosure.

[0016] According to a fifth aspect of the present disclosure, a chip is provided, including a processor and an interface; the processor is configured to read instructions to execute the method described in any of the first aspects of the present disclosure.

[0017] According to a sixth aspect of the present disclosure, a terminal is provided, including any one of the circuits described in the second aspect of the present disclosure.

[0018] By adopting the above technical solution, on the one hand, the first voice signal in the acquired signal is filtered out, leaving only the proximity detection signal in the acquired signal. This allows for the independent setting of an appropriate amplification gain for the filtered proximity detection signal. On the other hand, the proximity detection signal in the acquired signal does not pass through the low-pass filter in the related technology during the entire proximity detection process. Therefore, it is possible to achieve the reception of a large-amplitude proximity detection signal without attenuation. This avoids the severe suppression and reduction of the proximity detection signal caused by sharing the path with the voice call in the related technology, and improves the sensitivity of proximity detection.

[0019] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0020] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.

[0021] Figure 1 A schematic diagram of a shared pathway for voice communication and ultrasonic proximity detection in related technologies is shown.

[0022] Figure 2 The diagram shows a waveform of the ultrasonic signal when voice communication and ultrasonic proximity detection share the same path.

[0023] Figure 3 This is a flowchart illustrating a voice call processing method according to an exemplary embodiment.

[0024] Figure 4 A schematic diagram of the proximity detection signal after analog-to-digital conversion is shown.

[0025] Figure 5 A schematic diagram of the effective area for proximity detection according to an embodiment of the present disclosure is shown.

[0026] Figure 6 This diagram illustrates a process of amplifying the second speech signal acquired by the earphone and the filtered proximity detection signal using the same amplifier through time-division multiplexing.

[0027] Figure 7 This is a flowchart illustrating yet another voice call processing method according to an exemplary embodiment.

[0028] Figure 8 This is a schematic block diagram of a voice call processing circuit according to an exemplary embodiment.

[0029] Figure 9 This is yet another schematic diagram of a voice call processing circuit according to an embodiment of the present disclosure.

[0030] Figure 10 This is yet another schematic diagram of a voice call processing circuit according to an embodiment of the present disclosure.

[0031] Figure 11 This is yet another schematic diagram of a voice call processing circuit according to an embodiment of the present disclosure.

[0032] Figure 12 This is a block diagram illustrating an apparatus for voice call processing according to an exemplary embodiment.

[0033] Figure 13 This is a block diagram illustrating an apparatus for voice call processing according to an exemplary embodiment. Detailed Implementation

[0034] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.

[0035] It should be noted that all actions involving the acquisition of signals, information, or data in this application are carried out in compliance with the relevant data protection laws and policies of the country where the application is located, and with the authorization granted by the owner of the relevant device.

[0036] Figure 1 The diagram illustrates a shared path for voice communication and ultrasonic proximity detection in related technologies. In this path, the programmable gain amplifier (PGA) prioritizes the call scenario, resulting in a low PGA gain setting. In related technologies, the PGA gain is set to 12dB, failing to utilize its 30dB gain capability. Simultaneously, to improve the signal-to-noise ratio (SNR) and total harmonic distortion (THD+N) of the voice signal (audible range 20Hz–20kHz), the cutoff frequency of the low-noise filter in this path rolls off from 20kHz. All of these factors lead to severe suppression and attenuation of the ultrasonic signal from the microphone (typically in the 22kHz–24kHz range). Figure 2 The diagram illustrates the waveform of the ultrasonic signal when voice communication and ultrasonic proximity detection share the same path. Figure 2 As shown, because it shares a path with voice calls, the ultrasonic signal is severely suppressed and attenuated. Additionally, it should be noted that although... Figure 2 The ultrasonic signal shown is a comb pulse wave, but this disclosure does not limit it, that is, ultrasonic signals of any shape are possible.

[0037] Figure 3 This is a flowchart illustrating a voice call processing method according to an exemplary embodiment. This voice call processing method can be applied to any terminal capable of voice calls, such as mobile phones, tablets, etc. Figure 3 As shown, the voice call processing method includes the following steps S11 to S15.

[0038] In step S11, during a voice call, the terminal receives a signal collected by its microphone, which includes a first voice signal and a proximity detection signal for proximity detection.

[0039] When a terminal is in the middle of a voice call, it means that the terminal is currently in a voice call connection with another terminal, such as when making a phone call.

[0040] The first voice signal refers to the signal that needs to be transmitted to the other end that is having a voice call with the terminal.

[0041] A proximity detection signal is a signal used to detect whether a user is approaching a terminal during a voice call. The proximity detection signal can be, for example, an ultrasonic signal. To perform proximity detection, an ultrasonic signal can be emitted outward from, for example, the earpiece on the terminal. The emitted ultrasonic signal is received by a microphone on the terminal (e.g., a microphone located on the top of the terminal), and the proximity of the user can then be detected based on the ultrasonic signal received by the microphone.

[0042] In step S12, the acquired signal is filtered to remove the first speech signal and obtain the proximity detection signal.

[0043] In some embodiments, a bandpass filter can be used to filter the acquired signal to suppress the passage of the first speech signal. That is, by filtering the acquired signal with a bandpass filter, the first speech signal in the acquired signal can be filtered out, leaving only the proximity detection signal in the acquired signal.

[0044] In step S13, the filtered proximity detection signal is amplified.

[0045] In some embodiments, various types of suitable amplifiers can be used to amplify the filtered proximity detection signal, for example, a programmable gain amplifier can be used to amplify the filtered proximity detection signal.

[0046] Since the first voice signal in the acquired signal has been filtered out in step S12, the amplification operation in step S13 does not need to prioritize the call scenario. This allows for the independent setting of an appropriate amplification gain for the filtered proximity detection signal. For example, a high gain value (e.g., a gain value of 30dB) can be called. In this way, when the filtered proximity detection signal is amplified by a programmable gain amplifier, the gain capability of the programmable gain amplifier can be fully utilized.

[0047] In step S14, the amplified proximity detection signal is converted from analog to digital.

[0048] In some embodiments, various suitable types of analog-to-digital converters can be used to perform analog-to-digital conversion on the amplified proximity detection signal.

[0049] In step S15, the proximity detection result is determined based on the proximity detection signal after analog-to-digital conversion.

[0050] The proximity detection result refers to the determination of whether the user of the terminal is close to or far from the terminal.

[0051] By adopting the above technical solution, on the one hand, the first voice signal in the acquired signal is filtered out, leaving only the proximity detection signal in the acquired signal. This allows for the independent setting of an appropriate amplification gain for the filtered proximity detection signal. On the other hand, the proximity detection signal in the acquired signal does not pass through the low-pass filter in the related technology during the entire proximity detection process. Therefore, it is possible to achieve the reception of a large-amplitude proximity detection signal without attenuation. This avoids the severe suppression and reduction of the proximity detection signal caused by sharing the path with the voice call in the related technology, and improves the sensitivity of proximity detection. Figure 4 The waveform diagram of the proximity detection signal after analog-to-digital conversion is shown. It can be seen that the proximity detection signal is a large-amplitude signal with no attenuation. Figure 5 A schematic diagram of the effective area for proximity detection according to an embodiment of the present disclosure is shown. In the diagram, the elliptical area represents the effective area capable of proximity detection. The higher the sensitivity of the proximity detection, the wider the effective area for proximity detection. Furthermore, it should be noted that... Figure 5 The positions of the microphone and earpiece are merely examples and do not constitute a limitation of this disclosure.

[0052] In some embodiments, the voice call processing method according to the present disclosure may further include: receiving a second voice signal collected by an earphone connected to a terminal; and amplifying the second voice signal and a filtered proximity detection signal by a first amplifier using a time-division multiplexing method.

[0053] Figure 6 This diagram illustrates a process of amplifying the second speech signal acquired by the earphone and the filtered proximity detection signal using the same amplifier through time-division multiplexing.

[0054] like Figure 6 As shown, in step S61, it is first determined whether the terminal is using a headset or a microphone for the voice call. It is understood that this determination refers to whether the terminal is currently using a headset or a microphone for the voice call.

[0055] If a headset is detected as being connected to the terminal, the current voice call is conducted through the headset. If no headset is detected as being connected to the terminal, the current voice call is conducted through the terminal's microphone.

[0056] In step S62, when the terminal is making a voice call using a headset, the second voice signal is amplified by the first amplifier.

[0057] In step S63, when the terminal is using a microphone for voice communication, the first amplifier amplifies the filtered proximity detection signal.

[0058] By adopting the above technical solution, since the proximity detection and the earphone do not have overlapping usage scenarios, the same amplifier (i.e., the first amplifier mentioned above) is used to amplify the filtered proximity detection signal and the second voice signal collected by the earphone in a time-division multiplexing manner, which improves the efficiency of the amplifier and saves cost and internal space of the terminal.

[0059] Figure 7 This is a flowchart illustrating yet another voice call processing method according to an exemplary embodiment. For example... Figure 7 As shown, the voice call method includes the following steps S71 to S75.

[0060] In step S71, during a voice call, the terminal receives a signal collected by the terminal's microphone, wherein the collected signal includes a first voice signal and a proximity detection signal for proximity detection.

[0061] In step S72, the acquired signal is filtered to remove the proximity detection signal and obtain the first speech signal.

[0062] In some embodiments, a low-pass filter can be used to filter the acquired signal to suppress the proximity detection signal from passing through the acquired signal. That is, by filtering the acquired signal through the low-pass filter, the proximity detection signal in the acquired signal can be filtered out, leaving only the first speech signal in the acquired signal.

[0063] Furthermore, to improve the SNR and THD+N performance of the first speech signal within the audible range (e.g., 20Hz–20kHz), the cutoff frequency of the low-pass filter can roll off starting from 20kHz. Since the proximity detection signal in the acquired signal is processed in a separate path from the speech path (see above for details), this is necessary. Figures 3 to 6 (as described above), so the roll-off of the low-pass filter cutoff frequency will not have any effect on the proximity detection signal in the acquired signal, that is, it will not cause serious suppression or reduction of the proximity detection signal in the acquired signal.

[0064] In step S73, the filtered first speech signal is amplified by a second amplifier, wherein the second amplifier is different from the amplifier that amplifies the filtered proximity detection signal.

[0065] In some embodiments, various types of suitable amplifiers can be used to amplify the first speech signal, for example, a programmable gain amplifier can be used to amplify the first speech signal.

[0066] The gain of the second amplifier can be set relatively low (e.g., 12dB) to meet the amplification gain requirements of voice call scenarios. Since the second amplifier is different from the amplifier that amplifies the filtered proximity detection signal, the gain setting of the second amplifier will not have any effect on the filtered proximity detection signal.

[0067] In step S74, the amplified first speech signal is subjected to analog-to-digital conversion.

[0068] In some embodiments, various suitable types of analog-to-digital converters can be used to perform analog-to-digital conversion on the amplified first speech signal. The analog-to-digital converter used to perform the analog-to-digital conversion on the amplified first speech signal is different from the analog-to-digital converter used to perform the analog-to-digital conversion on the amplified proximity detection signal, in order to achieve isolation between the processing of the first speech signal and the processing of the proximity detection signal.

[0069] In step S75, the first speech signal after analog-to-digital conversion is subjected to audio processing.

[0070] In some embodiments, various processors can be used to perform audio processing on the first voice signal after analog-to-digital conversion, such as digital signal processors, microprocessors, and single-chip microcomputers.

[0071] By adopting the above technical solution, since the acquired signal is first filtered to remove the proximity detection signal and obtain the first voice signal, the voice path of the first voice signal and the proximity detection path of the proximity detection signal are separated and do not affect each other. This avoids the severe suppression and reduction of the proximity detection signal caused by sharing the path with the voice call in related technologies, improves the sensitivity of proximity detection, and improves the SNR, THD+N and other indicators of the voice call bandwidth.

[0072] Figure 8 This is a schematic block diagram illustrating a voice call processing circuit according to an exemplary embodiment. This voice call processing circuit can be applied to any terminal capable of making voice calls, such as a mobile phone or tablet computer. (Refer to...) Figure 8 The voice call processing circuit 20 includes: a first filter 201, used to receive the acquisition signal collected by the microphone 10 of the terminal during a voice call, filter the acquisition signal to remove the first voice signal included in the acquisition signal and output the proximity detection signal included in the acquisition signal, wherein the proximity detection signal is used for proximity detection; a first amplifier 202, used to amplify the filtered proximity detection signal; a first analog-to-digital converter 203, used to perform analog-to-digital conversion on the amplified proximity detection signal; and a first processor 204, used to determine the proximity detection result based on the proximity detection signal after analog-to-digital conversion.

[0073] The first filter 201 can be a bandpass filter to suppress the passage of the first speech signal in the acquired signal. That is, through the filtering process of the bandpass filter, the first speech signal in the acquired signal can be filtered out, leaving only the proximity detection signal in the acquired signal.

[0074] The first amplifier 202 can be any type of suitable amplifier, such as a programmable gain amplifier. Since the first filter 201 has already filtered out the first speech signal in the acquired signal, the amplification gain of the first amplifier 202 does not need to prioritize the call scenario. This allows for the independent setting of a suitable amplification gain for the filtered proximity detection signal. For example, a high gain value (e.g., a gain value of 30dB) can be called. Thus, when the filtered proximity detection signal is amplified using a programmable gain amplifier, the gain capability of the programmable gain amplifier can be fully utilized.

[0075] The first processor 204 can be any type of processor, such as a digital signal processor, a microcontroller, etc.

[0076] By adopting the above technical solution, on the one hand, the first voice signal in the acquired signal is filtered out, leaving only the proximity detection signal in the acquired signal. This allows for the independent setting of an appropriate amplification gain for the filtered proximity detection signal. On the other hand, the proximity detection signal in the acquired signal does not pass through the low-pass filter in the related technology during the entire proximity detection process. Therefore, it is possible to achieve the reception of a large-amplitude proximity detection signal without attenuation. This avoids the severe suppression and reduction of the proximity detection signal caused by sharing the path with the voice call in the related technology, and improves the sensitivity of proximity detection.

[0077] In some embodiments, the first amplifier 202 is further configured to: receive a second voice signal acquired by an earpiece connected to the terminal; and amplify the second voice signal and a filtered proximity detection signal using time-division multiplexing. For example, when the terminal is making a voice call using an earpiece, the second voice signal is amplified; when the terminal is making a voice call using a microphone 10, the filtered proximity detection signal is amplified.

[0078] The earphone 30 can be connected to the terminal via the earphone jack on the terminal, so that the earphone jack can receive the signal output by the earphone 30 and transmit it to the subsequent processing circuit (e.g., the first amplifier 202).

[0079] By adopting the above technical solution, since the proximity detection and the earphone do not have overlapping usage scenarios, the same amplifier (i.e., the first amplifier 202 mentioned above) is used to amplify the filtered proximity detection signal and the second voice signal collected by the earphone in a time-division multiplexing manner, which improves the efficiency of the amplifier and saves cost and internal space of the terminal.

[0080] Figure 9 This is yet another schematic diagram of a voice call processing circuit according to an embodiment of the present disclosure. Figure 9 As shown, the voice call processing circuit 20 also includes a multiplexer 205, which is used to transmit the output signal of the headset 30 to the input of the first amplifier 202 when the terminal is making a voice call using the headset 30, and to connect the output of the first filter 201 to the input of the first amplifier 202 when the terminal is making a voice call using the microphone 10.

[0081] like Figure 9 As shown, one input terminal of the multiplexer 205 is connected to the output terminal of the first filter 201, and the other input terminal of the multiplexer 205 can be connected to the output terminal of the headphone 30 through the headphone jack on the terminal. The output terminal of the multiplexer 205 is connected to the input terminal of the first amplifier 202.

[0082] The multiplexer 205 can be a multiplexer switch, such as a single-pole double-throw switch. Additionally, the multiplexer 205 can default to enabling the headphone path.

[0083] By using the multiplexer 205, the first amplifier 202 can be time-division multiplexed. That is, when the headset 30 is connected to the terminal for voice calls, the multiplexer 205 transmits the second voice signal collected by the headset 30 to the first amplifier 202, so that the first amplifier 202 amplifies the second voice signal collected by the headset 30. When the headset 30 is not connected to the terminal and the microphone 10 is used for voice calls, the proximity detection signal filtered by the first filter 201 is transmitted to the first amplifier 202, so that the first amplifier 202 amplifies the filtered proximity detection signal. This multiplexing of the first amplifier 202 improves its utilization efficiency.

[0084] In addition, such as Figure 9As shown, the first analog-to-digital converter 203 and the first processor 204 are also multiplexed. However, it is also feasible for the first analog-to-digital converter 203 and the first processor 204 not to be multiplexed. That is, after the first amplifier 202 amplifies the second voice signal collected by the earphone 30, the amplified second voice signal will be processed by an analog-to-digital converter different from the first analog-to-digital converter 203 and a processor different from the first processor 204.

[0085] Figure 10 This is yet another schematic diagram of a voice call processing circuit according to an embodiment of the present disclosure. Figure 10 As shown, the voice call processing circuit 20 also includes a first switch 206 and a second switch 207. The first switch 206 controls the connection between the headset 30 and the first amplifier 202, and the second switch 207 controls the connection between the microphone 10 and the first filter 201. Specifically: when the terminal is using the headset 30 for a voice call, the first switch 206 is on and the second switch 207 is off; and when the terminal is using the microphone 10 for a voice call, the first switch 206 is off and the second switch 207 is on.

[0086] The first amplifier 202 can also be time-division multiplexed by using the first switch 206 and the second switch 207. That is, when the headset 30 is connected to the terminal for voice calls, the first switch 206 is turned on and the second switch 207 is turned off to transmit the second voice signal collected by the headset 30 to the first amplifier 202, so that the first amplifier 202 amplifies the second voice signal collected by the headset 30. When the headset 30 is not connected to the terminal and the microphone 10 is used for voice calls, the second switch 207 is turned on and the first switch 206 is turned off, so that the proximity detection signal in the signal collected by the microphone 10 can be transmitted to the first amplifier 202, so that the first amplifier 202 amplifies it, realizing the multiplexing of the first amplifier 202 and improving the utilization efficiency of the first amplifier 202.

[0087] Figure 11 This is yet another schematic diagram of a voice call processing circuit according to an embodiment of the present disclosure. Figure 11 As shown, the voice call processing circuit according to an embodiment of this disclosure further includes: a second filter 208 for filtering the acquired signal to filter out the proximity detection signal and output a first voice signal; a second amplifier 209 for amplifying the filtered first voice signal, wherein the second amplifier 209 is different from the first amplifier 202; a second analog-to-digital converter 210 for performing analog-to-digital conversion on the amplified first voice signal; and a voice processor 211 for performing audio processing on the analog-to-digital converted first voice signal.

[0088] The second filter 208 can be a low-pass filter to suppress the proximity detection signal in the acquired signal. That is, through the filtering process of the low-pass filter 208, the proximity detection signal in the acquired signal can be filtered out, leaving only the first speech signal in the acquired signal.

[0089] Furthermore, to improve the SNR and THD+N performance of the first speech signal within the audible range (e.g., 20Hz–20kHz), the cutoff frequency of the second filter 208 can roll off starting from 20kHz. Since the proximity detection signal in the acquired signal is processed in a separate path from the speech path (see...), Figure 11 Therefore, the roll-off of the cutoff frequency of the first filter 208 will not have any effect on the proximity detection signal in the acquired signal, that is, it will not cause serious suppression and reduction of the proximity detection signal in the acquired signal.

[0090] The second amplifier 209 can be any type of suitable amplifier, such as a programmable gain amplifier. The gain value of the second amplifier 209 can be set relatively low (e.g., 12dB) to meet the amplification gain requirements of voice call scenarios. Since the second amplifier 209 is different from the amplifier that amplifies the filtered proximity detection signal (i.e., the first amplifier 202), the gain setting of the second amplifier 209 will not have any effect on the filtered proximity detection signal.

[0091] In some embodiments, the voice processor 211 can be implemented using various types of processors, such as digital signal processors, microprocessors, single-chip microcomputers, etc.

[0092] By adopting the above technical solution, since the acquired signal is first filtered to remove the proximity detection signal and obtain the first voice signal, the voice path of the first voice signal and the proximity detection path of the proximity detection signal are separated and do not affect each other. This avoids the severe suppression and reduction of the proximity detection signal caused by sharing the path with the voice call in related technologies, improves the sensitivity of proximity detection, and improves the SNR, THD+N and other indicators of the voice call bandwidth.

[0093] Regarding the circuits in the above embodiments, the specific ways in which each module performs its operations have been described in detail in the embodiments related to the method, and will not be elaborated here.

[0094] This disclosure also provides a computer-readable storage medium having stored thereon computer program instructions that, when executed by a processor, implement the steps of the voice call processing method provided in this disclosure.

[0095] This disclosure also provides a voice call processing apparatus, comprising: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to perform any step of the voice call processing method provided according to this disclosure.

[0096] This disclosure also provides a chip including a processor and an interface; the processor is configured to read instructions to perform any step of the voice call processing method according to this disclosure.

[0097] This disclosure also provides a terminal that may include the voice call processing circuitry 20 described above.

[0098] Figure 12 This is a block diagram illustrating an apparatus 800 for voice call processing according to an exemplary embodiment. For example, apparatus 800 may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc.

[0099] Reference Figure 12 The device 800 may include one or more of the following components: a first processing component 802, a first memory 804, a first power supply component 806, a multimedia component 808, an audio component 810, a first input / output interface 812, a sensor component 814, and a communication component 816.

[0100] The first processing component 802 typically controls the overall operation of the device 800, such as operations associated with display, telephone calls, data communication, camera operation, and recording operations. The first processing component 802 may include one or more first processors 820 to execute instructions to complete all or part of the steps of the aforementioned voice call processing method. Furthermore, the first processing component 802 may include one or more modules to facilitate interaction between the first processing component 802 and other components. For example, the first processing component 802 may include a multimedia module to facilitate interaction between the multimedia component 808 and the first processing component 802.

[0101] The first memory 804 is configured to store various types of data to support the operation of the device 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phonebook data, messages, pictures, videos, etc. The first memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.

[0102] The first power supply component 806 provides power to various components of the device 800. The first power supply component 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power to the device 800.

[0103] Multimedia component 808 includes a screen that provides an output interface between device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of touch or swipe actions but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 808 includes a front-facing camera and / or a rear-facing camera. When device 800 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.

[0104] Audio component 810 is configured to output and / or input audio signals. For example, audio component 810 includes a microphone 10 (MIC) configured to receive external audio signals when device 800 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in a first memory 804 or transmitted via communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.

[0105] The first input / output interface 812 provides an interface between the first processing component 802 and the peripheral interface module, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to, a home button, volume buttons, a start button, and a lock button.

[0106] Sensor assembly 814 includes one or more sensors for providing state assessments of various aspects of device 800. For example, sensor assembly 814 may detect the on / off state of device 800, the relative positioning of components such as the display and keypad of device 800, changes in the position of device 800 or a component of device 800, the presence or absence of user contact with device 800, the orientation or acceleration / deceleration of device 800, and temperature changes of device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 814 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.

[0107] Communication component 816 is configured to facilitate wired or wireless communication between device 800 and other devices. Device 800 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 816 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 816 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0108] In an exemplary embodiment, the device 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above-described voice call processing method.

[0109] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a first memory 804 including instructions, which can be executed by a first processor 820 of the device 800 to complete the aforementioned voice call processing method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0110] The aforementioned device can be a standalone electronic device or a part of a standalone electronic device. For example, in one embodiment, the device can be an integrated circuit (IC) or a chip, wherein the integrated circuit can be a single IC or a collection of multiple ICs; the chip can include, but is not limited to, the following types: GPU (Graphics Processing Unit), CPU (Central Processing Unit), FPGA (Field Programmable Gate Array), DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit), SOC (System on Chip), etc. The aforementioned integrated circuit or chip can be used to execute executable instructions (or code) to implement the aforementioned voice call processing method. The executable instructions can be stored in the integrated circuit or chip or obtained from other devices or equipment. For example, the integrated circuit or chip includes a processor, memory, and an interface for communicating with other devices. The executable instruction can be stored in the memory, and when the executable instruction is executed by the processor, it implements the above-mentioned voice call processing method; or, the integrated circuit or chip can receive the executable instruction through the interface and transmit it to the processor for execution to implement the above-mentioned voice call processing method.

[0111] In another exemplary embodiment, a computer program product is also provided, the computer program product comprising a computer program executable by a programmable device, the computer program having a code portion for performing the above-described voice call processing method when executed by the programmable device.

[0112] Figure 13 This is a block diagram illustrating an apparatus 1900 for voice call processing according to an exemplary embodiment. For example, apparatus 1900 may be provided as a server. (Refer to...) Figure 13 The device 1900 includes a second processing component 1922, which further includes one or more processors, and memory resources represented by a second memory 1932 for storing instructions executable by the second processing component 1922, such as application programs. The application programs stored in the second memory 1932 may include one or more modules, each corresponding to a set of instructions. Furthermore, the second processing component 1922 is configured to execute instructions to perform the aforementioned voice call processing method.

[0113] Device 1900 may also include a second power supply component 1926 configured to perform power management of device 1900, a wired or wireless network interface 1950 configured to connect device 1900 to a network, and a second input / output interface 1958. Device 1900 can operate on an operating system, such as Windows Server, stored in memory 1932. TM macOS X TM Unix TM Linux TM FreeBSD TM Or similar.

[0114] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of this disclosure. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.

[0115] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.

Claims

1. A voice call processing method, characterized in that, include: During a voice call, the terminal receives a signal collected by the terminal's microphone, wherein the collected signal includes a first voice signal and a proximity detection signal for proximity detection. The acquired signal is filtered to remove the first speech signal and obtain the proximity detection signal; Receives a second voice signal collected by an earphone connected to the terminal; Using time-division multiplexing, the first amplifier amplifies the second speech signal and the filtered proximity detection signal; The amplified proximity detection signal is then converted from analog to digital. The proximity detection result is determined based on the proximity detection signal after analog-to-digital conversion.

2. The method according to claim 1, characterized in that, The method of using time-division multiplexing to amplify the second speech signal and the filtered proximity detection signal by the first amplifier includes: Determine whether the terminal is making a voice call using the headset or the microphone; When the terminal is making a voice call using the headset, the second voice signal is amplified by the first amplifier; When the terminal is making a voice call using the microphone, the first amplifier amplifies the filtered proximity detection signal.

3. The method according to claim 1 or 2, characterized in that, The method further includes: The acquired signal is filtered to remove the proximity detection signal and obtain the first speech signal; The filtered first speech signal is amplified by a second amplifier, wherein the second amplifier is different from the amplifier that amplifies the filtered proximity detection signal; The amplified first speech signal is then converted from analog to digital. Audio processing is performed on the first speech signal after analog-to-digital conversion.

4. A voice call processing circuit, characterized in that, include: The first filter is used to receive a collection signal collected by the microphone of the terminal during a voice call, filter the collection signal to remove the first voice signal included in the collection signal and output the proximity detection signal included in the collection signal, wherein the proximity detection signal is used for proximity detection. A first amplifier is used to receive a second voice signal collected by an earphone connected to the terminal; The second speech signal and the filtered proximity detection signal are amplified using time-division multiplexing. The first analog-to-digital converter is used to convert the amplified proximity detection signal from analog to digital. The first processor is used to determine the proximity detection result based on the proximity detection signal after analog-to-digital conversion.

5. The circuit according to claim 4, characterized in that, The first amplifier is also used for: When the terminal is making a voice call using the earpiece, the second voice signal is amplified. When the terminal is using the microphone for voice communication, the filtered proximity detection signal is amplified.

6. The circuit according to claim 5, characterized in that, The circuit also includes a multiplexer for transmitting the output signal of the headset to the input of the first amplifier when the terminal is making a voice call using the headset, and for connecting the output of the first filter to the input of the first amplifier when the terminal is making a voice call using the microphone.

7. The circuit according to claim 5, characterized in that, The circuit further includes a first switch and a second switch, wherein the first switch controls the connection between the earphone and the first amplifier, and the second switch controls the connection between the microphone and the first filter, wherein: When the terminal is making a voice call using the headset, the first switch is turned on and the second switch is turned off; and When the terminal is making a voice call using the microphone, the first switch is turned off and the second switch is turned on.

8. The circuit according to any one of claims 4 to 7, characterized in that, The circuit also includes: The second filter is used to filter the acquired signal to remove the proximity detection signal and output the first voice signal. A second amplifier is used to amplify the filtered first speech signal, wherein the second amplifier is different from the first amplifier; The second analog-to-digital converter is used to convert the amplified first speech signal into an analog-to-digital signal; A voice processor is used to perform audio processing on the first voice signal after analog-to-digital conversion.

9. A voice call processing device, characterized in that, include: processor; Memory used to store processor-executable instructions; The processor is configured to perform the steps of the method according to any one of claims 1 to 3.

10. A computer-readable storage medium having computer program instructions stored thereon, characterized in that, When executed by a processor, the program instructions implement the steps of the method according to any one of claims 1 to 3.

11. A chip, characterized in that, It includes a processor and an interface; the processor is used to read instructions to execute the method of any one of claims 1 to 3.

12. A terminal, characterized in that, The terminal includes the circuitry according to any one of claims 4 to 8.

Citation Information

Patent Citations

  • Method for operating a loudspeaker unit, and loudspeaker unit

    CN110557706A