CN103458339A - Audio output control method and electronic equipment - Google Patents

Audio output control method and electronic equipment Download PDF

Info

Publication number
CN103458339A
CN103458339A CN2012101804218A CN201210180421A CN103458339A CN 103458339 A CN103458339 A CN 103458339A CN 2012101804218 A CN2012101804218 A CN 2012101804218A CN 201210180421 A CN201210180421 A CN 201210180421A CN 103458339 A CN103458339 A CN 103458339A
Authority
CN
China
Prior art keywords
value
playing
duration
parameter
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2012101804218A
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 CN2012101804218A priority Critical patent/CN103458339A/en
Publication of CN103458339A publication Critical patent/CN103458339A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Circuit For Audible Band Transducer (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses an audio output control method and electronic equipment. The audio output control method comprises the following steps: when playing audio data, the electronic equipment acquires at least one parameter value for playing the audio data; a corresponding relation between the parameter value and playing duration is acquired; according to the parameter value and the corresponding relation, target playing duration corresponding to the parameter value is determined; whether the accumulative duration of playing the audio data is longer than the target playing duration is judged, and playing parameters and / or playing modes for playing the audio data are adjusted if the accumulative duration of the audio data is longer than the target playing duration. The audio output control method and the electronic equipment can control the playing volume and playing duration of the audio data so as to reduce damage to ears of a user by the played audio data.

Description

A kind of audio output control method and electronic equipment
Technical field
The present invention relates to electronic technology field, relate in particular to a kind of audio output control method and electronic equipment.
Background technology
At present, earphone is as voiceband facility, very universal, and plays an important role in life., whenever can see in ear the people who fills in earphone anywhere, they listen to the music, make a phone call, isolate ambient noise etc. by earphone, so earphone is indispensable concerning people.
Yet, wear for a long time earphone, will bring larger infringement to ear.The volume output of earphone is generally 84 decibels of left and right, and some high-frequency range can reach 120 decibels.Such volume has very large spread effect to auricularis, can cause hearing loss for a long time, there will be severe permanent deafness and neurasthenia.
Studies have found that: per day for adults surpasses 3~4 hours with earphone, will impact hearing; And the teenager goes back undeveloped mature because of the hearing organ, surpass and can exert an influence in 2 hours.For this point, the people who listens to the music with earphone is not paid attention to usually, and problem is more very for the teenager, they wear earphone and listen to the music that to just listen be exactly a few hours, and sound is put very greatly, all be reluctant to take off when walking or doing one's homework, even also have on before sleep, this all take hearing damage as cost.
Relevant medical information shows, when the volume of hearing when people's ear surpasses 85 decibels, the time length can cause auditory fatigue; Up to more than 110 decibels the time, be enough to make the Hair Cell Death of human body inner ear when volume, severe patient also can cause the irrecoverability hearing impairment.The sense of hearing is more tired, hearing is more damaged more needs larger volume, and this has just formed vicious circle.
Summary of the invention
The invention provides a kind of audio output control method and electronic equipment, method and apparatus provided by the present invention reduces the broadcast mode of prior art sound intermediate frequency data to the hurtful problem of user's ear.
The invention provides a kind of audio output control method, the method is applied in an electronic equipment, and the method comprises:
When described electronic equipment is play voice data, obtain at least one parameter value of playing audio data;
Obtain the corresponding relation of parameter value and reproduction time;
According to described at least one parameter value and described corresponding relation, determine the target playing duration that described at least one parameter value is corresponding;
Whether the accumulative total duration that judges playing audio data is greater than described target playing duration, if so, adjusts play parameter and/or the play mode of playing audio-fequency data.
Described at least one parameter value comprises the intensity of sound value of playing audio data and/or the accumulative total duration value of described voice data high frequency voice data.
The intensity of sound value that obtains playing audio data comprises:
Obtain the volume value of playing current voice data, and determine according to volume value in electronic equipment and the corresponding relation of intensity of sound value the intensity of sound value that described volume value is corresponding.
Described at least one parameter value comprises the accumulative total duration value of described voice data high frequency voice data and the intensity of sound value of playing audio data, and whether the accumulative total duration that judges playing audio data is greater than described target playing duration comprises:
Obtain first object playing duration corresponding to described intensity of sound value according to default intensity of sound value and the corresponding relation of reproduction time;
If the accumulative total duration of playing audio data is less than described first object playing duration, to playing the ground voice data, carry out spectrum analysis, according to analysis result, determine and play the duration that ground voice data medium frequency value is greater than the high-frequency voice data of first frequency threshold value;
The described voice data high frequency voice data of accumulative total the first duration value, judge whether described the first duration value is greater than the second target playing duration, if so, determines that the accumulative total duration of playing audio data is greater than described target playing duration.
The play parameter of adjusting playing audio-fequency data comprises:
A plurality of scalariform door limit values are set in described target playing duration according to default spacing value, and described a plurality of scalariform door limit values increase by rank;
When the accumulative total duration of playing audio data is greater than arbitrary scalariform door limit value, according to the play parameter of default rule adjustment playing audio-fequency data.
According to the play parameter of default rule adjustment playing audio-fequency data, comprise:
Whether the accumulative total duration that detects described playing audio data is greater than at least one scalariform door limit value, if so, obtains the first play parameter of current playing audio-fequency data;
According to default adjustment threshold value, described the first play parameter is adjusted.
Described electronic equipment comprises the first audio frequency output and the second audio output unit, described the first audio output unit and user's distance is less than the second audio output unit, when by the first audio output unit, exporting described voice data, play parameter and/or the play mode of adjusting playing audio-fequency data comprise:
Send the instruction of audio frequency output switching, described voice data is switched to described the second audio output unit and is exported; Perhaps
The output of stop tone audio data; Perhaps
Adjust the play parameter of playing audio data.
After determining the target playing duration that described at least one parameter value is corresponding, also further comprise:
When the adjustment information of the adjustment parameter value that receives user's input, according to described adjustment information, adjust described at least one parameter value, and the parameter value playing audio-fequency data after the application adjustment;
Obtain the second accumulation duration value of the parameter value playing audio-fequency data of application before described adjustment, and the parameter value according to this second accumulation duration value, before adjusting and adjust after parameter value redefine the target playing duration of playing audio-fequency data.
After determining the target playing duration that described at least one parameter value is corresponding, also further comprise:
Obtain the parameter information of external audio frequency playback equipment, and adjust described target playing duration according to this parameter information.
After determining the target playing duration that described at least one parameter value is corresponding, further comprise:
The optional parameters item that shows the external audio frequency playback equipment, and according to the user who receives, select information to determine and select corresponding parameter item from described optional parameters item, determine the performance of the external audio frequency playback equipment of the current connection of electronic equipment according to the parameter item of selecting;
Adjust described target playing duration according to the parameter item of selecting.
According to said method, the present invention also provides a kind of electronic equipment, comprising:
Parameter acquiring unit, for when voice data is play, obtain at least one parameter value of playing audio data;
The corresponding relation acquiring unit, for obtaining the corresponding relation of parameter value and reproduction time;
The playing duration determining unit, for according to described at least one parameter value and described corresponding relation, determine the first reproduction time that described at least one parameter value is corresponding;
Whether judging unit, be greater than described the first reproduction time for the accumulative total duration that judges playing audio data, if so, adjusts play parameter play mode and/or the parameter value of described voice data.
Parameter acquiring unit is for obtaining the intensity of sound value of playing audio data and/or the accumulative total duration value of described voice data high frequency voice data.
The intensity of sound value that parameter acquiring unit obtains playing audio data comprises: obtain the volume value of playing current voice data, and determine according to volume value in electronic equipment and the corresponding relation of intensity of sound value the intensity of sound value that described volume value is corresponding.
Whether the accumulative total duration of described judgment unit judges playing audio data is greater than described target playing duration comprises:
Obtain first object playing duration corresponding to described intensity of sound value according to default intensity of sound value and the corresponding relation of reproduction time;
If the accumulative total duration of playing audio data is less than described first object playing duration, to playing the ground voice data, carry out spectrum analysis, according to analysis result, determine and play the duration that ground voice data medium frequency value is greater than the high-frequency voice data of first frequency threshold value;
The described voice data high frequency voice data of accumulative total the first duration value, judge whether described the first duration value is greater than the second target playing duration, if so, determines that the accumulative total duration of playing audio data is greater than described target playing duration.
This electronic equipment also comprises that the first adjustment unit is for obtaining the parameter information of external audio frequency playback equipment, and adjusts described playing duration value according to this parameter information.
This electronic equipment also comprises that the second adjustment unit is for showing the optional parameters item of external audio frequency playback equipment, and according to the user who receives, select information to determine and select corresponding parameter item from described optional parameters item, determine the performance of the external audio frequency playback equipment of the current connection of electronic equipment according to the parameter item of selecting; Adjust described target playing duration according to the parameter item of selecting.
One or two in technique scheme at least has following technique effect:
When the embodiment of the present invention is play voice data when described electronic equipment, obtain at least one parameter value of playing audio data; Obtain the corresponding relation of parameter value and reproduction time; According to described at least one parameter value and described corresponding relation, determine the target playing duration that described at least one parameter value is corresponding; Whether the accumulative total duration that judges playing audio data is greater than described target playing duration, if so, adjusts play parameter and/or the play mode of playing audio-fequency data.Thereby method and apparatus disclosed by the invention is controlled and is reduced the infringement of audio frequency broadcasting to user's ear by the broadcast sound volume to voice data and playing duration.
The accompanying drawing explanation
The flow chart that Fig. 1 is the embodiment of the present invention () audio output control method;
The flow chart that Fig. 2 is the embodiment of the present invention (two) audio output control method;
Fig. 3 adjusts the method flow diagram of the play parameter of playing audio-fequency data in the embodiment of the present invention;
The structural representation that Fig. 4 is a kind of electronic equipment of the embodiment of the present invention.
Embodiment
The embodiment of the present invention provides a kind of audio output control method, and the method is applied in an electronic equipment, and the method comprises: when described electronic equipment is play voice data, obtain at least one parameter value of playing audio data; Obtain the corresponding relation of parameter value and reproduction time; According to described at least one parameter value and described corresponding relation, determine the target playing duration that described at least one parameter value is corresponding; Whether the accumulative total duration that judges playing audio data is greater than described target playing duration, if so, adjusts play parameter and/or the play mode of playing audio-fequency data.
From medical angle, sound mainly comes from duration and the intensity of sound to the infringement of ear.Duration based on sound and intensity are controlled respectively in embodiments of the present invention, the duration of in the embodiment of the present invention, voice data being play is monitored, control the service time of earphone under different intensity, thereby reduce the infringement to human body hearing.
For smart machines such as mobile phones, it can be loudspeaker by the electronic equipment original configuration or external loudspeaker, earphone that voice data is play.Current ear is injured to maximum broadcast mode by the earphone playing audio-fequency data.In the scheme provided in the embodiment of the present invention, when detecting when earphone inserts, electronic equipment just starts headset mode.Under this pattern, different voice output intensity is to different duration safety value (being the target playing duration in the embodiment of the present invention) should be arranged, and when earphone does not exceed the healthy and safe value set service time, provides prompting; If exceed this safety value, adjust play parameter and/or the play mode of playing audio-fequency data, play parameter and/or the play mode of adjusting playing audio-fequency data described in the embodiment of the present invention can be to stop outputting audio data or ear-phone function inefficacy.
Embodiment mono-, and as shown in Figure 1, the embodiment of the present invention provides a kind of audio output control method, below in conjunction with Figure of description, the specific embodiment of the present invention is elaborated:
Step 101, when described electronic equipment is play voice data, obtain at least one parameter value of playing audio data;
In concrete applied environment, long-time listening stimulates the sound of ear can damage ear, and the injury caused along with the increase of the volume rising that also is directly proportional.So in embodiments of the present invention, at first determine and determine the target playing duration by volume parameters.
In addition, because the sound of different frequency is not identical to the injury of ear yet, in addition, because the user is for the hobby of different voice data types, so exist the high-frequency data of some voice datas many, some are fewer.So by the high-frequency data of institute's playing audio-fequency data in accumulative total a period of time, determine whether in embodiments of the present invention, the reproduction time of switch data.So this also further further adjusts the reproduction time of voice data by the frequency values of voice data in having implemented.
So in embodiments of the present invention, described at least one parameter value comprises the intensity of sound value of playing audio data and/or the accumulative total duration value of described voice data high frequency voice data.
In embodiments of the present invention, the mode of the intensity of sound value of acquisition playing audio data comprises:
Obtain the volume value of playing current voice data, and determine according to volume value in electronic equipment and the corresponding relation of intensity of sound value the intensity of sound value that described volume value is corresponding.
Step 102, the corresponding relation of acquisition parameter value and reproduction time;
In embodiments of the present invention, by statistics, detect and determine the maximum duration that normally can not damage ear under the environment of certain volume value (or being called the intensity of sound value), generate the corresponding relation of intensity of sound value and target playing duration; And the accumulative total duration of high-frequency voice data and the corresponding relation of threshold value.
In embodiments of the present invention, the corresponding relation of determining parameter value and reproduction time can comprise following two kinds of modes:
(1) corresponding relation of regulation is: the mapping table of stored parameter value and reproduction time in electronic equipment, in the certain limit value, obtain a corresponding reproduction time when the parameter value got.
Take the intensity of sound value as example, when the intensity of sound value be 120-100 corresponding reproduction time be 60 minutes; When the intensity of sound value be 99-60 corresponding reproduction time be 70 minutes.
(2) in good time reproduction time corresponding to play parameter that calculate, specific implementation can be the respective function relation that sets in advance parameter value and reproduction time, after getting parameter value, according to parameter value, determines corresponding reproduction time.
Take the intensity of sound value as example, because intensity of sound C and playing duration T are inversely proportional to, so that can at first determine a maximum according to statistics in the present embodiment bears threshold value Y, according to parameter value, determines that the function of time can be set to: T=Y/C (decibel * time=total value).Specific implementation can be:
When the threshold value Y that bears of maximum is 1000 decibels. minute, 100 decibels of correspondences are 20 minutes; 50 decibels of correspondences 40 minutes;
When the user plays with 100 decibels, within 20 minutes, stop; While independently playing with 50 decibels, within 40 minutes, stop.
Step 103, according to described at least one parameter value and described corresponding relation, determine the target playing duration that described at least one parameter value is corresponding;
In embodiments of the present invention, can select arbitrary parameter to determine the target playing duration, also can will determine the target playing duration after a plurality of parameter combinations.
Step 104, judge whether the accumulative total duration of playing audio data is greater than described target playing duration, if so, adjusts play parameter and/or the play mode of playing audio-fequency data; Otherwise continuation playing audio data.
Described electronic equipment comprises the first audio frequency output and the second audio output unit, described the first audio output unit and user's distance is less than the second audio output unit, described the first audio output unit can be earphone or headset in embodiments of the present invention, and the second audio output unit can be the loudspeaker that arrange in electronic equipment or external loudspeaker.In embodiments of the present invention, according to the pattern different (outer mode playback or headset mode) of the current playing audio-fequency data of electronic equipment, play parameter and/or the play mode of adjusting playing audio-fequency data comprise:
(1) when by the first audio output unit, exporting described voice data (mode of current playing audio-fequency data is headset mode), adjust the play parameter of playing audio-fequency data and/or mode that play mode can realize and comprise any one or a few the combination in following mode:
A, send the instruction of audio frequency output switching, described voice data is switched to described the second audio output unit and exported; The concrete mode realized can be: be switched to non-headset mode according to the broadcast mode of switching command electronic equipment, because be switched to, non-headset mode is next can reduce the injury to ear to a certain extent;
B, the output of stop tone audio data; In addition, can also after the output of stop tone audio data, make described headset mode invalid, if the user need to recover the headset mode pattern, need the setting of being correlated with according to default recovering step.
C, the play parameter of adjustment playing audio data.Implementation passable in concrete implementation procedure is: reduce the volume that described voice data is play, or reduce the high band audio frequency output in voice data output by arranging of relevant parameter.
(2) if the mode of current playing audio-fequency data is outer mode playback (by device plays voice datas such as loudspeaker), the mode that can realize can be the output that reduces volume or the stop tone audio data of playing audio-fequency data.
Embodiment bis-, as shown in Figure 2, when described parameter value comprises two of the intensity of sound values of the accumulative total duration value of described voice data high frequency voice data and playing audio data, because the user is when playing audio-fequency data, the playing duration of high-frequency voice data can be not oversize, and the duration judgement priority of the judgement priority of total playing duration higher than high-frequency data can be set.So the method that the embodiment of the present invention provides can comprise:
Step 201, when described electronic equipment is play voice data, obtain the intensity of sound value of playing audio data;
Step 202, obtain first object playing duration corresponding to described intensity of sound value according to default intensity of sound value and the corresponding relation of reproduction time;
Step 203, the accumulative total duration of judgement playing audio data is less than described first object playing duration, if so, proceeds to step 204; Otherwise, proceed to step 206;
Step 204, carry out spectrum analysis to playing the ground voice data, according to analysis result, determines and play the duration that ground voice data medium frequency value is greater than the high-frequency voice data of first frequency threshold value;
Step 205, the described voice data high frequency voice data of accumulative total the first duration value, judge that whether described the first duration value is greater than the second target playing duration, if so, proceeds to step 206; Otherwise, continue playing audio data, and proceed to step 203.
Described the second target playing duration is under normal circumstances, the maximum duration value that the high-frequency voice data can not damage user's ear.
Step 206, play parameter and/or the play mode of adjustment playing audio-fequency data; Otherwise continuation playing audio data.
Because, the user is when using electronic equipment, the difference of the external connected electronic equipment configured according to the user also can be different to the impact effect of user's ear, so state in realization in the process of two embodiment, can also be by the application program existed in electronic equipment or the selection information of inputting according to the user, the audio-frequence player device (as earphone or loudspeaker) external to electronic equipment identified, thereby further adjust according to the different performance of external audio frequency equipment the object time that voice data is play, reach the effect of determining more accurately the target playing duration of voice data maximum.Wherein attainable mode comprises:
In embodiments of the present invention, after determining the target playing duration that described at least one parameter value is corresponding, also further comprise:
(1) obtain the parameter information of external audio frequency playback equipment, and adjust described target playing duration according to this parameter information.
(2) show the optional parameters item of external audio frequency playback equipment, and according to the user who receives, select information to determine and select corresponding parameter item from described optional parameters item, determine the performance of the external audio frequency playback equipment of the current connection of electronic equipment according to the parameter item of selecting;
Adjust described target playing duration according to the parameter item of selecting.
In embodiments of the present invention, after as the user, external voice data being play and being arranged and be connected to electronic equipment, display reminding interface.Prompting provides a plurality of performance parameters relevant to the external audio frequency data reproducing device in interface, selection information according to user's input, electronic equipment can be determined the various performance parameters of the external audio frequency equipment of current connection, thereby determines more accurately the impact of external audio frequency equipment on user's ear.
In embodiments of the present invention, the mode of adjusting the play parameter of playing audio-fequency data comprises multiple: (1) is after determining the target playing duration of voice data according to the play parameter of voice data at first, in the accumulative total playing duration that detects voice data, surpass described target playing duration, then adjusted; (2) after determining the target playing duration of voice data according to the play parameter of voice data at first, according to certain preset rules; The play parameter of adjustment playing audio-fequency data step by step.The concrete steps of implementation (2) comprise (as shown in Figure 3) in embodiments of the present invention:
Step 301 arranges a plurality of scalariform door limit values in described target playing duration according to default spacing value, described a plurality of scalariform door limit values increase by rank;
For example: under the intensity of sound condition detected at 100 decibels, the target playing duration that voice data is play is 60 minutes.Can be divided into 3 or 4 scalariform door limit values by 60 minutes, 3 the scalariform door limit values of take in this embodiment are example, can be to take 20 minutes as interval, and 3 scalariform door limit values are respectively: 20,40 and 60.
Step 302, when the accumulative total duration of playing audio data is greater than arbitrary scalariform door limit value, according to the play parameter of default rule adjustment playing audio-fequency data.
Because in time, segmented original target playing duration, so when regulating play parameter, by rank, increasing play parameter carried out to adjustment step by step according to playing duration.So comprise according to the play parameter of default rule adjustment playing audio-fequency data in embodiments of the present invention:
Whether the accumulative total duration that detects described playing audio data is greater than at least one scalariform door limit value, if so, obtains the first play parameter of current playing audio-fequency data;
According to default adjustment threshold value, described the first play parameter is adjusted.
When the accumulative total duration T1 of playing audio data>20, to original 100 decibels, adjusted (specifically can be adjusted into 80 decibels); Continue the intensity playing audio-fequency data with 80 decibels.When the accumulative total duration T1 of playing audio data>40, on the basis of current play parameter, adjust, on the basis of 80 decibels, adjusted again.
In addition, because the user many times can be adjusted the parameter value of voice data in the process of playing audio-fequency data, so the method that the embodiment of the present invention provides can also be adjusted rear corresponding adjustment aim playing duration to parameter according to the user.
When the adjustment information that receives user's input, according to described adjustment information, adjust the initial parameter value, and the parameter value playing audio-fequency data after the application adjustment;
Obtain the second accumulation duration value of the parameter value playing audio-fequency data of application before described adjustment, and the parameter value according to this second accumulation duration value, before adjusting and adjust after parameter value redefine the target playing duration of playing audio-fequency data.
Take the intensity of sound value as example, because it is just shorter that intensity of sound C more very much not can arrive the playing duration T that ear damages, so that can at first determine a maximum according to statistics in the present embodiment bears threshold value Y,, after parameter is adjusted, the corresponding relation of corresponding adjustment time can be:
(bearing threshold value Y-consumption figures)/decibel=time, wherein, the intensity of sound that consumption figures=playing duration * plays.
For example: bear threshold value Y=2000 decibel. minute, if in the situation that intensity of sound is 100 decibels has play 10 minutes, consumption figures=100*10=1000 decibel. minute;
If adjustment information be by, 100 decibels are adjusted into 50 decibels, the target playing duration after adjusting=(2000 decibels. minutes-1000 decibels)/50 decibels=20 minutes, the time that can also continue playing audio-fequency data is 20 minutes.
Further, when the user by the output volume adjusting of voice data after the degree of necessarily little (after reaching the lower limit decibel value), can not limit the time of broadcasting.The corresponding relation of above-mentioned intensity of sound and time can be: lower limit decibel value+(bearing threshold value Y-consumption figures)/decibel=time.
As shown in Figure 4, according to the said method embodiment of the present invention, also provide a kind of electronic equipment, this electronic equipment comprises:
Parameter acquiring unit 401, for when voice data is play, obtain at least one parameter value of playing audio data;
This parameter acquiring unit 401 is for the intensity of sound value of obtaining playing audio data and/or the accumulative total duration value of described voice data high frequency voice data.
Wherein, the intensity of sound value that this parameter acquiring unit 401 obtains playing audio data comprises: obtain the volume value of playing current voice data, and determine according to volume value in electronic equipment and the corresponding relation of intensity of sound value the intensity of sound value that described volume value is corresponding.
Corresponding relation acquiring unit 402, for obtaining the corresponding relation of parameter value and reproduction time;
Playing duration determining unit 403, for according to described at least one parameter value and described corresponding relation, determine the first reproduction time that described at least one parameter value is corresponding;
Whether judging unit 404, be greater than described the first reproduction time for the accumulative total duration that judges playing audio data, if so, adjusts play parameter play mode and/or the parameter value of described voice data.
Described judging unit 404 judges whether the accumulative total duration of playing audio data is greater than described target playing duration and comprises:
Obtain first object playing duration corresponding to described intensity of sound value according to default intensity of sound value and the corresponding relation of reproduction time;
If the accumulative total duration of playing audio data is less than described first object playing duration, to playing the ground voice data, carry out spectrum analysis, according to analysis result, determine and play the duration that ground voice data medium frequency value is greater than the high-frequency voice data of first frequency threshold value;
The described voice data high frequency voice data of accumulative total the first duration value, judge whether described the first duration value is greater than the second target playing duration, if so, determines that the accumulative total duration of playing audio data is greater than described target playing duration.
In addition, because the user is when using electronic equipment, the difference of the external connected electronic equipment configured according to the user also can be different to the impact effect of user's ear, so state in realization in the process of two embodiment, can also be by the application program existed in electronic equipment or the selection information of inputting according to the user, the audio-frequence player device (as earphone or loudspeaker) external to electronic equipment identified, thereby further adjust according to the different performance of external audio frequency equipment the object time that voice data is play, reach the effect of determining more accurately the target playing duration of voice data maximum.This electronic equipment also comprises:
The first adjustment unit 405, for obtaining the parameter information of external audio frequency playback equipment, and adjust described playing duration value according to this parameter information.
The second adjustment unit 406 is for showing the optional parameters item of external audio frequency playback equipment, and according to the user who receives, select information to determine and select corresponding parameter item from described optional parameters item, determine the performance of the external audio frequency playback equipment of the current connection of electronic equipment according to the parameter item of selecting; Adjust described target playing duration according to the parameter item of selecting.
Above-mentioned one or more technical schemes in the embodiment of the present application at least have following technique effect:
When described electronic equipment is play voice data, obtain at least one parameter value of playing audio data; Obtain the corresponding relation of parameter value and reproduction time; According to described at least one parameter value and described corresponding relation, determine the target playing duration that described at least one parameter value is corresponding; Whether the accumulative total duration that judges playing audio data is greater than described target playing duration, if so, adjusts play parameter and/or the play mode of playing audio-fequency data.Thereby method and apparatus disclosed by the invention is controlled and is reduced the infringement of audio frequency broadcasting to user's ear by the broadcast sound volume to voice data and playing duration.And implementation is simple, convenient, does not need complicated equipment.
In addition, the method that the embodiment of the present invention provides is also monitored the frequency of voice data in monitoring voice data broadcast sound volume and duration, thereby more fully monitors the factor that various meetings cause user's ear.Thereby the infringement to ear while making the user use earphone drops to minimum.
Method of the present invention is not limited to the embodiment described in embodiment, and those skilled in the art's technical scheme according to the present invention draws other execution mode, belongs to equally technological innovation scope of the present invention.
Obviously, those skilled in the art can carry out various changes and modification and not break away from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention also is intended to comprise these changes and modification interior.

Claims (16)

1. an audio output control method, is characterized in that, the method is applied in an electronic equipment, and the method comprises:
When described electronic equipment is play voice data, obtain at least one parameter value of playing audio data;
Obtain the corresponding relation of parameter value and reproduction time;
According to described at least one parameter value and described corresponding relation, determine the target playing duration that described at least one parameter value is corresponding;
Whether the accumulative total duration that judges playing audio data is greater than described target playing duration, if so, adjusts play parameter and/or the play mode of playing audio-fequency data.
2. the method for claim 1, is characterized in that, described at least one parameter value comprises the intensity of sound value of playing audio data and/or the accumulative total duration value of described voice data high frequency voice data.
3. method as claimed in claim 2, is characterized in that, the intensity of sound value that obtains playing audio data comprises:
Obtain the volume value of playing current voice data, and determine according to volume value in electronic equipment and the corresponding relation of intensity of sound value the intensity of sound value that described volume value is corresponding.
4. method as claimed in claim 2, it is characterized in that, described at least one parameter value comprises the accumulative total duration value of described voice data high frequency voice data and the intensity of sound value of playing audio data, and whether the accumulative total duration that judges playing audio data is greater than described target playing duration comprises:
Obtain first object playing duration corresponding to described intensity of sound value according to default intensity of sound value and the corresponding relation of reproduction time;
If the accumulative total duration of playing audio data is less than described first object playing duration, to playing the ground voice data, carry out spectrum analysis, according to analysis result, determine and play the duration that ground voice data medium frequency value is greater than the high-frequency voice data of first frequency threshold value;
The described voice data high frequency voice data of accumulative total the first duration value, judge whether described the first duration value is greater than the second target playing duration, if so, determines that the accumulative total duration of playing audio data is greater than described target playing duration.
5. the method for claim 1, is characterized in that, the play parameter of adjusting playing audio-fequency data comprises:
A plurality of scalariform door limit values are set in described target playing duration according to default spacing value, and described a plurality of scalariform door limit values increase by rank;
When the accumulative total duration of playing audio data is greater than arbitrary scalariform door limit value, according to the play parameter of default rule adjustment playing audio-fequency data.
6. method as claimed in claim 5, is characterized in that, according to the play parameter of default rule adjustment playing audio-fequency data, comprises:
Whether the accumulative total duration that detects described playing audio data is greater than at least one scalariform door limit value, if so, obtains the first play parameter of current playing audio-fequency data;
According to default adjustment threshold value, described the first play parameter is adjusted.
7. the method for claim 1, it is characterized in that, described electronic equipment comprises the first audio frequency output and the second audio output unit, described the first audio output unit and user's distance is less than the second audio output unit, when by the first audio output unit, exporting described voice data, play parameter and/or the play mode of adjusting playing audio-fequency data comprise:
Send the instruction of audio frequency output switching, described voice data is switched to described the second audio output unit and is exported; Perhaps
The output of stop tone audio data; Perhaps
Adjust the play parameter of playing audio data.
8. the method for claim 1, is characterized in that, after determining the target playing duration that described at least one parameter value is corresponding, also further comprises:
When the adjustment information of the adjustment parameter value that receives user's input, according to described adjustment information, adjust described at least one parameter value, and the parameter value playing audio-fequency data after the application adjustment;
Obtain the second accumulation duration value of the parameter value playing audio-fequency data of application before described adjustment, and the parameter value according to this second accumulation duration value, before adjusting and adjust after parameter value redefine the target playing duration of playing audio-fequency data.
9. the method for claim 1, is characterized in that, after determining the target playing duration that described at least one parameter value is corresponding, also further comprises:
Obtain the parameter information of external audio frequency playback equipment, and adjust described target playing duration according to this parameter information.
10. the method for claim 1, is characterized in that, after determining the target playing duration that described at least one parameter value is corresponding, further comprises:
The optional parameters item that shows the external audio frequency playback equipment, and according to the user who receives, select information to determine and select corresponding parameter item from described optional parameters item, determine the performance of the external audio frequency playback equipment of the current connection of electronic equipment according to the parameter item of selecting;
Adjust described target playing duration according to the parameter item of selecting.
11. an electronic equipment, is characterized in that, comprising:
Parameter acquiring unit, for when voice data is play, obtain at least one parameter value of playing audio data;
The corresponding relation acquiring unit, for obtaining the corresponding relation of parameter value and reproduction time;
The playing duration determining unit, for according to described at least one parameter value and described corresponding relation, determine the first reproduction time that described at least one parameter value is corresponding;
Whether judging unit, be greater than described the first reproduction time for the accumulative total duration that judges playing audio data, if so, adjusts play parameter play mode and/or the parameter value of described voice data.
12. electronic equipment as claimed in claim 11, is characterized in that, parameter acquiring unit is for obtaining the intensity of sound value of playing audio data and/or the accumulative total duration value of described voice data high frequency voice data.
13. electronic equipment as claimed in claim 12, it is characterized in that, the intensity of sound value that parameter acquiring unit obtains playing audio data comprises: obtain the volume value of playing current voice data, and determine according to volume value in electronic equipment and the corresponding relation of intensity of sound value the intensity of sound value that described volume value is corresponding.
14. electronic equipment as claimed in claim 11, is characterized in that, whether the accumulative total duration of described judgment unit judges playing audio data is greater than described target playing duration comprises:
Obtain first object playing duration corresponding to described intensity of sound value according to default intensity of sound value and the corresponding relation of reproduction time;
If the accumulative total duration of playing audio data is less than described first object playing duration, to playing the ground voice data, carry out spectrum analysis, according to analysis result, determine and play the duration that ground voice data medium frequency value is greater than the high-frequency voice data of first frequency threshold value;
The described voice data high frequency voice data of accumulative total the first duration value, judge whether described the first duration value is greater than the second target playing duration, if so, determines that the accumulative total duration of playing audio data is greater than described target playing duration.
15. electronic equipment as claimed in claim 11, is characterized in that, this electronic equipment also comprises that the first adjustment unit is for obtaining the parameter information of external audio frequency playback equipment, and adjusts described playing duration value according to this parameter information.
16. electronic equipment as claimed in claim 11, it is characterized in that, this electronic equipment also comprises that the second adjustment unit is for showing the optional parameters item of external audio frequency playback equipment, and according to the user who receives, select information to determine and select corresponding parameter item from described optional parameters item, determine the performance of the external audio frequency playback equipment of the current connection of electronic equipment according to the parameter item of selecting; Adjust described target playing duration according to the parameter item of selecting.
CN2012101804218A 2012-06-01 2012-06-01 Audio output control method and electronic equipment Pending CN103458339A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012101804218A CN103458339A (en) 2012-06-01 2012-06-01 Audio output control method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012101804218A CN103458339A (en) 2012-06-01 2012-06-01 Audio output control method and electronic equipment

Publications (1)

Publication Number Publication Date
CN103458339A true CN103458339A (en) 2013-12-18

Family

ID=49740226

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012101804218A Pending CN103458339A (en) 2012-06-01 2012-06-01 Audio output control method and electronic equipment

Country Status (1)

Country Link
CN (1) CN103458339A (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104112459A (en) * 2014-06-25 2014-10-22 小米科技有限责任公司 Method and apparatus for playing audio data
CN104967932A (en) * 2015-05-18 2015-10-07 小米科技有限责任公司 Earphone use prompting method and apparatus and smart terminal
CN105679350A (en) * 2016-01-11 2016-06-15 广东欧珀移动通信有限公司 Audio playing method and device
CN105898650A (en) * 2015-12-31 2016-08-24 乐视移动智能信息技术(北京)有限公司 Volume reminding method and system for intelligent device
CN106293605A (en) * 2016-08-12 2017-01-04 乐视控股(北京)有限公司 A kind of audio frequency playing method and device
CN106502618A (en) * 2016-10-21 2017-03-15 深圳市冠旭电子股份有限公司 A kind of method for protecting hearing ability and device
CN106954138A (en) * 2017-03-23 2017-07-14 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN107197101A (en) * 2017-06-23 2017-09-22 努比亚技术有限公司 Audio regulation method, mobile terminal and computer-readable recording medium
WO2017215639A1 (en) * 2016-06-16 2017-12-21 广东欧珀移动通信有限公司 Sound effect configuration method and system and related device
CN107783751A (en) * 2016-08-24 2018-03-09 塞舌尔商元鼎音讯股份有限公司 Can auto-control volume electronic installation
CN108848262A (en) * 2018-06-13 2018-11-20 Oppo广东移动通信有限公司 A kind of wearable device mode conversion method and Related product
CN109068205A (en) * 2018-06-05 2018-12-21 四川斐讯信息技术有限公司 A method of it is controllable using the time using time controllable earphone and earphone
WO2019033938A1 (en) * 2017-08-18 2019-02-21 Oppo广东移动通信有限公司 Sound volume adjustment method and apparatus, storage medium, and mobile terminal
CN109408664A (en) * 2018-10-30 2019-03-01 努比亚技术有限公司 A kind of audio recommended method, terminal and computer readable storage medium
CN111093137A (en) * 2019-12-27 2020-05-01 维沃移动通信有限公司 Volume control method, volume control equipment and computer readable storage medium
CN113050912A (en) * 2020-09-30 2021-06-29 惠州华阳通用电子有限公司 Audio file output method and device
WO2022226961A1 (en) * 2021-04-30 2022-11-03 华为技术有限公司 Hearing monitoring method and hearing monitoring apparatus
CN113050912B (en) * 2020-09-30 2024-06-04 惠州华阳通用电子有限公司 Audio file output method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101051822A (en) * 2007-03-23 2007-10-10 炬力集成电路设计有限公司 Method for automatic control and regulating broadcast volume
CN101461255A (en) * 2006-10-30 2009-06-17 全允豪 Method and apparatus for adjusting audio volume to prevent hearing loss or damage
CN201286161Y (en) * 2008-10-28 2009-08-05 张莉楠 Time limiting earphone
CN101682815A (en) * 2007-04-13 2010-03-24 高通股份有限公司 Dynamic volume adjusting and band-shifting to compensate for hearing loss

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101461255A (en) * 2006-10-30 2009-06-17 全允豪 Method and apparatus for adjusting audio volume to prevent hearing loss or damage
CN101051822A (en) * 2007-03-23 2007-10-10 炬力集成电路设计有限公司 Method for automatic control and regulating broadcast volume
CN101682815A (en) * 2007-04-13 2010-03-24 高通股份有限公司 Dynamic volume adjusting and band-shifting to compensate for hearing loss
CN201286161Y (en) * 2008-10-28 2009-08-05 张莉楠 Time limiting earphone

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
丁训杰等: "《职业病临床实践-物理因素部分》", 30 June 1985, 上海科学技术出版社 *

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104112459B (en) * 2014-06-25 2017-02-15 小米科技有限责任公司 Method and apparatus for playing audio data
CN104112459A (en) * 2014-06-25 2014-10-22 小米科技有限责任公司 Method and apparatus for playing audio data
CN104967932A (en) * 2015-05-18 2015-10-07 小米科技有限责任公司 Earphone use prompting method and apparatus and smart terminal
CN105898650A (en) * 2015-12-31 2016-08-24 乐视移动智能信息技术(北京)有限公司 Volume reminding method and system for intelligent device
CN105679350B (en) * 2016-01-11 2019-05-03 Oppo广东移动通信有限公司 A kind of method and device that audio plays
CN105679350A (en) * 2016-01-11 2016-06-15 广东欧珀移动通信有限公司 Audio playing method and device
US10649720B2 (en) 2016-06-16 2020-05-12 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Sound effect configuration method and system and related device
US10503464B2 (en) 2016-06-16 2019-12-10 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Sound effect configuration method and system and related device
WO2017215639A1 (en) * 2016-06-16 2017-12-21 广东欧珀移动通信有限公司 Sound effect configuration method and system and related device
CN106293605A (en) * 2016-08-12 2017-01-04 乐视控股(北京)有限公司 A kind of audio frequency playing method and device
CN107783751A (en) * 2016-08-24 2018-03-09 塞舌尔商元鼎音讯股份有限公司 Can auto-control volume electronic installation
CN106502618A (en) * 2016-10-21 2017-03-15 深圳市冠旭电子股份有限公司 A kind of method for protecting hearing ability and device
CN106502618B (en) * 2016-10-21 2020-10-13 深圳市冠旭电子股份有限公司 Hearing protection method and device
CN106954138A (en) * 2017-03-23 2017-07-14 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN107197101A (en) * 2017-06-23 2017-09-22 努比亚技术有限公司 Audio regulation method, mobile terminal and computer-readable recording medium
WO2019033938A1 (en) * 2017-08-18 2019-02-21 Oppo广东移动通信有限公司 Sound volume adjustment method and apparatus, storage medium, and mobile terminal
CN109068205A (en) * 2018-06-05 2018-12-21 四川斐讯信息技术有限公司 A method of it is controllable using the time using time controllable earphone and earphone
CN108848262A (en) * 2018-06-13 2018-11-20 Oppo广东移动通信有限公司 A kind of wearable device mode conversion method and Related product
CN109408664A (en) * 2018-10-30 2019-03-01 努比亚技术有限公司 A kind of audio recommended method, terminal and computer readable storage medium
CN111093137A (en) * 2019-12-27 2020-05-01 维沃移动通信有限公司 Volume control method, volume control equipment and computer readable storage medium
CN111093137B (en) * 2019-12-27 2021-07-06 维沃移动通信有限公司 Volume control method, volume control equipment and computer readable storage medium
CN113050912A (en) * 2020-09-30 2021-06-29 惠州华阳通用电子有限公司 Audio file output method and device
CN113050912B (en) * 2020-09-30 2024-06-04 惠州华阳通用电子有限公司 Audio file output method and device
WO2022226961A1 (en) * 2021-04-30 2022-11-03 华为技术有限公司 Hearing monitoring method and hearing monitoring apparatus

Similar Documents

Publication Publication Date Title
CN103458339A (en) Audio output control method and electronic equipment
US20100172522A1 (en) Programmable earphone device with customizable controls and heartbeat monitoring
CN102215446B (en) For controlling method and the binaural hearing aid system of binaural hearing aid system
CN208908482U (en) The earphone of adjustable noise reduction
CN108989931A (en) Hearing-protection earphone and its method for protecting hearing ability, computer program memory medium
US11265660B2 (en) Speech intelligibility enhancing system
US10728649B1 (en) Multipath audio stimulation using audio compressors
CN105446697A (en) Method, device and system for automatically adjusting volume of headset
JP2012516091A (en) In-ear sound detection for earphones
US20060239468A1 (en) System and method for immersive simulation of hearing loss and auditory prostheses
CN102172044A (en) Control method and apparatus for audio output
KR100916726B1 (en) The hearing level formaly as hearing loss measure system and method and the audio signal output controller using the same and method
CN104885360A (en) Hearing aid having level and frequency-dependent gain
US20220417635A1 (en) Voice controlled venting for insert headphones
JPWO2019039128A1 (en) Control device, control method, program
CN107493525A (en) Baffle Box of Bluetooth and audio play intelligent control method
CN107205193B (en) A kind of control method for playing back, earphone and smart machine
CN113676595B (en) Volume adjustment method, terminal device, and computer-readable storage medium
CN103985396A (en) Audio playing method
KR20190105868A (en) Earphones with hearing-impaired healing function
CN206472298U (en) Adaptive hearing that can be separately adjustable controls output device
CN208908483U (en) Wear the hearing-protection earphone of induction
CN112995878A (en) Frequency band cutting method and frequency band cutting device
CN106888418A (en) A kind of method for controlling volume and device
CN210007892U (en) Hearing aid earphone

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20131218