CN104008753B - A kind of information processing method and electronic equipment - Google Patents

A kind of information processing method and electronic equipment Download PDF

Info

Publication number
CN104008753B
CN104008753B CN201410211670.8A CN201410211670A CN104008753B CN 104008753 B CN104008753 B CN 104008753B CN 201410211670 A CN201410211670 A CN 201410211670A CN 104008753 B CN104008753 B CN 104008753B
Authority
CN
China
Prior art keywords
electronic equipment
voice data
angle
audio
data
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
CN201410211670.8A
Other languages
Chinese (zh)
Other versions
CN104008753A (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 CN201410211670.8A priority Critical patent/CN104008753B/en
Publication of CN104008753A publication Critical patent/CN104008753A/en
Application granted granted Critical
Publication of CN104008753B publication Critical patent/CN104008753B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

This application provides a kind of information processing method and electronic equipment, the technical problem bad for solving the recording of the electronic equipment of single microphone present in prior art, the electronic equipment for realizing auxiliary single microphone determine to intend collection voice data and the technique effect of noise sound data.Methods described is applied to the electronic equipment for including the first audio collection unit, and the electronic equipment can be connected with audio output annex to export audio, and the audio output annex has the second audio collection unit, and methods described includes:When the electronic equipment is connected with the audio output annex, the first audio collection unit is aided in using the second audio collection unit to determine to intend collection voice data and noise sound data;Gather the plan collection voice data and filter out the noise sound data.

Description

A kind of information processing method and electronic equipment
Technical field
The present invention relates to electronic technology field, more particularly to a kind of information processing method and electronic equipment.
Background technology
With the continuous development of scientific technology, electronic technology has also obtained development at full speed, and the species of electronic product is also got over Come more, people have also enjoyed the various facilities that development in science and technology is brought.Present people can be set by various types of electronics It is standby, enjoy the comfortable life brought with development in science and technology.For example, audio recording device allows people easily to record talk Content, song, lecture etc., so as to many convenient to provide.
In the prior art, the most frequently used electronic equipment of people is the portable sets such as mobile phone, tablet personal computer, so, when When needing inputting audio, the most frequently used sound pick-up outfit of people is also the portable sets such as mobile phone, tablet personal computer.Due to existing Conventional recording electronic equipment in technology only has a microphone, so being omnidirectional recording when recording, that is, records Sound equipment can be by the indiscriminate same typing of the audio-frequency information for being capable of typing.
But such recording may be such that user really thinks that the audio of typing is interfered.Such as user is at one , it is necessary to the speech content of typing speaker in lecture, but someone speaks beside mobile phone during recording, and this may make typing Sound in, people from side one's voice in speech greater than speaker sound, cause when playing inputting audio, in the speech of speaker Appearance is not heard.
The bad technical problem so the electronic equipment that single microphone in the art now be present is recorded.
The content of the invention
This application provides a kind of information processing method and electronic equipment, for solving single Mike present in prior art The electronic equipment of wind is recorded bad technical problem, and the electronic equipment for realizing auxiliary single microphone determines to intend collection voice data With the technique effect of noise sound data.
On the one hand, this application provides a kind of information processing method, applied to the electronics for including the first audio collection unit Equipment, the electronic equipment can be connected with audio output annex to export audio, and the audio output annex has second Audio collection unit, methods described include:
When the electronic equipment is connected with the audio output annex, institute is aided in using the second audio collection unit The first audio collection unit is stated to determine to intend collection voice data and noise sound data;
Gather the plan collection voice data and filter out the noise sound data.
Optionally, it is described to aid in the first audio collection unit to determine that plan is adopted using the second audio collection unit Collect voice data and noise sound data, be specially:
The first audio collection unit detection is aided in obtain the first sound source and institute using the second audio collection unit State first angle formed by the vertical vertical plane in placed side of electronic equipment;
Based on the first angle, determine that the first voice data corresponding to first sound source is intended gathering sound number to be described According to or the noise sound data.
Optionally, it is described to be based on the first angle, determine that voice data corresponding to first sound source is adopted for the plan Collect voice data or the noise sound data, be specially:
Judge whether the first angle is less than or equal to the first predetermined angle, obtain the first judged result;
When first judged result shows that the first angle is less than or equal to first predetermined angle, it is determined that described First voice data is intended gathering voice data to be described.
Optionally, judge whether the first angle is less than or equal to the first predetermined angle described, obtain first and judge knot After fruit, methods described also includes:
When first judged result shows that the first angle is more than first predetermined angle, described first is determined Voice data is the noise sound data.
Optionally, after the collection plan gathers voice data and filters out the noise sound data, the side Method also includes:
Obtain first waveform corresponding to the plan collection voice data;
Whether the similarity degree value of detection first waveform and the first predetermined waveform is less than a threshold value, obtains the first detection knot Fruit;
When first testing result shows that the similarity degree value is less than the threshold value, generate and pass through the electronics The output unit of equipment exports the first prompt message, wherein, first prompt message, which is used for sign, to be needed to change the electronics The placement direction and/or placement location of equipment, to obtain available sounds data.
On the other hand, this application provides a kind of electronic equipment, including the first audio collection unit, the electronic equipment energy Enough to be connected with audio output annex to export audio, the audio output annex has the second audio collection unit, the electricity Sub- equipment also includes:
Processing unit, for when the electronic equipment is connected with the audio output annex, utilizing second audio Collecting unit aids in the first audio collection unit to determine to intend collection voice data and noise sound data;
Recoding unit, for gathering the plan collection voice data and filtering out the noise sound data.
Optionally, the processing unit, is specifically included:
Detection module, for aiding in the first audio collection unit detection to obtain using the second audio collection unit First angle formed by the first sound source vertical plane vertical with the placed side of the electronic equipment;
Determining module, for based on the first angle, it to be institute to determine the first voice data corresponding to first sound source State plan collection voice data or the noise sound data.
Optionally, the determining module, is specifically used for:
Judge whether the first angle is less than or equal to the first predetermined angle, obtain the first judged result;
When first judged result shows that the first angle is less than or equal to first predetermined angle, it is determined that described First voice data is intended gathering voice data to be described.
Optionally, the determining module, is specifically additionally operable to:
Judge whether the first angle is less than or equal to the first predetermined angle described, after obtaining the first judged result, When first judged result shows that the first angle is more than first predetermined angle, first voice data is determined For the noise sound data.
Optionally, the electronic equipment, in addition to:
Obtaining unit, for intending collection voice data and after filtering out the noise sound data the collection is described, Obtain first waveform corresponding to the plan collection voice data;
Whether judging unit, the similarity degree value for detecting first waveform and the first predetermined waveform are less than a threshold value, obtain Obtain the first testing result;
Tip element, for when first testing result shows that the similarity degree value is less than the threshold value, generating And the first prompt message is exported by the output unit of the electronic equipment, wherein, first prompt message, which is used to characterize, to be needed Change the placement direction and/or placement location of the electronic equipment, to obtain available sounds data.
Said one or multiple technical schemes in the embodiment of the present application, at least there is following one or more technology effects Fruit:
1st, in the technical scheme of the application, when the electronic equipment is connected with the audio output annex, institute is utilized State the second audio collection unit and aid in the first audio collection unit to determine to intend collection voice data and noise sound data, And gather the plan collection voice data and filter out the noise sound data, solve single microphone existing for present technology Electronic equipment record bad technical problem, realize and determine to intend collection by the second audio collection unit auxiliary electronic equipment Voice data and noise sound data, so as to enhance the technique effect of recording effect.
Brief description of the drawings
Fig. 1 is the electronic devices structure schematic diagram in the embodiment of the present application;
Fig. 2 is the information processing method flow chart in the embodiment of the present application one;
Fig. 3 is two audio collection units and the first sound source position schematic diagram in the embodiment of the present application one;
Fig. 4 is the geometric representation of the first sound localization method in the embodiment of the present application one.
Embodiment
This application provides a kind of information processing method and electronic equipment, for solving single Mike present in prior art The electronic equipment of wind is recorded bad technical problem, and the electronic equipment for realizing auxiliary single microphone determines to intend collection voice data With the technique effect of noise sound data.
In order to solve the above-mentioned technical problem, the technical scheme general thought that the application provides is as follows:
When the electronic equipment is connected with the audio output annex, institute is aided in using the second audio collection unit The first audio collection unit is stated to determine to intend collection voice data and noise sound data;
Gather the plan collection voice data and filter out the noise sound data.
In the technical scheme of the application, when the electronic equipment is connected with the audio output annex, using described Second audio collection unit aids in the first audio collection unit to determine to intend collection voice data and noise sound data, and And the collection plan gathers voice data and filters out the noise sound data, solves single microphone existing for present technology The bad technical problem of electronic equipment recording, realize and determine to intend collection sound by the second audio collection unit auxiliary electronic equipment Sound data and noise sound data, so as to enhance the technique effect of recording effect.
Technical solution of the present invention is described in detail below by accompanying drawing and specific embodiment, it should be understood that the application Specific features in embodiment and embodiment are the detailed description to technical scheme, rather than to present techniques The restriction of scheme, in the case where not conflicting, the technical characteristic in the embodiment of the present application and embodiment can be mutually combined.
In the embodiment of the present application, there is provided a kind of information processing method and electronic equipment, in specific implementation, electronics is set Standby can be smart mobile phone, can also non-smart mobile phone, can also be that tablet personal computer etc. possesses the equipment of microphone, specifically, In the embodiment of the present application, will not be restricted.
Embodiment one:
Before the information processing method of the embodiment of the present application is introduced, first by the electronics of the method application of the embodiment of the present application The basic structure of equipment makes a presentation, as shown in figure 1, the electronic equipment in the embodiment of the present application includes the first audio collection unit 1, in addition to:
Processing unit 2, for when the electronic equipment is connected with the audio output annex, utilizing second audio Collecting unit aids in the first audio collection unit to determine to intend collection voice data and noise sound data;
Recoding unit 3, for gathering the plan collection voice data and filtering out the noise sound data.
Below, it refer to Fig. 2, the information processing method in the embodiment of the present application includes:
S1:It is auxiliary using the second audio collection unit when the electronic equipment is connected with the audio output annex The first audio collection unit is helped to determine to intend collection voice data and noise sound data.
S2:Gather the plan collection voice data and filter out the noise sound data.
Specifically, the electronic equipment in the embodiment of the present application includes the first audio collection unit, is such as arranged on mobile phone bottom The microphone in portion, is arranged on the microphone of tablet personal computer sidepiece, or is arranged on the microphone in the keyboard of notebook computer lower left corner Deng.Electronic equipment can be connected with audio output annex to export audio, and in the embodiment of the present application, audio output annex has Second audio collection unit.Specifically, audio output annex can be common wired earphone, be set by data wire and electronics It is standby be connected after export audio, and the data wire that can pass through same group inputs the audio that ear microphone gathers;Audio output Annex can also be bluetooth earphone, and wireless connection is established by bluetooth and electronic equipment, and electronic equipment is by Bluetooth protocol by sound Keep pouring in and transport to bluetooth earphone, bluetooth earphone output audio, while the microphone collection audio on bluetooth earphone, pass through Bluetooth protocol The audio of collection is transmitted back to electronic equipment again;Certainly, audio output apparatus can also be realized by WIFI, Zigbee etc. The earphone of connection, sound equipment etc., the application is not particularly limited.In following introduction, it will be assumed that audio output annex is wired Earphone, during specific implementation, including but not limited to wired earphone.
Intend collection voice data and noise sound data, it is necessary to utilize second to when gathering audio, be capable of determining that The auxiliary of audio collection unit.For in step S1, the first audio collection unit is aided in come really using the second audio collection unit Fixed plan collection voice data and noise sound data, detailed process are:
(1) using the second audio collection unit aid in the first audio collection unit detection obtain the first sound source with First angle formed by the vertical vertical plane in the placed side of the electronic equipment.
Specifically, in the embodiment of the present application, in order to determine intend collection voice data and noise sound data, it is necessary to head First obtain electronic equipment and the first sound source angulation, that is, the first sound source and the vertical plane of placed side where electronic equipment Angle.How the application obtains first angle for convenience of explanation, it will be assumed that electronic equipment and the second audio collection unit it Between distance it is constant, turn next to Fig. 3.
In figure 3, the continuous perpendicular bisector between the first audio collection unit and the second audio collection unit represents electronics The vertical plane of equipment placed side, in order to obtain first angle, it is necessary to rotate two collecting units, so that two collecting units obtain Multigroup acoustic information, the position of the first sound source is determined according to multigroup acoustic information, so as to obtain first angle.
Assuming that the initial position of two audio collection units is the horizontal linear in Fig. 4, two audio collection units are revolved The time circled is T, and the sample rate of two audio collection units is 6kHz, and the length of a frame sound is M.So, one is rotated All collectable N frames voice data or N group voice datas, wherein, N=6000T/M.Due to the first audio collection unit and second It is different that the distance of the first sound source is reached between audio collection unit, so, the voice signal of the first sound reaches the first audio The time of collecting unit and the second audio collection unit also can be different, so, reach two using the voice signal of the first sound source The time difference of audio collection unit, it is possible to estimate the position of the first sound source, and then obtain first angle.
Assuming that two audio collection units of rotation during one week, gather N group voice datas, every group of voice data reaches The time difference of first audio collection unit and the second audio collection unit is followed successively by t0, t1..., tN-1.Below by calculating first When the voice data of audio collection unit collection and the mutual pass function of the data of the second audio collection unit collection are to calculate Between poor t0, t1..., tN-1.Because the processing for every group of data is identical, so below only with the 1st frame of collection, i.e., first It is introduced exemplified by group voice data.If a1The data collected for the first audio collection unit, a2For the second audio collection unit The data collected, pass through
Formula 1
Calculate and obtain a1And a2Mutual pass function.Wherein, τ a1And a2Phase difference.
Formula 1 is further transformed to by frequency domain by Fourier transform, change is got in return:
Formula 2
The value can for so changing τ calculates multiple R12(τ), wherein τ minimums take 1, and maximum is adopted by the first audio Collect the distance between unit and the second audio collection unit and the specific velocity of sound determines.Finally, pass through
Formula 3
When calculating and obtain first position, that is, gathering first group of voice data, the signal of the first sound source reaches two The time difference t of individual audio collection unit1.Remaining t2, t3..., tN-1Also obtained with similar method.
After the reaching time-difference for obtaining each voice signal, it is possible to obtain the first sound source and connect with two audio collection units The angle of line perpendicular bisector,
γi=arcsin (cti/ L) formula 4
Wherein, the sound propagation velocities of c now, L is the distance between two audio collection unit, the γ calculatediHave Two values, one is the true estimate of the first sound source and the angle γ of two audio collection unit line perpendicular bisectorsi1, also one Individual is mirror image estimate and the angle γ of two audio collection unit line perpendicular bisectorsi2, γ is understood by geometrical relationshipi1i2= 180°.In addition, two audio collection units are when i-th group of data is gathered, the line and initial position of two collecting units Angle be αi=i360 °/N, i=0~N-1.
By above-mentioned calculating, the angle β of the first sound source actual position and initial position can be obtainedi1With mirror position and initially The angle β of positioni2,
βi1i+90°-γi1
βi2i+90°-γi2, formula 5
Wherein, i=0,1 ..., N-1.Calculate the angle and mirror-bit of each group of the first sound source actual position and initial position Put the difference △ β between the angle of initial positioni, multigroup estimated location less than threshold value is done into average value, it is most average at last It is worth the actual position of position sound.
By above-mentioned algorithm, calculate the position for obtaining the first sound source, so with regard to can obtain electronic equipment and the first sound source it Between first angle, as shown in Figure 3.Specifically, in the embodiment of the present application, it is assumed that first angle is specially that the first audio is adopted Collect unit and the angle angle of the continuous perpendicular bisector of the second audio collection unit and the first sound source, certainly, in specific implementation process In, angle angle between the first audio collection unit and the first sound source can also be directly used as first angle, specifically The application is not particularly limited.
Assuming that by algorithm above, calculate and obtain the first sound source in the first audio collection unit of electronic equipment and the The place that perpendicular bisector angle is 27 ° between two audio collection units, then it is 27 ° that can determine the first angle;Calculate and obtain the The one sound source ground that perpendicular bisector angle is 30 ° between the first audio collection unit and the second audio collection unit of electronic equipment Side, then it is 30 ° that can determine the first angle.
(2) first angle is based on, determines the first voice data corresponding to first sound source for the plan collection sound Sound data or the noise sound data.
First angle is obtained in step (1), below, just it is capable of determining that the first voice data is based on first angle Intend collection voice data or noise sound data, so as to handle the voice data of subsequent acquisition, to improve recording Quality.
In the embodiment of the present application, judge that the first voice data is to intend collection voice data or make an uproar by first angle Acoustic sound data, are specifically as follows:
1) judge whether the first angle is less than or equal to the first predetermined angle, obtain the first judged result;
2) when first judged result shows that the first angle is less than or equal to first predetermined angle, institute is determined The first voice data is stated to intend gathering voice data to be described;
Or when first judged result shows that the first angle is more than first predetermined angle, determine described One voice data is the noise sound data.
Determine that the first voice data is to intend collection voice data or noise sound data by first angle, it is specific next Say, exactly judge the size of first angle and the first predetermined angle.
Wherein, the first predetermined angle can be that producer passes through the preferably angle repeatedly tested and obtained, such as 30 in before sales Any angle in~35 °, and it is built-in in the electronic device, user can not arbitrarily change;Can also be user according to liking It is 30 °, 32 ° respectively as electronic equipment provides a user 3 options or custom selects the selection in electronic equipment to set With 35 °, user is selected by button or touch-control.Assuming that the first predetermined angle is 30 °, first angle is 31.4 °, then first Angle is more than the first predetermined angle, then the first judged result is no;First predetermined angle is 30 °, and first angle is 30 °, then First angle is equal to the first predetermined angle, then the first judged result is yes;First predetermined angle is 30 °, and first angle is 15 °, So first angle is less than the first predetermined angle, then the first judged result is yes.
When the first judged result when being, to show that first angle is less than or equal to the first predetermined angle, i.e. the first sound and The angle of electronic equipment is smaller, then can determine the first voice data to intend collection voice data;When the first judged result is When no, show that first angle is more than the first predetermined angle, i.e. the angle of the first sound and electronic equipment is larger, then can determine First voice data is noise sound data.
Below, step S2 is performed.
S2:Gather the plan collection voice data and filter out the noise sound data.
After the first voice data is defined in step sl to intend collection voice data or noise sound data, carrying out During audio collection, it becomes possible to filter out noise sound data, so as to obtain more preferable recording quality.
Specifically, in the embodiment of the present application, the first audio collection unit and the second audio collection list of electronic equipment Member gathers the first voice data simultaneously, after the first voice data is gathered, because electronic equipment has had confirmed the first sound Data to intend collection voice data or noise sound data, so, in order to improve recording quality, electronic equipment is by noise sound Data filter out, and are such as filtered out noise sound data by wave filter.
Further, in the embodiment of the present application, in addition to:
Obtain first waveform corresponding to the plan collection voice data;
Whether the similarity degree value of detection first waveform and the first predetermined waveform is less than a threshold value, obtains the first detection knot Fruit;
When first testing result shows that the similarity degree value is less than the threshold value, generate and pass through the electronics The output unit of equipment exports the first prompt message, wherein, first prompt message, which is used for sign, to be needed to change the electronics The placement direction and/or placement location of equipment, to obtain available sounds data.
Due to the acoustic waveform of voice be in the prior art can be known, then can be by checking that the plan obtained be adopted Integrate the first waveform of voice data judge the voice data of user's typing whether as people voice data.
So, the plan that electronic equipment extraction has collected first gathers the first waveform of voice data.Next, detection Compare the similarity degree of first waveform and the first predetermined waveform.Specifically, the first predetermined waveform can be that electronic equipment is had by oneself Or user is downloaded on the server by network, meanwhile, the first predetermined waveform is not limited to the waveform of voice, also Can be waveform of music etc., type the application of the first predetermined waveform is not particularly limited.When user needs to gather voice, First predetermined waveform can be arranged to the waveform of voice, when user needs to gather music, the first predetermined waveform can be set For specific or general musical waveform, the application those of skill in the art can be selected according to being actually needed, the application Do not limit specifically.
When the similarity degree that detection is compared is less than a threshold value, show that the first voice data of user's now typing may It is wrong data.Specifically, threshold value can be that producer passes through the preferably angle repeatedly tested and obtained in before sales, such as 85%th, 90% etc., and it is built-in in the electronic device, user can not arbitrarily change;Can also be user according to liking or be accustomed to It is 80%, 90% respectively as electronic equipment provides a user 3 options to select the selection in electronic equipment to set, 78%, user is selected by button or touch-control.
When similarity degree is less than threshold value, in order to prompt user, electronic equipment will generate and by output unit output the One prompt message, to prompt user.Specifically, in the embodiment of the present application, output unit can be the aobvious of electronic equipment Show the audio amplifier of unit or electronic equipment, can also be the indicator lamp of electronic equipment, the application those of skill in the art can be with Selected according to being actually needed, the application does not limit specifically.
First prompt message can be that the placement direction of change electronic equipment is needed for characterizing, such as defeated by display unit Go out word " direction for woulding you please change microphone " etc., or voice " direction for woulding you please change microphone " is exported by audio amplifier, may be used also To export the first prompt message by way of the often bright or flicker of specific indicator lamp;First prompt message can also be used to characterize The placement location of change electronic equipment is needed, mobile electronic device " is such as asked, to be recorded by display unit output character Sound " etc., or voice " mobile electronic device being asked, to be recorded " is exported by audio amplifier, can also be normal by specific indicator lamp Bright or flicker mode exports the first prompt message;Certainly, the first prompt message can also prompt user to change electronics simultaneously The emulation direction of equipment and placement location, such as by display unit output character " mobile electronic device is asked, and changes microphone side To be recorded " etc., or voice is exported by audio amplifier and " asks mobile electronic device, and changes microphone direction, to enter Row recording ", the first prompt message can also be exported by way of or flicker often bright specific indicator lamp, such as the first indicator lamp Chang Liang Expression needs to change placement location, while represents to flash to prompt user by the side of microphone to the indicator lamp for making mobile microphone It can be selected to anticlockwise, the application those of skill in the art according to being actually needed, the application does not limit specifically.
After user obtains the first prompt message, audio can be resurveyed according to the first prompt message.Certainly, Yong Huye It can select not resurvey according to their needs.
Whether a threshold value is less than by the similarity degree value for detecting first waveform and the first predetermined waveform, when the described first inspection Result is surveyed when showing that the similarity degree value is less than the threshold value, generates and exports the by the output unit of the electronic equipment One prompt message, to prompt to carry out audio collection, Neng Gougeng for changing placement direction and/or the placement location of electronic equipment Facilitate user recording, improve Consumer's Experience.
Embodiment two:
Refer to Fig. 1, the electronic equipment in the embodiment of the present application includes the first audio collection unit 1, in addition to:
Processing unit 2, for when the electronic equipment is connected with the audio output annex, utilizing second audio Collecting unit aids in the first audio collection unit to determine to intend collection voice data and noise sound data;
Recoding unit 3, for gathering the plan collection voice data and filtering out the noise sound data.
Further, the processing unit 2 specifically includes:
Detection module, for aiding in the first audio collection unit detection to obtain using the second audio collection unit First angle formed by the first sound source vertical plane vertical with the placed side of the electronic equipment;
Determining module, for based on the first angle, it to be institute to determine the first voice data corresponding to first sound source State plan collection voice data or the noise sound data.
Specifically, in the embodiment of the present application, the determining module is specifically used for:
Judge whether the first angle is less than or equal to the first predetermined angle, obtain the first judged result;
When first judged result shows that the first angle is less than or equal to first predetermined angle, it is determined that described First voice data is intended gathering voice data to be described.
The determining module is specifically additionally operable to:
Judge whether the first angle is less than or equal to the first predetermined angle described, after obtaining the first judged result, When first judged result shows that the first angle is more than first predetermined angle, first voice data is determined For the noise sound data.
Further, in the embodiment of the present application, the electronic equipment also includes:
Judge whether the first angle is less than or equal to the first predetermined angle described, after obtaining the first judged result, When first judged result shows that the first angle is more than first predetermined angle, first voice data is determined For the noise sound data.
Because the embodiment of the present application one and embodiment two belong to a total inventive concept, therefore part is not repeated here just not Repeat one by one again.
Said one or multiple technical schemes in the embodiment of the present application, at least there is following one or more technology effects Fruit:
In the technical scheme of the application, when the electronic equipment is connected with the audio output annex, using described Second audio collection unit aids in the first audio collection unit to determine to intend collection voice data and noise sound data, and And the collection plan gathers voice data and filters out the noise sound data, solves single microphone existing for present technology The bad technical problem of electronic equipment recording, realize and determine to intend collection sound by the second audio collection unit auxiliary electronic equipment Sound data and noise sound data, so as to enhance the technique effect of recording effect.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
Specifically, computer program instructions can be stored in corresponding to the information processing method in the embodiment of the present application In the storage mediums such as CD, hard disk, USB flash disk, when computer program instructions quilt corresponding with information processing method in storage medium When one electronic equipment reads or is performed, comprise the following steps:
When the electronic equipment is connected with the audio output annex, institute is aided in using the second audio collection unit The first audio collection unit is stated to determine to intend collection voice data and noise sound data;
Gather the plan collection voice data and filter out the noise sound data.
Optionally, what is stored in the storage medium utilizes the second audio collection unit auxiliary described first with step Audio collection unit come determine intend collection voice data and noise sound data, corresponding computer instruction be performed specifically Cheng Zhong, specifically comprise the following steps:
The first audio collection unit detection is aided in obtain the first sound source and institute using the second audio collection unit State first angle formed by the vertical vertical plane in placed side of electronic equipment;
Based on the first angle, determine that the first voice data corresponding to first sound source is intended gathering sound number to be described According to or the noise sound data.
Optionally, what is stored in the storage medium is based on the first angle with step, determines first sound source pair The voice data answered gathers voice data for the plan or the noise sound data, corresponding computer instruction are held specifically During row, specifically comprise the following steps:
Judge whether the first angle is less than or equal to the first predetermined angle, obtain the first judged result;
When first judged result shows that the first angle is less than or equal to first predetermined angle, it is determined that described First voice data is intended gathering voice data to be described.
Optionally, be also stored with other computer instruction in the storage medium, these computer instructions with step Suddenly:Judge whether the first angle is less than or equal to the first predetermined angle, obtain the first judged result and be performed afterwards, held Comprise the following steps during row:
When first judged result shows that the first angle is more than first predetermined angle, described first is determined Voice data is the noise sound data.
Optionally, be also stored with other computer instruction in the storage medium, these computer instructions with step Suddenly:Gather the plan collection voice data and filter out the noise sound data and be performed afterwards, include when executed as follows Step:
Obtain first waveform corresponding to the plan collection voice data;
Whether the similarity degree value of detection first waveform and the first predetermined waveform is less than a threshold value, obtains the first detection knot Fruit;
When first testing result shows that the similarity degree value is less than the threshold value, generate and pass through the electronics The output unit of equipment exports the first prompt message, wherein, first prompt message, which is used for sign, to be needed to change the electronics The placement direction and/or placement location of equipment, to obtain available sounds data.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation Property concept, then can make other change and modification to these embodiments.So appended claims be intended to be construed to include it is excellent Select embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising including these changes and modification.

Claims (8)

1. a kind of information processing method, applied to the electronic equipment for including the first audio collection unit, the electronic equipment can It is connected with audio output annex to export audio, the audio output annex has the second audio collection unit, methods described Including:
When the electronic equipment is connected with the audio output annex, the second audio collection unit auxiliary described the is utilized One audio collection unit determines to intend collection voice data and noise sound data;
Gather the plan collection voice data and filter out the noise sound data;
Obtain first waveform corresponding to the plan collection voice data;
Whether the similarity degree value of detection first waveform and the first predetermined waveform is less than a threshold value, obtains the first testing result;
When first testing result shows that the similarity degree value is less than the threshold value, generate and pass through the electronic equipment Output unit export the first prompt message, wherein, first prompt message be used for sign need to change the electronic equipment Placement direction and/or placement location, to obtain available sounds data.
2. the method as described in claim 1, it is characterised in that described to utilize the second audio collection unit auxiliary described the One audio collection unit determines to intend collection voice data and noise sound data, is specially:
The first audio collection unit detection is aided in obtain the first sound source and the electricity using the second audio collection unit First angle formed by the vertical vertical plane in the placed side of sub- equipment;
Based on the first angle, determine the first voice data corresponding to first sound source for it is described intend gathering voice data or The noise sound data.
3. method as claimed in claim 2, it is characterised in that it is described to be based on the first angle, determine first sound source Corresponding voice data is intended gathering voice data or the noise sound data to be described, is specially:
Judge whether the first angle is less than or equal to the first predetermined angle, obtain the first judged result;
When first judged result shows that the first angle is less than or equal to first predetermined angle, described first is determined Voice data is intended gathering voice data to be described.
4. method as claimed in claim 3, it is characterised in that judge whether the first angle is less than or equal to first described Predetermined angle, after obtaining the first judged result, methods described also includes:
When first judged result shows that the first angle is more than first predetermined angle, first sound is determined Data are the noise sound data.
5. a kind of electronic equipment, including the first audio collection unit, the electronic equipment can be connected with audio output annex To export audio, the audio output annex has the second audio collection unit, and the electronic equipment also includes:
Processing unit, for when the electronic equipment is connected with the audio output annex, utilizing second audio collection Unit aids in the first audio collection unit to determine to intend collection voice data and noise sound data;
Recoding unit, for gathering the plan collection voice data and filtering out the noise sound data;
Obtaining unit, for after the collection plan gathers voice data and filters out the noise sound data, obtaining It is described to intend first waveform corresponding to collection voice data;
Whether judging unit, the similarity degree value for detecting first waveform and the first predetermined waveform are less than a threshold value, acquisition the One testing result;
Tip element, for when first testing result shows that the similarity degree value is less than the threshold value, generating and leading to The output unit for crossing the electronic equipment exports the first prompt message, wherein, first prompt message changes for characterizing needs Become the placement direction and/or placement location of the electronic equipment, to obtain available sounds data.
6. electronic equipment as claimed in claim 5, it is characterised in that the processing unit, specifically include:
Detection module, for aiding in the first audio collection unit detection to obtain first using the second audio collection unit First angle formed by the sound source vertical plane vertical with the placed side of the electronic equipment;
Determining module, for based on the first angle, it to be the plan to determine the first voice data corresponding to first sound source Gather voice data or the noise sound data.
7. electronic equipment as claimed in claim 6, it is characterised in that the determining module, be specifically used for:
Judge whether the first angle is less than or equal to the first predetermined angle, obtain the first judged result;
When first judged result shows that the first angle is less than or equal to first predetermined angle, described first is determined Voice data is intended gathering voice data to be described.
8. electronic equipment as claimed in claim 7, it is characterised in that the determining module, be specifically additionally operable to:
Judge whether the first angle is less than or equal to the first predetermined angle described, after obtaining the first judged result, work as institute When stating the first judged result and showing that the first angle is more than first predetermined angle, determine first voice data for institute State noise sound data.
CN201410211670.8A 2014-05-19 2014-05-19 A kind of information processing method and electronic equipment Active CN104008753B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410211670.8A CN104008753B (en) 2014-05-19 2014-05-19 A kind of information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410211670.8A CN104008753B (en) 2014-05-19 2014-05-19 A kind of information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN104008753A CN104008753A (en) 2014-08-27
CN104008753B true CN104008753B (en) 2017-12-29

Family

ID=51369380

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410211670.8A Active CN104008753B (en) 2014-05-19 2014-05-19 A kind of information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN104008753B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105763956B (en) * 2014-12-15 2018-12-14 华为终端(东莞)有限公司 The method and terminal recorded in Video chat
CN108091344A (en) * 2018-02-28 2018-05-29 科大讯飞股份有限公司 A kind of noise-reduction method, apparatus and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101488981A (en) * 2008-01-18 2009-07-22 上海晨兴电子科技有限公司 Mobile phone construction and method for enhancing voice call quality of mobile phone
CN201417603Y (en) * 2009-06-23 2010-03-03 深圳市奥尼电子工业有限公司 Double microphone speech processor
CN102111697A (en) * 2009-12-28 2011-06-29 歌尔声学股份有限公司 Method and device for controlling noise reduction of microphone array
CN103561367A (en) * 2012-04-24 2014-02-05 宝利通公司 Automatic muting of undesired noises by a microphone array

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101488981A (en) * 2008-01-18 2009-07-22 上海晨兴电子科技有限公司 Mobile phone construction and method for enhancing voice call quality of mobile phone
CN201417603Y (en) * 2009-06-23 2010-03-03 深圳市奥尼电子工业有限公司 Double microphone speech processor
CN102111697A (en) * 2009-12-28 2011-06-29 歌尔声学股份有限公司 Method and device for controlling noise reduction of microphone array
CN103561367A (en) * 2012-04-24 2014-02-05 宝利通公司 Automatic muting of undesired noises by a microphone array

Also Published As

Publication number Publication date
CN104008753A (en) 2014-08-27

Similar Documents

Publication Publication Date Title
CN108156575B (en) Processing method, device and the terminal of audio signal
CN105259459B (en) Automation quality detecting method, device and the equipment of a kind of electronic equipment
US9749684B2 (en) Multimedia processing method and multimedia apparatus
JP3521900B2 (en) Virtual speaker amplifier
CN108156561A (en) Processing method, device and the terminal of audio signal
CN102348150B (en) Audio signal processor, acoustic signal processing method and program
US20130325154A1 (en) Apparatus and method for high speed visualization of audio stream in an electronic device
CN1937462A (en) Content-preference-score determining method, content playback apparatus, and content playback method
CN109196879A (en) Determine that the earphone at the ear of user exists
KR20170100007A (en) System and method for creating listening logs and music libraries
US10649729B2 (en) Audio device with auditory system display and methods for use therewith
CN102547521B (en) Content reproducing device and method
CN105405448A (en) Sound effect processing method and apparatus
US20170300291A1 (en) Apparatus for recording audio information and method for controlling same
JP2015206989A (en) Information processing device, information processing method, and program
CN106161705A (en) Audio frequency apparatus method of testing and device
CN104078051B (en) A kind of voice extracting method, system and voice audio frequency playing method and device
JP6596896B2 (en) Head-related transfer function selection device, head-related transfer function selection method, head-related transfer function selection program, sound reproduction device
CN109887494A (en) The method and apparatus of reconstructed speech signal
CN104707331B (en) A kind of game body-sensing production method and device
CN110223677A (en) Spatial audio signal filtering
CN104505103B (en) Voice quality assessment equipment, method and system
CN107079219A (en) The Audio Signal Processing of user oriented experience
CN107182011A (en) Audio frequency playing method and system, mobile terminal, WiFi earphones
CN104008753B (en) A kind of information processing method and electronic equipment

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