Summary of the invention
In view of this, the present invention proposes a kind of volume reminding method for smart machine and system,Volume is pointed out with the form of decibel, has unified the standard of volume debugging, facilitated user's science to regulateVolume, and point out earphone to use the time, decrease the damage to user ear.
The present invention provides a kind of volume reminding method for smart machine, wherein, including following stepRapid: S110, when smart machine plays sound by earphone, obtain the decibel value of broadcast sound volume,The reproduction time of recording played volume;S120, when the decibel value of broadcast sound volume is more than volume threshold,And reproduction time more than the very first time threshold value time, prompting user's broadcast sound volume decibel value and play timeBetween;Or when the decibel value of broadcast sound volume is less than volume threshold, and reproduction time is more than the second timeDuring threshold value, the decibel value of prompting user's broadcast sound volume and reproduction time.
Preferably, S100, the broadcasting to each level of sound volume of smart machine are also included before S110Volume carries out decibel measurement, to obtain the decibel value corresponding to each level of sound volume.
Preferably, S110 comprises the following steps: S1101, when smart machine plays sound by earphoneTime, obtain the first decibel value of broadcast sound volume, record the first reproduction time of described broadcast sound volume;S1102, whether detection broadcast sound volume changes, and when broadcast sound volume changes, obtains changeSecond decibel value of rear broadcast sound volume, the second reproduction time of broadcast sound volume after record change.
Preferably, S1102 specifically includes: when broadcast sound volume does not changes, and plays firstTime as the reproduction time of broadcast sound volume, using the first decibel value as the decibel value of broadcast sound volume;When broadcast sound volume changes, using the second decibel value as the decibel value of broadcast sound volume, and according toFollowing steps calculate reproduction time: when first decibel and second decibel is all higher than or less than volume thresholdTime, reproduction time is the first reproduction time and the second reproduction time sum;When the first decibel value is more thanWhen volume threshold and the second decibel value are less than volume threshold, reproduction time is the first reproduction time and theTwo reproduction time sums;When the first decibel value is more than volume threshold less than volume threshold and the second decibel valueDuring value, reproduction time is the second reproduction time.
Preferably, the second time threshold is more than very first time threshold value.
The present invention also provides for a kind of volume prompt system for smart machine, wherein, including decibelTime-obtaining module and contrast reminding module, wherein, decibel time-obtaining module, for when intelligenceWhen equipment plays sound by earphone, obtain the decibel value of broadcast sound volume, broadcasting of recording played volumePut the time;Contrast reminding module, for the decibel value when broadcast sound volume more than volume threshold, and broadcastsWhen the time that puts is more than very first time threshold value, the decibel value of prompting user's broadcast sound volume and reproduction time;Or when the decibel value of broadcast sound volume is less than volume threshold, and reproduction time is more than the second time thresholdTime, the decibel value of prompting user's broadcast sound volume and reproduction time.
Preferably, also include a decibel detection module, for each level of sound volume to smart machineBroadcast sound volume carries out decibel measurement, to obtain the decibel value corresponding to each level of sound volume.
Preferably, volume change detection module, it is used for detecting whether broadcast sound volume changes, whenWhen broadcast sound volume changes, obtain the second decibel value of broadcast sound volume after changing, after record changeSecond reproduction time of broadcast sound volume.
Preferably, reproduction time computing module, for when broadcast sound volume changes, by secondDecibel value is as the decibel value of broadcast sound volume, and reproduction time computing module calculates according to following steps and broadcastsPut the time: when being all higher than or be less than volume threshold for first decibel and second decibel, reproduction time meterThe reproduction time calculating module calculating is the first reproduction time and the second reproduction time sum;When first pointWhen shellfish value is less than volume threshold more than volume threshold and the second decibel value, reproduction time computing module meterThe reproduction time calculated is the first reproduction time and the second reproduction time sum;When the first decibel value is less thanWhen volume threshold and the second decibel value are more than volume threshold, the broadcasting that reproduction time computing module calculatesTime is the second reproduction time.
Preferably, the second time threshold is more than very first time threshold value.
Volume reminding method the dividing by output broadcast sound volume for smart machine that the present invention providesShellfish value, has unified broadcast sound volume outputting standard, provides the user with definite decibel value, facilitates userScientifically regulate the broadcast sound volume of smart machine, and remind user to use the reproduction time of earphone,Solving user relies on subjective feeling to remove the problem of earphone, decreases the earphone damage to ear.
Detailed description of the invention
Below in conjunction with accompanying drawing and specific embodiment, technical scheme is described in detail.
Fig. 1 shows the stream of the volume reminding method for smart machine that the embodiment of the present invention providesCheng Tu, it comprises the following steps:
S110, when smart machine plays sound by earphone, obtains the decibel value of broadcast sound volume,The reproduction time of recording played volume;
S120, when the decibel value of broadcast sound volume is more than volume threshold, and when reproduction time is more than firstBetween threshold value time, the prompting decibel value of user's broadcast sound volume and reproduction time;Or when broadcast sound volumeDecibel value is less than volume threshold, and when reproduction time is more than the second time threshold, prompting user playsThe decibel value of volume and reproduction time.
Relative to conventional volume reminding method, the present invention by exporting the decibel value of broadcast sound volume,And remind user to use the reproduction time of earphone, unify the outputting standard of broadcast sound volume, convenientUser scientifically regulates broadcast sound volume, makes user be no longer rely on subjective feeling to remove earphone, reducesDamage to ear.
In an embodiment of the present invention, S100 before S110, can also be included, each to smart machineThe broadcast sound volume of individual level of sound volume carries out decibel measurement, to obtain dividing corresponding to each level of sound volumeShellfish value.By each level of sound volume of smart machine is carried out decibel detection, it is achieved that smart machineVolume exports with decibel value so that user's more science be adjusted volume, reduce earDamage.
Below as a example by actual play volume, its processing procedure described, with reference to Fig. 2, specific as follows:
S210, carries out decibel measurement to the broadcast sound volume of each level of sound volume of smart machine, to obtainObtain the decibel value corresponding to each level of sound volume;
Decibel is measured and can be carried out in audio lab, utilizes equipment TYPE3.3 to gather smart machineThe broadcasting sound of each level of sound volume, measures the decibel value corresponding to each level of sound volume.Pass throughDecibel value corresponding for level of sound volume is mapped by mapping relations, such as level of sound volume 3 correspondence 30Decibel.This broadcasting sound can be the outer playback amount of smart machine, it is also possible to is the broadcasting sound of earphoneAmount.In the present embodiment, test is the broadcasting sound of earphone, during the broadcast sound volume of test earphone,Need to test by artificial cochlea.The measurement of decibel value can also use other equipment to broadcastThe decibel detection of playback amount.
S220, when smart machine plays sound by earphone, obtains first decibel of broadcast sound volumeValue, the first reproduction time of recording played volume;
S230, whether detection broadcast sound volume changes, and when broadcast sound volume changes, obtainsSecond decibel value of broadcast sound volume after change, the second reproduction time of broadcast sound volume after record change;
When broadcast sound volume changes repeatedly, third and fourth decibel etc., the most recordable change can be obtainedAfter third and fourth reproduction time etc. of broadcast sound volume, the like.
S240, when level of sound volume does not changes, using the first reproduction time as broadcast sound volumeReproduction time, using the first decibel value as the decibel value of broadcast sound volume;
When broadcast sound volume changes, using the second decibel value as the decibel value of broadcast sound volume, andAccording to following steps calculating reproduction time:
When being all higher than or be less than volume threshold for first decibel and second decibel, reproduction time is firstReproduction time and the second reproduction time sum;
When the first decibel value is less than volume threshold more than volume threshold and the second decibel value, during broadcastingBetween be the first reproduction time and the second reproduction time sum;
When the first decibel value is more than volume threshold less than volume threshold and the second decibel value, during broadcastingBetween be the second reproduction time.
When broadcast sound volume changes, when first decibel during the computational methods of above-mentioned reproduction timeWhen value and the first reproduction time, the second decibel value and the second reproduction time are all unsatisfactory for S250, it may be assumed thatWhen the first decibel value is more than volume threshold, and when the first reproduction time is less than very first time threshold value, orPerson's the first decibel value is less than volume threshold, and when the first reproduction time is less than the second time threshold;OrPerson, when the second decibel value is more than volume threshold, and when the second reproduction time is less than very first time threshold value,Or when the second decibel value is less than volume threshold, and when the second reproduction time is less than the second time threshold.
The like, when broadcast sound volume changes repeatedly, using last decibel value as broadcastingThe decibel value of volume, reproduction time calculates according to above-mentioned method.
S250, when the decibel value of broadcast sound volume is more than volume threshold, and when reproduction time is more than firstBetween threshold value time, prompting user plays decibel value and the reproduction time of sound;Or when broadcast sound volumeDecibel value is less than volume threshold, and when reproduction time is more than the second time threshold, prompting user playsThe decibel value of sound and reproduction time.
Very first time threshold value is much smaller than the second time threshold.If user's earphone exceedes necessarily for a long timeDuring decibel, point out.Such as, volume threshold is 85 decibels, and very first time threshold value is 3 minutes,Second time threshold is 1 hour.User use earphone more than 3 minutes (such as 4 minutes) all inWhen the volume of 90 decibels (more than 85 decibels) exports, point out to user.When user uses earphone lowWhen 85 decibels (such as 70 decibels), if use earphone time more than 1 hour (such as 2Hour) time, also can point out to user.
The content of prompting includes decibel value and the reproduction time playing sound, and prompting user removes earphoneHave a rest, and show that it carries out the reason having a rest.If volume is excessive, then decibel value is front,The use time is rear.If overlong time, reproduction time is front, and decibel value is rear.
A kind of mode such as word output, voice output, mobile phone vibration or several ways group can be usedConjunction is pointed out.Prompting mode is carried out with mulching method, only preserves and the prompting of display the last time,The space of smart machine can be reduced, improve smart machine processing speed.Also can be to pointing out each timePreserve, check for user.Other implementations can also be used, do not do concrete limit at thisFixed.
The present invention is without the decibel value by any third party software display broadcast sound volume, but passes throughDetection level of sound volume, is directly provided by level of sound volume user with a definite decibel value, allows useBroadcast sound volume is adjusted under the volume (such as 40-60 decibel) of appropriateness by family, protects ear,Improve the initiative of user, decrease the damage to human body ear.
Accordingly, present invention also offers a kind of volume prompt system 100 for smart machine, asShown in Fig. 3, comprising:
Decibel time-obtaining module 101, for when smart machine plays sound by earphone, obtainingThe decibel value of broadcast sound volume, the reproduction time of recording played volume;
Contrast reminding module 102, for the decibel value when broadcast sound volume more than volume threshold, and playsWhen time is more than very first time threshold value, the decibel value of prompting user's broadcast sound volume and reproduction time;OrPerson is less than volume threshold when the decibel value of broadcast sound volume, and when reproduction time is more than the second time threshold,The decibel value of prompting user's broadcast sound volume and reproduction time.
Further, the volume prompt system 100 for smart machine as shown in Figure 3 also includesDecibel detection module, for carrying out decibel survey to the broadcast sound volume of each level of sound volume of smart machineAmount, to obtain the decibel value corresponding to each level of sound volume.
Further, the volume prompt system 100 for smart machine as shown in Figure 3 also includesLevel of sound volume detection module, is used for detecting whether level of sound volume changes, when level of sound volume reducesOr when improving, obtain the second decibel value of the level of sound volume after this change, after recording this changeThe second reproduction time under level of sound volume.
Further, the volume prompt system 100 for smart machine as shown in Figure 3 also includesReproduction time computing module, for when broadcast sound volume changes, using the second decibel value as broadcastingThe decibel value of playback amount, reproduction time computing module calculates reproduction time according to following steps:
When being all higher than or be less than volume threshold for first decibel and second decibel, reproduction time calculates mouldThe reproduction time that block calculates is the first reproduction time and the second reproduction time sum;
When the first decibel value is less than volume threshold more than volume threshold and the second decibel value, during broadcastingBetween computing module calculate reproduction time be the first reproduction time and the second reproduction time sum;
When the first decibel value is more than volume threshold less than volume threshold and the second decibel value, during broadcastingBetween computing module calculate reproduction time be the second reproduction time.
In an embodiment of the present invention, video or sound are play when user inserts an earphone into smart machineFrequently, time, decibel time-obtaining module 101 obtains decibel value and the reproduction time of broadcast sound volume.When withWhen volume is adjusted by family, volume change detection module obtains second point after broadcast sound volume changeShellfish value and the second reproduction time, reproduction time computing module calculates the reproduction time of broadcast sound volume,And using the second decibel value as the decibel value of broadcast sound volume.Contrast reminding module 102 is compared,The decibel value of prompting user's broadcast sound volume and reproduction time, so that user removes earphone, have a rest.
Above, in conjunction with specific embodiments technical scheme is described in detail, is retouchedThe specific embodiment stated is adapted to assist in the thought understanding the present invention.Those skilled in the art are in the present inventionWithin the derivation made on the basis of specific embodiment and modification fall within scope.