WO2017210856A1 - Method of controlling audio output, user terminal, and radio terminal - Google Patents

Method of controlling audio output, user terminal, and radio terminal Download PDF

Info

Publication number
WO2017210856A1
WO2017210856A1 PCT/CN2016/085102 CN2016085102W WO2017210856A1 WO 2017210856 A1 WO2017210856 A1 WO 2017210856A1 CN 2016085102 W CN2016085102 W CN 2016085102W WO 2017210856 A1 WO2017210856 A1 WO 2017210856A1
Authority
WO
WIPO (PCT)
Prior art keywords
call
audio
relative distance
terminal
distance
Prior art date
Application number
PCT/CN2016/085102
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 PCT/CN2016/085102 priority Critical patent/WO2017210856A1/en
Publication of WO2017210856A1 publication Critical patent/WO2017210856A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/015Reducing echo effects

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method for controlling audio output, a user terminal, and a walkie-talkie terminal.
  • the audio output by the receiving terminal is collected by the microphone of the transmitting terminal to form a positive feedback, thereby generating a howling.
  • the input signal collected by the receiving terminal through the microphone includes the useful signal and the howling signal. Therefore, the receiving terminal will detect whether there is a howling signal in the input signal, and if so, modify according to the audio characteristics of the howling signal.
  • the corresponding filter removes the howling signal from the input signal to achieve the purpose of suppressing or reducing howling.
  • the above processing is performed after the howling is generated, instead of preventing it in advance, so that the audio quality of the useful signal is damaged after the howling signal is filtered by the filter.
  • a method of controlling an audio output the method being performed by a receiving terminal, the method comprising:
  • the outputted audio is suppressed when the call is determined to be a close call according to the detected relative distance.
  • the method further includes:
  • the step of detecting the relative distance from the transmitting terminal during the call is performed again.
  • the step of suppressing the outputted audio includes:
  • the output audio volume is reduced or turned off.
  • the step of triggering the reduction or closing of the audio volume outputted in the call by the determination result of the short-range call includes:
  • the second distance threshold is smaller than the first distance threshold.
  • the step of suppressing the outputted audio further includes:
  • the volume reduction value is obtained according to a negative correlation between the detected relative distance and a volume decrease value, and the audio volume is decreased according to the volume decrease value.
  • a user terminal comprising:
  • a terminal identifier obtaining module configured to acquire a terminal identifier of the sending terminal
  • a relative distance detecting module configured to detect a relative distance from the transmitting terminal during a call
  • the audio output control module is configured to suppress the output audio when the call is a close call according to the detected relative distance.
  • the user terminal further includes:
  • a period detecting module configured to determine whether the time interval of the distance detection relative to the current time reaches a preset interval, and if yes,
  • the relative distance detecting module is notified.
  • the audio output control module includes:
  • a call determining unit configured to determine whether the detected relative distance is smaller than a first distance threshold, and if yes, determine that the call is a close-range call
  • Control execution unit for determining whether to reduce or turn off the output audio when the call is a close call volume.
  • control execution unit is further configured to determine whether the detected relative distance is less than a second distance threshold.
  • the second distance threshold is smaller than the first distance threshold.
  • the audio output control module is further configured to obtain the volume decrease value according to a negative correlation between the detected relative distance and a volume decrease value, and reduce the audio according to the volume decrease value. volume.
  • a walkie-talkie terminal comprising at least one processor, at least one mobile communication radio frequency component, a memory and at least one communication bus, wherein the memory stores program code, and the processor is configured to call program code stored in the memory for execution The following operations:
  • the outputted audio is suppressed when the call is determined to be a close call according to the detected relative distance.
  • processor also performs the following operations:
  • the processor performs the operation of suppressing the outputted audio when the call is a close-range call according to the detected relative distance, and includes:
  • the output audio volume is reduced or turned off.
  • the operation performed by the processor to suppress the output audio includes:
  • the second distance threshold is smaller than the first distance threshold.
  • the processor performs the operation of suppressing the outputted audio when the call is a close-range call according to the detected relative distance, and includes:
  • the volume decrease value is obtained according to a negative correlation between the detected relative distance and the volume decrease value, and the audio volume is decreased according to the volume decrease value.
  • the volume is also small enough, even reduced to zero, so that it does not cause self-excited howling, effectively preventing the occurrence of howling and not damaging the audio quality of the output of the receiving terminal.
  • FIG. 1 is a schematic diagram of a process of a call between a receiving terminal and a transmitting terminal in the prior art
  • FIG. 2 is a flow chart of a method of controlling audio output in one embodiment
  • FIG. 3 is a flowchart of a method for obtaining a terminal identifier of a transmitting terminal in an embodiment
  • 4 is a flow chart showing the steps of suppressing the outputted audio when the call is a close-range call according to the detected relative distance according to the detected relative distance;
  • FIG. 5 is a schematic diagram of a process of a call between a receiving terminal and a transmitting terminal in an embodiment
  • FIG. 6 is a schematic structural diagram of a user terminal in an embodiment
  • FIG. 7 is a schematic structural diagram of a terminal identifier acquiring module in an embodiment
  • FIG. 8 is a schematic structural diagram of an audio output control module in an embodiment
  • FIG. 9 is a schematic structural diagram of an intercom terminal provided by the present invention.
  • the sound signal played by the receiving terminal speaker (SPK) is reflected and superimposed on the microphone (MIC) of the transmitting terminal, and the sound of the transmitting terminal's microphone will be reflected back.
  • the signal is transmitted through the wireless link, and then played by the speaker of the receiving terminal, as shown in FIG. 1, such that the superimposed overlap will form a howling forward self-excited link between the transmitting terminal and the receiving terminal.
  • it is necessary to perform a series of processing including filtering on the sound signal collected by the transmitting terminal microphone, thereby causing a drop in call quality.
  • a method for controlling audio output is proposed, and the terminal participating in the call includes sending The terminal and the receiving terminal, the method is performed by the receiving terminal, so as to achieve the purpose of effectively preventing howling generation during the call and avoiding the audio quality of the output being damaged.
  • the method is as shown in FIG. 2, including:
  • Step 210 Acquire a terminal identifier of the sending terminal.
  • the terminal identifier of the transmitting terminal is used to identify the identity of the transmitting terminal.
  • the sending terminal may be a walkie-talkie terminal as a transmitting side during a call, and correspondingly, the terminal identifier may be a number of the walkie-talkie terminal.
  • step 230 the relative distance from the transmitting terminal is detected during the call.
  • the receiving terminal will detect the relative distance between it and the transmitting terminal. Specifically, the receiving terminal may obtain a relative distance between the receiving terminal and the transmitting terminal by using a wireless positioning technology according to the terminal identifier.
  • wireless positioning technology includes Bluetooth positioning, WIFI (Wireless Fidelity) positioning, RFID (Radio Frequency Identification)/NFC (Near Field Communication), and other near field wireless communication positioning, and GPS ( Global Positioning System (GPS) Positioning and Communication RF Signal Strength DMO (Direct Mode Operation), which will not be repeated here.
  • WIFI Wireless Fidelity
  • RFID Radio Frequency Identification
  • NFC Near Field Communication
  • GPS Global Positioning System (GPS) Positioning and Communication RF Signal Strength DMO (Direct Mode Operation), which will not be repeated here.
  • Step 250 When the call is determined to be a close call according to the detected relative distance, the outputted audio is suppressed.
  • the distance between the receiving terminal and the transmitting terminal can be known, and thus it is also confirmed whether the call between the receiving terminal and the transmitting terminal is a close-range call.
  • the sound is attenuated by 6 dB. Therefore, when the relative distance between the call terminals is relatively long, the horn sound of the receiving terminal is attenuated when it is transmitted to the microphone of the transmitting terminal, and the microphone of the transmitting terminal is collected and received.
  • the speaker of the terminal has a small sound, and there is no self-excited howling.
  • the audio outputted by the receiving terminal that is, the horn sound as described above
  • the implementation process as described above so that the audio output by the receiving terminal is no longer collected by the microphone of the transmitting terminal.
  • the method does not treat the howling after it occurs, but it is eliminated from the source when it may occur. Therefore, the method can completely retain the original sound without causing damage to the original sound quality.
  • the method saves a series of processing processes on the original sound, such as calculation of howling audio features, modification of filter parameters, filtering of sound signals, etc. Therefore, the method does not increase the delay of communication, and realizes It is less difficult and can adapt to different environments, which satisfies the needs of users for emergency communication and timely response.
  • the step 210 includes:
  • Step 211 receiving call signaling.
  • the receiving terminal receives the call signaling from the sending terminal, where the call signaling carries a terminal identifier for identifying the identity of the transmitting terminal.
  • Step 213 Extract the terminal identifier in the call signaling.
  • the receiving terminal extracts the terminal identifier from the call signaling and stores it until the sending terminal corresponding to the terminal identifier ends the call, and can read the stored terminal identifier as needed.
  • the step 250 includes:
  • Step 251 it is determined whether the detected relative distance is less than the first distance threshold, and if yes, proceeds to step 253;
  • Step 253 determining that the call is a close-range call
  • step 255 when the call is determined to be a close call, the output audio volume is reduced or turned off.
  • the output audio volume is reduced or turned off, so that the MIC of the receiving terminal only collects the user's voice signal, and Only the sound signal played by the receiving terminal SPK is collected or not collected, which is equivalent to cutting off the forward self-excited link between the transmitting terminal and the receiving terminal.
  • the output of the suppressed audio comprises:
  • the second distance threshold is smaller than the first distance threshold, and if yes, turning off the output audio volume; if not, the detected relative distance is between the second distance threshold and the first Between a distance threshold, the output audio volume is reduced.
  • the volume reduction value may also be obtained according to the negative correlation between the detected relative distance and the volume reduction value, and then the audio volume is decreased according to the volume reduction value. That is to say, when the detected relative distance is large, the volume reduction value is small; when the detected relative distance is small, the volume reduction value is large.
  • more thresholds may be set, and the set more thresholds are sequentially decreased starting from the second distance threshold, thereby forming a plurality of different threshold intervals.
  • the multi-level reduction of the audio volume is achieved by the plurality of threshold intervals formed until it is reduced to zero.
  • step 250 includes obtaining a volume reduction value based on a negative correlation between the detected relative distance and the volume reduction value, and decreasing the audio volume by the volume reduction value.
  • the audio volume can be suppressed by this process, and the volume is continuously reduced until it is reduced to zero.
  • the audio volume suppression may be implemented by performing this process when it is determined that the detected relative distance is less than the first distance threshold, or may be implemented by performing this process when determining that the detected relative distance is less than the second distance threshold. Pressing, this process can also be performed at other distance thresholds, This is not limited here.
  • the method as described above further comprises:
  • the relative distance of the receiving terminal to the transmitting terminal changes, and the intelligence of the audio output control can be improved by continuously monitoring and preventing the possibility of howling during the call.
  • the audio output from the receiving terminal is restored at the end of the call, ready for the next call, that is, if the output audio volume is reduced during the call, the output audio volume is increased accordingly.
  • the sending terminal and the receiving terminal in this embodiment may be private network communication terminals, such as a walkie-talkie, a mobile phone with a talkback function, or a tablet computer.
  • private network communication terminals such as a walkie-talkie, a mobile phone with a talkback function, or a tablet computer.
  • the communication between the private network communication terminals has two modes: one call (one transmitting terminal and one receiving terminal) and one group call (one transmitting terminal and multiple receiving terminals); wherein, one call can be regarded as a special case of group call .
  • each terminal in the same group may initiate a call as a transmitting terminal, and correspondingly, the remaining terminals serve as receiving terminals.
  • the remaining terminals serve as receiving terminals.
  • the microphone of the transmitting terminal collects and generates howling, and does not affect the voice playing of the remaining receiving terminals, ensuring that each receiving terminal in the group call can obtain perfect original sound quality.
  • the user terminal includes a terminal identity acquisition module 610, a proximity call determination module 630, and an audio output control module 650;
  • the terminal identifier obtaining module 610 is configured to acquire a terminal identifier of the sending terminal.
  • the relative distance detecting module 630 is configured to detect a relative distance from the transmitting terminal during the call;
  • the audio output control module 650 is configured to suppress the output audio when the call is a close call according to the detected relative distance.
  • the terminal identifier obtaining module 610 includes a signaling receiving unit 611 and a terminal identifier extracting unit 613; wherein:
  • the signaling receiving unit 611 is configured to receive call signaling initiated by the sending terminal.
  • the terminal identifier extracting unit 613 is configured to extract the terminal identifier in the call signaling.
  • the user terminal further includes:
  • the period detecting module 670 is configured to determine whether the time interval of the distance detection relative to the current time reaches a preset interval, and if yes, notify the relative distance detecting module 630.
  • the audio output control module 650 includes a call determination unit 651 and a control execution unit 653;
  • the call determining unit 651 is configured to determine whether the detected relative distance is smaller than the first distance threshold, and if yes, determine that the call is a close distance call;
  • the control execution unit 653 is configured to reduce or turn off the output audio volume when the call is a close call.
  • control execution unit 653 is further configured to determine whether the detected relative distance is less than a second distance threshold, the second distance threshold is less than the first distance threshold, and if yes, turn off the output audio volume; , to reduce the audio volume of the output.
  • the audio output control module 650 is further configured to obtain a volume decrease value according to a negative correlation between the detected distance and the volume decrease value, and reduce the audio volume output during the call according to the volume decrease value.
  • FIG. 9 is a schematic structural diagram of a walkie-talkie terminal according to an embodiment of the present invention.
  • the walkie-talkie terminal 900 may include: at least one processor 901, such as a CPU, a baseband controller, etc., at least one mobile communication radio frequency component 903, and a memory 904, at least one Communication bus 902. Among them, the communication bus 902 is used to implement connection communication between these components.
  • the memory 904 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory.
  • the memory 904 can also optionally be at least one storage device located remotely from the aforementioned processor 901.
  • a set of program codes is stored in the memory 904, and the processor 901 is configured to call program code stored in the memory for performing the following operations:
  • the outputted audio is suppressed when the call is determined to be a close call according to the detected relative distance.
  • processor 901 further performs the following operations:
  • the processor 901 performs the step of determining, according to the detected relative distance, that the call is a close-range call, and suppressing the output audio, including:
  • the output audio volume is reduced or turned off.
  • the processor 901 performs the operation of suppressing the outputted audio, and further includes:
  • the second distance threshold is smaller than the first distance threshold.
  • the processor 901 performs, according to the detected relative distance, the operation of suppressing the outputted audio when the call is a close-range call, and further includes:
  • the volume decrease value is obtained according to a negative correlation between the detected relative distance and the volume decrease value, and the audio volume is decreased according to the volume decrease value.

Abstract

The invention provides a method of controlling an audio output. The method comprises: acquiring a terminal identifier of a transmission terminal; determining a relative distance from the transmission terminal; and when it is determined, according to the determined relative distance, that the present communication is a short-distance communication, suppressing an output signal at an audio frequency. Also provided are a user terminal and a radio terminal. The method of controlling an audio output, the user terminal, and the radio terminal can effectively prevent a squeak, and prevent quality of an output audio from being damaged.

Description

控制音频输出的方法、用户终端和对讲机终端Method for controlling audio output, user terminal and walkie-talkie terminal 技术领域Technical field
本发明涉及通信技术领域,特别涉及一种控制音频输出的方法、用户终端和对讲机终端。The present invention relates to the field of communications technologies, and in particular, to a method for controlling audio output, a user terminal, and a walkie-talkie terminal.
背景技术Background technique
参与通话的接收终端与发送终端处于近距离状态时,接收终端输出的音频会被发送终端的麦克风采集,形成正反馈,从而产生啸叫。When the receiving terminal participating in the call is in a close state with the transmitting terminal, the audio output by the receiving terminal is collected by the microphone of the transmitting terminal to form a positive feedback, thereby generating a howling.
近距离状态下,接收终端通过麦克风采集的输入信号包括了有用信号和啸叫信号,因此,接收终端将检测输入信号中是否存在啸叫信号,若存在,则根据啸叫信号的音频特征,修改相应的滤波器,从输入信号中消除啸叫信号,实现抑制或减小啸叫的目的。In the short-distance state, the input signal collected by the receiving terminal through the microphone includes the useful signal and the howling signal. Therefore, the receiving terminal will detect whether there is a howling signal in the input signal, and if so, modify according to the audio characteristics of the howling signal. The corresponding filter removes the howling signal from the input signal to achieve the purpose of suppressing or reducing howling.
上述处理过程都是在啸叫产生之后进行的,而不是提前预防,这样,啸叫信号被滤波器滤除处理后,有用信号所输出的音频音质会受到损伤。The above processing is performed after the howling is generated, instead of preventing it in advance, so that the audio quality of the useful signal is damaged after the howling signal is filtered by the filter.
发明内容Summary of the invention
基于此,有必要提供一种能有效预防啸叫产生且避免通话中输出的音频音质受损的控制音频输出的方法。Based on this, it is necessary to provide a method of controlling the audio output that can effectively prevent howling generation and avoid impaired audio quality of the output during the call.
此外,还有必要提供一种能有效预防啸叫产生且避免输出的音频音质受损的用户终端。In addition, it is also necessary to provide a user terminal capable of effectively preventing howling generation and avoiding audio quality deterioration of the output.
此外,还有必要提供一种能有效预防啸叫产生且避免输出的音频音质受损的通话中控制音频输出的对讲机终端。In addition, it is also necessary to provide a walkie-talkie terminal that can effectively prevent howling and avoids the audio quality of the call during which the audio quality of the output is impaired.
为解决上述技术问题,将采用如下技术方案:In order to solve the above technical problems, the following technical solutions will be adopted:
一种控制音频输出的方法,参所述方法由接收终端执行,所述方法包括:A method of controlling an audio output, the method being performed by a receiving terminal, the method comprising:
获取发送终端的终端标识;Obtaining a terminal identifier of the sending terminal;
在通话中检测与发送终端的相对距离;Detecting the relative distance from the transmitting terminal during the call;
根据所述检测的相对距离判定所述通话为近距离通话时,压制输出的音频。The outputted audio is suppressed when the call is determined to be a close call according to the detected relative distance.
进一步地,所述方法还包括:Further, the method further includes:
判断所述距离检测相对当前时间的时间间隔是否达到预设间隔,若为是,则 Determining whether the time interval of the distance detection relative to the current time reaches a preset interval, and if yes,
再次执行所述在通话中检测与发送终端的相对距离的步骤。The step of detecting the relative distance from the transmitting terminal during the call is performed again.
进一步地,所述根据所述检测的相对距离判定所述通话为近距离通话时,压制输出的音频的步骤包括:Further, when the determining that the call is a close-range call according to the detected relative distance, the step of suppressing the outputted audio includes:
判断所述检测的相对距离是否小于第一距离阈值,若为是,则判定所述通话为近距离通话;Determining whether the detected relative distance is less than a first distance threshold, and if yes, determining that the call is a close distance call;
判定所述通话为近距离通话时,减小或关闭输出的音频音量。When it is determined that the call is a close call, the output audio volume is reduced or turned off.
进一步地,所述通过所述近距离通话的判定结果触发减小或关闭所述通话中输出的音频音量的步骤包括:Further, the step of triggering the reduction or closing of the audio volume outputted in the call by the determination result of the short-range call includes:
判断所述检测的相对距离是否小于第二距离阈值,若为是,则关闭所述输出的音频音量;若为否,则Determining whether the detected relative distance is less than a second distance threshold, and if so, turning off the output audio volume; if not, then
减小所述输出的音频音量;Decreasing the audio volume of the output;
其中,所述第二距离阈值小于所述第一距离阈值。The second distance threshold is smaller than the first distance threshold.
进一步地,所述根据所述检测的相对距离判定所述通话为近距离通话时,压制输出的音频的步骤还包括:Further, when the determining that the call is a close-range call according to the detected relative distance, the step of suppressing the outputted audio further includes:
根据所述检测的相对距离和音量减小值之间的负相关关系得到所述音量减小值,按照所述音量减小值减小所述音频音量。The volume reduction value is obtained according to a negative correlation between the detected relative distance and a volume decrease value, and the audio volume is decreased according to the volume decrease value.
一种用户终端,所述接收终端包括:A user terminal, the receiving terminal comprising:
终端标识获取模块,用于获取发送终端的终端标识;a terminal identifier obtaining module, configured to acquire a terminal identifier of the sending terminal;
相对距离检测模块,用于在通话中检测与发送终端的相对距离;a relative distance detecting module, configured to detect a relative distance from the transmitting terminal during a call;
音频输出控制模块,用于根据所述检测的相对距离判定所述通话为近距离通话时,压制输出的音频。The audio output control module is configured to suppress the output audio when the call is a close call according to the detected relative distance.
进一步地,所述用户终端还包括:Further, the user terminal further includes:
周期检测模块,用于判断所述距离检测相对当前时间的时间间隔是否达到预设间隔,若为是,则a period detecting module, configured to determine whether the time interval of the distance detection relative to the current time reaches a preset interval, and if yes,
通知所述相对距离检测模块。The relative distance detecting module is notified.
进一步地,所述音频输出控制模块包括:Further, the audio output control module includes:
通话判定单元,用于判断所述检测的相对距离是否小于第一距离阈值,若为是,则判定所述通话为近距离通话;a call determining unit, configured to determine whether the detected relative distance is smaller than a first distance threshold, and if yes, determine that the call is a close-range call;
控制执行单元,用于判定通话为近距离通话时,减小或关闭输出的音频 音量。Control execution unit for determining whether to reduce or turn off the output audio when the call is a close call volume.
进一步地,所述控制执行单元进一步用于判断所述检测的相对距离是否小于第二距离阈值,Further, the control execution unit is further configured to determine whether the detected relative distance is less than a second distance threshold.
若为是,则关闭所述输出的音频音量;若为否,则If yes, the audio volume of the output is turned off; if not, then
减小所述输出的音频音量;Decreasing the audio volume of the output;
其中,所述第二距离阈值小于所述第一距离阈值。The second distance threshold is smaller than the first distance threshold.
进一步地,所述音频输出控制模块进一步用于根据所述检测的相对距离和音量减小值之间的负相关关系得到所述音量减小值,按照所述音量减小值减小所述音频音量。Further, the audio output control module is further configured to obtain the volume decrease value according to a negative correlation between the detected relative distance and a volume decrease value, and reduce the audio according to the volume decrease value. volume.
一种对讲机终端,包括至少一个处理器、至少一个移动通信射频组件、存储器和至少一个通信总线,所述存储器中存储程序代码,且处理器用于调用所述存储器中存储的程序代码,用于执行以下操作:A walkie-talkie terminal comprising at least one processor, at least one mobile communication radio frequency component, a memory and at least one communication bus, wherein the memory stores program code, and the processor is configured to call program code stored in the memory for execution The following operations:
获取发送终端的终端标识;Obtaining a terminal identifier of the sending terminal;
在通话中检测与发送终端的相对距离;Detecting the relative distance from the transmitting terminal during the call;
根据所述检测的相对距离判定所述通话为近距离通话时,压制输出的音频。The outputted audio is suppressed when the call is determined to be a close call according to the detected relative distance.
进一步地,所述处理器还执行以下操作:Further, the processor also performs the following operations:
判断所述距离检测相对当前时间的时间间隔是否达到预设间隔,若为是,则Determining whether the time interval of the distance detection relative to the current time reaches a preset interval, and if yes,
再次执行所述在通话中检测与发送终端的相对距离的操作。The operation of detecting the relative distance from the transmitting terminal during the call is performed again.
进一步地,所述处理器执行所述根据所述检测的相对距离判定所述通话为近距离通话时,压制输出的音频的操作中,包括:Further, the processor performs the operation of suppressing the outputted audio when the call is a close-range call according to the detected relative distance, and includes:
判断所述检测的相对距离是否小于第一距离阈值,若为是,则判定所述通话为近距离通话;Determining whether the detected relative distance is less than a first distance threshold, and if yes, determining that the call is a close distance call;
判定所述通话为近距离通话时,减小或关闭输出的音频音量。When it is determined that the call is a close call, the output audio volume is reduced or turned off.
进一步地,所述处理器执行的压制输出的音频的操作中,包括:Further, the operation performed by the processor to suppress the output audio includes:
判断所述检测的相对距离是否小于第二距离阈值,若为是,则关闭所述输出的音频音量;若为否,则Determining whether the detected relative distance is less than a second distance threshold, and if so, turning off the output audio volume; if not, then
减小所述输出的音频音量; Decreasing the audio volume of the output;
其中,所述第二距离阈值小于所述第一距离阈值。The second distance threshold is smaller than the first distance threshold.
进一步地,所述处理器执行所述根据所述检测的相对距离判定所述通话为近距离通话时,压制输出的音频的操作中,包括:Further, the processor performs the operation of suppressing the outputted audio when the call is a close-range call according to the detected relative distance, and includes:
根据所述检测的相对距离和音量减小值之间的负相关关系得到所述音量减小值,按照所述音量减小值减小音频音量。The volume decrease value is obtained according to a negative correlation between the detected relative distance and the volume decrease value, and the audio volume is decreased according to the volume decrease value.
类似于接收终端与发送终端远距离通话时通过距离对音量进行衰减,由上述技术方案可知,接收终端与发送终端近距离通话时,通过压制接收终端输出的音频,使得接收终端输出的音频传到发送终端的麦克风时,音量也足够小,甚至减小为零,从而不会引起自激啸叫,有效预防了啸叫的发生且不会对接收终端输出的音频音质造成损伤。Similar to the attenuation of the volume by the distance between the receiving terminal and the transmitting terminal, it can be known from the above technical solution that when the receiving terminal and the transmitting terminal make a close call, the audio output by the receiving terminal is transmitted to the receiving terminal. When the microphone of the terminal is sent, the volume is also small enough, even reduced to zero, so that it does not cause self-excited howling, effectively preventing the occurrence of howling and not damaging the audio quality of the output of the receiving terminal.
附图说明DRAWINGS
图1是现有技术中接收终端与发送终端通话过程的示意图;1 is a schematic diagram of a process of a call between a receiving terminal and a transmitting terminal in the prior art;
图2是一个实施例中控制音频输出的方法的流程图;2 is a flow chart of a method of controlling audio output in one embodiment;
图3是一个实施例中获取发送终端的终端标识的方法的流程图;3 is a flowchart of a method for obtaining a terminal identifier of a transmitting terminal in an embodiment;
图4是一个实施例中根据检测的相对距离判定通话为近距离通话时,压制输出的音频的步骤的流程图;4 is a flow chart showing the steps of suppressing the outputted audio when the call is a close-range call according to the detected relative distance according to the detected relative distance;
图5是一个实施例中接收终端与发送终端通话过程的示意图;FIG. 5 is a schematic diagram of a process of a call between a receiving terminal and a transmitting terminal in an embodiment; FIG.
图6是一个实施例中用户终端的结构示意图;6 is a schematic structural diagram of a user terminal in an embodiment;
图7是一个实施例中终端标识获取模块的结构示意图;7 is a schematic structural diagram of a terminal identifier acquiring module in an embodiment;
图8是一个实施例中音频输出控制模块的结构示意图;8 is a schematic structural diagram of an audio output control module in an embodiment;
图9是本发明提供的对讲终端的结构示意图。FIG. 9 is a schematic structural diagram of an intercom terminal provided by the present invention.
具体实施方式detailed description
体现本发明特征与优点的典型实施方式将在以下的说明中详细叙述。应理解的是本发明能够在不同的实施方式上具有各种的变化,其皆不脱离本发明的范围,且其中的说明及图示在本质上是当作说明之用,而非用以限制本发明。Exemplary embodiments embodying the features and advantages of the present invention will be described in detail in the following description. It is to be understood that the invention is capable of various modifications in the various embodiments and this invention.
如前所述的,当两台对讲机终端近距离通话时,接收终端喇叭(SPK)播放的声音信号经反射后又叠加在发送终端的麦克风(MIC)上,发送终端的麦克风将反射回来的声音信号通过无线链路传输出去,再由接收终端的喇叭播放,如图1所示,这样周而复始的叠加,便会在发送终端和接收终端之间形成啸叫正向自激链路。为了消除啸叫影响,就需要对发送终端麦克风采集的声音信号进行包括滤波在内的一系列处理,由此将造成通话质量的下降。As mentioned above, when two walkie-talkie terminals talk in close distance, the sound signal played by the receiving terminal speaker (SPK) is reflected and superimposed on the microphone (MIC) of the transmitting terminal, and the sound of the transmitting terminal's microphone will be reflected back. The signal is transmitted through the wireless link, and then played by the speaker of the receiving terminal, as shown in FIG. 1, such that the superimposed overlap will form a howling forward self-excited link between the transmitting terminal and the receiving terminal. In order to eliminate the influence of howling, it is necessary to perform a series of processing including filtering on the sound signal collected by the transmitting terminal microphone, thereby causing a drop in call quality.
鉴于此,特提出了一种控制音频输出的方法,参与通话的终端包括发送 终端和接收终端,本方法由接收终端执行,以实现通话过程中有效预防啸叫产生且避免输出的音频音质受损的目的。In view of this, a method for controlling audio output is proposed, and the terminal participating in the call includes sending The terminal and the receiving terminal, the method is performed by the receiving terminal, so as to achieve the purpose of effectively preventing howling generation during the call and avoiding the audio quality of the output being damaged.
在一个实施例中,具体的,该方法如图2所示,包括:In one embodiment, specifically, the method is as shown in FIG. 2, including:
步骤210,获取发送终端的终端标识。Step 210: Acquire a terminal identifier of the sending terminal.
发送终端的终端标识是用来标识发送终端的身份。例如,该发送终端可以是通话中作为发送侧的对讲机终端,相应的,终端标识可为对讲机终端的号码。The terminal identifier of the transmitting terminal is used to identify the identity of the transmitting terminal. For example, the sending terminal may be a walkie-talkie terminal as a transmitting side during a call, and correspondingly, the terminal identifier may be a number of the walkie-talkie terminal.
步骤230,在通话中检测与发送终端的相对距离。In step 230, the relative distance from the transmitting terminal is detected during the call.
接收终端将对其与发送终端之间的相对距离进行检测。具体的,接收终端可根据终端标识以对应的发送终端为目标通过无线定位技术得到其与发送终端之间的相对距离。The receiving terminal will detect the relative distance between it and the transmitting terminal. Specifically, the receiving terminal may obtain a relative distance between the receiving terminal and the transmitting terminal by using a wireless positioning technology according to the terminal identifier.
其中,无线定位技术包括蓝牙定位、WIFI(Wireless Fidelity,短程无线通信)定位、RFID(Radio Frequency Identification,射频识别)/NFC(Near Field Communication,近场通信)等近场无线通信定位,以及GPS(Global Positioning System,全球定位系统)定位和通信射频信号强度DMO(Direct Mode Operation,直呼),在此不一一进行赘述。Among them, wireless positioning technology includes Bluetooth positioning, WIFI (Wireless Fidelity) positioning, RFID (Radio Frequency Identification)/NFC (Near Field Communication), and other near field wireless communication positioning, and GPS ( Global Positioning System (GPS) Positioning and Communication RF Signal Strength DMO (Direct Mode Operation), which will not be repeated here.
步骤250,根据检测的相对距离判定通话为近距离通话时,压制输出的音频。Step 250: When the call is determined to be a close call according to the detected relative distance, the outputted audio is suppressed.
根据检测的相对距离即可获知接收终端与发送终端之间距离的远近程度,由此便也确认得到接收终端和发送终端之间的通话是否为近距离通话。According to the detected relative distance, the distance between the receiving terminal and the transmitting terminal can be known, and thus it is also confirmed whether the call between the receiving terminal and the transmitting terminal is a close-range call.
由于距离每增大一倍,声音衰减6dB,因此,当通话终端之间的相对距离较远时,接收终端的喇叭声音传到发送终端的麦克风时已衰减较大,发送终端的麦克风采集到接收终端的喇叭声音较小,此时不会产生自激啸叫。Since the distance is doubled, the sound is attenuated by 6 dB. Therefore, when the relative distance between the call terminals is relatively long, the horn sound of the receiving terminal is attenuated when it is transmitted to the microphone of the transmitting terminal, and the microphone of the transmitting terminal is collected and received. The speaker of the terminal has a small sound, and there is no self-excited howling.
当通话终端之间的相对距离较近时,通过如上所述的实现过程,压制接收终端输出的音频,即如上所述的喇叭声音,使接收终端输出的音频不再被发送终端的麦克风采集,从而切断了啸叫自激链路,有效避免了啸叫的产生。When the relative distance between the call terminals is relatively close, the audio outputted by the receiving terminal, that is, the horn sound as described above, is suppressed by the implementation process as described above, so that the audio output by the receiving terminal is no longer collected by the microphone of the transmitting terminal. Thereby, the howling self-excited link is cut off, and the occurrence of howling is effectively avoided.
本方法对啸叫的处理不是在其发生之后,而是在其可能发生时就从源头上予以杜绝,因此,本方法能完全保留原始声音,不会对原始音质造成损坏。The method does not treat the howling after it occurs, but it is eliminated from the source when it may occur. Therefore, the method can completely retain the original sound without causing damage to the original sound quality.
另外,本方法省去了对原始声音的一系列处理过程,如啸叫音频特征的计算、滤波器参数的修改、声音信号滤波处理等,因此,本方法不会增加通信的延时,且实现难度较小,能较好地适应不同环境,很好地满足了用户对紧急通信、及时响应的需求。In addition, the method saves a series of processing processes on the original sound, such as calculation of howling audio features, modification of filter parameters, filtering of sound signals, etc. Therefore, the method does not increase the delay of communication, and realizes It is less difficult and can adapt to different environments, which satisfies the needs of users for emergency communication and timely response.
如图3所示,在另一个实施例中,该步骤210包括:As shown in FIG. 3, in another embodiment, the step 210 includes:
步骤211,接收呼叫信令。 Step 211, receiving call signaling.
在通话建立的过程中,接收终端会接收到来自发送终端的呼叫信令,该呼叫信令中携带有用于标识发送终端身份的终端标识。In the process of establishing a call, the receiving terminal receives the call signaling from the sending terminal, where the call signaling carries a terminal identifier for identifying the identity of the transmitting terminal.
步骤213,提取呼叫信令中的终端标识。Step 213: Extract the terminal identifier in the call signaling.
接收终端从呼叫信令中提取该终端标识并进行存储,直到与该终端标识对应的发送终端结束通话前,都能够根据需要读取存储的终端标识。The receiving terminal extracts the terminal identifier from the call signaling and stores it until the sending terminal corresponding to the terminal identifier ends the call, and can read the stored terminal identifier as needed.
如图4所示,在另一个实施例中,该步骤250包括:As shown in FIG. 4, in another embodiment, the step 250 includes:
步骤251,判断检测的相对距离是否小于第一距离阈值,若为是,则进入步骤253; Step 251, it is determined whether the detected relative distance is less than the first distance threshold, and if yes, proceeds to step 253;
步骤253,判定通话为近距离通话; Step 253, determining that the call is a close-range call;
步骤255,判定通话为近距离通话时,减小或关闭输出的音频音量。In step 255, when the call is determined to be a close call, the output audio volume is reduced or turned off.
如图5所示,当检测的相对距离小于预设的第一距离阈值l0时,减小或关闭输出的音频音量,这样,接收终端的MIC就只会采集到使用者的声音信号,而仅微弱采集到或不会采集到接收终端SPK播放的声音信号,相当于切断了发送终端与接收终端之间的正向自激链路。As shown in FIG. 5, when the detected relative distance is less than the preset first distance threshold l 0 , the output audio volume is reduced or turned off, so that the MIC of the receiving terminal only collects the user's voice signal, and Only the sound signal played by the receiving terminal SPK is collected or not collected, which is equivalent to cutting off the forward self-excited link between the transmitting terminal and the receiving terminal.
在另一个实施例中,压制输出的音频包括:In another embodiment, the output of the suppressed audio comprises:
判断检测的相对距离是否小于第二距离阈值,第二距离阈值小于第一距离阈值,若为是,则关闭输出的音频音量;若为否,即检测的相对距离介于第二距离阈值和第一距离阈值之间,则减小输出的音频音量。Determining whether the detected relative distance is smaller than the second distance threshold, the second distance threshold is smaller than the first distance threshold, and if yes, turning off the output audio volume; if not, the detected relative distance is between the second distance threshold and the first Between a distance threshold, the output audio volume is reduced.
进一步地,当检测的相对距离大于第二距离阈值时,还可根据检测的相对距离和音量减小值之间的负相关关系得到音量减小值,再按照音量减小值减小音频音量。也就是说,当检测的相对距离较大时,音量减小值较小;当检测的相对距离较小时,音量减小值较大。Further, when the detected relative distance is greater than the second distance threshold, the volume reduction value may also be obtained according to the negative correlation between the detected relative distance and the volume reduction value, and then the audio volume is decreased according to the volume reduction value. That is to say, when the detected relative distance is large, the volume reduction value is small; when the detected relative distance is small, the volume reduction value is large.
需要说明的是,基于第一距离阈值和第二距离阈值,还可设置更多阈值,所设置的更多阈值以第二距离阈值为起始依次减小,进而构成多个不同的阈值区间。It should be noted that, based on the first distance threshold and the second distance threshold, more thresholds may be set, and the set more thresholds are sequentially decreased starting from the second distance threshold, thereby forming a plurality of different threshold intervals.
通过所构成的多个阈值区间实现音频音量的多层级减小,直至减小为零。The multi-level reduction of the audio volume is achieved by the plurality of threshold intervals formed until it is reduced to zero.
在一个实施例中,步骤250包括:根据检测的相对距离和音量减小值之间的负相关关系得到音量减小值,按照音量减小值减小音频音量。In one embodiment, step 250 includes obtaining a volume reduction value based on a negative correlation between the detected relative distance and the volume reduction value, and decreasing the audio volume by the volume reduction value.
在判定通话为近距离通话时,都可以通过此过程实现音频音量的压制,进而不断减小音量,直至减小为零。When it is determined that the call is a close-range call, the audio volume can be suppressed by this process, and the volume is continuously reduced until it is reduced to zero.
在具体实现中,可在判断到检测的相对距离小于第一距离阈值时通过执行此过程实现音频音量压制,也可在判断到检测的相对距离小于第二距离阈值时通过执行此过程实现音频音量压制,还可在其它距离阈值下执行此过程, 在此不进行限定。In a specific implementation, the audio volume suppression may be implemented by performing this process when it is determined that the detected relative distance is less than the first distance threshold, or may be implemented by performing this process when determining that the detected relative distance is less than the second distance threshold. Pressing, this process can also be performed at other distance thresholds, This is not limited here.
在另一个实施例中,如上所述的方法还包括:In another embodiment, the method as described above further comprises:
判断距离检测相对当前时间的时间间隔是否达到预设间隔,若为是,则再次执行在通话中检测与发送终端的相对距离的步骤。It is judged whether the time interval of the distance detection with respect to the current time reaches a preset interval, and if so, the step of detecting the relative distance from the transmitting terminal during the call is performed again.
当终端使用者在通话过程中四处走动时,会导致接收终端相对发送终端的相对距离发生变化,通过持续对通话过程中啸叫产生可能性的监控与预防,可以提高音频输出控制的智能性。When the terminal user moves around during the call, the relative distance of the receiving terminal to the transmitting terminal changes, and the intelligence of the audio output control can be improved by continuously monitoring and preventing the possibility of howling during the call.
另外,在通话结束时恢复接收终端输出的音频,为下一次通话作好准备,即若在通话中减小了输出的音频音量,则相应地增大输出的音频音量。In addition, the audio output from the receiving terminal is restored at the end of the call, ready for the next call, that is, if the output audio volume is reduced during the call, the output audio volume is increased accordingly.
具体地,本实施例中的发送终端及接收终端可为专网通信终端,如对讲机、具有对讲功能的手机或平板电脑等。Specifically, the sending terminal and the receiving terminal in this embodiment may be private network communication terminals, such as a walkie-talkie, a mobile phone with a talkback function, or a tablet computer.
专网通信终端之间的通信,有个呼叫(一个发送终端和一个接收终端)和组呼叫(一个发送终端和多个接收终端)两种模式;其中,个呼叫可认为是组呼叫的特殊情况。The communication between the private network communication terminals has two modes: one call (one transmitting terminal and one receiving terminal) and one group call (one transmitting terminal and multiple receiving terminals); wherein, one call can be regarded as a special case of group call .
在组呼叫的模式下,同一组内的各个终端都有可能发起呼叫而作为发送终端,相应地,其余终端作为接收终端。当组内某一接收终端与发送终端处于近距离时,仅关闭或减小该接收终端的扬声器音量,而不对其余接收终端的扬声器音量作调整,这样,既可避免该接收终端的扬声器声音被发送终端的麦克风采集而产生啸叫,又不会对其余接收终端的语音播放产生影响,保证了组呼叫内每一个接收终端都能获得完美的原始音质。In the group call mode, each terminal in the same group may initiate a call as a transmitting terminal, and correspondingly, the remaining terminals serve as receiving terminals. When a receiving terminal in the group is in close proximity to the transmitting terminal, only the speaker volume of the receiving terminal is turned off or reduced, and the speaker volume of the remaining receiving terminals is not adjusted, so that the speaker sound of the receiving terminal can be avoided. The microphone of the transmitting terminal collects and generates howling, and does not affect the voice playing of the remaining receiving terminals, ensuring that each receiving terminal in the group call can obtain perfect original sound quality.
在一个实施例中,为解决上述问题,还提出了一种用户终端。如图6所示,该用户终端包括终端标识获取模块610、近距离通话判定模块630和音频输出控制模块650;其中:In one embodiment, to solve the above problem, a user terminal is also proposed. As shown in FIG. 6, the user terminal includes a terminal identity acquisition module 610, a proximity call determination module 630, and an audio output control module 650;
终端标识获取模块610,用于获取发送终端的终端标识;The terminal identifier obtaining module 610 is configured to acquire a terminal identifier of the sending terminal.
相对距离检测模块630,用于在通话中检测与发送终端的相对距离;The relative distance detecting module 630 is configured to detect a relative distance from the transmitting terminal during the call;
音频输出控制模块650,用于根据检测的相对距离判定通话为近距离通话时,压制输出的音频。The audio output control module 650 is configured to suppress the output audio when the call is a close call according to the detected relative distance.
如图7所示,在另一个实施例中,该终端标识获取模块610包括信令接收单元611和终端标识提取单元613;其中:As shown in FIG. 7, in another embodiment, the terminal identifier obtaining module 610 includes a signaling receiving unit 611 and a terminal identifier extracting unit 613; wherein:
信令接收单元611,用于接收发送终端发起的呼叫信令;The signaling receiving unit 611 is configured to receive call signaling initiated by the sending terminal.
终端标识提取单元613,用于提取呼叫信令中的终端标识。The terminal identifier extracting unit 613 is configured to extract the terminal identifier in the call signaling.
在另一个实施例中,该用户终端还包括: In another embodiment, the user terminal further includes:
周期检测模块670,用于判断距离检测相对当前时间的时间间隔是否达到预设间隔,若为是,则通知相对距离检测模块630。The period detecting module 670 is configured to determine whether the time interval of the distance detection relative to the current time reaches a preset interval, and if yes, notify the relative distance detecting module 630.
如图8所示,在另一个实施例中,该音频输出控制模块650包括通话判定单元651和控制执行单元653;其中:As shown in FIG. 8, in another embodiment, the audio output control module 650 includes a call determination unit 651 and a control execution unit 653;
通话判定单元651,用于判断检测的相对距离是否小于第一距离阈值,若为是,则判定通话为近距离通话;The call determining unit 651 is configured to determine whether the detected relative distance is smaller than the first distance threshold, and if yes, determine that the call is a close distance call;
控制执行单元653,用于判定通话为近距离通话时,减小或关闭输出的音频音量。The control execution unit 653 is configured to reduce or turn off the output audio volume when the call is a close call.
在另一个实施例中,控制执行单元653进一步用于判断检测的相对距离是否小于第二距离阈值,第二距离阈值小于第一距离阈值,若为是,则关闭输出的音频音量;若为否,则减小输出的音频音量。In another embodiment, the control execution unit 653 is further configured to determine whether the detected relative distance is less than a second distance threshold, the second distance threshold is less than the first distance threshold, and if yes, turn off the output audio volume; , to reduce the audio volume of the output.
在一个实施例中,音频输出控制模块650还用于根据检测的距离和音量减小值之间的负相关关系得到音量减小值,按照音量减小值减小通话中输出的音频音量。In one embodiment, the audio output control module 650 is further configured to obtain a volume decrease value according to a negative correlation between the detected distance and the volume decrease value, and reduce the audio volume output during the call according to the volume decrease value.
图9为本发明实施例中的一种对讲机终端的结构示意图,对讲机终端900可以包括:至少一个处理器901,例如CPU,基带控制器等,至少一个移动通信射频组件903,存储器904,至少一个通信总线902。其中,通信总线902用于实现这些组件之间的连接通信。存储器904可以是高速RAM存储器,也可以是非易失的存储器(non-volatile memory),例如至少一个磁盘存储器。存储器904可选的还可以是至少一个位于远离前述处理器901的存储装置。存储器904中存储一组程序代码,且处理器901用于调用存储器中存储的程序代码,用于执行以下操作:FIG. 9 is a schematic structural diagram of a walkie-talkie terminal according to an embodiment of the present invention. The walkie-talkie terminal 900 may include: at least one processor 901, such as a CPU, a baseband controller, etc., at least one mobile communication radio frequency component 903, and a memory 904, at least one Communication bus 902. Among them, the communication bus 902 is used to implement connection communication between these components. The memory 904 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory. The memory 904 can also optionally be at least one storage device located remotely from the aforementioned processor 901. A set of program codes is stored in the memory 904, and the processor 901 is configured to call program code stored in the memory for performing the following operations:
获取发送终端的终端标识;Obtaining a terminal identifier of the sending terminal;
在通话中检测与发送终端的相对距离;Detecting the relative distance from the transmitting terminal during the call;
根据所述检测的相对距离判定所述通话为近距离通话时,压制输出的音频。The outputted audio is suppressed when the call is determined to be a close call according to the detected relative distance.
可选的,处理器901还执行以下操作:Optionally, the processor 901 further performs the following operations:
判断所述相对距离检测相对当前时间的时间间隔是否达到预设间隔,若为是,则Determining whether the time interval of the relative distance detection relative to the current time reaches a preset interval, and if yes,
再次执行所述在通话中检测与发送终端的相对距离的操作。The operation of detecting the relative distance from the transmitting terminal during the call is performed again.
可选的,处理器901执行所述根据所述检测的相对距离判定所述通话为近距离通话时,压制输出的音频中,包括: Optionally, the processor 901 performs the step of determining, according to the detected relative distance, that the call is a close-range call, and suppressing the output audio, including:
判断所述检测的相对距离是否小于第一距离阈值,若为是,则判定所述通话为近距离通话;Determining whether the detected relative distance is less than a first distance threshold, and if yes, determining that the call is a close distance call;
判定所述通话为近距离通话时,减小或关闭输出的音频音量。When it is determined that the call is a close call, the output audio volume is reduced or turned off.
可选的,处理器901执行压制输出的音频的操作中,还包括:Optionally, the processor 901 performs the operation of suppressing the outputted audio, and further includes:
判断所述检测的相对距离是否小于第二距离阈值,若为是,则关闭所述输出的音频音量;若为否,则Determining whether the detected relative distance is less than a second distance threshold, and if so, turning off the output audio volume; if not, then
减小所述输出的音频音量;Decreasing the audio volume of the output;
其中,所述第二距离阈值小于所述第一距离阈值。The second distance threshold is smaller than the first distance threshold.
可选的,处理器901执行根据所述检测的相对距离判定所述通话为近距离通话时,压制输出的音频的操作中,还包括:Optionally, the processor 901 performs, according to the detected relative distance, the operation of suppressing the outputted audio when the call is a close-range call, and further includes:
根据所述检测的相对距离和音量减小值之间的负相关关系得到所述音量减小值,按照所述音量减小值减小音频音量。The volume decrease value is obtained according to a negative correlation between the detected relative distance and the volume decrease value, and the audio volume is decreased according to the volume decrease value.
虽然已参照几个典型实施方式描述了本发明,但应当理解,所用的术语是说明和示例性、而非限制性的术语。由于本发明能够以多种形式具体实施而不脱离发明的精神或实质,所以应当理解,上述实施方式不限于任何前述的细节,而应在随附权利要求所限定的精神和范围内广泛地解释,因此落入权利要求或其等效范围内的全部变化和改型都应为随附权利要求所涵盖。 While the invention has been described with respect to the preferred embodiments the embodiments The present invention may be embodied in a variety of forms without departing from the spirit or scope of the invention. It is to be understood that the invention is not limited to the details of the invention. All changes and modifications that come within the scope of the claims or the equivalents thereof are intended to be covered by the appended claims.

Claims (15)

  1. 一种控制音频输出的方法,其特征在于,所述方法由接收终端执行,所述方法包括:A method of controlling an audio output, the method being performed by a receiving terminal, the method comprising:
    获取发送终端的终端标识;在通话中检测与发送终端的相对距离;Obtaining a terminal identifier of the sending terminal; detecting a relative distance from the sending terminal during the call;
    根据所述检测的相对距离判定所述通话为近距离通话时,压制输出的音频。The outputted audio is suppressed when the call is determined to be a close call according to the detected relative distance.
  2. 如权利要求1所述的控制音频输出的方法,其特征在于,所述方法还包括:The method of controlling an audio output according to claim 1, wherein the method further comprises:
    判断所述距离检测相对当前时间的时间间隔是否达到预设间隔,若为是,则Determining whether the time interval of the distance detection relative to the current time reaches a preset interval, and if yes,
    再次执行所述在通话中检测与发送终端的相对距离的步骤。The step of detecting the relative distance from the transmitting terminal during the call is performed again.
  3. 如权利要求1所述的控制音频输出的方法,其特征在于,所述根据所述检测的相对距离判定所述通话为近距离通话时,压制输出的音频的步骤包括:The method of controlling audio output according to claim 1, wherein the step of suppressing the outputted audio when the call is a close-range call according to the detected relative distance comprises:
    判断所述检测的相对距离是否小于第一距离阈值,若为是,则判定所述通话为近距离通话;Determining whether the detected relative distance is less than a first distance threshold, and if yes, determining that the call is a close distance call;
    判定所述通话为近距离通话时,减小或关闭输出的音频音量。When it is determined that the call is a close call, the output audio volume is reduced or turned off.
  4. 如权利要求3所述的控制音频输出的方法,其特征在于,所述压制输出的音频包括:A method of controlling an audio output according to claim 3, wherein said compacting output audio comprises:
    判断所述检测的相对距离是否小于第二距离阈值,若为是,则关闭所述输出的音频音量;若为否,则Determining whether the detected relative distance is less than a second distance threshold, and if so, turning off the output audio volume; if not, then
    减小所述输出的音频音量;Decreasing the audio volume of the output;
    其中,所述第二距离阈值小于所述第一距离阈值。The second distance threshold is smaller than the first distance threshold.
  5. 如权利要求1所述的控制音频输出的方法,其特征在于,所述根据所述检测的相对距离判定所述通话为近距离通话时,压制输出的音频的步骤包括:The method of controlling audio output according to claim 1, wherein the step of suppressing the outputted audio when the call is a close-range call according to the detected relative distance comprises:
    根据所述检测的相对距离和音量减小值之间的负相关关系得到所述音量减小值,按照所述音量减小值减小音频音量。The volume decrease value is obtained according to a negative correlation between the detected relative distance and the volume decrease value, and the audio volume is decreased according to the volume decrease value.
  6. 一种用户终端,其特征在于,包括: A user terminal, comprising:
    终端标识获取模块,用于获取发送终端的终端标识;a terminal identifier obtaining module, configured to acquire a terminal identifier of the sending terminal;
    相对距离检测模块,用于在通话中检测与发送终端的相对距离;a relative distance detecting module, configured to detect a relative distance from the transmitting terminal during a call;
    音频输出控制模块,用于根据所述检测的相对距离判定所述通话为近距离通话时,压制输出的音频。The audio output control module is configured to suppress the output audio when the call is a close call according to the detected relative distance.
  7. 如权利要求6所述的用户终端,其特征在于,所述用户终端还包括:The user terminal of claim 6, wherein the user terminal further comprises:
    周期检测模块,用于判断所述距离检测相对当前时间的时间间隔是否达到预设间隔,若为是,则a period detecting module, configured to determine whether the time interval of the distance detection relative to the current time reaches a preset interval, and if yes,
    通知所述相对距离检测模块。The relative distance detecting module is notified.
  8. 如权利要求6所述的用户终端,其特征在于,所述音频输出控制模块包括:The user terminal according to claim 6, wherein the audio output control module comprises:
    通话判定单元,用于判断所述检测的相对距离是否小于第一距离阈值,若为是,则判定所述通话为近距离通话;a call determining unit, configured to determine whether the detected relative distance is smaller than a first distance threshold, and if yes, determine that the call is a close-range call;
    控制执行单元,用于判定所述通话为近距离通话时,减小或关闭输出的音频音量。The control execution unit is configured to reduce or turn off the output audio volume when the call is a close call.
  9. 如权利要求8所述的用户终端,其特征在于,所述控制执行单元进一步用于判断所述检测的相对距离是否小于第二距离阈值,The user terminal according to claim 8, wherein the control execution unit is further configured to determine whether the detected relative distance is smaller than a second distance threshold.
    若为是,则关闭所述输出的音频音量;若为否,则If yes, the audio volume of the output is turned off; if not, then
    减小所述输出的音频音量;Decreasing the audio volume of the output;
    其中,所述第二距离阈值小于所述第一距离阈值。The second distance threshold is smaller than the first distance threshold.
  10. 如权利要求6所述的用户终端,其特征在于,所述音频输出控制模块进一步用于根据所述检测的相对距离和音量减小值之间的负相关关系得到所述音量减小值,按照所述音量减小值减小音频音量。The user terminal according to claim 6, wherein the audio output control module is further configured to obtain the volume decrease value according to a negative correlation between the detected relative distance and a volume decrease value, according to The volume reduction value reduces the audio volume.
  11. 一种对讲机终端,其特征在于,包括至少一个处理器、至少一个移动通信射频组件、存储器和至少一个通信总线,所述存储器中存储程序代码,且处理器用于调用所述存储器中存储的程序代码,用于执行以下操作:A walkie-talkie terminal, comprising: at least one processor, at least one mobile communication radio frequency component, a memory and at least one communication bus, wherein the memory stores program code, and the processor is configured to call the program code stored in the memory Used to do the following:
    获取发送终端的终端标识;Obtaining a terminal identifier of the sending terminal;
    在通话中检测与发送终端的相对距离;Detecting the relative distance from the transmitting terminal during the call;
    根据所述检测的相对距离判定所述通话为近距离通话时,压制输出的音频。 The outputted audio is suppressed when the call is determined to be a close call according to the detected relative distance.
  12. 根据权利要求11所述的对讲机终端,其特征在于,所述处理器还执行以下操作:The walkie-talkie terminal according to claim 11, wherein the processor further performs the following operations:
    判断所述距离检测相对当前时间的时间间隔是否达到预设间隔,若为是,则Determining whether the time interval of the distance detection relative to the current time reaches a preset interval, and if yes,
    再次执行所述在通话中检测与发送终端的相对距离的操作。The operation of detecting the relative distance from the transmitting terminal during the call is performed again.
  13. 根据权利要求11所述的对讲机终端,其特征在于,所述处理器执行所述根据所述检测的相对距离判定所述通话为近距离通话时,压制输出的音频的操作中,包括:The intercom terminal according to claim 11, wherein the processor performs the operation of suppressing the outputted audio when the call is a close-range call according to the detected relative distance, and includes:
    判断所述检测的相对距离是否小于第一距离阈值,若为是,则判定所述通话为近距离通话;Determining whether the detected relative distance is less than a first distance threshold, and if yes, determining that the call is a close distance call;
    判定所述通话为近距离通话时,减小或关闭输出的音频音量。When it is determined that the call is a close call, the output audio volume is reduced or turned off.
  14. 根据权利要求13所述的对讲机终端,其特征在于,所述处理器执行的压制输出的音频的操作中,包括:The intercom terminal according to claim 13, wherein the operation performed by the processor to suppress the outputted audio comprises:
    判断所述检测的相对距离是否小于第二距离阈值,若为是,则关闭所述输出的音频音量;若为否,则Determining whether the detected relative distance is less than a second distance threshold, and if so, turning off the output audio volume; if not, then
    减小所述输出的音频音量;Decreasing the audio volume of the output;
    其中,所述第二距离阈值小于所述第一距离阈值。The second distance threshold is smaller than the first distance threshold.
  15. 根据权利要求11所述的对讲机终端,其特征在于,所述处理器执行所述根据所述检测的相对距离判定所述通话为近距离通话时,压制输出的音频的操作中,包括:The intercom terminal according to claim 11, wherein the processor performs the operation of suppressing the outputted audio when the call is a close-range call according to the detected relative distance, and includes:
    根据所述检测的相对距离和音量减小值之间的负相关关系得到所述音量减小值,按照所述音量减小值减小音频音量。 The volume decrease value is obtained according to a negative correlation between the detected relative distance and the volume decrease value, and the audio volume is decreased according to the volume decrease value.
PCT/CN2016/085102 2016-06-07 2016-06-07 Method of controlling audio output, user terminal, and radio terminal WO2017210856A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/085102 WO2017210856A1 (en) 2016-06-07 2016-06-07 Method of controlling audio output, user terminal, and radio terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/085102 WO2017210856A1 (en) 2016-06-07 2016-06-07 Method of controlling audio output, user terminal, and radio terminal

Publications (1)

Publication Number Publication Date
WO2017210856A1 true WO2017210856A1 (en) 2017-12-14

Family

ID=60577529

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/085102 WO2017210856A1 (en) 2016-06-07 2016-06-07 Method of controlling audio output, user terminal, and radio terminal

Country Status (1)

Country Link
WO (1) WO2017210856A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110399114A (en) * 2018-04-24 2019-11-01 深圳市优必选科技有限公司 Control method, apparatus and terminal device that robot carries out video monitoring
CN113115292A (en) * 2021-04-13 2021-07-13 中国工商银行股份有限公司 Conference system squeal elimination method and device based on near field communication
WO2023206506A1 (en) * 2022-04-29 2023-11-02 海能达通信股份有限公司 Determination method and apparatus for near-field communication, and computer-readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060291681A1 (en) * 2004-03-03 2006-12-28 Widex A/S Hearing aid comprising adaptive feedback suppression system
CN101478588A (en) * 2008-11-14 2009-07-08 盛韦 Intelligent telephone amplifier for eliminating feedback whistle, and suppressing interference noise
CN102257750A (en) * 2008-12-17 2011-11-23 摩托罗拉解决方案公司 Acoustic suppression using ancillary RF link
CN102624961A (en) * 2012-02-29 2012-08-01 华为终端有限公司 Method and terminal for preventing sound crosstalk between external loudspeaker and microphone

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060291681A1 (en) * 2004-03-03 2006-12-28 Widex A/S Hearing aid comprising adaptive feedback suppression system
CN101478588A (en) * 2008-11-14 2009-07-08 盛韦 Intelligent telephone amplifier for eliminating feedback whistle, and suppressing interference noise
CN102257750A (en) * 2008-12-17 2011-11-23 摩托罗拉解决方案公司 Acoustic suppression using ancillary RF link
CN102624961A (en) * 2012-02-29 2012-08-01 华为终端有限公司 Method and terminal for preventing sound crosstalk between external loudspeaker and microphone

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110399114A (en) * 2018-04-24 2019-11-01 深圳市优必选科技有限公司 Control method, apparatus and terminal device that robot carries out video monitoring
CN110399114B (en) * 2018-04-24 2023-08-04 深圳市优必选科技有限公司 Method, device and terminal equipment for controlling robot to perform video monitoring
CN113115292A (en) * 2021-04-13 2021-07-13 中国工商银行股份有限公司 Conference system squeal elimination method and device based on near field communication
WO2023206506A1 (en) * 2022-04-29 2023-11-02 海能达通信股份有限公司 Determination method and apparatus for near-field communication, and computer-readable storage medium

Similar Documents

Publication Publication Date Title
CN106100676A (en) Control method, user terminal and the interphone terminal of audio frequency output
US10412565B2 (en) Systems and methods for muting a wireless communication device
KR101658908B1 (en) Apparatus and method for improving a call voice quality in portable terminal
US9824685B2 (en) Handsfree device with continuous keyword recognition
US20150080048A1 (en) Mobile terminal and abnormal call processing method therefor
CN108735207B (en) Voice conversation system, voice conversation method, and computer-readable storage medium
US20140170979A1 (en) Contextual power saving in bluetooth audio
CN112055349B (en) Wireless communication method and Bluetooth device
CN112584293A (en) Microphone hole blockage detection method and related product
WO2017210856A1 (en) Method of controlling audio output, user terminal, and radio terminal
KR101883421B1 (en) Acoustical signal processing method and device of communication device
WO2015117347A1 (en) Adjustment method and device for terminal scene mode
CN103038824A (en) Hands-free unit with noise tolerant audio sensor
CN113542960B (en) Audio signal processing method, system, device, electronic equipment and storage medium
CN105282339A (en) Method and device for monitoring operating state of microphone, and mobile terminal
KR20170017381A (en) Terminal and method for operaing terminal
US9787824B2 (en) Method of processing telephone signals and electronic device thereof
JP2022514325A (en) Source separation and related methods in auditory devices
US20190387330A1 (en) Method for controlling the transmission of data between at least one hearing aid and a peripheral device of a hearing aid system and also a hearing aid
CN102523350B (en) Method for alarming abnormity of uni-connected state during communication in mobile communication terminal
WO2016000350A1 (en) Method for realising call noise elimination, terminal and computer storage medium
US20170099555A1 (en) Enabling Voice Interaction Using Secondary Microphone
WO2018058875A1 (en) Call switching method and system for terminal, terminal, and computer storage medium
CN105450859A (en) Reminding method and apparatus for wearing earphone
JP6275606B2 (en) Voice section detection system, voice start end detection apparatus, voice end detection apparatus, voice section detection method, voice start end detection method, voice end detection method and program

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 17/05/2019)

122 Ep: pct application non-entry in european phase

Ref document number: 16904309

Country of ref document: EP

Kind code of ref document: A1