Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, embodiment of the present invention is described further in detail below in conjunction with accompanying drawing.
Embodiment one
Present embodiment provides a kind of control method of audio frequency output, and referring to Fig. 1, this method flow comprises:
101: detect the state whether earphone is in audio frequency output;
102:, then discern current audio frequency output environment if detect the state that earphone is in audio frequency output;
103: the volume of regulating audio frequency output according to the current audio frequency output environment that identifies, and determine default audio frequency output time, after reaching default audio frequency output time, close audio frequency output.
In one embodiment, detect the state whether earphone is in audio frequency output, specifically comprise:
Human body information on earphone, and judge according to detected human body information whether earphone is in the state of audio frequency output, human body information comprise one or more in the pressure that human body temperature, human pulse and ear give at least.
In one embodiment, above-mentionedly judge that according to detected human body information whether earphone is in the state of audio frequency output, specifically comprises:
Judge whether detected human body information reaches the corresponding preset threshold value, if judge that then earphone is in the state of audio frequency output.
Discern current audio frequency output environment, specifically comprise:
Obtain the voice signal in the current audio frequency output environment, voice signal is converted to the characteristic of decibels, and according to the decibels that quantizes and the current audio frequency output environment of corresponding audio output environment recognition feature data correspondence.
Preferably, the volume according to the current audio frequency output environment that identifies is regulated audio frequency output specifically comprises:
Determine the volume range of audio frequency output according to the current audio frequency output environment that identifies, and according to user's input, the volume of in the volume range of audio frequency output, regulating audio frequency output.
The method that present embodiment provides, by regulating volume and determine default audio frequency output time according to the current audio frequency output environment that identifies, and after reaching default audio frequency output time, close audio frequency output, thereby can control effectively audio frequency output, and then solve, and the hearing impairment of avoiding the louder volume noise to cause because of the output of long-time reception audio frequency causes the problem of hearing impairment; In addition, by the input according to the user, the volume of regulating audio frequency output in the volume range of different audio frequency outputs not only can control exactly to volume, can also further promote user experience.
Embodiment two
Present embodiment provides a kind of control method of audio frequency output; this method is by the current audio frequency output environment of identification; and the volume of audio frequency being exported according to the current audio frequency output environment that identifies controls; and after reaching default audio frequency output time, close audio frequency output, thereby hearing is protected.For convenience of explanation, present embodiment is that earphone is an example with the control appliance of audio frequency output, and the method that present embodiment is provided is described in detail.Referring to Fig. 2, the method flow that present embodiment provides comprises:
201: detect the state whether earphone is in audio frequency output, if then execution in step 202, otherwise flow process finishes;
At this step, in the practical application, can be on earphone human body information, and judge according to detected human body information whether earphone is in the state of audio frequency output, wherein, human body information comprises one or more in the pressure that human body temperature, human pulse and ear give at least.During specific implementation, the mode of human body information can realize by transducer on earphone, for example, detect human body temperature on the earphone by temperature sensor, detect human pulse on the earphone by pulse transducer, detect ear by pressure sensor and give pressure of earphone or the like, the sensor can also be joined together make jointly the human body information that is used for detecting on the earphone, about how detecting the user mode whether earphone is in audio frequency output, present embodiment does not limit detection mode and the detected concrete human body information of taking.
In addition, about how to judge according to detected human body information whether earphone is in the state of audio frequency output, concrete qualification is not done in this enforcement equally, need to prove, the state of audio frequency output refers to that not only earphone has audio frequency output, and when the user has put on this earphone, think that just this earphone is in the state of audio frequency output, just is in a kind of user mode.During specific implementation, can judge whether detected human body information reaches the corresponding preset threshold value, if judge that then earphone is in the state of audio frequency output.Wherein, the predetermined threshold value that different human body informations is corresponding different, for example, when human body information is human body temperature, its corresponding preset threshold value can be 36 degree, when human body information was human pulse, its corresponding preset threshold value can be that present embodiment does not limit the concrete predetermined threshold value of every kind of human body information correspondence 70 time/minute or the like.In this step, on earphone, detecting human pulse, and reach 70 times/minute and be example, then can judge the state that this earphone is in audio frequency output this moment.
202: discern current audio frequency output environment;
Wherein, can divide a plurality of audio frequency output environments according to the external environment noise, present embodiment does not limit concrete audio frequency output environment.For the ordinary people, 0 to 20 decibel sound is very quiet, almost imperceptible; 20 to 40 decibels sound peace and quiet, just as endless chatter softly, 40 to 60 decibels sound is general, is equivalent to general room and talks; And 60 to 70 decibels sound can allow the people feel to make a lot of noise, diminish nerve, and to this, present embodiment is only to divide quiet environment according to the external environment noise and two kinds of audio frequency output environments of noisy environment are example.For example, during smaller or equal to 60 decibels, the audio frequency output environment is divided into quiet environment, during greater than 60 decibels, the audio frequency output environment is divided into noisy environment in extraneous ambient noise in extraneous ambient noise.
Particularly, when discerning current audio frequency output environment, specifically comprise:
Obtain the voice signal in the current audio frequency output environment, voice signal is converted to the characteristic of decibels, and according to the decibels that quantizes and the current audio frequency output environment of corresponding audio output environment recognition feature data correspondence.
Wherein, the decibels of quantification can be set when dividing the audio frequency output environment, and present embodiment is not done concrete qualification to this.In the present embodiment, the decibels of quantification can be made as 60 decibels, belongs to quiet environment smaller or equal to 60 decibels, belongs to noisy environment greater than 60 decibels.For example, after getting access to the voice signal in the current audio frequency output environment, it is 30 decibels that this voice signal is converted to the characteristic that obtains behind the decibels, and then the current audio frequency output environment that can identify this characteristic correspondence of 30 decibels according to the decibels that quantizes is a quiet environment.About how obtaining the voice signal in the current audio frequency output environment, present embodiment is not done concrete qualification, during specific implementation, can obtain voice signal in the current audio frequency output environment by sound transducer.
203: regulate the volume that audio frequency is exported according to the current audio frequency output environment that identifies, and determine default audio frequency output time;
At this step; for the audio frequency output of identical volume, under different audio frequency output environments, its acoustical quality is different; for under the prerequisite of protection hearing; improve acoustical quality, this step has taked to regulate according to current audio frequency output environment the mode of the volume of audio frequency output, for example; under quiet environment; the volume of audio frequency output can be arranged in 60 decibels, under noisy environment, then can suitably the volume of audio frequency output be heightened.
Yet, detect demonstration according to the sound meter, the sound of noisy environment is usually about the 70-80 decibel, if under this occasion, use the earphone receiving audio frequency, its volume need be amplified to and surpass original noisy environment sound more than 30 decibels, the readability that could guarantee the sound heard is identical with sound size when the quiet environment, thereby the sound of this moment is above 100 decibels.If people's ear is exposed to acoustic environment overlong time more than 100 decibels, hearing impairment will appear.To this, the method that present embodiment provides also comprises after the current audio frequency output environment of identification:
Determine the volume range that audio frequency is exported according to the current audio frequency output environment that identifies, for example, under quiet environment, the volume range of determining audio frequency output is in 60 decibels, and under noisy environment, the volume range of determining audio frequency output is in 70 decibels.Then when regulating the volume of audio frequency output according to the current audio frequency output environment that identifies, the volume after needing to guarantee to regulate remains in the volume range of current audio frequency output environment correspondence.In addition, can also in the volume range of audio frequency output, regulate the volume of audio frequency output according to user's input.Present embodiment does not limit concrete regulative mode, for example, can adopt to be adjusted to positive and negative 5 decibels mode at every turn and to quantize to regulate.By determine the volume range of audio frequency output according to the current audio frequency output environment that identifies; and in this volume range, carry out volume and regulate; thereby can make the volume under the varying environment that hommization more is set; intellectuality, especially under noisy environment, the restriction of volume range; can prevent that the user is in order to pursue acoustical quality; volume is transferred to very big situation takes place, thereby effectively protect people's ear not to be subjected to high-intensity sonic stimulation, realize the protection of hearing.
In addition; noise to the infringement of hearing except relevant with volume; also be directly proportional with time of contact; to this; the method that present embodiment provides is when regulating the volume of audio frequency output according to the current audio frequency output environment that identifies; also taked to determine the mode of default audio frequency output time, to reach further protection to hearing.Present embodiment does not limit the length of definite herein audio frequency output time, and according to studies show that, if listen earphone, preferably each time of listening is no more than 20 minutes, so just can be very not big to the hearing influence.Otherwise along with the increase of time lengthening, sound, can produce invisible damage, therefore, the audio frequency output time can be set at 20 minutes hearing.For the output of the audio frequency under the noisy environment, even more serious to the damage meeting of hearing, thereby the audio frequency output time can be set at 10 minutes, then, can determine default audio frequency output time according to the current audio frequency output environment that identifies.
204: after reaching default audio frequency output time, close audio frequency output.
At this step; description in conjunction with above-mentioned steps 203; after determining default audio frequency output time according to the current audio frequency output environment that identifies; in order to protect hearing; the method that present embodiment provides has taked to close the mode of audio frequency output after timing reaches default audio frequency output time; thereby avoided stimulating people's ear for a long time because of the sound of continuation, the impaired hearing that causes.For example, when identifying current audio frequency output environment and be quiet environment,, then close audio frequency output if timing reaches 20 minutes; When identifying current audio frequency output environment and be noisy environment,, then close audio frequency output if timing reaches 10 minutes.Wherein, clocking capability can adopt a timer to finish, but present embodiment is to specifically limiting from when picking up counting, and for example, can pick up counting when earphone is in the state of audio frequency output detecting.
Alternatively, export to the inconvenience that the user brings and the reduction of user experience, after timing reaches default audio frequency output time, can point out, initiatively close audio frequency output to remind the user to the user for fear of closing audio frequency.The mode of prompting can be the signal that gives the alarm in audio frequency output, or carries out voice suggestion, and present embodiment is not done concrete qualification to this.
The method that present embodiment provides, by regulating volume and determine default audio frequency output time according to the current audio frequency output environment that identifies, and after reaching default audio frequency output time, close audio frequency output, thereby can control effectively audio frequency output, and then solve, and the hearing impairment of avoiding the louder volume noise to cause because of the output of long-time reception audio frequency causes the problem of hearing impairment; In addition, by the input according to the user, the volume of regulating audio frequency output in the volume range of different audio frequency outputs not only can control exactly to volume, can also further promote user experience.
Embodiment three
Referring to Fig. 3, present embodiment provides a kind of control appliance of audio frequency output, this control appliance is used for carrying out the method operating procedure of the foregoing description one and embodiment two, comprising: state detection module 301, control module 302, environment identification module 303 and volume adjusting module 304;
State detection module 301 is used to detect the state whether earphone is in audio frequency output;
Control module 302 is used for detecting earphone when being in the state of audio frequency output when state detection module 301, makes the current audio frequency output environment of environment identification module 303 identifications; The current audio frequency output environment that identifies according to environment identification module 303, the volume that control volume adjusting module 304 is regulated audio frequency output, and determine default audio frequency output time according to current audio frequency output environment, after reaching default audio frequency output time, close audio frequency output;
Environment identification module 303 is used for detecting earphone when being in the state of audio frequency output at state detection module 301, the current audio frequency output environment of identification under the control of control module 302;
Volume adjusting module 304 is used for the volume according to the regulating and controlling audio frequency output of control module 302.
Referring to Fig. 4, in one embodiment, this state detection module 301 specifically comprises:
Detecting unit 301a is used for human body information on earphone;
Judging unit 301b is used for judging according to the detected human body information of detecting unit 301a whether earphone is in the state of audio frequency output, and this human body information comprises one or more in the pressure that human body temperature, human pulse and ear give at least.
Wherein, detecting unit 301a comprises one or more in temperature sensor, pulse transducer and the pressure sensor at least.
Wherein, judging unit 301b is used to specifically judge whether the detected human body information of detecting unit 301a reaches the corresponding preset threshold value, if judge that then earphone is in the state of audio frequency output.
In another embodiment, state detection module 301 is specially earphone in-place detection circuit, promptly detects earphone and whether is inserted in circuit in the jack.In existing many electronic products, this type of circuit of existing many maturations is not given unnecessary details at this.
Referring to Fig. 5, environment identification module 303 specifically comprises:
Acquiring unit 303a is used for obtaining the voice signal of current audio frequency output environment;
Converting unit 303b is used for the voice signal that acquiring unit 303a gets access to is converted to the characteristic of decibels;
Recognition unit 303c is used for discerning the pairing current audio frequency output environment of characteristic that converting unit 302b obtains according to decibels that quantizes and corresponding audio output environment.
Wherein, acquiring unit 303a is specifically as follows sound transducer, but is not limited to this, for example picks up ambient noise by microphone etc., and changes ambient noise into voltage signal or current signal.
Further, control module 302 is used for the current audio frequency output environment that identifies according to environment identification module 303, when control volume adjusting module 304 is regulated the volume of audio frequency output, specifically be used for determining the volume range of audio frequency output according to the current audio frequency output environment that environment identification module 303 identifies, and according to user's input, the volume of regulating audio frequency output in the volume range inner control volume adjusting module 304 of audio frequency output.
Control module 302 specifically can be various circuit or chips with functions such as calculating, data processing, for example baseband processing chip, CPU (Central Processing Unit, CPU), Digital Signal Processing (Digital Signal Processing, DSP) chip etc.
Need to prove, the control appliance of the voice output that present embodiment provides both can be an earphone, this earphone can be applied on the end product that MP3 (Moving Picture Experts Group Audio Layer III, dynamic image expert compression standard audio frequency aspect 3), mobile phone etc. can carry out audio frequency output; The control appliance of audio frequency output can also be a mobile phone; PDA (Personal Digital Assistant; the personal digital assistant); notebook computer (Notebook Computer); panel computer (Tablet PC); electronic equipments such as MP3/MP4 player; for example; mobile phone is known the current speech output environment by sound transducers such as microphones; and then the volume of the audio frequency output of control mobile phone; and the time of statistics audio frequency output; when obtaining audio-frequency information by common headphones; mobile phone terminal can be controlled the volume of earphone end audio frequency output and the time of lasting output audio, thus protection hearing.In addition, the control appliance of audio frequency output can also be an other-end, and present embodiment is not done concrete qualification to this.
In sum, the control appliance that present embodiment provides, by regulating volume and determine default audio frequency output time according to the current audio frequency output environment that identifies, and after reaching default audio frequency output time, close audio frequency output, thereby can control effectively audio frequency output, and then solve, and the hearing impairment of avoiding the louder volume noise to cause because of the output of long-time reception audio frequency causes the problem of hearing impairment; In addition, by the input according to the user, the volume of regulating audio frequency output in the volume range of different audio frequency outputs not only can control exactly to volume, can also further promote user experience.
Need to prove: the control appliance of the audio frequency output that the foregoing description provides is when control audio is exported, only the division with above-mentioned each functional module is illustrated, in the practical application, can as required the above-mentioned functions distribution be finished by different functional modules, the internal structure of the equipment of being about to is divided into different functional modules, to finish all or part of function described above.In addition, the control appliance of the audio frequency output that the foregoing description provides and the control method embodiment of audio frequency output belong to same design, and its specific implementation process sees method embodiment for details, repeats no more here.
The invention described above embodiment sequence number is not represented the quality of embodiment just to description.
All or part of step in the embodiment of the invention can utilize hardware to realize, also can instruct relevant hardware to finish by program, described program can be stored in the storage medium that can read, as CD or hard disk etc.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.