CN103312911B - Data processing method and electronic terminal - Google Patents

Data processing method and electronic terminal Download PDF

Info

Publication number
CN103312911B
CN103312911B CN201210063591.8A CN201210063591A CN103312911B CN 103312911 B CN103312911 B CN 103312911B CN 201210063591 A CN201210063591 A CN 201210063591A CN 103312911 B CN103312911 B CN 103312911B
Authority
CN
China
Prior art keywords
voice data
audio data
data
electric terminal
audio
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
CN201210063591.8A
Other languages
Chinese (zh)
Other versions
CN103312911A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201210063591.8A priority Critical patent/CN103312911B/en
Publication of CN103312911A publication Critical patent/CN103312911A/en
Application granted granted Critical
Publication of CN103312911B publication Critical patent/CN103312911B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The invention discloses a data processing method and an electronic terminal. The method comprises: collecting a first audio data produced by at least one sounding body in the environment in which a first electronic terminal is located through an audio acquisition unit of the first electronic terminal; judging whether the first audio data has a second audio data by analyzing the first audio data; and when the first audio data has the second audio data, performing copy and negation treatment to the second audio data, obtaining the negated second audio data, and performing summation treatment to the negated second audio data and the first audio data, erasing the second audio data in the first audio data to obtain third audio data. With the data processing method and the electronic terminal, interference signals can be eliminated and thus voice quality is improved.

Description

Data processing method and electric terminal
Technical field
The present invention relates to the communications field, particularly relate to a kind of data processing method and electric terminal.
Background technology
Carry out, in the process communicated, many interference signals being produced at the first electric terminal and the second electric terminal, the quality of impact communication.The voice data that this electric terminal of typing is play by the microphone of the first electric terminal, the user that the second electric terminal is corresponding can hear that the passback of oneself one's voice in speech is come, i.e. echogenicity.Such as, the first electric terminal mobile phone A 1 is carried out in the process communicated with the second electric terminal mobile phone B 1, the voice data that the loud speaker of typing mobile phone A 1 is play by the microphone of mobile phone A 1, namely creates echo.
Carry out in the process of recording audio data at the first electric terminal, the voice data that the first electric terminal is play also is recorded, and has the voice data of broadcasting in the voice data of recording.Such as mobile phone A 1 is while playing sound, and mobile phone A 1, at recorded voice, has the sound that mobile phone A 1 is play, namely creates interference in the sound that mobile phone A 1 is recorded.
Carry out at the first electric terminal in the process of recording audio data, if the environment residing for the first electric terminal also exists other sounding bodies, then there is in the voice data that the first electric terminal is recorded the voice data that other sounding bodies produce.Such as, the first electric terminal mobile phone A 1 is in the process of recorded voice, and mobile phone A 1 surrounding exists other sounding bodies, then have the sound that other sounding bodies produce in the sound that mobile phone A 1 is recorded, namely occurred interference.
Be all the support by hardware usually in prior art, such as, interference eliminator be installed, eliminate interference signal.
The present inventor is realizing in process of the present invention, find, in many electric terminals, corresponding hardware is not installed, or corresponding hardware cannot be installed, therefore hardware plan cannot be adopted to eliminate interference signal, and in the processing procedure of hardware plan, while process interference signal, also useful signal is processed accordingly, affect useful signal, make audio quality poor.
Summary of the invention
The invention provides a kind of data processing method and electric terminal, for eliminating interference signal, improving audio quality.
One aspect of the present invention provides a kind of data processing method, be applied to the first electric terminal, described method comprises: the first voice data being gathered at least one sounding body generation in the environment of described first electric terminal institute by the audio collection unit of described first electric terminal; By analyzing described first voice data, judge whether there is second audio data in described first voice data; When described first voice data has described second audio data, described second audio data is copied and negate process, obtain the described second audio data of negate, and the described second audio data after described negate and described first voice data are carried out summation process, to eliminate the described second audio data had in described first voice data, obtain the 3rd voice data.
Preferably, before described collection first voice data, described method also comprises: the described audio collection unit by described first electric terminal gather the first electric terminal in the environment at least one sounding body produce the first voice data before, described method also comprises: export described second audio data by the voice output unit of described first electric terminal; Described second audio data is stored in the first memory cell of described first electric terminal.
Preferably, described by analyzing described first voice data, judging whether there is second audio data in described first voice data, specifically comprise: by being mated with the audio volume control of described second audio data by the audio volume control of described first voice data, obtaining matching result; Based on described matching result, judge, in described first voice data, whether there is described second audio data.
Preferably, before the described voice output unit by described first electric terminal exports described second audio data, described method also comprises: receive described second audio data by the first receiving element of described first electric terminal.
Preferably, described second audio data is specially the voice data that described first electric terminal is play, or is specially the voice data received from described second electric terminal.
Preferably, when described second audio data is specially the voice data received from described second electric terminal, when described first voice data has described second audio data, eliminate the described second audio data had in described first voice data, after obtaining the 3rd voice data, described method also comprises: described 3rd voice data is sent to described second electric terminal.
Preferably, when described second audio data is the voice data of described first electric terminal broadcasting, when described first voice data has described second audio data, eliminate the described second audio data had in described first voice data, after obtaining the 3rd voice data, described method comprises: store second memory cell of described 3rd voice data to described first electric terminal, wherein, described first memory cell is identical or not identical memory cell with described second memory cell.
Preferably, described first voice data of described analysis, judges whether have second audio data in described first voice data, specifically comprises: not described first voice data is in the same time carried out audio volume control coupling, obtains matching result; Based on described matching result, judge, in described first voice data, whether there is described second audio data.
The application on the other hand also provides a kind of electric terminal, and described electric terminal comprises: collecting unit, for gathering the first voice data of described first electric terminal respective user institute at least one sounding body generation in the environment; Analytic unit, for by analyzing described first voice data, judges whether have second audio data in described first voice data; Eliminate unit, for when described first voice data has described second audio data, described second audio data is copied and negate process, obtain the described second audio data of negate, and the described second audio data after described negate and described first voice data are carried out summation process, to eliminate the described second audio data had in described first voice data, obtain the 3rd voice data;
Preferably, described electric terminal also comprises: voice output unit, for gather at least one sounding body generation in the environment of described first electric terminal respective user institute at described collecting unit the first voice data before, export described second audio data; First memory cell, for storing described second audio data.
Preferably, described analytic unit specifically for: by being mated with the audio volume control of described second audio data by the audio volume control of described first voice data, obtain matching result; Based on described matching result, judge, in described first voice data, whether there is described second audio data.
Preferably, described electric terminal also comprises: receiving element, before exporting second audio data at described processing unit by the voice output unit of described first electric terminal, receives the described second audio data that described second electric terminal sends.
Preferably, described second audio data be specially described first electric terminal play voice data, or be specially from described second electric terminal receive voice data.
Preferably, described electric terminal also comprises: transmitting element, during for being specially the voice data received from described second electric terminal when described second audio data, after the described second audio data had in described first voice data to be eliminated and obtained the 3rd voice data by described elimination unit, described 3rd voice data is sent to described second electric terminal.
Preferably, described electric terminal also comprises: control unit, for when described second audio data be described first electric terminal play voice data time, after the described second audio data had in described first voice data to be eliminated and is obtained the 3rd voice data by described elimination unit, store second memory cell of described 3rd voice data to described first electric terminal, wherein, described first memory cell is identical or not identical memory cell with described second memory cell.
Preferably, described analytic unit concrete also for: not described first voice data is in the same time carried out audio volume control coupling, obtains matching result; Based on described matching result, judge, in described first voice data, whether there is described second audio data.
Beneficial effect of the present invention is as follows:
In one embodiment of the invention, by the audio collection unit of the first electric terminal gather the first electric terminal in the environment at least one sounding body produce the first voice data, by analyzing the first voice data, judge whether there is second audio data in the first voice data, when the first voice data has second audio data, eliminate the second audio data had in the first voice data, obtain the 3rd voice data.Therefore the present invention adopts software mode to detect and eliminates interference signal, improves audio quality, because do not need to change the hardware of electric terminal, so the present invention is while reducing costs, can increases the scope of application, and reduce implementation complexity.
Further, in one embodiment of the invention, the interfering data had in the first voice data is carried out copy with negate process after, obtain the voice data after a process, the voice data after described process and described first audio signal carried out summation and processes.Herein in reason process, do not affect the useful data in the first voice data, only interfering data is processed, preferably audio quality can be obtained.
Further, in one embodiment of the invention, by not the first audio signal is in the same time carried out audio volume control coupling, judge, in described first audio signal, whether there is the second audio signal, if so, described second audio signal had is eliminated in described first audio signal.Therefore, the present invention can also be used for eliminating the outside interference signal produced, and makes the audio quality of acquisition better.
Accompanying drawing explanation
Fig. 1 is the flow chart of data processing method in one embodiment of the invention;
Fig. 2 is electric terminal Organization Chart in one embodiment of the invention.
Embodiment
One embodiment of the invention provides a kind of data processing method, and the method is applied to one and treats electric terminal, and described method can be used for eliminating interference signal, improves audio quality.
In order to solve interference problem, describe the present invention below in conjunction with accompanying drawing.As shown in Figure 1, Fig. 1 is the method flow diagram of data processing in one embodiment of the invention, and the method for the present embodiment comprises:
Step 110: by the audio collection unit of the first electric terminal gather the first electric terminal in the environment at least one sounding body produce the first voice data;
Step 112: by analyzing the first voice data, judges whether have second audio data in the first voice data;
Step 114: when the first voice data has second audio data, described second audio data is copied and negate process, obtain the described second audio data of negate, and the described second audio data after described negate and described first voice data are carried out summation process, to eliminate the described second audio data had in described first voice data, obtain the 3rd voice data.
Conveniently clearer understanding the present invention of those skilled in the art, will lift concrete example to be described below respectively.
In the present embodiment, the first electric terminal is mobile phone A 1, and the second electric terminal is mobile phone B 1, and the user of mobile phone A 1 correspondence is user A, and the user of mobile phone B 1 correspondence is user B, and wherein mobile phone A 1 is in the process communicated with mobile phone B 1.In other embodiments, can be also other electric terminals, the present invention be restricted.
In the process that mobile phone A 1 communicates with mobile phone B 1, before execution step 110, mobile phone A 1 receives the audio signal of mobile phone B 1 transmission by the first receiving element, export second audio data by the voice output unit of mobile phone A 1, and second audio data is stored in the first memory cell of mobile phone A 1.Wherein, voice output unit is such as loud speaker; First memory cell can be audio data buffer, and audio data buffer is the fifo structure buffering area of fixed length, can store the second audio data within the scope of the scheduled time.Audio data buffer stores according to the time order and function order of voice data, and when the capacity of the voice data stored exceeds maximum storage capacity, audio data buffer will abandon previously stored voice data, to store new voice data.In an alternative embodiment of the invention, the first memory cell can be the memory cell of other structures, and such as, the first memory cell can be the memory of sequential core-pulling, also can be the memory of link storage organization.
In another embodiment, in order to economize on resources, only have when second audio data is more than or equal to a threshold value, just can while output first voice data, second audio data is stored in the first memory cell, because if when second audio data is less than threshold value, the interference caused is very little, negligible.
Next, in step 110, by the audio collection unit of the first electric terminal gather the first electric terminal in the environment at least one sounding body produce the first voice data.Such as, in the environment at mobile phone A 1 place, gather the sound of the user A of mobile phone A 1 correspondence, if mobile phone A 1 does not use hands-free mode call, namely loud speaker is not opened, the sound of the user A so gathered is the first voice data (for convenience of description, other noises are ignored), can think do not have echogenicity in communication process in this case; If but at this moment mobile phone A 1 is open loud speaker and mobile phone B 1 is conversed, the first voice data so collected just includes the sound of the user B from mobile phone B 1 correspondence of the sound of user A and the loud speaker broadcasting of mobile phone A 1, so user B can hear the echo of oneself at far-end, at this moment illustrate in communication process and create echo.
In step 112, by analyzing the first voice data, judge whether there is second audio data in the first voice data.Be specially: by being mated with the audio volume control of second audio data by the audio volume control of the first voice data, obtain matching result; Based on matching result, judge whether there is second audio data in the first voice data.Such as, the first voice data mobile phone A 1 gathered is designated as z (t), and the second audio data that mobile phone A 1 stores is designated as x (t).For mobile phone A 1, because the path of voice data from loud speaker to microphone is fixing, mobile phone A 1 is also fixing to the time delay of loud speaker outputting audio data from receiving voice data, from the microphone of mobile phone A 1, gather voice data start, voice data is after A/D conversion, the time delay obtaining voice data to mobile phone is also fixing, and the time delay that therefore mobile phone A 1 gathers voice data to mobile phone from outputting audio data is fixing.Record mobile phone A 1 exports the moment t1 of second audio data, and mobile phone starts the moment t2 gathering the first voice data, calculates mobile phone A 1 gathers voice data from outputting audio data time interval t2-t1 to mobile phone thus, t2-t1 is designated as mobile phone time delay.By the audio volume control of the first voice data z (t) is mated with the audio volume control of second audio data x (t), be specially: according to the audio volume control of the first voice data z (t) with second audio data x (t), find each moment that the first voice data z (t) is corresponding consistent with second audio data x (t) audio frequency, according to mobile phone time delay t2-t1, the time of carrying out adjustment, if the first voice data z (t) can align with second audio data x (t) audio frequency corresponding each consistent moment, illustrate the first voice data wherein z (t) there is x (t) ', otherwise, first voice data wherein z (t) does not have x (t) '.Wherein, x (t) ' is the second audio data after decay, and in the process of audio data transmission, the intensity of second audio data x (t) can decay, and the second audio data after decay is designated as x (t) '.Based on matching result, second audio data x (t) ' after can judging to obtain, in the first voice data z (t), there is decay, and audio intensity ratio x (t) '/x (t) of second audio data x (t) ' after calculating decay and second audio data x (t), this ratio is the pad value of second audio data.
In step 114, when described first voice data has described second audio data, eliminate the described second audio data had in described first voice data, obtain the 3rd voice data.Be specially: described second audio data is copied and negate process, obtain the described second audio data of negate; Described second audio data after described negate and described first voice data are carried out summation process, to eliminate described second audio data.Such as, during second audio data x (t) ' after there is decay in the first voice data z (t), second audio data x (t) is copied, obtain one identical with second audio data x (t) size, the voice data that direction is identical, according to pad value x (t) '/x (t), described voice data is carried out Digital Signal Processing to one process after voice data, be also designated as x (t) '.Voice data x (t) ' is carried out negate process, obtain one with decay after second audio data x (t) ' size identical, the voice data that direction is contrary, is designated as-x (t) '.Voice data-x (t) ' after described negate and the first voice data z (t) are carried out summation process, z (t) has x (t) ' and y (t), the 3rd voice data x (t) '+y (t)-x (t) ' can be obtained after summation process, because x (t) ' is identical with-x (t) ' size, direction is contrary, so the 3rd voice data after summation process is y (t), realize the object of second audio data x ' (t) after the first voice data z (t) eliminates decay.
After step 114, the 3rd voice data is sent to the second electric terminal.Such as, the 3rd voice data y (t) is sent to mobile phone B 1 by mobile phone A 1, realizes voice-frequency telephony.
In second embodiment of the invention, the first electric terminal is mobile phone A 1, and the user of mobile phone A 1 correspondence is user A, and wherein mobile phone A 1 is in the process of output sound and recorded voice.In other embodiments, can be also other electric terminals, the present invention be restricted.
Next, in the process that mobile phone A 1 is in output sound and recorded voice, before step 110, mobile phone A 1 voice output unit exports second audio data, wherein second audio data is specially the sound of mobile phone A 1 by player plays, such as, be that mobile phone A 1 is playing the song in music site; Second audio data is stored in mobile phone A 1 first memory cell.Wherein, voice output unit is such as loud speaker; First memory cell can be audio data buffer, and audio data buffer is the fifo structure buffering area of fixed length, can store the second audio data within the scope of the scheduled time.Audio data buffer stores according to the time order and function order of voice data, and when the capacity of the voice data stored exceeds maximum storage capacity, audio data buffer will abandon previously stored voice data, to store new voice data.In an alternative embodiment of the invention, the first memory cell can be the memory cell of other structures, and such as, the first memory cell can be the memory of sequential core-pulling, also can be the memory of link storage organization.In other embodiments, the second audio data of broadcasting also for the voice data prestored, such as, can be stored in the song in mobile phone A 1 in advance, in the case, again can store second audio data.
In another embodiment, in order to economize on resources, only have when second audio data is more than or equal to a threshold value, just can while output first voice data, second audio data is stored in the first memory cell, because if when second audio data is less than threshold value, the interference caused is very little, negligible.
Next, in step 110, the first voice data of described first electric terminal institute at least one sounding body generation is in the environment gathered by the audio collection unit of described first electric terminal.Wherein, audio collection unit is such as microphone.Such as, in the environment at mobile phone A 1 place, while the sound of the user A of microphone collection mobile phone A 1 correspondence of mobile phone A 1, mobile phone A 1 is open loud speaker and plays sound, the first voice data so collected just includes the sound of the sound of user A and the loud speaker broadcasting of mobile phone A 1, in the first voice data that mobile phone A 1 gathers, there is second audio data, namely occurred interference.
In step 112, by analyzing the first voice data, judge whether there is second audio data in the first voice data.Step 112 in this step and a upper embodiment is similar, succinct in order to specification, is not described in detail in this.
In step 114, when described first voice data has described second audio data, eliminate the described second audio data had in described first voice data, obtain the 3rd voice data.Step 114 in this step and a upper embodiment is similar, succinct in order to specification, is not described in detail in this.
After step 114, store second memory cell of the 3rd voice data to the first electric terminal, wherein, the first memory cell and the second memory cell are identical or not identical memory cell.Such as, the 3rd voice data is stored into the audio data buffer of mobile phone A 1 by mobile phone A 1.
In third embodiment of the invention, the first electric terminal is mobile phone A 1, and the user of mobile phone A 1 correspondence is user A, and wherein user A is in a noisy environment, and mobile phone A 1 is in just in the process of recorded voice.In another embodiment, can be also other electric terminals, the present invention be restricted.
Next, in step 110, the first voice data of described first electric terminal institute at least one sounding body generation is in the environment gathered by the audio collection unit of described first electric terminal.Wherein, audio collection unit is such as microphone.Such as, in the environment at mobile phone A 1 place, while gathering the sound of the user A of mobile phone A 1 correspondence, the surrounding of user A is very noisy, the summation of all audio frequency data around user A is designated as second audio data, in first voice data of mobile phone collection, there is second audio data, namely occurred interference.
In another embodiment, in order to economize on resources, only have when second audio data is more than or equal to a threshold value, just can analyze the first voice data, judge whether there is second audio data in the first voice data, because if the second audio frequency is less than threshold value, the interference caused is very little, negligible.
Next, in step 112, by analyzing the first voice data, judge whether there is second audio data in the first voice data.Be specially: not described first voice data is in the same time carried out audio volume control coupling, obtains matching result; Based on described matching result, judge, in described first voice data, whether there is described second audio data.Such as, the first voice data that mobile phone A 1 gathers is designated as z (t), mated by the audio volume control of the audio volume control of the voice data z (t1) by the first voice data t1 moment with the voice data Z (t2) in the first voice data t2 moment, first voice data wherein z (t) has second audio data x (t) and voice data y (t), based on matching result, can judge to obtain, in the first voice data z (t), there is second audio data x (t).
In step 114, when described first voice data has described second audio data, eliminate the described second audio data had in described first voice data, obtain the 3rd voice data.Be specially: described second audio data is copied and negate process, obtain the described second audio data of negate; Described second audio data after described negate and described first voice data are carried out summation process, to eliminate described second audio data.Such as, when there is second audio data x (t) in the first voice data z (t), second audio data x (t) is copied, obtain one identical with second audio data x (t) size, the voice data that direction is identical, is designated as x (t) '.Voice data x (t) ' is carried out negate process, obtain one identical with second audio data x (t) size, the voice data that direction is contrary, is designated as-x (t) '.Voice data-x (t) ' after described negate and the first voice data z (t) are carried out summation process, z (t) has x (t) and y (t), the 3rd voice data x (t)+y (t)-x (t) ' can be obtained after summation process, because x (t) is identical with-x (t) ' size, direction is contrary, so the 3rd voice data after summation process is y (t), realize the object that the first voice data z (t) eliminates described second audio data x (t).
After step 114, store second memory cell of the 3rd voice data to the first electric terminal, wherein, the first memory cell and the second memory cell are identical or not identical memory cell.
One embodiment of the invention also provides a kind of electric terminal, and as shown in Figure 2, electric terminal comprises:
Collecting unit 210, for gather the first electric terminal respective user in the environment at least one sounding body produce the first voice data; Analytic unit 212, for by analysis first voice data, judges whether have second audio data in the first voice data; Eliminate unit 214, for when the first voice data has second audio data, eliminate the second audio data had in the first voice data, obtain the 3rd voice data.
Electric terminal also comprises: voice output unit, for gather at collecting unit 210 first electric terminal respective user in the environment at least one sounding body produce the first voice data before, export second audio data; First memory cell, for storing second audio data.
Analytic unit 212 specifically for: by being mated with the audio volume control of second audio data by the audio volume control of the first voice data, obtain matching result; Based on matching result, judge whether there is second audio data in the first voice data.
Described electric terminal also comprises: receiving element, before exporting second audio data at processing unit by the voice output unit of the first electric terminal, receives the second audio data that the second electric terminal sends.
Electric terminal also comprises: transmitting element, during for being specially the voice data received from the second electric terminal when second audio data, after the second audio data had in the first voice data to be eliminated and obtained the 3rd voice data by elimination unit 214, the 3rd voice data is sent to the second electric terminal.
Electric terminal also comprises: control unit, for when second audio data be first electric terminal play voice data time, after the second audio data had in the first voice data to be eliminated and is obtained the 3rd voice data by elimination unit 214, store second memory cell of the 3rd voice data to the first electric terminal, wherein, the first memory cell and the second memory cell are identical or not identical memory cell.
Analytic unit 212 concrete also for: not the first voice data is in the same time carried out audio volume control coupling, obtains matching result; Based on matching result, judge whether there is second audio data in the first voice data, judge whether there is second audio data in the first voice data.
Described elimination unit 214 specifically for: to second audio data copy with and negate process, obtain the second audio data of negate; Second audio data after negate and the first voice data are carried out summation process, to eliminate second audio data.
By reading the operating process of the data processing method according to the embodiment of the present invention as described above, the implementation process of the above-mentioned unit of the electric terminal shown in Fig. 2 just becomes and has been perfectly clear, and therefore, succinct in order to specification, is not described in detail in this.
By the above-mentioned one or more embodiment in the present invention, at least following technique effect can be reached:
In one embodiment of the invention, by the audio collection unit of the first electric terminal gather the first electric terminal in the environment at least one sounding body produce the first voice data, by analyzing the first voice data, judge whether there is second audio data in the first voice data, when the first voice data has second audio data, eliminate the second audio data had in the first voice data, obtain the 3rd voice data.Therefore the present invention adopts software mode to detect and eliminates interference signal, improves audio quality, because do not need to change the hardware of electric terminal, so the present invention is while reducing costs, can increases the scope of application, and reduce implementation complexity.
Further, in one embodiment of the invention, the interfering data had in the first voice data is carried out copy with negate process after, obtain the voice data after a process, the voice data after described process and described first audio signal carried out summation and processes.Herein in reason process, do not affect the useful data in the first voice data, only interfering data is processed, preferably audio quality can be obtained.
Further, in one embodiment of the invention, by not the first audio signal is in the same time carried out audio volume control coupling, judge, in described first audio signal, whether there is the second audio signal, if so, described second audio signal had is eliminated in described first audio signal.Therefore, the present invention can also be used for eliminating the outside interference signal produced, and makes the audio quality of acquisition better.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (16)

1. a data processing method, is applied to the first electric terminal, it is characterized in that, described method comprises:
The first voice data of described first electric terminal institute at least one sounding body generation is in the environment gathered by the audio collection unit of described first electric terminal;
By analyzing described first voice data, judge whether there is second audio data in described first voice data;
When described first voice data has described second audio data, described second audio data is copied and negate process, obtain the described second audio data of negate, and the described second audio data after described negate and described first voice data are carried out summation process, to eliminate the described second audio data had in described first voice data, obtain the 3rd voice data.
2. the method for claim 1, is characterized in that, the described audio collection unit by described first electric terminal gather the first electric terminal in the environment at least one sounding body produce the first voice data before, described method also comprises:
Second audio data is exported by the voice output unit of described first electric terminal;
Described second audio data is stored in the first memory cell of described first electric terminal.
3. method as claimed in claim 2, is characterized in that, described by analyzing described first voice data, judges whether have second audio data in described first voice data, specifically comprises:
By being mated with the audio volume control of described second audio data by the audio volume control of described first voice data, obtain matching result;
Based on described matching result, judge whether there is second audio data in described first voice data.
4. method as claimed in claim 2, is characterized in that, before the described voice output unit by described first electric terminal exports second audio data, described method also comprises:
Described second audio data is received by the first receiving element of described first electric terminal.
5. method as claimed in claim 2, is characterized in that, described second audio data is specially the voice data that described first electric terminal is play, or is specially the voice data received from the second electric terminal.
6. method as claimed in claim 5, it is characterized in that, when described second audio data is specially the voice data received from described second electric terminal, when described first voice data has described second audio data, eliminate the described second audio data had in described first voice data, after obtaining the 3rd voice data, described method also comprises:
Described 3rd voice data is sent to described second electric terminal.
7. method as claimed in claim 5, it is characterized in that, when described second audio data is the voice data of described first electric terminal broadcasting, when described first voice data has described second audio data, eliminate the described second audio data had in described first voice data, after obtaining the 3rd voice data, described method comprises:
Store second memory cell of described 3rd voice data to described first electric terminal, wherein, described first memory cell is identical or not identical memory cell with described second memory cell.
8. the method for claim 1, is characterized in that, described first voice data of described analysis, judges whether have second audio data in described first voice data, specifically comprises:
Not described first voice data is in the same time carried out audio volume control coupling, obtains matching result;
Based on described matching result, judge, in described first voice data, whether there is described second audio data.
9. an electric terminal, is characterized in that, described electric terminal comprises:
Collecting unit, for gather the first electric terminal respective user in the environment at least one sounding body produce the first voice data;
Analytic unit, for by analyzing described first voice data, judges whether have second audio data in described first voice data;
Eliminate unit, for when described first voice data has described second audio data, described second audio data is copied and negate process, obtain the described second audio data of negate, and the described second audio data after described negate and described first voice data are carried out summation process, to eliminate the described second audio data had in described first voice data, obtain the 3rd voice data.
10. electric terminal as claimed in claim 9, it is characterized in that, described electric terminal also comprises:
Voice output unit, for gather at least one sounding body generation in the environment of described first electric terminal respective user institute at described collecting unit the first voice data before, export described second audio data;
First memory cell, for storing described second audio data.
11. electric terminals as claimed in claim 10, is characterized in that, described analytic unit specifically for:
By being mated with the audio volume control of described second audio data by the audio volume control of described first voice data, obtain matching result;
Based on described matching result, judge whether there is second audio data in described first voice data.
12. electric terminals as claimed in claim 10, it is characterized in that, described electric terminal also comprises:
Receiving element, before exporting second audio data at described processing unit by the voice output unit of described first electric terminal, receives the described second audio data that the second electric terminal sends.
13. electric terminals as claimed in claim 10, is characterized in that, described second audio data is specially the voice data that described first electric terminal is play, or is specially the voice data received from the second electric terminal.
14. electric terminals as claimed in claim 13, it is characterized in that, described electric terminal also comprises:
Transmitting element, during for being specially the voice data received from described second electric terminal when described second audio data, after the described second audio data had in described first voice data to be eliminated and obtained the 3rd voice data by described elimination unit, described 3rd voice data is sent to described second electric terminal.
15. electric terminals as claimed in claim 13, it is characterized in that, described electric terminal also comprises:
Control unit, for when described second audio data be described first electric terminal play voice data time, after the described second audio data had in described first voice data to be eliminated and is obtained the 3rd voice data by described elimination unit, store second memory cell of described 3rd voice data to described first electric terminal, wherein, described first memory cell is identical or not identical memory cell with described second memory cell.
16. electric terminals as claimed in claim 9, is characterized in that, described analytic unit specifically for:
Not described first voice data is in the same time carried out audio volume control coupling, obtains matching result;
Based on described matching result, judge whether there is in described first voice data described second audio frequency certificate.
CN201210063591.8A 2012-03-12 2012-03-12 Data processing method and electronic terminal Active CN103312911B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210063591.8A CN103312911B (en) 2012-03-12 2012-03-12 Data processing method and electronic terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210063591.8A CN103312911B (en) 2012-03-12 2012-03-12 Data processing method and electronic terminal

Publications (2)

Publication Number Publication Date
CN103312911A CN103312911A (en) 2013-09-18
CN103312911B true CN103312911B (en) 2015-03-04

Family

ID=49137681

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210063591.8A Active CN103312911B (en) 2012-03-12 2012-03-12 Data processing method and electronic terminal

Country Status (1)

Country Link
CN (1) CN103312911B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105959457B (en) * 2016-06-28 2017-11-24 广东欧珀移动通信有限公司 The way of recording and terminal based on dual microphone
CN106131754B (en) * 2016-06-30 2018-06-29 广东美的制冷设备有限公司 Group technology and device between more equipment
CN106131472A (en) * 2016-07-26 2016-11-16 维沃移动通信有限公司 A kind of kinescope method and mobile terminal
CN108510997A (en) * 2018-01-18 2018-09-07 晨星半导体股份有限公司 Electronic equipment and echo cancel method applied to electronic equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5600718A (en) * 1995-02-24 1997-02-04 Ericsson Inc. Apparatus and method for adaptively precompensating for loudspeaker distortions
CN1291308C (en) * 2005-04-08 2006-12-20 北京中星微电子有限公司 Method for eliminating echo

Also Published As

Publication number Publication date
CN103312911A (en) 2013-09-18

Similar Documents

Publication Publication Date Title
CN104521247B (en) Bluetooth headset hearing aid and anti-noise method and apparatus
CN102318325B (en) Controlling an adaptation of a behavior of an audio device to a current acoustic environmental condition
WO2016180100A1 (en) Method and device for improving audio processing performance
CN103179495A (en) Audio test method and system for earphone microphone and receiver of mobile terminal
CN1783214A (en) Reverberation estimation and suppression system
CN105848052B (en) A kind of Mike's switching method and terminal
CN105811910A (en) Acoustic processing system and method for electronic device and mobile telephone terminal
CN103312911B (en) Data processing method and electronic terminal
CN103179240A (en) Audio test method and system for mobile terminal
CN103491488A (en) Echo cancellation method and device for microphone
CN103873975A (en) Bluetooth headset noise reduction method, device and system
CA2766196A1 (en) Apparatus, method and computer program for controlling an acoustic signal
CN108401204A (en) A kind of novel active noise reduction earphone
CN101233561B (en) Enhancement of speech intelligibility in a mobile communication device by controlling the operation of a vibrator of a vibrator in dependance of the background noise
CN201054780Y (en) Automatic noise reduction earphone
CN103179496A (en) Audio test method and system for earphone microphone and receiver of mobile terminal
CN110265056A (en) The control method and loudspeaking unit of source of sound
CN103379231A (en) Wireless conference phone and method for wireless conference phone performing voice signal transmission
CN112509595A (en) Audio data processing method, system and storage medium
CN108510997A (en) Electronic equipment and echo cancel method applied to electronic equipment
CN111356058B (en) Echo cancellation method and device and intelligent sound box
CN105682258B (en) A kind of switching method and apparatus of subscriber identification card
CN105577863A (en) Sound recording method and apparatus
CN106385517A (en) Audio frequency conversation realization method and system, and intelligent conference device
CN201323602Y (en) Device for processing voice and data card and communication device thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant