CN109324781A - A kind of processing method and electronic equipment - Google Patents

A kind of processing method and electronic equipment Download PDF

Info

Publication number
CN109324781A
CN109324781A CN201811160876.7A CN201811160876A CN109324781A CN 109324781 A CN109324781 A CN 109324781A CN 201811160876 A CN201811160876 A CN 201811160876A CN 109324781 A CN109324781 A CN 109324781A
Authority
CN
China
Prior art keywords
electronic equipment
sound data
ambient sound
mode
submode
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.)
Pending
Application number
CN201811160876.7A
Other languages
Chinese (zh)
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 CN201811160876.7A priority Critical patent/CN109324781A/en
Publication of CN109324781A publication Critical patent/CN109324781A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis

Abstract

This application provides a kind of processing method and electronic equipment, a kind of processing method, comprising: under first mode, whether detection electronic equipment meets switching condition;If meeting the switching condition, second mode is switched to;Wherein, in the first mode, the ambient sound data that acquisition is handled with first method, obtain the first result;In the second mode, with the ambient sound data for the second method processing acquisition for being different from the first method, the second result is obtained;The first method and the second method characterize the mode for by the target voice data for including in the ambient sound data of acquisition and interference sound data processing being target voice data, the application, which realizes electronic equipment, can be realized the automatic switchover of different modes, improve user experience.

Description

A kind of processing method and electronic equipment
Technical field
This application involves sound processing techniques field, more particularly to a kind of processing method and electronic equipment.
Background technique
Under many scenes, user will use electronic equipment and carry out targetedly sound collection.Such as in meeting-place, user thinks The sound of people is acquired by electronic equipment, but due to the environment in meeting-place complexity, so that in electronic equipment sound collected Various noises can be mingled with.So, this just needs to handle using sound of the electronic equipment to acquisition.
Under normal circumstances, there are the different modes handled sound, in the prior art, where is selection on electronic equipment It is to be manually selected by user based on actual conditions that kind mode, which handles the sound of acquisition, poor user experience.
Summary of the invention
In view of this, the application provides a kind of sound processing method and electronic equipment, to solve the above technical problems.
To achieve the above object, the application provides the following technical solutions:
A kind of processing method, comprising:
Under first mode, whether detection electronic equipment meets switching condition;
If meeting the switching condition, second mode is switched to;
Wherein, in the first mode, the ambient sound data that acquisition is handled with first method, obtain the first result; In the second mode, with the ambient sound data for the second method processing acquisition for being different from the first method, the is obtained Two results;
The first method and the second method characterize the target for that will include in the ambient sound data of acquisition Voice data and interference sound data processing are the mode of target voice data.
Preferably, the ambient sound data for handling acquisition with first method include: in multiple candidate submodes The ambient sound data of at least two submodes processing acquisition.
Preferably, specific submode can be only contained in the second method.
Preferably, the first combination of the multiple candidate submode is for the ambient sound for the first frequency range of first direction Data are handled;
And/or ambient sound data of the second combination of the multiple candidate submode for for the second frequency range carry out Processing;
First frequency range and second frequency range are not exactly the same.Preferably, whether the detection electronic equipment meets Switching condition includes at least one of following:
The specific direction for detecting electronic equipment whether there is object;Or
Whether electronic equipment is detected currently in default environment;Or
Detect whether the currently playing application of electronic equipment is specific application.
Preferably, there are objects for the specific direction of the electronic equipment, for using the second method processing acquisition Ambient sound data;The specific direction of the electronic equipment does not have object, for using the ring of the first method processing acquisition Border voice data;
The electronic equipment is currently at default environment, for using the ambient sound number of the second method processing acquisition According to;The electronic equipment is not presently within default environment, for using the ambient sound data of the first method processing acquisition;
The currently playing application of the electronic equipment is specific application, for using the ring of the second method processing acquisition Border voice data;The currently playing application of the electronic equipment is not specific application, is adopted for being handled using the first method The ambient sound data of collection.
Preferably, a kind of electronic equipment, comprising:
Collector, for acquiring ambient sound data;
Memory, for storing program;
Processor, for executing described program, whether described program is in the flrst mode, detecting the electronic equipment Meet switching condition, if meeting the switching condition, switches to second mode;
Wherein, in the first mode, the ambient sound data are handled with first method, obtains the first result;? Under the second mode, the ambient sound data are handled with the second method for being different from the first method, obtain the second knot Fruit;
The first method and the second method characterize the target for that will include in the ambient sound data of acquisition Voice data and interference sound data processing are the mode of target voice data.
Preferably, the ambient sound data for handling acquisition with first method include: in multiple candidate submodes The ambient sound data of at least two submodes processing acquisition.
Preferably, specific submode can be only contained in the second method.
Preferably, the first combination of the multiple candidate submode is for the ambient sound for the first frequency range of first direction Data are handled;
And/or ambient sound data of the second combination of the multiple candidate submode for for the second frequency range carry out Processing;
First frequency range and second frequency range are not exactly the same.
It can be seen via above technical scheme that this application provides a kind of processing methods, comprising: under first mode, detection Whether electronic equipment meets switching condition, if meeting switching condition, is switched to second mode, wherein in the flrst mode, uses The ambient sound data of first method processing acquisition, obtain first as a result, under the second mode, with being different from the of first method Two modes handle the ambient sound data of acquisition, obtain second as a result, first method and second method are characterized for that will acquire Ambient sound data in include target voice data and interference sound data processing be target voice data mode, thus As it can be seen that electronic equipment can be realized the automatic switchover of different modes in the application, user experience is improved.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only embodiments herein, for ability For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to the attached drawing of offer other Attached drawing.
Fig. 1 is a kind of flow diagram for processing method that the application embodiment of the method one provides;
Fig. 2 is a kind of schematic diagram split about training provided in the application embodiment of the method two;
Fig. 3 is a kind of schematic diagram about submode that present application example provides;
Fig. 4 is the structural schematic diagram for a kind of electronic equipment that the application Installation practice one provides.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall in the protection scope of this application.
The application embodiment of the method one discloses a kind of processing method, as shown in Figure 1, this method comprises the following steps:
Step 101: under first mode, whether detection electronic equipment meets switching condition;
Step 102: if meeting switching condition, switching to second mode.
Wherein, in the flrst mode, the ambient sound data that acquisition is handled with first method, obtain the first result;? Under two modes, with the ambient sound data for the second method processing acquisition for being different from first method, the second result is obtained.
First method and second method characterize the target voice data for that will include in the ambient sound data of acquisition It is the mode of target voice data with interference sound data processing.
Optionally, target voice data can be voice data, and interference sound data can be other in addition to voice Voice data, voice data can be obtained by being handled by first method or second method ambient sound data.Certainly originally Application is not limited thereto, and target voice data may be other voice datas in addition to voice, due to alternative sounds number According to frequency, vocal print feature etc. be different, therefore can be by first method or second method from ambient sound data Processing obtains various voice datas.
Since used mode is different under different conditions for electronic equipment, then specifically, detection electronic equipment is The no switching condition that meets includes at least one of the following:
The specific direction for detecting electronic equipment whether there is object;Or
Whether electronic equipment is detected currently in default environment;Or
Detect whether the currently playing application of electronic equipment is specific application.
Correspondingly, if the specific direction of electronic equipment there are object, for using the ambient sound of second method processing acquisition Sound data;If the specific direction of electronic equipment does not have object, for using the ambient sound data of first method processing acquisition.
Specifically, sensor can be set on electronic equipment, such as capacitance sensor, infrared sensor, for detecting The specific direction of electronic equipment whether there is object, such as whether have human object in the front of electronic equipment.
If electronic equipment is currently at default environment, for using the ambient sound data of second method processing acquisition;If Electronic equipment is not presently within default environment, for using the ambient sound data of first method processing acquisition.
Specifically, locating module can be set on electronic equipment, judge whether electronic equipment is located by locating module Under default environment.Ambient sound data can certainly be directly based upon to judge whether electronic equipment is under default environment. The default environment can be that high noise environments can if being currently at meeting-place position by locating module Positioning Electronic Devices To determine that electronic equipment is under default environment, or, if it is determined that the loudness of ambient sound data is greater than default loudness and then may be used To determine that electronic equipment is under high noise environments.The level of noise that i.e. high noise environments are referred to as electronic equipment local environment reaches The environment of preset value.
If the currently playing application of electronic equipment is specific application, for using the ambient sound of second method processing acquisition Data;If the currently playing application of electronic equipment is not specific application, for using the ambient sound of first method processing acquisition Data.
Specifically, can be with the identification list of pre-set specific application, to judge that the mark of currently playing application is It is no in preset identification list, if it is, determine currently playing application for specific application, if it is not, then Determine that currently playing application is not specifically to apply.For example, specific application can be conference call application.
In this application, as a kind of implementation, it is stored in advance that there are many alternative means, first methods in electronic equipment For one of alternative means mode, second method is the another way in alternative means, and alternative means are for that will adopt The mode for the target voice data for including in the ambient sound data of collection.
For example, alternative means can be de-noising mode, for example, multiple alternative means include: BF (Beam Forming) de-noising mode, AEC (Acoustic Echo Cancellation) de-noising mode, FFP (Far Field Pick Up) de-noising mode, then, first method is one of multiple alternative means de-noising mode, and second method is in alternative means Another de-noising mode.Wherein, BF de-noising mode is that the mode of de-noising, AEC de-noising mode are carried out to the sound of specific direction The mode of de-noising is carried out for the echo to the machine, the present mode of FFP is that 360 degree of sound are carried out with the mode of de-noising.
By taking multiple alternative means of the example above as an example, first method can be FFP de-noising mode, and second method can be BF de-noising mode.
As another implementation, it is previously stored with multiple candidate submodes in electronic equipment, is handled with first method The ambient sound data of acquisition include: the ambient sound number at least two submodes processing acquisition in multiple candidate submodes According to.Since second method is different from first method, the selected son side as second method from multiple candidate submodes Formula is at least also not exactly the same with the submode in first method.
In this application, at least partly alternative means of multiple candidate submodes at least can make up an alternative means. Details can will be described later.
It can be seen that in the present embodiment, in the flrst mode, whether detection electronic equipment meets switching condition, if Meet switching condition, be switched to second mode, wherein in the flrst mode, the ambient sound number of acquisition is handled with first method According to obtaining first as a result, under the second mode, with the ambient sound number for the second method processing acquisition for being different from first method According to obtaining second as a result, first method and second method are characterized for the target that will include in the ambient sound data of acquisition Voice data and interference sound data processing are the mode of target voice data, realize the automatic of the different modes of electronic equipment Switching, improves user experience.
In the application embodiment of the method two, at least partly submode in multiple candidate's submodes is for forming at least one A alternative means.That is, pre-stored multiple candidate submodes can be a near few candidate side in electronic equipment Formula is split by training.
Specifically, training alternative means are in advance to obtain multiple candidate submodes, specifically, can be by receiving training sound Alternative means are carried out the fractionation of submode by sound data, and different spies in trained voice data can be eliminated or filter out by training Property voice data submode, form candidate submode set, and store it in electronic equipment.
Wherein, training voice data can be the voice data under varying environment, a kind of illustrated training side Fig. 2 Formula, as shown in Fig. 2, training voice data includes voice data, the Caf é of voice data from Meeting room, Office The voice data of Bar and the voice data in meeting-place, by BP de-noising mode, FFP de-noising mode, AEC de-noising mode and Keysroker de-noising mode is trained, and the submode that can be trained includes submode (1), submode (2), submode (3), submode (4), submode (5) and submode (6).Wherein, submode (1), submode (2), submode (3), son side Formula (4), submode (5) and submode (6) can be used as candidate submode storage in the electronic device.
It should be noted that when being trained fractionation to alternative means to obtain submode, it specifically can be according to direction, frequency The various Training strategies such as rate, vocal print feature split to obtain submode.
In order to make it easy to understand, in BF de-noising mode as an example, specifically, BF be the sound of specific direction is carried out de-noising to The mode of voice is obtained, by being trained fractionation to BF de-noising mode, can at least split out following several modes:
For obtaining the submode of specific direction voice data;
For obtaining the submode of the voice data of the frequency of people;
For obtaining the submode of the vocal print characteristic of voice;
For filtering out the submode for being higher than voice data of the intensity of sound higher than 10db.
In the application embodiment of the method three, the first combination of multiple candidate's submodes is for for the first frequency of first direction The ambient sound data of section are handled;Second combination of multiple candidate's submodes is for the ambient sound number for the second frequency range According to being handled.
Wherein, the first frequency range and the second frequency range are not exactly the same, specifically can entirely different or the first frequency range and second Frequency range partly overlaps.
Ambient sound data due to the first combination for for the first frequency range of first direction are handled, and first group It includes at least in conjunction at least one submode, at least one submode for the first frequency range for first direction.
Ambient sound data due to the second combination for for the second frequency range are handled, in the second combination at least Include at least one submode for being directed to the second frequency range.
First direction and the first frequency range, specific setting value the application of the second frequency range without limitation, for example, first direction is 60 °~90 ° of direction, the first frequency range and the second frequency range is respectively the different frequency range for including voice frequency range.
Specifically, first combination can for for for the first frequency range of first direction ambient sound data carry out de-noising with The combination of voice data is obtained, the second combination can carry out de-noising for the ambient sound data for being directed to the second frequency range to obtain The combination of voice data.For example, the first combined function can be equivalent to the function of BF de-noising mode, the second combined function can The function etc. of AEC de-noising mode can be equivalent to by the function being equivalent in a manner of FFP de-noising or the second combined function.
In the present embodiment, optionally, first method can be the second combination chosen from multiple candidate submodes, Second method can be the first combined mode chosen from multiple candidate submodes.
Since the function of part particular candidate submode is merely able to split out from particular candidate mode, for example, BP disappears The mode of making an uproar can carry out de-noising for the voice data of specific direction, and FFP de-noising mode is not directed to specific direction, therefore realizes Be for 360 ° voice data carry out de-noising.Obviously, the function for the submode of specific direction is merely able to from BP de-noising It is splitted out in mode, then, if it is desired to a combination, which is chosen, from multiple candidate submodes is directed to a certain candidate to realize The function of mode, then specific submode is exactly problem in need of consideration.
Therefore, in the application embodiment of the method four, specific submode can be only contained in second method.
It by specifying specific submode in second method, and cannot be included in first method, so that when needing to select When taking the combination of the candidate submode of the function for realizing particular candidate mode, it is merely able to selection second method, solves conflict Problem.Optionally, which can be the submode handled for specific direction.
For example, function of submode (1)+(2)+(3) for realizing BF mode, submode (1) is for specific direction Submode, submode (2)+(3)+(4) for realizing FFP mode function.So, submode (1) can only be contained in second In mode so that when electronic equipment meets switching condition, can from multiple candidate submodes selection comprising submode (1)+ (2)+(3) second method, and in first method will not include submode (1), therefore, candidate submode is chosen anyway and is made Collision problem will not be generated for first method.
In order to make it easy to understand, the application is described in detail by a specific example, specifically referring to figure 3..
By using the voice data of vial knock A, polybag grating B, air conditioning exhausting sound C and voice D as Training voice data, can train submode 1 be can filter glass bottle knock, submode 2 can filtering plastic bag rub Wiping sound, submode 3 can filter air conditioning exhausting sound, submode 4 is used to pick up the sound of specific direction.
Under first scene, ambient sound data include vial knock A, polybag grating B and voice D; Under second scenario, ambient sound data include vial knock A, air conditioning exhausting sound C and voice D.
Assuming that electronic equipment is in the first scene in the flrst mode, it is in the second scene under the second mode, then, the One mode can be comprising submode 1+ submode 2, to obtain voice D from ambient sound data.Second method can be Comprising submode 1+ submode 3+ submode 4, to obtain voice D from ambient sound data.
Corresponding with a kind of above-mentioned processing method, disclosed herein as well is a kind of electronic equipment, below by way of several implementations Example is described.
The application Installation practice one provides a kind of electronic equipment, as shown in figure 4, a kind of electronic equipment includes: acquisition Device 100, memory 200 and processor 300;Wherein:
Collector 100, for acquiring ambient sound data;
Specifically, collector 100 can be sound collector, such as microphone, can also be sound transducer.
Memory 200, for storing program;
Processor 300, for executing described program, described program is in the flrst mode, detecting the electronic equipment Whether meet switching condition, if meeting the switching condition, switches to second mode.
Wherein, in the first mode, the ambient sound data are handled with first method, obtains the first result;? Under the second mode, the ambient sound data are handled with the second method for being different from the first method, obtain the second knot Fruit.
The first method and the second method characterize the target for that will include in the ambient sound data of acquisition Voice data and interference sound data processing are the mode of target voice data.
Optionally, target voice data can be voice data, and interference sound data can be other in addition to voice Voice data, voice data can be obtained by being handled by first method or second method ambient sound data.Certainly originally Application is not limited thereto, and target voice data may be other voice datas in addition to voice, due to alternative sounds number According to frequency, vocal print feature etc. be different, therefore can be by first method or second method from ambient sound data Processing obtains various voice datas.
Since used mode is different under different conditions for electronic equipment, then specifically, detection electronic equipment is The no switching condition that meets includes at least one of the following:
The specific direction for detecting electronic equipment whether there is object;Or
Whether electronic equipment is detected currently in default environment;Or
Detect whether the currently playing application of electronic equipment is specific application.
Correspondingly, if the specific direction of electronic equipment there are object, for using the ambient sound of second method processing acquisition Sound data;If the specific direction of electronic equipment does not have object, for using the ambient sound data of first method processing acquisition.
Specifically, sensor can be set on electronic equipment, such as capacitance sensor, infrared sensor, for detecting The specific direction of electronic equipment whether there is object, such as whether have human object in the front of electronic equipment.
If electronic equipment is currently at default environment, for using the ambient sound data of second method processing acquisition;If Electronic equipment is not presently within default environment, for using the ambient sound data of first method processing acquisition.
Specifically, locating module can be set on electronic equipment, judge whether electronic equipment is located by locating module Under default environment.Ambient sound data can certainly be directly based upon to judge whether electronic equipment is under default environment. The default environment can be that high noise environments can if being currently at meeting-place position by locating module Positioning Electronic Devices To determine that electronic equipment is under default environment, or, if it is determined that the loudness of ambient sound data is greater than default loudness and then may be used To determine that electronic equipment is under high noise environments.The level of noise that i.e. high noise environments are referred to as electronic equipment local environment reaches The environment of preset value.
If the currently playing application of electronic equipment is specific application, for using the ambient sound of second method processing acquisition Data;If the currently playing application of electronic equipment is not specific application, for using the ambient sound of first method processing acquisition Data.
Specifically, can be with the identification list of pre-set specific application, to judge that the mark of currently playing application is It is no in preset identification list, if it is, determine currently playing application for specific application, if it is not, then Determine that currently playing application is not specifically to apply.For example, specific application can be conference call application.
In this application, as a kind of implementation, it is stored in advance that there are many alternative means, first methods in electronic equipment For one of alternative means mode, second method is the another way in alternative means, and alternative means are for that will adopt The mode for the target voice data for including in the ambient sound data of collection.
For example, alternative means can be de-noising mode, for example, multiple alternative means include: BF (Beam Forming) de-noising mode, AEC (Acoustic Echo Cancellation) de-noising mode, FFP (Far Field Pick Up) de-noising mode, then, first method is one of multiple alternative means de-noising mode, and second method is in alternative means Another de-noising mode.Wherein, BF de-noising mode is that the mode of de-noising, AEC de-noising mode are carried out to the sound of specific direction The mode of de-noising is carried out for the echo to the machine, the present mode of FFP is that 360 degree of sound are carried out with the mode of de-noising.
By taking multiple alternative means of the example above as an example, first method can be FFP de-noising mode, and second method can be BF de-noising mode.
As another implementation, it is previously stored with multiple candidate submodes in electronic equipment, is handled with first method The ambient sound data of acquisition include: the ambient sound number at least two submodes processing acquisition in multiple candidate submodes According to.Since second method is different from first method, the selected son side as second method from multiple candidate submodes Formula is at least also not exactly the same with the submode in first method.
In this application, at least partly alternative means of multiple candidate submodes at least can make up an alternative means. Details can will be described later.
It can be seen that in the present embodiment, in the flrst mode, whether detection electronic equipment meets switching condition, if Meet switching condition, be switched to second mode, wherein in the flrst mode, the ambient sound number of acquisition is handled with first method According to obtaining first as a result, under the second mode, with the ambient sound number for the second method processing acquisition for being different from first method According to obtaining second as a result, first method and second method are characterized for the target that will include in the ambient sound data of acquisition Voice data and interference sound data processing are the mode of target voice data, realize the automatic of the different modes of electronic equipment Switching, improves user experience.
In the application Installation practice two, at least partly submode in multiple candidate's submodes is for forming at least one A alternative means.That is, pre-stored multiple candidate submodes can be a near few candidate side in electronic equipment Formula is split by training.
Specifically, training alternative means are in advance to obtain multiple candidate submodes, specifically, can be by receiving training sound Alternative means are carried out the fractionation of submode by sound data, and different spies in trained voice data can be eliminated or filter out by training Property voice data submode, form candidate submode set, and store it in electronic equipment.
Wherein, training voice data can be the voice data under varying environment.It should be noted that alternative means into Row training splits can specifically split according to the various Training strategies such as direction, frequency, vocal print feature when obtaining submode To submode.
In order to make it easy to understand, in BF de-noising mode as an example, specifically, BF be the sound of specific direction is carried out de-noising to The mode of voice is obtained, by being trained fractionation to BF de-noising mode, can at least split out following several modes:
For obtaining the submode of specific direction voice data;
For obtaining the submode of the voice data of the frequency of people;
For obtaining the submode of the vocal print characteristic of voice;
For filtering out the submode for being higher than voice data of the intensity of sound higher than 10db.
In the application Installation practice three, the first combination of multiple candidate's submodes is for for the first frequency of first direction The ambient sound data of section are handled;Second combination of multiple candidate's submodes is for the ambient sound number for the second frequency range According to being handled.
Wherein, the first frequency range and the second frequency range are not exactly the same, specifically can entirely different or the first frequency range and second Frequency range partly overlaps.
Ambient sound data due to the first combination for for the first frequency range of first direction are handled, and first group It includes at least in conjunction at least one submode, at least one submode for the first frequency range for first direction.
Ambient sound data due to the second combination for for the second frequency range are handled, in the second combination at least Include at least one submode for being directed to the second frequency range.
First direction and the first frequency range, specific setting value the application of the second frequency range without limitation, for example, first direction is 60 °~90 ° of direction, the first frequency range and the second frequency range is respectively the different frequency range for including voice frequency range.
Specifically, first combination can for for for the first frequency range of first direction ambient sound data carry out de-noising with The combination of voice data is obtained, the second combination can carry out de-noising for the ambient sound data for being directed to the second frequency range to obtain The combination of voice data.For example, the first combined function can be equivalent to the function of BF de-noising mode, the second combined function can The function etc. of AEC de-noising mode can be equivalent to by the function being equivalent in a manner of FFP de-noising or the second combined function.
In the present embodiment, optionally, first method can be the second combination chosen from multiple candidate submodes, Second method can be the first combined mode chosen from multiple candidate submodes.
Since the function of part particular candidate submode is merely able to split out from particular candidate mode, for example, BP disappears The mode of making an uproar can carry out de-noising for the voice data of specific direction, and FFP de-noising mode is not directed to specific direction, therefore realizes Be for 360 ° voice data carry out de-noising.Obviously, the function for the submode of specific direction is merely able to from BP de-noising It is splitted out in mode, then, if it is desired to a combination, which is chosen, from multiple candidate submodes is directed to a certain candidate to realize The function of mode, then specific submode is exactly problem in need of consideration.
Therefore, in the application Installation practice four, specific submode can be only contained in second method.
It by specifying specific submode in second method, and cannot be included in first method, so that when needing to select When taking the combination of the candidate submode of the function for realizing particular candidate mode, it is merely able to selection second method, solves conflict Problem.Optionally, which can be the submode handled for specific direction.
For example, function of submode (1)+(2)+(3) for realizing BF mode, submode (1) is for specific direction Submode, submode (2)+(3)+(4) for realizing FFP mode function.So, submode (1) can only be contained in second In mode so that when electronic equipment meets switching condition, can from multiple candidate submodes selection comprising submode (1)+ (2)+(3) second method, and in first method will not include submode (1), therefore, candidate submode is chosen anyway and is made Collision problem will not be generated for first method.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other The difference of embodiment, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment For, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is said referring to method part It is bright.
The foregoing description of the disclosed embodiments makes professional and technical personnel in the field can be realized or use the application. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the application.Therefore, the application It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (10)

1. a kind of processing method, comprising:
Under first mode, whether detection electronic equipment meets switching condition;
If meeting the switching condition, second mode is switched to;
Wherein, in the first mode, the ambient sound data that acquisition is handled with first method, obtain the first result;Institute It states under second mode, with the ambient sound data for the second method processing acquisition for being different from the first method, obtains the second knot Fruit;
The first method and the second method characterize the target sound for that will include in the ambient sound data of acquisition Data and interference sound data processing are the mode of target voice data.
2. according to the method described in claim 1, wherein,
The ambient sound data for handling acquisition with first method include: at least two son sides in multiple candidate submodes The ambient sound data of formula processing acquisition.
3. according to the method described in claim 2, wherein, specific submode can be only contained in the second method.
4. according to the method described in claim 2, wherein,
First combination of the multiple candidate's submode is for being directed at the ambient sound data of the first frequency range of first direction Reason;
And/or ambient sound data of the second combination of the multiple candidate submode for for the second frequency range are handled;
First frequency range and second frequency range are not exactly the same.
5. according to the method described in claim 1, wherein, it includes in following that whether the detection electronic equipment, which meets switching condition, At least one:
The specific direction for detecting electronic equipment whether there is object;Or
Whether electronic equipment is detected currently in default environment;Or
Detect whether the currently playing application of electronic equipment is specific application.
6. according to the method described in claim 5, wherein,
There are objects for the specific direction of the electronic equipment, for using the ambient sound number of the second method processing acquisition According to;The specific direction of the electronic equipment does not have object, for using the ambient sound data of the first method processing acquisition;
The electronic equipment is currently at default environment, for using the ambient sound data of the second method processing acquisition; The electronic equipment is not presently within default environment, for using the ambient sound data of the first method processing acquisition;
The currently playing application of the electronic equipment is specific application, for using the ambient sound of the second method processing acquisition Sound data;The currently playing application of the electronic equipment is not specific application, for using the first method processing acquisition Ambient sound data.
7. a kind of electronic equipment, comprising:
Collector, for acquiring ambient sound data;
Memory, for storing program;
Processor, for executing described program, described program is in the flrst mode, detecting whether the electronic equipment meets Switching condition switches to second mode if meeting the switching condition;
Wherein, in the first mode, the ambient sound data are handled with first method, obtains the first result;Described Under second mode, the ambient sound data are handled with the second method for being different from the first method, obtain the second result;
The first method and the second method characterize the target sound for that will include in the ambient sound data of acquisition Data and interference sound data processing are the mode of target voice data.
8. electronic equipment according to claim 7, wherein the ambient sound data packet for handling acquisition with first method It includes: with the ambient sound data of at least two submodes processing acquisition in multiple candidate submodes.
9. electronic equipment according to claim 8, wherein specific submode can be only contained in the second method.
10. electronic equipment according to claim 8, wherein
First combination of the multiple candidate's submode is for being directed at the ambient sound data of the first frequency range of first direction Reason;
And/or ambient sound data of the second combination of the multiple candidate submode for for the second frequency range are handled;
First frequency range and second frequency range are not exactly the same.
CN201811160876.7A 2018-09-30 2018-09-30 A kind of processing method and electronic equipment Pending CN109324781A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811160876.7A CN109324781A (en) 2018-09-30 2018-09-30 A kind of processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811160876.7A CN109324781A (en) 2018-09-30 2018-09-30 A kind of processing method and electronic equipment

Publications (1)

Publication Number Publication Date
CN109324781A true CN109324781A (en) 2019-02-12

Family

ID=65266744

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811160876.7A Pending CN109324781A (en) 2018-09-30 2018-09-30 A kind of processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN109324781A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007306472A (en) * 2006-05-15 2007-11-22 Sharp Corp Binaural recording combination noise cancellation headphone and binaural recording method
CN103456305A (en) * 2013-09-16 2013-12-18 东莞宇龙通信科技有限公司 Terminal and speech processing method based on multiple sound collecting units
CN104616662A (en) * 2015-01-27 2015-05-13 中国科学院理化技术研究所 Active noise reduction method and device
CN106126183A (en) * 2016-06-30 2016-11-16 联想(北京)有限公司 Electronic equipment and audio-frequency processing method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007306472A (en) * 2006-05-15 2007-11-22 Sharp Corp Binaural recording combination noise cancellation headphone and binaural recording method
CN103456305A (en) * 2013-09-16 2013-12-18 东莞宇龙通信科技有限公司 Terminal and speech processing method based on multiple sound collecting units
CN104616662A (en) * 2015-01-27 2015-05-13 中国科学院理化技术研究所 Active noise reduction method and device
CN106126183A (en) * 2016-06-30 2016-11-16 联想(北京)有限公司 Electronic equipment and audio-frequency processing method

Similar Documents

Publication Publication Date Title
CN109998428B (en) Cleaning method, system and device for sweeping robot
JP7403526B2 (en) Systems and methods for removable and attachable acoustic imaging sensors
CN109729266A (en) A kind of image capturing method, terminal and computer readable storage medium
CN106356070B (en) A kind of acoustic signal processing method and device
CN104836918A (en) Method and system for automatically switching contextual modes of mobile terminal
CN107210824A (en) The environment changing of microphone
CN110225244A (en) A kind of image capturing method and electronic equipment
CN107172566B (en) Audio-frequency processing method and device
CN106506872A (en) Talking state detection method and device
CN108287653A (en) Flexible screen terminal control method, flexible screen terminal and computer readable storage medium
CN108848313B (en) Multi-person photographing method, terminal and storage medium
CN109640224B (en) Pickup method and device
CN109448718A (en) A kind of audio recognition method and system based on multi-microphone array
CN109711259A (en) Fingerprint input method and relevant device
CN106970535A (en) A kind of control method and electronic equipment
JP2017016062A5 (en) Control device, control method and program
CN107452398B (en) Echo acquisition method, electronic device and computer readable storage medium
CN106095380A (en) Acoustical signal acquisition methods and device
CN109348392A (en) A method of realizing the detection of microphone array hardware state
CN106302974A (en) A kind of method of information processing and electronic equipment
US9332331B2 (en) Data processing method and an electronic apparatus
CN109324781A (en) A kind of processing method and electronic equipment
CN109416726A (en) The setting for calculating equipment is adjusted based on position
CN109740430A (en) Fingerprint input method and relevant device
CN108230312A (en) A kind of image analysis method, equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination