CN105654962B - Signal processing method and device and electronic equipment - Google Patents

Signal processing method and device and electronic equipment Download PDF

Info

Publication number
CN105654962B
CN105654962B CN201510253309.6A CN201510253309A CN105654962B CN 105654962 B CN105654962 B CN 105654962B CN 201510253309 A CN201510253309 A CN 201510253309A CN 105654962 B CN105654962 B CN 105654962B
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.)
Active
Application number
CN201510253309.6A
Other languages
Chinese (zh)
Other versions
CN105654962A (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.)
Yulong Computer Telecommunication Scientific Shenzhen 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

Images

Landscapes

  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a signal processing method, a signal processing device and electronic equipment, wherein in the process of voice communication between first electronic equipment and second electronic equipment, whether a voice signal to be sent of the first electronic equipment contains a single-frequency tone synthetic signal or not is detected, and when the voice signal to be sent of the first electronic equipment contains the single-frequency tone synthetic signal, whether the single-frequency tone synthetic signal contains the single-frequency tone synthetic signal generated by the first electronic equipment starting a dual-tone multi-frequency coding function or not is judged; when the single-frequency sound synthetic signal generated by the first electronic device 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 filtered and then sent, and the filtered voice signal to be sent does not contain the single-frequency sound synthetic signal, so that the situation that the first electronic device receives a new incoming call and interferes with the second electronic device in the process of communicating with the second electronic device is avoided. The audio interference in the conversation process is reduced.

Description

Signal processing method and device and electronic equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a signal processing method and apparatus, and an electronic device.
Background
During the course of a daily call, there is often the phenomenon that: assuming that the first user and the second user are talking on a mobile phone, the first user may be disturbed by a "beep" sound in the mobile phone, which may be an alert sound when the mobile phone of the first user has a new incoming call, or may be disturbed by the talking due to other reasons. Of course, the second user may also experience the same problem.
Therefore, how to reduce the audio interference in the call process becomes an urgent problem to be solved.
Disclosure of Invention
The invention aims to provide a signal processing method, a signal processing device and electronic equipment so as to reduce audio interference in a conversation process.
In order to achieve the purpose, the invention provides the following technical scheme:
a signal processing method applied to a first electronic device that can perform voice communication with a second electronic device, the method comprising:
detecting whether a voice signal to be sent of first electronic equipment contains a single-frequency tone synthesis signal or not in the process of carrying out voice communication between the first electronic equipment and second electronic equipment;
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.
In the method, it is preferable that the determining whether the single-tone synthesized signal includes the single-tone synthesized signal generated by the first electronic device turning on the dual-tone multi-frequency coding function includes:
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.
In the method, preferably, when the preset flag bit is marked as a preset value, it is determined that the single-frequency tone synthesis signal includes a single-frequency tone synthesis signal generated by the first electronic device when the dual-tone multi-frequency coding function is turned on, 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 synthesis signal.
The above method, preferably, further comprises:
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.
A signal processing apparatus applied to a first electronic device that can perform voice communication with a second electronic device, the apparatus comprising:
the detection module is used for detecting whether a voice signal to be sent of first electronic equipment contains a single-frequency tone synthesis signal or not in the process of carrying out voice communication between the first electronic equipment and second electronic equipment;
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.
Preferably, the above apparatus, wherein the judging module includes:
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.
Preferably, in the apparatus, the determining unit is specifically configured to determine that the single-frequency tone synthetic signal includes a single-frequency tone synthetic signal generated by the first electronic device when the dual-tone multi-frequency coding function is turned on 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 synthetic signal.
A first electronic device that may be in voice communication with a second electronic device, the first electronic device comprising a processor and a memory coupled with the processor, the processor configured to:
detecting whether a voice signal to be sent of first electronic equipment contains a single-frequency tone synthesis signal or not in the process of carrying out voice communication between the first electronic equipment and second electronic equipment;
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.
The above-mentioned first electronic device, preferably, the processor configured to determine whether the single-frequency tone synthesis signal includes a single-frequency tone synthesis signal generated by the first electronic device turning on a dual-tone multi-frequency coding function 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.
The above first electronic device, preferably, the processor configured to determine whether the single-frequency tone synthesis signal includes a single-frequency tone synthesis signal generated by the first electronic device turning on dual-tone multi-frequency coding function through 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.
According to the above scheme, in the signal processing method, the signal processing device and the electronic device provided by the application, when the first electronic device and the second electronic device perform voice communication, whether a voice signal to be transmitted of the first electronic device contains a single-frequency tone synthetic signal is detected, and when it is detected that the voice signal to be transmitted of the first electronic device contains the single-frequency tone synthetic signal, whether the single-frequency tone synthetic signal contains the single-frequency tone synthetic signal generated by the first electronic device starting a dual-tone multi-frequency coding function is judged; when the single-frequency sound synthetic signal generated by the first electronic device 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 filtered and then sent, and the filtered voice signal to be sent does not contain the single-frequency sound synthetic signal, so that the situation that the first electronic device receives a new incoming call in the process of communicating with the second electronic device and the second electronic device is interfered is avoided. The audio interference in the conversation process is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a diagram illustrating an application example of a signal processing method according to an embodiment of the present application;
fig. 2 is a flowchart of an implementation of a signal processing method according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a signal processing apparatus according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a determining module according to an embodiment of the present disclosure.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings described above, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be practiced otherwise than as specifically illustrated.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to better explain the embodiment of the present invention, the following describes the embodiment of the present invention with reference to a specific application scenario. Referring to fig. 1, fig. 1 is a diagram illustrating an application example of a signal processing method according to an embodiment of the present disclosure.
The inventor researches and discovers that currently, when a call link is established between a first electronic device and a second electronic device, that is, two users call through the first electronic device and the second electronic device, if the first electronic device receives a call request of a third electronic device, that is, the first electronic device has a new call, the first electronic device will have a beeping prompting tone to prompt a new call, and the beeping prompting tone may be mixed into uplink data (that is, a signal sent by the first electronic device to a base station) of the call through a microphone of the first electronic device and transmitted to the second electronic device, so that the user of the second electronic device can also hear the beeping tone, and for the second electronic device in the call, an interference audio of the call is formed, and the call experience of the user of the second electronic device is influenced. Based on this, an embodiment of the present invention provides a signal processing method, which is applied to a first electronic device, and is configured to filter uplink data of the first electronic device to filter a non-DTMF single-frequency tone synthesized signal in the uplink data of the first electronic device, so as to reduce audio interference suffered by a second electronic device.
Referring to fig. 2, fig. 2 is a flowchart of an implementation of a signal processing method according to an embodiment of the present invention, where the method may include:
step S21: detecting whether a voice signal to be sent of first electronic equipment contains a single-frequency tone synthesis signal or not in the process of carrying out voice communication between the first electronic equipment and second electronic equipment;
in the embodiment of the present invention, the voice signal to be transmitted is a voice signal to be transmitted by the first electronic device to the second electronic device.
Generally, the Tone of "beep" will be a Dual Tone Multi Frequency (DTMF) signal, and the DTMF signal is a composite signal composed of a high Frequency signal and a low Frequency signal superimposed together, i.e., a single Tone composite signal.
Whether the voice signal to be sent contains the single-tone synthesis signal can be judged by detecting the frequency component of the voice signal to be sent, namely, if the voice signal to be sent contains the voice signal with specific frequency, the voice signal to be sent can be determined to contain the single-tone synthesis signal.
Step S22: 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 if the voice signal to be sent of the first electronic equipment is detected to contain the single-frequency tone synthesis signal, continuously judging whether the contained single-frequency tone synthesis signal contains the single-frequency tone synthesis signal generated by starting the dual-tone multi-frequency function of the first electronic equipment.
Step S23: 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.
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 turning on the dual-tone multi-frequency coding function, the voice signal to be transmitted is filtered to filter the single-frequency tone synthesis signal in the voice signal to be transmitted.
In the method, if it is detected that a single-frequency tone synthetic signal generated by the dual-tone multi-frequency coding function started by the first electronic device is not included in a single-frequency tone synthetic signal in the to-be-transmitted voice signal, the to-be-transmitted voice signal is filtered, so that the single-frequency tone synthetic signal collected by the first electronic device from a microphone is filtered, and audio interference on the second electronic device is reduced.
In the embodiment of the present invention, in a process of performing voice communication between a first electronic device and a second electronic device, before sending a voice signal, it is detected 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 the single-frequency tone synthesis signal, it is determined whether the single-frequency tone synthesis signal contains the single-frequency tone synthesis signal generated by the first electronic device starting a dual-tone multi-frequency coding function; when the single-frequency sound synthetic signal generated by the first electronic device 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 filtered and then sent, and the filtered voice signal to be sent does not contain the single-frequency sound synthetic signal, so that the situation that the first electronic device receives a new incoming call in the process of communicating with the second electronic device and the second electronic device is interfered is avoided. And the audio interference to the second electronic equipment in the call process is reduced.
In the above embodiment, optionally, the determining whether the single-tone synthesized signal includes the single-tone synthesized signal generated by the first electronic device turning on the dual-tone multi-frequency coding function may include:
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.
In the embodiment of the invention, a flag bit for indicating whether the dual tone multi-frequency function of the first electronic device is turned on or not can be set. And when the first electronic equipment starts the dual-tone multi-frequency function, assigning a mark to the preset zone bit to mark that the first electronic equipment starts the dual-tone multi-frequency function.
Specifically, when the preset flag is marked as a preset value, it may be determined that the single-frequency tone synthesis signal includes a single-frequency tone synthesis signal generated by the first electronic device when the dual-tone multi-frequency coding function is turned on, 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 synthesis signal.
Optionally, when the single-frequency tone synthesis signal includes a single-frequency tone synthesis signal generated by the first electronic device turning on the dual-tone multi-frequency coding function, the voice signal to be transmitted is directly transmitted.
That is to say, after it is detected that the to-be-transmitted voice signal of the first electronic device includes a single-tone synthesized signal, if the single-tone synthesized signal includes a single-tone synthesized signal generated by the first electronic device starting the dual-tone multi-frequency coding function, the to-be-transmitted voice signal is not filtered, but is directly transmitted, so as to avoid affecting the dual-tone multi-frequency function of the first electronic device.
Corresponding to the method embodiment, an embodiment of the present invention further provides a signal processing apparatus, and a schematic structural diagram of the signal processing apparatus according to the embodiment of the present invention is shown in fig. 3, and the signal processing apparatus may include:
a detection module 31, a judgment module 32 and a filtering module 33; wherein the content of the first and second substances,
the detecting module 31 is configured to detect whether a to-be-sent voice signal of a first electronic device includes a single-frequency tone synthesis signal in a process of performing voice communication between the first electronic device and a second electronic device;
in the embodiment of the present invention, the voice signal to be transmitted is a voice signal to be transmitted by the first electronic device to the second electronic device.
Generally, the Tone of "beep" will be a Dual Tone Multi Frequency (DTMF) signal, and the DTMF signal is a composite signal composed of a high Frequency signal and a low Frequency signal superimposed together, i.e., a single Tone composite signal.
Whether the voice signal to be sent contains the single-tone synthesis signal can be judged by detecting the frequency component of the voice signal to be sent, namely, if the voice signal to be sent contains the voice signal with specific frequency, the voice signal to be sent can be determined to contain the single-tone synthesis signal.
The determining module 32 is configured to determine, when the detecting module detects that the to-be-transmitted voice signal of the first electronic device includes a single-frequency tone synthetic signal, whether the single-frequency tone synthetic signal includes a single-frequency tone synthetic signal generated by the first electronic device starting a dual-tone multi-frequency coding function;
and if the voice signal to be sent of the first electronic equipment is detected to contain the single-frequency tone synthesis signal, continuously judging whether the contained single-frequency tone synthesis signal contains the single-frequency tone synthesis signal generated by starting the dual-tone multi-frequency function of the first electronic equipment.
The filtering module 33 is configured to filter and send the to-be-sent voice signal when the determining module determines that the single-frequency sound synthesized signal does not include the single-frequency sound synthesized signal generated by the first electronic device starting the dual-tone multi-frequency coding function, and the filtered to-be-sent voice signal does not include the single-frequency sound synthesized 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 turning on the dual-tone multi-frequency coding function, the voice signal to be transmitted is filtered to filter the single-frequency tone synthesis signal in the voice signal to be transmitted.
In the method, if it is detected that a single-frequency tone synthetic signal generated by the dual-tone multi-frequency coding function started by the first electronic device is not included in a single-frequency tone synthetic signal in the to-be-transmitted voice signal, the to-be-transmitted voice signal is filtered, so that the single-frequency tone synthetic signal collected by the first electronic device from a microphone is filtered, and audio interference on the second electronic device is reduced.
In the embodiment of the present invention, in the process of performing voice communication between a first electronic device and a second electronic device, before sending a voice signal, a detection module detects whether the voice signal to be sent of the first electronic device contains a single-frequency tone synthetic signal, and when detecting that the voice signal to be sent of the first electronic device contains the single-frequency tone synthetic signal, a determination module determines whether the single-frequency tone synthetic signal contains the single-frequency tone synthetic signal generated by the first electronic device starting a dual-tone multi-frequency coding function; when the single-frequency sound synthetic signal generated by the first electronic device starting the dual-tone multi-frequency coding function is not contained in the single-frequency sound synthetic signal, the filtering module filters the voice signal to be sent, and the filtered voice signal to be sent does not contain the single-frequency sound synthetic signal, so that the situation that the first electronic device receives a new incoming call and interferes with the second electronic device in the process of communicating with the second electronic device is avoided. The audio interference in the conversation process is reduced.
Optionally, a schematic structural diagram of the determining module 32 is shown in fig. 4, and may include:
the determining unit 41 is configured to determine whether the single-frequency tone synthesized signal includes a single-frequency tone synthesized signal generated by the first electronic device starting a dual-tone multi-frequency encoding function according to a preset flag.
In the embodiment of the invention, a flag bit for indicating whether the dual tone multi-frequency function of the first electronic device is turned on or not can be set. And when the first electronic equipment starts the dual-tone multi-frequency function, assigning a mark to the preset zone bit to mark that the first electronic equipment starts the dual-tone multi-frequency function.
Specifically, the determining unit 41 is specifically configured to, when it is determined that the preset flag is marked as a preset value, determine that the single-frequency tone synthesis signal includes a single-frequency tone synthesis signal generated by the first electronic device when the dual-tone multi-frequency coding function is turned on, 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 synthesis signal.
Optionally, the filtering module 33 is further configured to, when the single-frequency tone synthesis signal includes the single-frequency tone synthesis signal generated by the first electronic device starting the dual-tone multi-frequency coding function, directly forward the to-be-transmitted voice signal without filtering the to-be-transmitted voice signal, so as to avoid affecting the dual-tone multi-frequency function of the first electronic device.
It should be noted that the signal processing method and apparatus provided in the embodiments of the present invention may also be applied to a second electronic device, so as to prevent the second electronic device from receiving a new incoming call during a call with the first electronic device and causing interference to the first electronic device. The audio interference to the first electronic equipment in the conversation process is reduced.
Embodiments of the present invention also provide a first electronic device, which may perform voice communication with a second electronic device, where the first electronic device includes a processor and a memory coupled to the processor, where the processor is configured to:
detecting whether a voice signal to be sent of first electronic equipment contains a single-frequency tone synthesis signal or not in the process of carrying out voice communication between the first electronic equipment and second electronic equipment;
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.
Optionally, the processor configured to determine whether the single-frequency tone synthesis signal includes a single-frequency tone synthesis signal generated by the first electronic device turning on a dual-tone multi-frequency coding function 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.
Optionally, the processing device configured to determine whether the single-frequency tone synthesis signal includes a single-frequency tone synthesis signal generated by the first electronic device turning on the dual-tone multi-frequency coding function through 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.
Optionally, the processor configured to, when the single-frequency tone synthesis signal does not include the single-frequency tone synthesis signal generated by the first electronic device turning on the dual-tone multi-frequency coding function, filter and transmit the to-be-transmitted voice signal is further configured to:
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.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems (if any), apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system (if present), apparatus, and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to 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 (7)

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 the fact that the voice signal to be sent of the first electronic device contains a single-frequency tone synthetic signal is detected, whether the single-frequency tone synthetic signal contains the single-frequency tone synthetic signal generated by the first electronic device starting a dual-tone multi-frequency coding function or not is judged through a preset zone bit;
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 according to claim 1, 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.
3. 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.
4. 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 sound synthetic signal contains a single-frequency sound synthetic signal generated by the first electronic equipment starting a dual-tone multi-frequency coding function or not through a preset flag bit when the detecting module detects that the voice signal to be sent of the first electronic equipment contains the single-frequency sound synthetic 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.
5. The apparatus according to claim 4, wherein the determining module is specifically configured to determine that the single-frequency tone synthesis signal includes a single-frequency tone synthesis 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 synthesis signal.
6. 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 the fact that the voice signal to be sent of the first electronic device contains a single-frequency tone synthetic signal is detected, whether the single-frequency tone synthetic signal contains the single-frequency tone synthetic signal generated by the first electronic device starting a dual-tone multi-frequency coding function or not is judged through a preset zone bit;
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.
7. The first electronic device of claim 6, 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 CN105654962A (en) 2016-06-08
CN105654962B true 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108133712B (en) * 2016-11-30 2021-02-12 华为技术有限公司 Method and device for processing audio data
US10013995B1 (en) * 2017-05-10 2018-07-03 Cirrus Logic, Inc. Combined reference signal for acoustic echo cancellation
CN108986831B (en) * 2017-05-31 2021-04-20 南宁富桂精密工业有限公司 Method for filtering voice interference, electronic device and computer readable storage medium

Citations (3)

* 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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8483384B2 (en) * 2006-03-06 2013-07-09 Freescale Semiconductor, Inc. Enhanced tone detector including adaptive multi-bandpass filter for tone detection and enhancement

Patent Citations (3)

* 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
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

Also Published As

Publication number Publication date
CN105654962A (en) 2016-06-08

Similar Documents

Publication Publication Date Title
US10484524B2 (en) Method for switching working mode of headphone and headphone
CN105654962B (en) Signal processing method and device and electronic equipment
CN105282339B (en) A kind of method, device and mobile terminal monitoring Mike's working condition
CN104320529A (en) Information receiving processing method and voice communication device
CN104185057B (en) A kind of Wi Fi Display display methods and device
CN104184499A (en) Bluetooth device control method, device and system
CN104836916A (en) Chat information voice broadcasting method, system and mobile terminal
CN105050045B (en) A kind of control method and terminal of the SOT state of termination
CN113784001A (en) Audio data playing method and device, electronic equipment and storage medium
CN110602683B (en) Bluetooth control method, device, mobile terminal and storage medium
WO2017173777A1 (en) Method and terminal for testing audio quality
CN107431524B (en) Antenna configuration method and terminal
CN103763439B (en) Information processing method and device
CN108574520B (en) Method and device for adjusting antenna switching
CN101951565A (en) Method and device for determining voice call state of terminal
CN104869211B (en) A kind of information processing method and electronic equipment
CN106713591A (en) Method and device for answering incoming call of specific number automatically
CN108833708B (en) Incoming call information acquisition method
US8666443B2 (en) Method and apparatus for muting a sounder device
CN101635879A (en) System and method for remotely controlling wireless terminal
CN105554727B (en) Mobile phone card security verification method, mobile phone card security verification device and terminal
CN107800851B (en) Dialing processing method and device and telephone
CN105577872A (en) Voice chip detection method and device
CN111698652B (en) Incoming call processing method and device, host equipment and storage medium
CN109040443B (en) Wireless earphone control method and 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