Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
embodiment one
Fig. 1 is the realization flow figure of the earphone noise-reduction method that the embodiment of the present invention provides, and details are as follows:
In step S101, utilize ear microphone, gather the noise signal of residing environment;
Wherein, utilize ear microphone, gather the noise signal of residing environment, have two kinds of execution modes, details are as follows:
The first execution mode:
Every the assay intervals preset, utilize ear microphone, gather the noise signal of residing environment.
It should be noted that, because the noise signal of environment within a period of time, too large change can't occur usually, therefore, every the assay intervals preset, one-time detection is carried out to the noise signal of environment, the electric quantity consumption of earphone can be saved further.
The second execution mode:
When leaving the last distance gathering the geographical position of the noise signal of residing environment and being not less than predeterminable range, utilize ear microphone, gather the noise signal of residing environment.
It should be noted that, after the distance in the geographical position that the noise signal leaving last residing environment due to earphone detects exceedes predeterminable range, likely because the distance on geographical position, residing environment also there occurs change, now again one-time detection is carried out to the noise signal of residing environment, the situation of change of the noise signal intensity of environment residing for user can be informed in time.
It should be noted that, predeterminable range is not exceeded owing to likely occurring that earphone moves, but the situation that traveling time is longer, in order to avoid the noise signal intensity of environment residing in the traveling time that this is longer has a very large change, but cannot Real-time Collection, now, further, step S101 is specially:
When the distance in the geographical position that the noise signal that earphone leaves last residing environment detects does not exceed predeterminable range, if the time that now residing for the distance earphone last time, the noise signal of environment detects has exceeded the assay intervals preset, then earphone also obtains the noise signal detection carrying out residing environment
The accuracy that the noise signal improving residing environment further thus detects and real-time.
Similarly, it should be noted that, the GPS function that can be carried by earphone obtains the distance in the geographical position that noise signal that the earphone current distance last time carries out residing environment detects, and judges that the distance whether described earphone leaves the geographical position that noise signal that the last time carries out residing environment detects does not exceed predeterminable range.
In step s 102, send described noise signal to the terminal connected, or send level of noise corresponding to described noise signal to the terminal connected;
Wherein, described noise signal can be sent directly to the terminal connected, also can sample to described noise signal, generate the level of noise that described noise signal is corresponding, send level of noise corresponding to described noise signal to the terminal connected.Wherein, described terminal is the equipment being carried out order or data interaction by wired or wireless mode and earphone.
Described terminal includes but not limited to smart mobile phone, panel computer, notebook computer, desktop computer, intelligent television.
It should be noted that, between earphone and terminal, the mode wired by any one connects, or is connected by any one wireless mode.Wireless mode includes but not limited to bluetooth, WIFI, 3G, 4G, 5G.Wherein, earphone does not have display screen, can only functionally open or close noise reduction, the any visual information of user and suggestion cannot be given to, also cannot provide for user the scheme controlling noise reduction flexibly, by send described noise signal or level of noise corresponding to described noise signal to the terminal connected, make earphone without the need to judging noise signal, decrease the pressure of the controller deal with data of earphone, meanwhile, the scheme of the control noise reduction that the terminal that also can receive connection sends.
In step s 103, receive the judged result that described terminal returns, according to described judged result, open decrease of noise functions or close decrease of noise functions.
The communication interface of earphone by presetting, receive the judged result that described terminal returns, according to described judged result, whether the state detecting decrease of noise functions current is consistent with described judged result, if consistent time, maintain the state that decrease of noise functions is current, if inconsistent time, change the state that decrease of noise functions is current, open decrease of noise functions or close decrease of noise functions.
In embodiments of the present invention, receive the judged result that described terminal returns, according to described judged result, open decrease of noise functions or close decrease of noise functions, solve existing earphone noise-reduction method, need button or toggle switch that adjustment noise reduction is set on earphone, be unfavorable for that the height of earphone is integrated, and the problem of decrease of noise functions cannot be opened or closed in time.By traditional manual noise reduction, change automatic noise reduction into, make earphone not only hommization and intellectuality more, also more can meet the demand of user to health ear simultaneously.
embodiment two
Fig. 2 is the implementing procedure figure of the earphone noise-reduction method S102 that the embodiment of the present invention provides, and details are as follows:
In step s 201, by the described noise signal input sample passage of part;
In step S202, in described sampling channel, the described noise signal of part is carried out analog-to-digital conversion, generates the level of noise of described noise signal;
In step S203, send level of noise corresponding to described noise signal to the terminal connected.
In embodiments of the present invention, send level of noise corresponding to described noise signal to the terminal connected, so that the judged result that receiving terminal generates according to noise signal, according to described judged result, open decrease of noise functions or close decrease of noise functions.
embodiment three
Fig. 3 is the implementing procedure figure of the earphone noise-reduction method S103 that the embodiment of the present invention provides, and details are as follows:
In step S301, receive the described judged result that described terminal returns, described judged result comprises the judged result of opening noise reduction and the judged result of closing noise reduction;
In step s 302, when described judged result is the judged result of opening noise reduction, decrease of noise functions is opened;
When described judged result is the judged result of opening noise reduction, whether the state that the decrease of noise functions of Test earphone is current is in opening, when the state that the decrease of noise functions of earphone is current is not in opening, opens decrease of noise functions.
In step S303, when described judged result is the judged result of closing noise reduction, close decrease of noise functions.
When described judged result is the judged result of closing noise reduction, whether the state that the decrease of noise functions of Test earphone is current is in closed condition, when the state that the decrease of noise functions of earphone is current is not in closed condition, closes decrease of noise functions.
In embodiments of the present invention, according to judged result, open decrease of noise functions or close decrease of noise functions, achieving the function of the automatic noise reduction of earphone, improve the degree of integration of earphone, decrease unnecessary power consumption, improve the flying power of earphone.
embodiment four
The embodiment of the present invention essentially describes the present invention in actual applications, preferably implementing procedure, and details are as follows:
After ear microphone collects the noise signal of environment, there are two kinds of processing modes:
If use simulation noise reduction technology, then the noise signal of environment is divided into two-way, ADC of leading up to changes the calculating carried out numerically, and obtain the decibel value of noise signal, another road is input to active noise reduction module as analog signal.
If use digital noise reduction technology, then the direct noise signal by environment is input to active noise reduction module, calculates and return the decibel value of noise signal in inside modules.
This decibel value is passed through any one transmission means, is transferred to terminal.Such as, transmission means includes but not limited to Bluetooth transmission mode, WIFI transmission means, 3G transmission means, 4G transmission means, 5G transmission means.
Terminal is analyzed it after receiving the decibel value of noise signal, returns two contents:
Section 1 content: the result noise signal of current environment analyzed at terminal demonstration, and analysis provides the suggestion that user uses earphone;
Section 2 content: send the corresponding command from trend earphone, by the function point analysis of earphone to the using state adapting to most current noisy environment.
If user not receiving terminal controls the best using state that reaches of earphone, user can regulate in terminal or earphone, adjusts earphone using state.
embodiment five
The embodiment of the present invention essentially describes the present invention's preferably implementing procedure in three different scenes, and details are as follows:
First scene, the noise signal decibel value that earphone gathers environment provides noise reduction suggestion by smart mobile phone, and details are as follows:
After ear microphone collects the noise signal of environment, the noise signal of environment is divided into two-way, ADC of leading up to changes the calculating carried out numerically, and the noise signal decibel value obtaining environment is 80dB.
Obtain decibel value by by Bluetooth transmission to smart mobile phone.
After smart mobile phone receives decibel value, analyze it, known 80dB can damage the hearing of people's ear significantly, and user volume is adjusted excessive.
After decrease of noise functions unlatching, will there is relatively excessive situation in the volume rank of the current use of user, therefore display analysis result and use suggestion on smart mobile phone, and display analysis result is as follows with use suggestion:
Suggestion user opens the decrease of noise functions of earphone, and reduces, the volume rank of earphone or mobile phone to protect hearing.
Secondly, smart mobile phone sends the order of opening active noise reduction function from trend earphone, and the volume rank of earphone is reduced.
Second scene, the noise signal decibel value that earphone gathers environment provides noise reduction suggestion by panel computer, and details are as follows:
After ear microphone collects the noise signal of environment, the noise signal of environment is divided into two-way, ADC of leading up to changes the calculating carried out numerically, and the noise signal decibel value obtaining environment is 20dB.
The decibel value obtained is transferred to panel computer by by WIFI.
After board joint receives decibel value, analyze it, known 20dB can not damage the hearing of people's ear significantly, and people's ear is to the sound of 20dB audible hardly, but active user opens decrease of noise functions.Therefore display analysis result and use suggestion on panel computer: suggestion user close earphone active noise reduction function and by high for the volume rank of earphone or mobile phone, to ensure that active noise reduction function is closed descendant ear and heard that the signal to noise ratio of sound remains unchanged;
Secondly, send the order of closing active noise reduction function from trend earphone, and the volume rank of earphone is heightened.
3rd scene, the noise signal decibel value that earphone gathers environment provides noise reduction suggestion by notebook computer, and details are as follows:
After ear microphone collects the noise signal of environment, the noise signal of environment is input to active noise reduction module, after this resume module, the noise signal decibel value exporting current environment is 60dB.
The decibel value obtained is transferred to panel computer by by USB.
After board joint receives decibel value, analyze it, known 60dB can damage the hearing of people's ear significantly, and active user opens noise reduction.Therefore display analysis result and use suggestion on notebook computer: suggestion user keeps current using state;
Notebook computer does not send any order to earphone.
embodiment six
Fig. 4 is the first structured flowchart of the noise reduction device of earphone that the embodiment of the present invention provides, and this noise reduction device of earphone can run in earphone.For convenience of explanation, illustrate only part related to the present embodiment.
With reference to Fig. 4, this noise reduction device of earphone, comprising:
Noise signal acquisition module 41, for utilizing ear microphone, gathers the noise signal of residing environment;
Noise signal sending module 42, for sending described noise signal to the terminal connected, or sends level of noise corresponding to described noise signal to the terminal connected;
Decrease of noise functions module 43, for receiving the judged result that described terminal returns, according to described judged result, opening decrease of noise functions or closing decrease of noise functions.
In a kind of implementation of the present embodiment, in this noise reduction device of earphone, described noise signal acquisition module 41, specifically for every the assay intervals preset, utilizes ear microphone, gathers the noise signal of residing environment.
In a kind of implementation of the present embodiment, in this noise reduction device of earphone, described noise signal acquisition module 41, specifically for when leaving the last distance gathering the geographical position of the noise signal of residing environment and being not less than predeterminable range, utilize ear microphone, gather the noise signal of residing environment.
In a kind of implementation of the present embodiment, be the second structured flowchart of the noise reduction device of earphone that the embodiment of the present invention provides with reference to figure 5, Fig. 5, in this noise reduction device of earphone, described noise signal sending module 42, comprising:
Noise signal input unit 421, for the described noise signal input sample passage by part;
Decibel generation unit 422, in described sampling channel, carries out analog-to-digital conversion by the described noise signal of part, generates the level of noise of described noise signal;
Decibel transmitting element 423, for sending level of noise corresponding to described noise signal to the terminal connected.
In a kind of implementation of the present embodiment, be the 3rd structured flowchart of the noise reduction device of earphone that the embodiment of the present invention provides with reference to figure 6, Fig. 6, in this noise reduction device of earphone, described decrease of noise functions module 43, comprising:
Judged result receiving element 431, for receiving the described judged result that described terminal returns, described judged result comprises the judged result of opening noise reduction and the judged result of closing noise reduction;
Decrease of noise functions opens unit 432, during for being the judged result of opening noise reduction when described judged result, opens decrease of noise functions;
Decrease of noise functions closing unit 433, during for being the judged result of closing noise reduction when described judged result, closes decrease of noise functions.
The device that the embodiment of the present invention provides can be applied in the embodiment of the method for aforementioned correspondence, and details, see the description of above-described embodiment, do not repeat them here.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add required common hardware by software and realizes.Described program can be stored in read/write memory medium, described storage medium, as random asccess memory, flash memory, read-only memory, programmable read only memory, electrically erasable programmable memory, register etc.This storage medium is positioned at memory, and processor reads the information in memory, performs the method described in each embodiment of the present invention in conjunction with its hardware.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; the change that can expect easily or replacement, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.