Summary of the invention
In order effectively to control audio frequency output, and solve because long-time audio reception output causes the problem of hearing impairment, thus the hearing impairment of avoiding louder volume noise to cause, and the embodiment of the present invention provides a kind of control method and equipment of audio frequency output.Described technical scheme is as follows:
On the one hand, provide a kind of control method of audio frequency output, described method comprises:
The state whether Test earphone is exported in audio frequency;
If so, divide multiple audio frequency output environments according to external environment noise, and identify current audio frequency output environment according to multiple audio frequency output environments of dividing;
Regulate the volume of audio frequency output according to the current audio frequency output environment identifying, and determine default audio frequency output time according to the current audio frequency output environment identifying, close audio frequency output reaching after default audio frequency output time;
Wherein, the state whether described Test earphone is exported in audio frequency, specifically comprises:
Human body information on described earphone, and judge the whether state in audio frequency output of described earphone according to the human body information detecting, described human body information at least comprises one or more in the pressure that human body temperature, human pulse and ear give.
On the other hand, provide a kind of control appliance of audio frequency output, described equipment comprises: state detection module, control module, environment identification module and volume adjusting module;
Described state detection module, the state of whether exporting in audio frequency for detection of earphone;
Described control module, for when described state detection module detect earphone in audio frequency export state time, divide multiple audio frequency output environments according to external environment noise, and make described environment identification module identify current audio frequency output environment according to multiple audio frequency output environments of dividing; The current audio frequency output environment identifying according to described environment identification module, control the volume that described volume adjusting module regulates audio frequency output, and determine default audio frequency output time according to described current audio frequency output environment, after default audio frequency output time, close audio frequency output reaching;
Described environment identification module when detect the state of earphone in audio frequency output at described state detection module, is identified current audio frequency output environment under the control of described control module;
Described volume adjusting module, for the volume of exporting according to the regulating and controlling audio frequency of described control module;
Wherein, described state detection module, specifically comprises:
Detecting unit, for human body information on described earphone;
Judging unit, judges the whether state in audio frequency output of described earphone for the human body information detecting according to described detecting unit, and described human body information at least comprises one or more in the pressure that human body temperature, human pulse and ear give.
The beneficial effect of the technical scheme that the embodiment of the present invention provides is:
The current audio frequency output environment identifying by basis regulates volume and determines default audio frequency output time, and after default audio frequency output time, close audio frequency output reaching, thereby can effectively control audio frequency output, and then solve because long-time audio reception output causes the problem of hearing impairment, and the hearing impairment of avoiding louder volume noise to cause.
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Embodiment mono-
The present embodiment provides a kind of control method of audio frequency output, and referring to Fig. 1, the method flow process comprises:
101: the state whether Test earphone is exported in audio frequency;
102: if the state of earphone in audio frequency output detected, identify current audio frequency output environment;
103: regulate the volume of audio frequency output according to the current audio frequency output environment identifying, and determine default audio frequency output time, close audio frequency output reaching after default audio frequency output time.
In one embodiment, the state whether Test earphone is exported in audio frequency, specifically comprises:
Human body information on earphone, and judge the whether state in audio frequency output of earphone according to the human body information detecting, human body information at least comprises one or more in the pressure that human body temperature, human pulse and ear give.
In one embodiment, the human body information that above-mentioned basis detects judges the state whether earphone is exported in audio frequency, specifically comprises:
Whether the human body information that judgement detects reaches corresponding predetermined threshold value, if so, judges the state of earphone in audio frequency output.
Identify current audio frequency output environment, specifically comprise:
Obtain the voice signal in current audio frequency output environment, voice signal is converted to the characteristic of decibels, and according to the decibels quantizing and corresponding current audio frequency output environment corresponding to audio frequency output environment recognition feature data.
Preferably, regulate the volume of audio frequency output according to the current audio frequency output environment identifying, specifically comprise:
Determine the volume range of audio frequency output according to the current audio frequency output environment identifying, and according to user's input, in the volume range of audio frequency output, regulate the volume of audio frequency output.
The method that the present embodiment provides, the current audio frequency output environment identifying by basis regulates volume and determines default audio frequency output time, and after default audio frequency output time, close audio frequency output reaching, thereby can effectively control audio frequency output, and then solve because long-time audio reception output causes the problem of hearing impairment, and the hearing impairment of avoiding louder volume noise to cause; In addition, by according to user's input, in the volume range of different audio frequency outputs, regulate the volume of audio frequency output, not only can control exactly volume, can also further promote user and experience.
Embodiment bis-
The present embodiment provides a kind of control method of audio frequency output; the method is by the current audio frequency output environment of identification; and according to the current audio frequency output environment identifying, the volume of audio frequency output is controlled; and after default audio frequency output time, close audio frequency output reaching, thereby hearing is protected.For convenience of explanation, the control appliance that the present embodiment is exported taking audio frequency is as earphone is as example, and the method that the present embodiment is provided is described in detail.Referring to Fig. 2, the method flow that the present embodiment provides comprises:
201: the state whether Test earphone is exported in audio frequency, if so, perform step 202, otherwise flow process finishes;
For this step, in practical application, can be on earphone human body information, and judge the whether state in audio frequency output of earphone according to the human body information detecting, wherein, human body information at least comprises one or more in the pressure that human body temperature, human pulse and ear give.When specific implementation, on earphone, the mode of human body information can realize by transducer, for example, carry out the human body temperature on Test earphone by temperature sensor, carry out the human pulse on Test earphone by pulse transducer, detect ear by pressure sensor and give pressure of earphone etc., the sensor can also be joined together jointly make the human body information on Test earphone, the whether use state in audio frequency output of Test earphone about how, the present embodiment does not limit the detection mode of taking and the concrete human body information that detects.
In addition, about how to judge according to the human body information detecting the state whether earphone is exported in audio frequency, concrete restriction is not done in this enforcement equally, it should be noted that, the state of audio frequency output not only refers to that earphone has audio frequency output, and in the time that user has put on this earphone, just think and namely use state in one by the state of this earphone in audio frequency output.When specific implementation, can judge whether the human body information detecting reaches corresponding predetermined threshold value, if so, judge the state of earphone in audio frequency output.Wherein, different predetermined threshold value corresponding to human body information, for example, when human body information is human body temperature, its corresponding predetermined threshold value can be 36 degree, when human body information is human pulse, its corresponding predetermined threshold value can be 70 beats/min etc., and the present embodiment does not limit every kind of concrete predetermined threshold value corresponding to human body information.In this step, human pulse to be detected on earphone, and reach 70 beats/min for example, now can judge the state of this earphone in audio frequency output.
202: identify current audio frequency output environment;
Wherein, can divide multiple audio frequency output environments according to external environment noise, the present embodiment does not limit concrete audio frequency output environment.For ordinary people, the sound of 0 to 20 decibel is very quiet, almost imperceptible; The sound peace and quiet of 20 to 40 decibels, just as endless chatter softly, the sound of 40 to 60 decibels is general, is equivalent to general room and talks; And the sound of 60 to 70 decibels can allow people feel noisy, damage nerve, to this, the present embodiment is only to divide quiet environment and two kinds of audio frequency output environments of noisy environment as example according to external environment noise.For example, in the time that extraneous ambient noise is less than or equal to 60 decibels, audio frequency output environment is divided into quiet environment, in the time that extraneous ambient noise is greater than 60 decibels, audio frequency output environment is divided into noisy environment.
Particularly, while identifying current audio frequency output environment, specifically comprise:
Obtain the voice signal in current audio frequency output environment, voice signal is converted to the characteristic of decibels, and according to the decibels quantizing and corresponding current audio frequency output environment corresponding to audio frequency output environment recognition feature data.
Wherein, the decibels of quantification can be set in the time dividing audio frequency output environment, and the present embodiment is not done concrete restriction to this.In the present embodiment, the decibels of quantification can be made as 60 decibels, is less than or equal to 60 decibels and belongs to quiet environment, is greater than 60 decibels and belongs to noisy environment.For example, get after the voice signal in current audio frequency output environment, it is 30 decibels that this voice signal is converted to the characteristic obtaining after decibels, and can identify current audio frequency output environment corresponding to this characteristic of 30 decibels according to the decibels quantizing is quiet environment.About the voice signal how obtaining in current audio frequency output environment, the present embodiment is not done concrete restriction, when specific implementation, can obtain the voice signal in current audio frequency output environment by sound transducer.
203: regulate the volume of audio frequency output according to the current audio frequency output environment identifying, and determine default audio frequency output time;
For this step; for the audio frequency output of identical volume, under different audio frequency output environments, its acoustical quality is different; under the prerequisite in 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, can suitably the volume of audio frequency output be heightened.
But, according to sound meter detection display, the sound of noisy environment is conventionally in 70-80 decibel left and right, if use earphone receiving audio frequency under this occasion, its volume need to be amplified to and exceed original noisy environment sound more than 30 decibels, the readability of the sound that guarantee is heard is identical with the sound size when the quiet environment, thereby sound now has exceeded 100 decibels.If people's ear is exposed to more than 100 decibels acoustic environment overlong time, just there will be hearing impairment.To this, the method that the present embodiment provides, after the current audio frequency output environment of identification, also comprises:
Determine the volume range of audio frequency output according to the current audio frequency output environment identifying, for example, under quiet environment, determine that the volume range of audio frequency output is in 60 decibels, under noisy environment, determine that the volume range of audio frequency output is in 70 decibels., in the time regulating the volume of audio frequency output according to the current audio frequency output environment identifying, need the volume after guarantee regulates to remain in the volume range that current audio frequency output environment is corresponding.In addition, can also, according to user's input, in the volume range of audio frequency output, regulate the volume of audio frequency output.The present embodiment does not limit concrete regulative mode, for example, can adopt to be adjusted to the mode of positive and negative 5 decibels at every turn and to quantize to regulate.The current audio frequency output environment identifying by basis is determined the volume range of audio frequency output; and in this volume range, carry out volume adjusting; thereby can make the volume under varying environment that hommization is more set; intellectuality, especially under noisy environment, the restriction of volume range; can prevent that user is in order to pursue acoustical quality; volume is transferred to very large situation and occurs, thereby effectively protect people's ear not to be subject 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 to time of contact; to this; the method that the present embodiment provides is in regulating the volume of audio frequency output according to the current audio frequency output environment identifying; also take to determine the mode of default audio frequency output time, to reach the further protection to hearing.The present embodiment does not limit the length of definite herein audio frequency output time, and according to studies show that, if listen earphone, the time of preferably at every turn listening is no more than 20 minutes, so just can be very not large on hearing impact.Otherwise along with the increase of time lengthening, sound, can produce invisible damage to hearing, therefore, audio frequency output time can be set as to 20 minutes.For the audio frequency output under noisy environment, even more serious to the damage meeting of hearing, thereby audio frequency output time can be set as to 10 minutes,, according to the current audio frequency output environment identifying, can determine default audio frequency output time.
204: after default audio frequency output time, close audio frequency output reaching.
For this step; in conjunction with the description of above-mentioned steps 203; determining after default audio frequency output time according to the current audio frequency output environment identifying; in order to protect hearing; the method that the present embodiment provides has taked to close the mode of audio frequency output after timing reaches default audio frequency output time; thereby avoid because the sound of continuation stimulates people's ear for a long time the impaired hearing causing.For example, in the time identifying current audio frequency output environment and be quiet environment, if timing reaches 20 minutes, close audio frequency output; In the time identifying current audio frequency output environment and be noisy environment, if timing reaches 10 minutes, close audio frequency output.Wherein, clocking capability can adopt a timer to complete, but the present embodiment is to specifically limiting from when starting timing, for example, can in the time the state of earphone in audio frequency output being detected, start timing.
Alternatively, export to for fear of closing audio frequency the reduction that inconvenience that user brings and user experience, after timing reaches default audio frequency output time, can point out user, initiatively close audio frequency with reminding user and export.The mode of prompting can be the signal that gives the alarm in audio frequency output, or carries out voice message, and the present embodiment is not done concrete restriction to this.
The method that the present embodiment provides, the current audio frequency output environment identifying by basis regulates volume and determines default audio frequency output time, and after default audio frequency output time, close audio frequency output reaching, thereby can effectively control audio frequency output, and then solve because long-time audio reception output causes the problem of hearing impairment, and the hearing impairment of avoiding louder volume noise to cause; In addition, by according to user's input, in the volume range of different audio frequency outputs, regulate the volume of audio frequency output, not only can control exactly volume, can also further promote user and experience.
Embodiment tri-
Referring to Fig. 3, the present embodiment provides a kind of control appliance of audio frequency output, this control appliance, for carrying out the method operating procedure of above-described embodiment one and embodiment bis-, comprising: state detection module 301, control module 302, environment identification module 303 and volume adjusting module 304;
State detection module 301, the state of whether exporting in audio frequency for detection of earphone;
Control module 302, when detect the state of earphone in audio frequency output when state detection module 301, makes environment identification module 303 identify current audio frequency output environment; The current audio frequency output environment identifying according to environment identification module 303, control the volume that volume adjusting module 304 regulates audio frequency output, and determine default audio frequency output time according to current audio frequency output environment, after default audio frequency output time, close audio frequency output reaching;
Environment identification module 303 when detect the state of earphone in audio frequency output at state detection module 301, is identified current audio frequency output environment under the control of control module 302;
Volume adjusting module 304, for the volume of exporting according to the regulating and controlling audio frequency of control module 302.
Referring to Fig. 4, in one embodiment, this state detection module 301, specifically comprises:
Detecting unit 301a, for human body information on earphone;
Judging unit 301b, judges the whether state in audio frequency output of earphone for the human body information detecting according to detecting unit 301a, and this human body information at least comprises one or more in the pressure that human body temperature, human pulse and ear give.
Wherein, detecting unit 301a at least comprises one or more in temperature sensor, pulse transducer and pressure sensor.
Wherein, judging unit 301b, specifically for judging whether the human body information that detecting unit 301a detects reaches corresponding predetermined threshold value, if so, judges the state of earphone in audio frequency output.
In another embodiment, state detection module 301 is specially earphone testing circuit in place, and whether Test earphone is inserted in the circuit in jack.In existing many electronic products, this type of circuit of existing many maturations, is not repeated herein.
Referring to Fig. 5, environment identification module 303, specifically comprises:
Acquiring unit 303a, for obtaining the voice signal of current audio frequency output environment;
Converting unit 303b, is converted to the characteristic of decibels for the voice signal that acquiring unit 303a is got;
Recognition unit 303c, for identifying according to the decibels quantizing and corresponding audio frequency output environment the corresponding current audio frequency output environment of characteristic that converting unit 302b obtains.
Wherein, acquiring unit 303a is specifically as follows sound transducer, but is not limited to this, for example, pick up ambient noise by microphone etc., and changes ambient noise into voltage signal or current signal.
Further, the current audio frequency output environment of control module 302 for identifying according to environment identification module 303, when control volume adjusting module 304 regulates the volume of audio frequency output, determine the volume range of audio frequency output specifically for the current audio frequency output environment identifying according to environment identification module 303, and according to user's input, in the volume range of audio frequency output, control the volume that volume adjusting module 304 regulates audio frequency to export.
Control module 302 can be specifically various circuit or the chips with functions such as calculating, data processings, for example baseband processing chip, CPU (Central Processing Unit, CPU), Digital Signal Processing (Digital Signal Processing, DSP) chip etc.
It should be noted that, the control appliance of the voice output that the present embodiment provides can be both earphone, this earphone can be applied to MP3(Moving Picture Experts Group Audio Layer III, dynamic image expert compression standard audio frequency aspect 3), mobile phone etc. can carry out on the end product of audio frequency output, the control appliance of audio frequency output can also be mobile phone, PDA(Personal Digital Assistant, personal digital assistant), notebook computer (Notebook Computer), panel computer (Tablet PC), the electronic equipments such as MP3/MP4 player, for example, mobile phone is known 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, while 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, thereby protection hearing.In addition, the control appliance of audio frequency output can also be other-end, and the present embodiment is not done concrete restriction to this.
In sum, the control appliance that the present embodiment provides, the current audio frequency output environment identifying by basis regulates volume and determines default audio frequency output time, and after default audio frequency output time, close audio frequency output reaching, thereby can effectively control audio frequency output, and then solve because long-time audio reception output causes the problem of hearing impairment, and the hearing impairment of avoiding louder volume noise to cause; In addition, by according to user's input, in the volume range of different audio frequency outputs, regulate the volume of audio frequency output, not only can control exactly volume, can also further promote user and experience.
It should be noted that: the control appliance of the audio frequency output that above-described embodiment provides is in the time controlling audio frequency output, only be illustrated with the division of above-mentioned each functional module, in practical application, can above-mentioned functions be distributed and completed by different functional modules as required, be divided into different functional modules by the internal structure of equipment, to complete all or part of function described above.In addition, the control appliance of the audio frequency output that above-described embodiment provides and the control method embodiment of audio frequency output belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
All or part of step in the embodiment of the present invention, can utilize hardware to realize, and also can carry out the hardware that instruction is relevant by program and complete, and described program can be stored in the storage medium can read, as CD or hard disk etc.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any amendment of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.