CN105654962A - Signal processing method, apparatus and electronic equipment thereof - Google Patents

Signal processing method, apparatus and electronic equipment thereof Download PDF

Info

Publication number
CN105654962A
CN105654962A CN201510253309.6A CN201510253309A CN105654962A CN 105654962 A CN105654962 A CN 105654962A CN 201510253309 A CN201510253309 A CN 201510253309A CN 105654962 A CN105654962 A CN 105654962A
Authority
CN
China
Prior art keywords
frequency
electronic device
signal
tone
dual
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510253309.6A
Other languages
Chinese (zh)
Other versions
CN105654962B (en
Inventor
李春林
陈方荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Hongteng Electronic Trading Co ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201510253309.6A priority Critical patent/CN105654962B/en
Publication of CN105654962A publication Critical patent/CN105654962A/en
Application granted granted Critical
Publication of CN105654962B publication Critical patent/CN105654962B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)

Abstract

本发明实施例公开了一种信号处理方法、装置及电子设备,当第一电子设备和第二电子设备进行语音通信的过程中,检测第一电子设备的待发送语音信号中是否包含单频音合成信号,当检测到第一电子设备的待发送语音信号中包含单频音合成信号时,判断所述单频音合成信号中是否包含第一电子设备开启双音多频编码功能所生成的单频音合成信号;当所述单频音合成信号中未包含第一电子设备开启双音多频编码功能所生成的单频音合成信号时,对所述待发送语音信号进行滤波后发送,滤波后的待发送语音信号中不包含所述单频音合成信号,从而避免第一电子设备在与第二电子设备进行通话的过程中接收到新的来电而对第二电子设备造成干扰。降低了通话过程的音频干扰。

The embodiment of the present invention discloses a signal processing method, device, and electronic equipment. When the first electronic equipment and the second electronic equipment are in the process of voice communication, it is detected whether the voice signal to be sent by the first electronic equipment contains a single-frequency tone. Synthetic signal, when it is detected that the voice signal to be sent by the first electronic device contains a single-frequency tone synthesis signal, it is judged whether the single-frequency tone synthesis signal contains the single-frequency tone generated by the first electronic device enabling the dual-tone multi-frequency coding function. Frequency sound synthesis signal; when the single frequency sound synthesis signal does not include the single frequency sound synthesis signal generated by the first electronic device opening the dual-tone multi-frequency coding function, the speech signal to be sent is filtered and sent, and the filtering The subsequent speech signal to be sent does not include the single-frequency tone synthesis signal, thereby preventing the first electronic device from receiving a new incoming call during a conversation with the second electronic device and causing interference to the second electronic device. Reduced audio interference during calls.

Description

信号处理方法、装置及电子设备Signal processing method, device and electronic equipment

技术领域technical field

本发明涉及通信技术领域,更具体地说,涉及一种信号处理方法、装置及电子设备。The present invention relates to the technical field of communications, and more specifically, to a signal processing method, device and electronic equipment.

背景技术Background technique

在日常通话的过程中,通常会有这样的现象:假设第一用户和第二用户正在通过手机进行通话,在通话时,第一用户有可能被手机中的“嘟嘟”声干扰,这个“嘟嘟”声有可能是第一用户的手机有新的来电时的提示音,也有可能是其它原因造成的通话干扰。当然,第二用户也有可能会遇到同样的问题。In the process of daily calls, there is usually such a phenomenon: suppose that the first user and the second user are talking through the mobile phone. During the call, the first user may be disturbed by the "beep" sound in the mobile phone. The "beep" sound may be the prompt tone when the first user's mobile phone has a new incoming call, or it may be the call interference caused by other reasons. Of course, the second user may also encounter the same problem.

因此,如何降低通话过程中的音频干扰成为亟待解决的问题。Therefore, how to reduce audio interference during a call becomes an urgent problem to be solved.

发明内容Contents of the invention

本发明的目的是提供一种信号处理方法、装置及电子设备,以降低通话过程中的音频干扰。The purpose of the present invention is to provide a signal processing method, device and electronic equipment to reduce audio interference during a call.

为实现上述目的,本发明提供了如下技术方案:To achieve the above object, the present invention provides the following technical solutions:

一种信号处理方法,应用于第一电子设备,所述第一电子设备可以与第二电子设备进行语音通信,所述方法包括:A signal processing method, applied to a first electronic device, the first electronic device can perform voice communication with a second electronic device, the method comprising:

在第一电子设备和第二电子设备进行语音通信的过程中,检测所述第一电子设备的待发送语音信号中是否包含单频音合成信号;During voice communication between the first electronic device and the second electronic device, detecting whether the voice signal to be sent of the first electronic device includes a single-frequency tone synthesis signal;

当检测到所述第一电子设备的待发送语音信号中包含单频音合成信号时,判断所述单频音合成信号中是否包含所述第一电子设备开启双音多频编码功能所生成的单频音合成信号;When it is detected that the voice signal to be sent by the first electronic device contains a single-frequency tone synthesis signal, it is judged whether the single-frequency tone synthesis signal includes the signal generated by the dual-tone multi-frequency coding function of the first electronic device. Synthetic signal of single frequency tone;

当所述单频音合成信号中未包含所述第一电子设备开启双音多频编码功能所生成的单频音合成信号时,对所述待发送语音信号进行滤波后发送,滤波后的待发送语音信号中不包含所述单频音合成信号。When the single-frequency sound synthesis signal does not include the single-frequency sound synthesis signal generated by the dual-tone multi-frequency coding function of the first electronic device, the speech signal to be sent is filtered and sent, and the filtered speech signal is sent. The transmitted voice signal does not include the single-frequency tone synthesis signal.

上述方法,优选的,所述判断所述单频音合成信号中是否包含所述第一电子设备开启双音多频编码功能所生成的单频音合成信号包括:In the above method, preferably, the judging whether the single-frequency tone synthesis signal includes the single-frequency tone synthesis signal generated by the first electronic device enabling the dual-tone multi-frequency coding function includes:

通过预置的标志位判断所述单频音合成信号中是否包含所述第一电子设备开启双音多频编码功能所生成的单频音合成信号。It is judged by a preset flag bit whether the single-frequency tone synthesis signal includes the single-frequency tone synthesis signal generated by the first electronic device enabling the dual-tone multi-frequency coding function.

上述方法,优选的,当所述预置的标志位被标记为预设值时,确定所述单频音合成信号中包含所述第一电子设备开启双音多频编码功能所生成的单频音合成信号,其中,所述预设值由所述第一电子设备在开启双音多频编码功能生成单频音合成信号时标记。In the above method, preferably, when the preset flag bit is marked as a preset value, it is determined that the single-frequency tone synthesis signal contains the single-frequency tone generated by the first electronic device enabling the dual-tone multi-frequency encoding function. A synthesized tone signal, wherein the preset value is marked by the first electronic device when the dual-tone multi-frequency coding function is turned on to generate a synthesized single-frequency tone signal.

上述方法,优选的,还包括:The above method, preferably, also includes:

当所述单频音合成信号中包含所述第一电子设备开启双音多频编码功能所生成的单频音合成信号时,直接发送所述待发送语音信号。When the single-frequency tone synthesis signal includes the single-frequency tone synthesis signal generated by the dual-tone multi-frequency coding function enabled by the first electronic device, the voice signal to be sent is directly sent.

一种信号处理装置,应用于第一电子设备,所述第一电子设备可以与第二电子设备进行语音通信,所述装置包括:A signal processing device, applied to a first electronic device, where the first electronic device can perform voice communication with a second electronic device, the device comprising:

检测模块,用于在第一电子设备和第二电子设备进行语音通信的过程中,检测所述第一电子设备的待发送语音信号中是否包含单频音合成信号;A detection module, configured to detect whether the voice signal to be sent of the first electronic device includes a single-frequency tone synthesis signal during voice communication between the first electronic device and the second electronic device;

判断模块,用于当所述检测模块检测到所述第一电子设备的待发送语音信号中包含单频音合成信号时,判断所述单频音合成信号中是否包含所述第一电子设备开启双音多频编码功能所生成的单频音合成信号;A judging module, configured to judge whether the single-frequency sound synthesis signal includes the first electronic device being turned on when the detection module detects that the voice signal to be sent by the first electronic device contains a single-frequency sound synthesis signal. Single-frequency tone composite signal generated by dual-tone multi-frequency coding function;

滤波模块,用于当所述判断模块判断出单频音合成信号中未包含所述第一电子设备开启双音多频编码功能所生成的单频音合成信号时,对所述待发送语音信号进行滤波后发送,滤波后的待发送语音信号中不包含所述单频音合成信号。A filtering module, configured to, when the judging module judges that the single-frequency tone synthesis signal does not include the single-frequency tone synthesis signal generated by the first electronic device to enable the dual-tone multi-frequency coding function, perform the speech signal to be sent After filtering, the audio signal to be sent after filtering does not include the single-frequency audio synthesis signal.

上述装置,优选的,所述判断模块包括:In the above device, preferably, the judging module includes:

判断单元,用于通过预置的标志位判断所述单频音合成信号中是否包含所述第一电子设备开启双音多频编码功能所生成的单频音合成信号。The judging unit is configured to judge whether the single-frequency tone composite signal includes the single-frequency tone composite signal generated by the dual-tone multi-frequency coding function enabled by the first electronic device through a preset flag bit.

上述装置,优选的,所述判断单元具体用于,当判断出所述预置的标志位被标记为预设值时,确定所述单频音合成信号中包含所述第一电子设备开启双音多频编码功能所生成的单频音合成信号,其中,所述预设值由所述第一电子设备在开启双音多频编码功能生成单频音合成信号时标记。In the above device, preferably, the judging unit is specifically configured to, when judging that the preset flag bit is marked as a preset value, determine that the single-frequency tone synthesis signal contains The single-frequency tone synthesis signal generated by the tone multi-frequency coding function, wherein the preset value is marked by the first electronic device when the dual-tone multi-frequency coding function is turned on to generate the single-frequency tone synthesis signal.

一种第一电子设备,所述第一电子设备可以与第二电子设备进行语音通信,所述第一电子设备包括处理器和与所述处理器耦合的存储器,所述处理器被配置为:A first electronic device, the first electronic device can perform voice communication with a second electronic device, the first electronic device includes a processor and a memory coupled to the processor, the processor is configured to:

在第一电子设备和第二电子设备进行语音通信的过程中,检测所述第一电子设备的待发送语音信号中是否包含单频音合成信号;During voice communication between the first electronic device and the second electronic device, detecting whether the voice signal to be sent of the first electronic device includes a single-frequency tone synthesis signal;

当检测到所述第一电子设备的待发送语音信号中包含单频音合成信号时,判断所述单频音合成信号中是否包含所述第一电子设备开启双音多频编码功能所生成的单频音合成信号;When it is detected that the voice signal to be sent by the first electronic device contains a single-frequency tone synthesis signal, it is judged whether the single-frequency tone synthesis signal includes the signal generated by the dual-tone multi-frequency coding function of the first electronic device. Synthetic signal of single frequency tone;

当所述单频音合成信号中未包含所述第一电子设备开启双音多频编码功能所生成的单频音合成信号时,对所述待发送语音信号进行滤波后发送,滤波后的待发送语音信号中不包含所述单频音合成信号。When the single-frequency sound synthesis signal does not include the single-frequency sound synthesis signal generated by the dual-tone multi-frequency coding function of the first electronic device, the speech signal to be sent is filtered and sent, and the filtered speech signal is sent. The transmitted voice signal does not include the single-frequency tone synthesis signal.

上述第一电子设备,优选的,被配置为判断所述单频音合成信号中是否包含所述第一电子设备开启双音多频编码功能所生成的单频音合成信号的处理器具体被配置为:The above-mentioned first electronic device, preferably, the processor configured to determine whether the single-frequency tone synthesis signal includes the single-frequency tone synthesis signal generated by the first electronic device enabling the dual-tone multi-frequency coding function is specifically configured for:

通过预置的标志位判断所述单频音合成信号中是否包含所述第一电子设备开启双音多频编码功能所生成的单频音合成信号。It is judged by a preset flag bit whether the single-frequency tone synthesis signal includes the single-frequency tone synthesis signal generated by the first electronic device enabling the dual-tone multi-frequency coding function.

上述第一电子设备,优选的,被配置为通过预置的标志位判断所述单频音合成信号中是否包含所述第一电子设备开启双音多频编码功能所生成的单频音合成信号的处理器具体被配置为:The above-mentioned first electronic device is preferably configured to determine whether the single-frequency tone synthesis signal includes the single-frequency tone synthesis signal generated by the first electronic device enabling the dual-tone multi-frequency encoding function through a preset flag bit The processor is specifically configured as:

当所述预置的标志位被标记为预设值时,确定所述单频音合成信号中包含所述第一电子设备开启双音多频编码功能所生成的单频音合成信号,其中,所述预设值由所述第一电子设备在开启双音多频编码功能生成单频音合成信号时标记。When the preset flag bit is marked as a preset value, it is determined that the single-frequency tone synthesis signal includes the single-frequency tone synthesis signal generated by the first electronic device turning on the dual-tone multi-frequency encoding function, wherein, The preset value is marked by the first electronic device when the dual-tone multi-frequency coding function is turned on to generate a single-frequency tone synthesis signal.

通过以上方案可知,本申请提供的一种信号处理方法、装置及电子设备,当第一电子设备和第二电子设备进行语音通信的过程中,检测第一电子设备的待发送语音信号中是否包含单频音合成信号,当检测到所述第一电子设备的待发送语音信号中包含单频音合成信号时,判断所述单频音合成信号中是否包含所述第一电子设备开启双音多频编码功能所生成的单频音合成信号;当所述单频音合成信号中未包含所述第一电子设备开启双音多频编码功能所生成的单频音合成信号时,对所述待发送语音信号进行滤波后发送,滤波后的待发送语音信号中不包含所述单频音合成信号,从而避免第一电子设备在与第二电子设备进行通话的过程中接收到新的来电而对第二电子设备造成干扰。降低了通话过程的音频干扰。From the above solutions, it can be known that the signal processing method, device and electronic equipment provided by the present application detect whether the voice signal to be sent by the first electronic equipment contains A single-frequency tone synthesis signal, when it is detected that the voice signal to be sent by the first electronic device contains a single-frequency tone synthesis signal, it is judged whether the single-frequency tone synthesis signal includes the dual-tone multi-tone signal activated by the first electronic device. The single-frequency tone synthesis signal generated by the frequency encoding function; when the single-frequency tone synthesis signal generated by the dual-tone multi-frequency encoding function of the first electronic device is not included in the single-frequency tone synthesis signal, the to-be The transmitted voice signal is filtered and then sent, and the filtered voice signal to be transmitted does not include the single-frequency tone synthesis signal, thereby preventing the first electronic device from receiving a new incoming call during the conversation with the second electronic device. The second electronic device is causing interference. Reduced audio interference during calls.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.

图1为本申请实施例提供的信号处理方法的应用示例图;Fig. 1 is an application example diagram of the signal processing method provided by the embodiment of the present application;

图2为本申请实施例提供的信号处理方法的一种实现流程图;FIG. 2 is a flow chart of an implementation of a signal processing method provided in an embodiment of the present application;

图3为本申请实施例提供的信号处理装置的一种结构示意图;FIG. 3 is a schematic structural diagram of a signal processing device provided in an embodiment of the present application;

图4为本申请实施例提供的判断模块的一种结构示意图。FIG. 4 is a schematic structural diagram of a judging module provided in an embodiment of the present application.

说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”“第四”等(如果存在)是用于区别类似的部分,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例能够以除了在这里图示的以外的顺序实施。The terms "first", "second", "third", "fourth", etc., if any, in the description and claims and the above drawings are used to distinguish similar parts and not necessarily to describe specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the application described herein can be practiced in sequences other than those illustrated herein.

具体实施方式detailed description

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

为了更好的说明本发明实施例,下面结合具体的应用场景对本发明实例进行说明。请参阅图1,图1为本申请实施例提供的信号处理方法的一种应用示例图。In order to better illustrate the embodiments of the present invention, examples of the present invention will be described below in conjunction with specific application scenarios. Please refer to FIG. 1 . FIG. 1 is an application example diagram of the signal processing method provided by the embodiment of the present application.

发明人研究发现,目前,当第一电子设备和第二电子设备建立通话链接,即两个用户在通过第一电子设备和第二电子设备进行通话时,若第一电子设备又接收到第三电子设备的通话请求,即第一电子设备又有新的来电,第一电子设备会有“嘟嘟”的提示音提示有新的来电,这种“嘟嘟”音有可能会通过第一电子设备的麦克混入通话的上行数据(即第一电子设备向基站发送的信号)中传输到第二电子设备,使得第二电子设备的用户也会听到“嘟嘟”音,对通话中的第二电子设备来说,就形成了通话的干扰音频,影响第二电子设备的用户的通话体验。基于此,本发明实施例提供一种信号处理方法,应用于第一电子设备,对第一电子设备的上行数据进行滤波,以滤除第一电子设备中的上行数据中的非DTMF单频音合成信号,以降低第二电子设备受到的音频干扰。The inventor found that, at present, when the first electronic device and the second electronic device establish a call link, that is, when two users are talking through the first electronic device and the second electronic device, if the first electronic device receives the third The call request of the electronic device, that is, the first electronic device has a new call, the first electronic device will have a "beep" prompt tone to indicate that there is a new call, and this "beep" sound may pass through the first electronic device. The microphone of the device is mixed into the uplink data of the call (that is, the signal sent by the first electronic device to the base station) and transmitted to the second electronic device, so that the user of the second electronic device will also hear the "beep" sound, and the second electronic device in the call As far as the second electronic device is concerned, the interference audio of the call is formed, which affects the call experience of the user of the second electronic device. Based on this, an embodiment of the present invention provides a signal processing method, which is applied to the first electronic device, and filters the uplink data of the first electronic device, so as to filter out non-DTMF single-frequency tones in the uplink data of the first electronic device The signal is synthesized to reduce audio interference to the second electronic device.

相参阅图2,图2为本发明实施例提供的信号处理方法的一种实现流程图,可以包括:Referring to FIG. 2, FIG. 2 is an implementation flow chart of a signal processing method provided by an embodiment of the present invention, which may include:

步骤S21:在第一电子设备和第二电子设备进行语音通信的过程中,检测所述第一电子设备的待发送语音信号中是否包含单频音合成信号;Step S21: During the process of voice communication between the first electronic device and the second electronic device, detect whether the voice signal to be sent by the first electronic device contains a single-frequency tone synthesis signal;

本发明实施例中,待发送语音信号即第一电子设备将要向第二电子设备发送的语音信号。In the embodiment of the present invention, the voice signal to be sent is the voice signal that the first electronic device will send to the second electronic device.

通常,“嘟嘟”的提示音会采用双音多频(DualToneMultiFrequency,DTMF)信号,而双音多频信号是由一个高频信号和一个低频信号叠加组成一个组合信号,即单频音合成信号。Usually, the prompt tone of "beep" will use Dual Tone Multi-Frequency (DTMF) signal, and DTMF signal is composed of a high-frequency signal and a low-frequency signal superimposed to form a composite signal, that is, a single-frequency tone composite signal .

可以通过检测待发送语音信号的频率分量判断是否包含单频音合成信号,即如果待发送语音信号中包含特定频率的语音信号,则可以确定待发送语音信号中包含单频音合成信号。It can be judged whether the speech signal to be sent contains a single-frequency tone synthesis signal by detecting the frequency component of the speech signal to be sent, that is, if the speech signal to be sent contains a speech signal of a specific frequency, it can be determined that the speech signal to be sent contains a single-frequency tone synthesis signal.

步骤S22:当检测到所述第一电子设备的待发送语音信号中包含单频音合成信号时,判断所述单频音合成信号中是否包含所述第一电子设备开启双音多频编码功能所生成的单频音合成信号;Step S22: When it is detected that the voice signal to be sent by the first electronic device contains a single-frequency tone synthesis signal, determine whether the single-frequency tone synthesis signal includes the dual-tone multi-frequency encoding function of the first electronic device The generated single-frequency tone composite signal;

如果检测到第一电子设备的待发送语音信号中包含单频音合成信号,继续判断所包含的单频音合成信号中是否包含第一电子设备开启双音多频功能生成的单频音合成信号。If it is detected that the voice signal to be sent by the first electronic device includes a single-frequency tone synthesis signal, continue to judge whether the included single-frequency tone synthesis signal includes the single-frequency tone synthesis signal generated by the first electronic device turning on the dual-tone multi-frequency function .

步骤S23:当所述单频音合成信号中未包含所述第一电子设备开启双音多频编码功能所生成的单频音合成信号时,对所述待发送语音信号进行滤波后发送,滤波后的待发送语音信号中不包含所述单频音合成信号。Step S23: When the single-frequency tone synthesis signal does not include the single-frequency tone synthesis signal generated by the first electronic device with the dual-tone multi-frequency coding function enabled, filter the speech signal to be sent and then send it. The subsequent speech signal to be sent does not include the single-frequency tone synthesis signal.

本发明实施例中,当所述单频音合成信号中未包含所述第一电子设备开启双音多频编码功能所生成的单频音合成信号时,对待发送语音信号进行滤波,以滤除待发送语音信号中的单频音合成信号。In the embodiment of the present invention, when the single-frequency tone synthesis signal does not include the single-frequency tone synthesis signal generated by the first electronic device enabling the dual-tone multi-frequency coding function, the speech signal to be sent is filtered to filter out The single-frequency tone synthesis signal in the speech signal to be sent.

第一电子设备与第二电子设备在进行通话的过程中,有可能第一电子设备也开启了双音多频功能,因此,第一电子设备的待发送语音信号中有可能还包括由于第一电子设备开启双音多频功能发送的单频音信号,因此,为了避免对第一电子设备的双音多频功能造成影响,本发明实施例中,如果检测到待发送语音信号中的单频音合成信号中不包含第一电子设备开启双音多频编码功能所生成的单频音合成信号时,再对待发送语音信号进行滤波,从而滤除第一电子设备从麦克收集到的单频音合成信号,降低对第二电子设备的音频干扰。During the conversation between the first electronic device and the second electronic device, it is possible that the first electronic device also turns on the dual-tone multi-frequency function. Therefore, the voice signal to be sent by the first electronic device may also include The electronic device turns on the single-frequency tone signal sent by the dual-tone multi-frequency function. Therefore, in order to avoid affecting the dual-tone multi-frequency function of the first electronic device, in the embodiment of the present invention, if the single-frequency tone signal in the voice signal to be sent is detected When the audio synthesis signal does not include the single-frequency audio synthesis signal generated by the dual-tone multi-frequency encoding function of the first electronic device, the speech signal to be sent is filtered, thereby filtering out the single-frequency audio collected by the first electronic device from the microphone. Synthesize the signal to reduce audio interference to the second electronic device.

与现有技术中直接向第二电子设备发送语音信号不同,本发明实施例中,在第一电子设备和第二电子设备进行语音通信的过程中,在发送语音信号前,检测第一电子设备的待发送语音信号中是否包含单频音合成信号,当检测到所述第一电子设备的待发送语音信号中包含单频音合成信号时,判断所述单频音合成信号中是否包含所述第一电子设备开启双音多频编码功能所生成的单频音合成信号;当所述单频音合成信号中未包含所述第一电子设备开启双音多频编码功能所生成的单频音合成信号时,对所述待发送语音信号进行滤波后发送,滤波后的待发送语音信号中不包含所述单频音合成信号,从而避免第一电子设备在与第二电子设备进行通话的过程中接收到新的来电而对第二电子设备造成干扰。降低了通话过程中对第二电子设备的音频干扰。Different from sending voice signals directly to the second electronic device in the prior art, in the embodiment of the present invention, in the process of voice communication between the first electronic device and the second electronic device, before sending the voice signal, the first electronic device detects Whether the voice signal to be sent of the first electronic device contains a single-frequency tone synthesis signal, and when it is detected that the voice signal to be sent of the first electronic device contains a single-frequency tone synthesis signal, it is judged whether the single-frequency tone synthesis signal contains the The first electronic device turns on the single-frequency tone synthesis signal generated by the dual-tone multi-frequency coding function; When synthesizing the signal, the speech signal to be sent is filtered and then sent, and the filtered speech signal to be sent does not include the single-frequency sound synthesis signal, thereby avoiding the process of the first electronic device talking to the second electronic device Interference is caused to the second electronic device when a new incoming call is received. Audio interference to the second electronic device during a call is reduced.

上述实施例中,可选的,所述判断所述单频音合成信号中是否包含所述第一电子设备开启双音多频编码功能所生成的单频音合成信号可以包括:In the above embodiment, optionally, the judging whether the single-frequency tone synthesis signal includes the single-frequency tone synthesis signal generated by the first electronic device enabling the dual-tone multi-frequency coding function may include:

通过预置的标志位判断所述单频音合成信号中是否包含所述第一电子设备开启双音多频编码功能所生成的单频音合成信号。It is judged by a preset flag bit whether the single-frequency tone synthesis signal includes the single-frequency tone synthesis signal generated by the first electronic device enabling the dual-tone multi-frequency coding function.

本发明实施例中,可以设置用于标示第一电子设备的双音多频功能是否开启的标志位。在第一电子设备开启双音多频功能时,对所述预置的标志位进行赋值标记,以标示第一电子设备开启了双音多频功能。In the embodiment of the present invention, a flag bit for indicating whether the DTMF function of the first electronic device is enabled may be set. When the first electronic device activates the dual-tone multi-frequency function, it assigns a value to the preset flag to indicate that the first electronic device activates the dual-tone multi-frequency function.

具体的,可以当所述预置的标志位被标记为预设值时,确定所述单频音合成信号中包含所述第一电子设备开启双音多频编码功能所生成的单频音合成信号,其中,所述预设值由所述第一电子设备在开启双音多频编码功能生成单频音合成信号时标记。Specifically, when the preset flag bit is marked as a preset value, it can be determined that the single-frequency tone synthesis signal includes the single-frequency tone synthesis signal generated by the first electronic device enabling the dual-tone multi-frequency encoding function. signal, wherein the preset value is marked by the first electronic device when the dual-tone multi-frequency coding function is turned on to generate a single-frequency tone synthesis signal.

可选的,当所述单频音合成信号中包含所述第一电子设备开启双音多频编码功能所生成的单频音合成信号时,直接发送所述待发送语音信号。Optionally, when the single-frequency tone synthesis signal includes the single-frequency tone synthesis signal generated by the dual-tone multi-frequency coding function enabled by the first electronic device, the voice signal to be sent is directly sent.

也就是说,在检测到第一电子设备的待发送语音信号中包含单音频合成信号后,如果说所述单音频合成信号中包括由于第一电子设备开启双音多频编码功能所生成的单频音合成信号,则不对待发送语音信号进行滤波,而是直接发送所述待发送语音信号,以免影响第一电子设备的双音多频功能。That is to say, after detecting that the voice signal to be sent by the first electronic device contains a single-tone composite signal, if the single-tone composite signal includes the single-tone If the audio-frequency synthesized signal is used, the voice signal to be sent is not filtered, but the voice signal to be sent is directly sent, so as not to affect the DTMF function of the first electronic device.

与方法实施例相对应,本发明实施例还提供一种信号处理装置,本发明实施例提供的信号处理装置的一种结构示意图如图3所示,可以包括:Corresponding to the method embodiment, the embodiment of the present invention also provides a signal processing device. A schematic structural diagram of the signal processing device provided in the embodiment of the present invention is shown in Figure 3, which may include:

检测模块31,判断模块32和滤波模块33;其中,Detection module 31, judgment module 32 and filter module 33; Wherein,

检测模块31用于在第一电子设备和第二电子设备进行语音通信的过程中,检测所述第一电子设备的待发送语音信号中是否包含单频音合成信号;The detection module 31 is used to detect whether the voice signal to be sent of the first electronic device contains a single-frequency tone synthesis signal during the voice communication between the first electronic device and the second electronic device;

本发明实施例中,待发送语音信号即第一电子设备将要向第二电子设备发送的语音信号。In the embodiment of the present invention, the voice signal to be sent is the voice signal that the first electronic device will send to the second electronic device.

通常,“嘟嘟”的提示音会采用双音多频(DualToneMultiFrequency,DTMF)信号,而双音多频信号是由一个高频信号和一个低频信号叠加组成一个组合信号,即单频音合成信号。Usually, the prompt tone of "beep" will use Dual Tone Multi-Frequency (DTMF) signal, and DTMF signal is composed of a high-frequency signal and a low-frequency signal superimposed to form a composite signal, that is, a single-frequency tone composite signal .

可以通过检测待发送语音信号的频率分量判断是否包含单频音合成信号,即如果待发送语音信号中包含特定频率的语音信号,则可以确定待发送语音信号中包含单频音合成信号。It can be judged whether the speech signal to be sent contains a single-frequency tone synthesis signal by detecting the frequency component of the speech signal to be sent, that is, if the speech signal to be sent contains a speech signal of a specific frequency, it can be determined that the speech signal to be sent contains a single-frequency tone synthesis signal.

判断模块32用于当所述检测模块检测到所述第一电子设备的待发送语音信号中包含单频音合成信号时,判断所述单频音合成信号中是否包含所述第一电子设备开启双音多频编码功能所生成的单频音合成信号;The judging module 32 is used for judging whether the single-frequency sound synthesis signal contains the first electronic device's turn-on signal when the detection module detects that the voice signal to be sent by the first electronic device contains a single-frequency sound synthesis signal. Single-frequency tone composite signal generated by dual-tone multi-frequency coding function;

如果检测到第一电子设备的待发送语音信号中包含单频音合成信号,继续判断所包含的单频音合成信号中是否包含第一电子设备开启双音多频功能生成的单频音合成信号。If it is detected that the voice signal to be sent by the first electronic device includes a single-frequency tone synthesis signal, continue to judge whether the included single-frequency tone synthesis signal includes the single-frequency tone synthesis signal generated by the first electronic device turning on the dual-tone multi-frequency function .

滤波模块33用于当所述判断模块判断出单频音合成信号中未包含所述第一电子设备开启双音多频编码功能所生成的单频音合成信号时,对所述待发送语音信号进行滤波后发送,滤波后的待发送语音信号中不包含所述单频音合成信号。The filter module 33 is used for when the judgment module judges that the single-frequency tone synthesis signal does not include the single-frequency tone synthesis signal generated by the first electronic device enabling the dual-tone multi-frequency coding function, and the voice signal to be sent After filtering, the audio signal to be sent after filtering does not include the single-frequency audio synthesis signal.

本发明实施例中,当所述单频音合成信号中未包含所述第一电子设备开启双音多频编码功能所生成的单频音合成信号时,对待发送语音信号进行滤波,以滤除待发送语音信号中的单频音合成信号。In the embodiment of the present invention, when the single-frequency tone synthesis signal does not include the single-frequency tone synthesis signal generated by the first electronic device enabling the dual-tone multi-frequency coding function, the speech signal to be sent is filtered to filter out The single-frequency tone synthesis signal in the speech signal to be sent.

第一电子设备与第二电子设备在进行通话的过程中,有可能第一电子设备也开启了双音多频功能,因此,第一电子设备的待发送语音信号中有可能还包括由于第一电子设备开启双音多频功能发送的单频音信号,因此,为了避免对第一电子设备的双音多频功能造成影响,本发明实施例中,如果检测到待发送语音信号中的单频音合成信号中不包含第一电子设备开启双音多频编码功能所生成的单频音合成信号时,再对待发送语音信号进行滤波,从而滤除第一电子设备从麦克收集到的单频音合成信号,降低对第二电子设备的音频干扰。During the conversation between the first electronic device and the second electronic device, it is possible that the first electronic device also turns on the dual-tone multi-frequency function. Therefore, the voice signal to be sent by the first electronic device may also include The electronic device turns on the single-frequency tone signal sent by the dual-tone multi-frequency function. Therefore, in order to avoid affecting the dual-tone multi-frequency function of the first electronic device, in the embodiment of the present invention, if the single-frequency tone signal in the voice signal to be sent is detected When the audio synthesis signal does not include the single-frequency audio synthesis signal generated by the dual-tone multi-frequency encoding function of the first electronic device, the speech signal to be sent is filtered, thereby filtering out the single-frequency audio collected by the first electronic device from the microphone. Synthesize the signal to reduce audio interference to the second electronic device.

与现有技术中直接向第二电子设备发送语音信号不同,本发明实施例中,在第一电子设备和第二电子设备进行语音通信的过程中,在发送语音信号前,检测模块检测第一电子设备的待发送语音信号中是否包含单频音合成信号,当检测到所述第一电子设备的待发送语音信号中包含单频音合成信号时,判断模块判断所述单频音合成信号中是否包含所述第一电子设备开启双音多频编码功能所生成的单频音合成信号;当所述单频音合成信号中未包含所述第一电子设备开启双音多频编码功能所生成的单频音合成信号时,滤波模块对所述待发送语音信号进行滤波,滤波后的待发送语音信号中不包含所述单频音合成信号,从而避免第一电子设备在与第二电子设备进行通话的过程中接收到新的来电而对第二电子设备造成干扰。降低了通话过程的音频干扰。Different from sending voice signals directly to the second electronic device in the prior art, in the embodiment of the present invention, in the process of voice communication between the first electronic device and the second electronic device, before sending the voice signal, the detection module detects the first Whether the voice signal to be sent by the electronic device contains a single-frequency tone synthesis signal, when it is detected that the voice signal to be sent by the first electronic device contains a single-frequency tone synthesis signal, the judging module determines whether the single-frequency tone synthesis signal Whether it includes the single-frequency tone synthesis signal generated by the first electronic device enabling the dual-tone multi-frequency encoding function; when the single-frequency tone synthesis signal does not include the first electronic device. When the single-frequency tone synthesis signal is obtained, the filtering module filters the speech signal to be sent, and the filtered speech signal to be sent does not include the single-frequency tone synthesis signal, thereby preventing the first electronic device from being in contact with the second electronic device A new incoming call is received during a call and causes interference to the second electronic device. Reduced audio interference during calls.

可选的,判断模块32的一种结构示意图如图4所示,可以包括:Optionally, a schematic structural diagram of the judging module 32 is shown in FIG. 4, which may include:

判断单元41,用于通过预置的标志位判断所述单频音合成信号中是否包含所述第一电子设备开启双音多频编码功能所生成的单频音合成信号。The judging unit 41 is configured to judge whether the synthesized single-frequency tone signal includes a synthesized single-frequency tone signal generated by the first electronic device with a dual-tone multi-frequency encoding function enabled by using a preset flag bit.

本发明实施例中,可以设置用于标示第一电子设备的双音多频功能是否开启的标志位。在第一电子设备开启双音多频功能时,对所述预置的标志位进行赋值标记,以标示第一电子设备开启了双音多频功能。In the embodiment of the present invention, a flag bit for indicating whether the DTMF function of the first electronic device is enabled may be set. When the first electronic device activates the dual-tone multi-frequency function, it assigns a value to the preset flag to indicate that the first electronic device activates the dual-tone multi-frequency function.

具体的,所述判断单元41具体用于,当判断出所述预置的标志位被标记为预设值时,确定所述单频音合成信号中包含所述第一电子设备开启双音多频编码功能所生成的单频音合成信号,其中,所述预设值由所述第一电子设备在开启双音多频编码功能生成单频音合成信号时标记。Specifically, the judging unit 41 is specifically configured to, when judging that the preset flag bit is marked as a preset value, determine that the single-frequency tone synthesis signal includes The single-frequency tone synthesis signal generated by the frequency encoding function, wherein the preset value is marked by the first electronic device when the dual-tone multi-frequency encoding function is turned on to generate the single-frequency tone synthesis signal.

可选的,所述滤波模块33具体还用于,当所述单频音合成信号中包含所述第一电子设备开启双音多频编码功能所生成的单频音合成信号时,不对待发送语音信号进行滤波,而是直接将待发送语音信号转发出去,以免影响第一电子设备的双音多频功能。Optionally, the filtering module 33 is specifically further configured to, when the single-frequency tone synthesis signal includes the single-frequency tone synthesis signal generated by the dual-tone multi-frequency coding function enabled by the first electronic device, not to be sent The voice signal is filtered, but the voice signal to be sent is directly forwarded, so as not to affect the DTMF function of the first electronic device.

需要说明的是,本发明实施例提供的上述信号处理方法及装置,也可以应用于第二电子设备中,从而避免第二电子设备在与第一电子设备进行通话的过程中接收到新的来电而对第一电子设备造成干扰。降低了通话过程中对第一电子设备的音频干扰。It should be noted that the above-mentioned signal processing method and device provided by the embodiments of the present invention can also be applied to the second electronic device, so as to prevent the second electronic device from receiving a new call during the conversation with the first electronic device and cause interference to the first electronic device. Audio interference to the first electronic device during a call is reduced.

本发明实施例还提供一种第一电子设备,该第一电子设备可以与第二电子设备进行语音通信,所述第一电子设备包括处理器和与所述处理器耦合的存储器,其中,所述处理器被配置为:An embodiment of the present invention also provides a first electronic device capable of voice communication with a second electronic device, the first electronic device includes a processor and a memory coupled to the processor, wherein the The processor is configured as:

在第一电子设备和第二电子设备进行语音通信的过程中,检测所述第一电子设备的待发送语音信号中是否包含单频音合成信号;During voice communication between the first electronic device and the second electronic device, detecting whether the voice signal to be sent of the first electronic device includes a single-frequency tone synthesis signal;

当检测到所述第一电子设备的待发送语音信号中包含单频音合成信号时,判断所述单频音合成信号中是否包含所述第一电子设备开启双音多频编码功能所生成的单频音合成信号;When it is detected that the voice signal to be sent by the first electronic device contains a single-frequency tone synthesis signal, it is judged whether the single-frequency tone synthesis signal includes the signal generated by the dual-tone multi-frequency coding function of the first electronic device. Synthetic signal of single frequency tone;

当所述单频音合成信号中未包含所述第一电子设备开启双音多频编码功能所生成的单频音合成信号时,对所述待发送语音信号进行滤波后发送,滤波后的待发送语音信号中不包含所述单频音合成信号。When the single-frequency sound synthesis signal does not include the single-frequency sound synthesis signal generated by the dual-tone multi-frequency coding function of the first electronic device, the speech signal to be sent is filtered and sent, and the filtered speech signal is sent. The transmitted voice signal does not include the single-frequency tone synthesis signal.

可选的,被配置为判断所述单频音合成信号中是否包含所述第一电子设备开启双音多频编码功能所生成的单频音合成信号的处理器具体被配置为:Optionally, the processor configured to determine whether the single-frequency tone synthesis signal includes the single-frequency tone synthesis signal generated by the first electronic device enabling the dual-tone multi-frequency coding function is specifically configured to:

通过预置的标志位判断所述单频音合成信号中是否包含所述第一电子设备开启双音多频编码功能所生成的单频音合成信号。It is judged by a preset flag bit whether the single-frequency tone synthesis signal includes the single-frequency tone synthesis signal generated by the first electronic device enabling the dual-tone multi-frequency coding function.

可选的,被配置为通过预置的标志位判断所述单频音合成信号中是否包含所述第一电子设备开启双音多频编码功能所生成的单频音合成信号的处理器具体被配置为:Optionally, the processor configured to determine whether the single-frequency tone synthesis signal includes the single-frequency tone synthesis signal generated by the first electronic device enabling the dual-tone multi-frequency coding function through a preset flag bit is specifically configured by Configured as:

当所述预置的标志位被标记为预设值时,确定所述单频音合成信号中包含所述第一电子设备开启双音多频编码功能所生成的单频音合成信号,其中,所述预设值由所述第一电子设备在开启双音多频编码功能生成单频音合成信号时标记。When the preset flag bit is marked as a preset value, it is determined that the single-frequency tone synthesis signal includes the single-frequency tone synthesis signal generated by the first electronic device turning on the dual-tone multi-frequency encoding function, wherein, The preset value is marked by the first electronic device when the dual-tone multi-frequency coding function is turned on to generate a single-frequency tone synthesis signal.

可选的,被配置为当所述单频音合成信号中未包含所述第一电子设备开启双音多频编码功能所生成的单频音合成信号时,对所述待发送语音信号进行滤波后发送的处理器进一步被配置为:Optionally, it is configured to filter the voice signal to be sent when the single-frequency tone synthesis signal does not contain the single-frequency tone synthesis signal generated by the first electronic device turning on the dual-tone multi-frequency coding function The post-send handler is further configured as:

当所述单频音合成信号中包含所述第一电子设备开启双音多频编码功能所生成的单频音合成信号时,直接发送所述待发送语音信号。When the single-frequency tone synthesis signal includes the single-frequency tone synthesis signal generated by the dual-tone multi-frequency coding function enabled by the first electronic device, the voice signal to be sent is directly sent.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统(若存在)、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system (if it exists), the device and the unit can refer to the corresponding process in the foregoing method embodiment, which is not repeated here. repeat.

在本申请所提供的几个实施例中,应该理解到,所揭露的系统(若存在)、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system (if any), device and method can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.

所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-OnlyMemory)、随机存取存储器(RAM,RandomAccessMemory)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-OnlyMemory), random access memory (RAM, RandomAccessMemory), magnetic disk or optical disk and other media that can store program codes.

对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本发明。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下,在其它实施例中实现。因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention will not be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A signal processing method applied to a first electronic device, wherein the first electronic device can perform voice communication with a second electronic device, the method comprising:
detecting whether a voice signal to be sent of the first electronic device contains a single-frequency tone synthesis signal or not in the process of carrying out voice communication between the first electronic device and the second electronic device;
when detecting that a voice signal to be sent of the first electronic device contains a single-frequency tone synthesis signal, judging whether the single-frequency tone synthesis signal contains a single-frequency tone synthesis signal generated by starting a dual-tone multi-frequency coding function of the first electronic device;
and when the single-frequency sound synthetic signal generated by the first electronic equipment starting the dual-tone multi-frequency coding function is not contained in the single-frequency sound synthetic signal, the voice signal to be sent is sent after being filtered, and the filtered voice signal to be sent does not contain the single-frequency sound synthetic signal.
2. The method of claim 1, wherein the determining whether the single-tone synthesized signal includes a single-tone synthesized signal generated by the first electronic device turning on dual-tone multi-frequency coding function comprises:
and judging whether the single-frequency tone synthesis signal contains a single-frequency tone synthesis signal generated by starting a dual-tone multi-frequency coding function of the first electronic equipment or not through a preset zone bit.
3. The method according to claim 2, wherein it is determined that the single-frequency tone synthesized signal generated by the first electronic device turning on the dual-tone multi-frequency coding function is included in the single-frequency tone synthesized signal when the preset flag is marked as a preset value, wherein the preset value is marked by the first electronic device when the dual-tone multi-frequency coding function is turned on to generate the single-frequency tone synthesized signal.
4. The method of claim 1, further comprising:
and when the single-frequency tone synthesis signal contains the single-frequency tone synthesis signal generated by the first electronic equipment starting the dual-tone multi-frequency coding function, directly sending the voice signal to be sent.
5. A signal processing apparatus applied to a first electronic device, the first electronic device being capable of performing voice communication with a second electronic device, the apparatus comprising:
the detection module is configured to detect whether a to-be-sent voice signal of the first electronic device includes a single-frequency tone synthesis signal in a process of performing voice communication between the first electronic device and the second electronic device;
the judging module is used for judging whether the single-frequency tone synthesis signal contains a single-frequency tone synthesis signal generated by the first electronic device starting a dual-tone multi-frequency coding function or not when the detecting module detects that the voice signal to be sent of the first electronic device contains the single-frequency tone synthesis signal;
and the filtering module is used for filtering and then transmitting the voice signal to be transmitted when the judging module judges that the single-frequency sound synthetic signal generated by the first electronic equipment starting the dual-tone multi-frequency coding function is not contained in the single-frequency sound synthetic signal, and the filtered voice signal to be transmitted does not contain the single-frequency sound synthetic signal.
6. The apparatus of claim 5, wherein the determining module comprises:
and the judging unit is used for judging whether the single-frequency sound synthetic signal contains the single-frequency sound synthetic signal generated by the first electronic equipment starting dual-tone multi-frequency coding function through a preset zone bit.
7. The apparatus according to claim 6, wherein the determining unit is specifically configured to determine that the single-frequency tone synthesized signal includes a single-frequency tone synthesized signal generated by the first electronic device turning on a dual-tone multi-frequency coding function when it is determined that the preset flag is marked as a preset value, where the preset value is marked by the first electronic device when the dual-tone multi-frequency coding function is turned on to generate the single-frequency tone synthesized signal.
8. A first electronic device that is capable of voice communication with a second electronic device, the first electronic device comprising a processor and a memory coupled to the processor, the processor configured to:
detecting whether a voice signal to be sent of the first electronic device contains a single-frequency tone synthesis signal or not in the process of carrying out voice communication between the first electronic device and the second electronic device;
when detecting that a voice signal to be sent of the first electronic device contains a single-frequency tone synthesis signal, judging whether the single-frequency tone synthesis signal contains a single-frequency tone synthesis signal generated by starting a dual-tone multi-frequency coding function of the first electronic device;
and when the single-frequency sound synthetic signal generated by the first electronic equipment starting the dual-tone multi-frequency coding function is not contained in the single-frequency sound synthetic signal, the voice signal to be sent is sent after being filtered, and the filtered voice signal to be sent does not contain the single-frequency sound synthetic signal.
9. The first electronic device of claim 8, wherein the processing means configured to determine whether the single-tone synthesized signal contains a single-tone synthesized signal generated by the first electronic device turning on dual-tone multi-frequency encoding is configured to:
and judging whether the single-frequency tone synthesis signal contains a single-frequency tone synthesis signal generated by starting a dual-tone multi-frequency coding function of the first electronic equipment or not through a preset zone bit.
10. The first electronic device of claim 9, wherein the processor configured to determine whether the single-frequency tone composite signal contains a single-frequency tone composite signal generated by the first electronic device turning on dual-tone multi-frequency coding function according to a preset flag bit is configured to:
when the preset flag bit is marked as a preset value, determining that the single-frequency tone synthesis signal contains a single-frequency tone synthesis signal generated by the first electronic device when the dual-tone multi-frequency coding function is started, wherein the preset value is marked by the first electronic device when the dual-tone multi-frequency coding function is started to generate the single-frequency tone synthesis signal.
CN201510253309.6A 2015-05-18 2015-05-18 Signal processing method and device and electronic equipment Active CN105654962B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510253309.6A CN105654962B (en) 2015-05-18 2015-05-18 Signal processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510253309.6A CN105654962B (en) 2015-05-18 2015-05-18 Signal processing method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN105654962A true CN105654962A (en) 2016-06-08
CN105654962B CN105654962B (en) 2020-01-10

Family

ID=56482120

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510253309.6A Active CN105654962B (en) 2015-05-18 2015-05-18 Signal processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN105654962B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108133712A (en) * 2016-11-30 2018-06-08 华为技术有限公司 A kind of method and apparatus for handling audio data
TWI663595B (en) * 2017-05-31 2019-06-21 新加坡商雲網科技新加坡有限公司 Device and method for filtering anti-voice interference and non-transitory storage medium
TWI672693B (en) * 2017-05-10 2019-09-21 英商思睿邏輯國際半導體有限公司 Combined reference signal for acoustic echo cancellation

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1816164A (en) * 2005-02-04 2006-08-09 华为技术有限公司 Anti-noise method for multi-frequency signal sound detection
US20070263842A1 (en) * 2006-03-06 2007-11-15 Freescale Semiconductor Inc. Enhanced tone detector including adaptive multi-bandpass filter for tone detection and enhancement
CN201323602Y (en) * 2008-11-27 2009-10-07 深圳华为通信技术有限公司 Device for processing voice and data card and communication device thereof
CN101668090A (en) * 2008-09-05 2010-03-10 华为技术有限公司 Text telephone detection method and device, and outbound detection system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1816164A (en) * 2005-02-04 2006-08-09 华为技术有限公司 Anti-noise method for multi-frequency signal sound detection
US20070263842A1 (en) * 2006-03-06 2007-11-15 Freescale Semiconductor Inc. Enhanced tone detector including adaptive multi-bandpass filter for tone detection and enhancement
CN101668090A (en) * 2008-09-05 2010-03-10 华为技术有限公司 Text telephone detection method and device, and outbound detection system
CN201323602Y (en) * 2008-11-27 2009-10-07 深圳华为通信技术有限公司 Device for processing voice and data card and communication device thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108133712A (en) * 2016-11-30 2018-06-08 华为技术有限公司 A kind of method and apparatus for handling audio data
TWI672693B (en) * 2017-05-10 2019-09-21 英商思睿邏輯國際半導體有限公司 Combined reference signal for acoustic echo cancellation
TWI663595B (en) * 2017-05-31 2019-06-21 新加坡商雲網科技新加坡有限公司 Device and method for filtering anti-voice interference and non-transitory storage medium

Also Published As

Publication number Publication date
CN105654962B (en) 2020-01-10

Similar Documents

Publication Publication Date Title
US10553235B2 (en) Transparent near-end user control over far-end speech enhancement processing
US10051099B2 (en) Method for switching working mode of headphone and headphone
KR101626438B1 (en) Method, device, and system for audio data processing
CN102158597B (en) A kind of electromagnetic radiation prompting system for communication terminal and method
CN105657110B (en) Echo cancellation method and device for voice communication
JP2017538341A (en) Volume control method, system, device and program
CN107360332B (en) Call state display method and device, mobile terminal and storage medium
CN109151211B (en) Voice processing method and device and electronic equipment
WO2013107307A1 (en) Noise reduction method and device
US20180096693A1 (en) Audio communication method and apparatus
WO2014154077A1 (en) Call ending method, device and mobile terminal
JP6381062B2 (en) Method and device for processing audio signals for communication devices
CN105654962B (en) Signal processing method and device and electronic equipment
CN106849976A (en) Echo cancel method and communication terminal during a kind of hand-free call
JP2011507335A (en) Music on hold end user control
CN105516439A (en) Telephone answering method, telephone hanging up method, and terminal
CN105681973A (en) Sound channel switching method and switching system of mobile terminal
CN105551491A (en) Voice recognition method and device
TWI624183B (en) Method of processing telephone voice and computer program thereof
CN110933710B (en) Voice communication control method and system
CN104333660A (en) Mobile phone hang-up reminding method and device
CN108154886A (en) Noise suppression method and apparatus, electronic apparatus, and computer-readable storage medium
WO2016179961A1 (en) Incoming call processing method and apparatus for mobile terminal, mobile terminal and storage medium
CN105450880A (en) Speech signal processing method and speech signal processing device
CN104270529B (en) Non-real-time message reminding method and device and mobile device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20250120

Address after: No. 138, Gaoxin South 7th Road, Gaoxin Community, Yuehai Street, Nanshan District, Shenzhen City, Guangdong Province, 518000. West side of Phase I of Huiheng Building, 359

Patentee after: Shenzhen Hongteng Electronic Trading Co.,Ltd.

Country or region after: China

Address before: 518057 Guangdong Province Nanshan High-tech Industrial Park North District Kupai Information Port, 2 Buildings, 2 Floors

Patentee before: YULONG COMPUTER TELECOMMUNICATION SCIENTIFIC (SHENZHEN) Co.,Ltd.

Country or region before: China