CN109656511A - A kind of audio frequency playing method, terminal and computer readable storage medium - Google Patents
A kind of audio frequency playing method, terminal and computer readable storage medium Download PDFInfo
- Publication number
- CN109656511A CN109656511A CN201811280026.0A CN201811280026A CN109656511A CN 109656511 A CN109656511 A CN 109656511A CN 201811280026 A CN201811280026 A CN 201811280026A CN 109656511 A CN109656511 A CN 109656511A
- Authority
- CN
- China
- Prior art keywords
- volume
- terminal
- audio
- target
- user
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/165—Management of the audio stream, e.g. setting of volume, audio stream path
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- General Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a kind of audio frequency playing method, terminal and computer readable storage mediums, it whether is currently that audio output is carried out by earphone by monitoring terminal, and the sound energy parameter that target audio file to be played is obtained when definitive result, which is, is, the sound that the sound energy parameter got can characterize the target audio file can height.After getting sound energy parameter, the target volume for playing target audio file can be determined based on sound energy parameter and volume inquiry table, target audio file is then played according to the target volume determined.In the audio broadcasting scheme; consider the difference of different audio file sound energy parameters; the way that adjusting is uniformly controlled to the broadcast sound volume of all audio files is abandoned; the volume of terminal is controlled as unit of audio file; the broadcast sound volume of audio file is determined according to the sound energy parameter " personalization " of each audio file; when taking into account user's audition and experiencing, hearing protection effect is improved, user experience is enhanced.
Description
Technical field
The present invention relates to field of terminal technology, can more specifically to a kind of audio frequency playing method, terminal and computer
Read storage medium.
Background technique
In daily life, earphone is often connect by user with equipment such as mobile phone, tablet computers, carries out audio by earphone
It plays, such as watches video or listen to music on the road in the amusement and recreation time and relax.This aspect can be to avoid
Equipment audio external play influences other people under same environment, meanwhile, the external world can also be completely cut off to a certain extent using earphone
Sound avoids the audition experience of extraneous noisy acoustic impacts user.
But, it is well known that hearing user is easily damaged using earphone audition for a long time, to cause under user's physical strength
Drop.In order to protect hearing user, in the related art, electronic equipment, such as mobile phone etc. can user's adjusting output volume when
It waits, carries out volume monitoring, issue the user with prompt information after the volume value for finding that user is adjusted is more than threshold value, but this
Hearing protection mode ossifys, and produces little effect.
So it is urgent to provide a kind of new audio frequency playing methods now, to protect hearing user, avoid that ear is used for a long time
Machine brings irreversible influence to hearing user.
Summary of the invention
The technical problem to be solved in the present invention is that: program,hearing conservation in the related technology ossifys, hearing protection effect
It is bad, for the technical problem, provide a kind of audio frequency playing method, terminal and computer readable storage medium.
In order to solve the above technical problems, the present invention provides a kind of audio frequency playing method, which is characterized in that audio frequency playing method
Include:
It monitors and determines whether terminal is currently to carry out audio output by earphone;
After definitive result is to be, the sound energy parameter of target audio file to be played is obtained, sound energy parameter can characterize mesh
The sound of mark with phonetic symbols frequency file can height;
The target volume for playing target audio file is determined based on sound energy parameter and volume inquiry table, is wrapped in volume inquiry table
Sound energy parameter is included with the mapping relations between volume;
Target audio file is played according to the target volume determined.
Optionally, before the sound energy parameter for obtaining target audio file to be played, further includes:
Determine that target audio file belongs to amusement audio;
Or,
The duration that terminal carries out audio output by earphone is obtained, determines that duration is more than duration threshold value;
Or,
The accumulative sound energy that terminal is exported in the period of a length of T by earphone when nearest is obtained, determines that accumulative sound can exceed that
Sound energy threshold value.
Optionally, determine that target audio file belongs to amusement with audio and includes:
Determine that target audio belongs to amusement audio based on speech recognition;
Or,
Determine whether current time is in the preset consumer entertainment period, if so, determining that target audio file belongs to joy
Happy audio.
Optionally, it includes any one in following two that whether monitoring terminal, which is currently by earphone progress audio output,
Kind:
Judge whether terminal currently connect with earphone, if the determination result is YES, then determines that terminal is currently carried out by earphone
Audio output, otherwise, it is determined that terminal, which is currently not, carries out audio output by earphone;
Determine terminal it is current use audio frequency output channel, if currently used audio frequency output channel is earphone, output is logical
Road then determines that terminal currently carries out audio output by earphone, otherwise, it is determined that terminal is currently not defeated by earphone progress audio
Out.
Optionally, the sound energy parameter for obtaining target audio file to be played includes:
Obtain the sound energy mean value of target audio file, sound energy mean value be audio file when being played out according to default volume
The average sound energy size exported in unit time;
And/or
Obtain the audio types of target audio file.
Optionally, determine that the target volume for playing target audio file includes: with volume inquiry table based on sound energy parameter
Determine the identity of terminal active user;
The corresponding volume inquiry table of user is obtained, includes that sound energy parameter is closed with the mapping between target volume in volume inquiry table
System;
It carries out inquiring the corresponding target volume of determining sound energy parameter in the corresponding volume inquiry table of user.
Optionally, determine that the target volume for playing target audio file includes: with volume inquiry table based on sound energy parameter
The corresponding typical problem of sound energy parameter is inquired in volume inquiry table, includes sound energy parameter in volume inquiry table with mark
Mapping relations between quasi- volume;
Target volume is determined according to the volume reference difference of typical problem and user, and volume reference difference is the broadcasting of user personality
Volume is the same as the difference between typical problem.
Optionally, before determining target volume according to the volume reference difference of typical problem and user, further includes:
Age and/or hearing state based on user determine the volume reference difference of user;
Or,
The volume reference difference of user is determined for the history broadcast sound volume of user based on terminal.
Further, the present invention also provides a kind of terminal, terminal includes processor, memory and communication bus;
Communication bus is for realizing the connection communication between processor and memory;
Processor is for executing one or more program stored in memory, to realize that the audio of as above any one is broadcast
The step of putting method.
Further, the present invention also provides a kind of computer readable storage medium, computer-readable recording medium storages
There is one or more program, one or more program can be executed by one or more processor, as above any to realize
The step of audio frequency playing method of item.
Beneficial effect
The present invention provides a kind of audio frequency playing method, terminal and computer readable storage medium, pleasant to the ear for the relevant technologies
Power protection scheme ossifys, and the ineffective problem of hearing protection, audio frequency playing method provided in an embodiment of the present invention can monitor end
Whether current end is audio output to be carried out by earphone, and target audio text to be played is obtained when definitive result, which is, is
The sound energy parameter of part, the sound that the sound energy parameter got can characterize the target audio file can height.It can join getting sound
After number, the target volume for playing target audio file can be determined based on sound energy parameter and volume inquiry table, then according to really
The target volume made plays target audio file.In the audio broadcasting scheme, it is contemplated that different audio file sounds can join
Several differences has abandoned the way that adjusting is uniformly controlled to the broadcast sound volume of all audio files, right as unit of audio file
The volume of terminal is controlled, and is caused hearing protection ineffective so as to avoid rigid volume control, is had an effect on user and listen
The problem of sound is experienced.The broadcast sound volume that audio file is determined according to the sound energy parameter " personalization " of each audio file, is taking into account use
When family audition is experienced, hearing protection effect is improved, user experience is enhanced.
Detailed description of the invention
Present invention will be further explained below with reference to the attached drawings and examples, in attached drawing:
The hardware structural diagram of Fig. 1 each embodiment one optional mobile terminal to realize the present invention.
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is a kind of flow chart of the audio frequency playing method provided in first embodiment of the invention;
Fig. 4 is a kind of schematic diagram that the terminal provided in first embodiment of the invention is connect with wired earphone;
Fig. 5 is a kind of schematic diagram that the terminal provided in first embodiment of the invention is connect with wireless headset;
Fig. 6 is that the terminal provided in first embodiment of the invention determines target audio based on sound energy parameter and volume inquiry table
A kind of flow chart of the corresponding target volume of file;
Fig. 7 is that the terminal provided in first embodiment of the invention determines target audio based on sound energy parameter and volume inquiry table
Another flow chart of the corresponding target volume of file;
Fig. 8 is a kind of flow chart of the audio frequency playing method provided in second embodiment of the invention;
Fig. 9 is a kind of display interface schematic diagram of the terminal provided in second embodiment of the invention;
Figure 10 is the hardware structural diagram of the terminal provided in third embodiment of the invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element
Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix
Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plate
Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable
Media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer etc. move
The fixed terminals such as dynamic terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special
Except element for moving purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting
Dynamic terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit
103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit
108, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1
Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram,
Perhaps certain components or different component layouts are combined.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station
Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating
Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication
Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications
System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code
Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division
Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code
Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division
Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division
Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102
Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows
Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need
It to omit within the scope of not changing the essence of the invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100
When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or
The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103
Audio output relevant to the specific function that mobile terminal 100 executes can also be provided (for example, call signal receives sound, disappears
Breath receives sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited
Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can
To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model.
Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition)
The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear
Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;
The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer,
The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal
Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with
And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071
Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection
Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can
To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap
It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc.
It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel
1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can
The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically
It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example,
External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing
Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number
It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with
For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection
A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage
Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place
Managing device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated
Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111
Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, the communications network system that mobile terminal of the invention is based below into
Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system
System is the LTE system of universal mobile communications technology, which includes UE (User Equipment, the use of successively communication connection
Family equipment) (the land Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN
Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation
204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning
Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203,
ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS
(Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way,
Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and
Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and
The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers
Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use
The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201
Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource
Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia
System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not only
Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with
And the following new network system etc., herein without limitation.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
First embodiment
In order to solve in related program,hearing conservation, terminal carries out indifference when playing audio, to all audio files
Output volume control, ignores the different feature of each audio file sound energy parameter, causes the impression of user's audition bad, hearing protection effect
The bad problem of fruit, the present embodiment provides a kind of audio frequency playing methods.Referring firstly to one of the audio frequency playing method shown in Fig. 3
The optional flow chart of kind:
S302: whether monitoring terminal is currently to carry out audio output by earphone.
Since audio guard method provided in this embodiment is mainly protection hearing user, avoid user using earphone
The problem of during audition by hearing impairment, therefore, in the present embodiment, before playing out volume control, Ke Yixian
Whether determine user currently has through earphone the sound for obtaining terminal output.If monitoring result be it is yes, enter S304, otherwise
Terminate process.It is understood that terminating stream when determining that terminal is currently not through earphone progress audio output by monitoring
Journey is not meant to without audio output, does not require only to control broadcast sound volume using S304 and later process.
In the present embodiment, whether monitoring terminal is currently to carry out audio output by earphone, can be there are many different
Implementation, going out two kinds below can example for reference:
Mode one: judging whether terminal currently connect with earphone, and if the determination result is YES, then it is logical for meaning terminal currently
It crosses earphone and carries out audio output, otherwise determine that terminal is currently not and audio output is carried out using earphone.It is beyond all doubt, here
Described " connection " can refer to wired connection, may also mean that wireless connection.For example, it may be determined whether there is earphone to pass through end
The earphone jack being arranged on end is connect with terminal, as shown in Figure 4.In addition, the equipment such as mobile phone, tablet computer have been supported to adopt now
Be wirelessly connected with earphone with bluetooth, infrared and 2.4G wireless signal etc., therefore, in the present embodiment, determines terminal
Currently whether it is connect with earphone, it, can also be into other than determining whether terminal connect by wired mode with peripheral earphone
One step is determined whether there is earphone and is connect with communication with terminal, as shown in Figure 5.
Connect in view of that may have terminal with earphone, but and without using earphone carry out audio output the case where, so
In a kind of example of the present embodiment, can be determined according to the currently used audio frequency output channel of terminal terminal currently whether
It is that audio output is carried out by earphone.
Mode two: determining the currently used audio frequency output channel of terminal, if currently used audio frequency output channel is earphone
Output channel then determines that terminal currently carries out audio output by earphone, is carried out otherwise, it is determined that terminal is currently not by earphone
Audio output.
S304: the sound energy parameter of target audio file to be played is obtained.
After judging to determine that terminal is currently to carry out audio output using earphone, then illustrate that user should use ear
Machine audition, therefore, it is necessary to the hearing to user to protect.So in this case it is necessary to the audio to be played to terminal
File carries out targetedly playing control.
It is understood that the factor for influencing hearing user is not only in that end when terminal carries out audio output by earphone
End plays the output volume of the system sound volume of the audio file, earphone, while also having with the sound energy parameter of the audio file itself
It closes, for example, under same cell phone system volume, same earphone output volume, the sound of different two audio files output
Can be just different, the loudness of a sound impression to user is not also identical, so, the sound energy parameter of an audio file is also to influence the audio
The key factor of file reality output loudness of a sound namely the sound energy parameter of audio file can largely influence listening for user
Power.
Therefore, in the present embodiment, it is to carry out audio output using earphone when determining terminal currently, needs to carry out user
When hearing protection, the sound energy parameter of available current audio file to be played, to determine that terminal passes through according to sound energy parameter
Earphone plays the target volume when audio file.In the present embodiment, for characterizing the sound energy parameter packet of target audio file
Include at least one of sound energy mean value, the audio types of the target audio file.
Wherein, the sound energy mean value of an audio file refers to that the audio file plays out Shi Dan according to preset volume
The average sound energy size namely the audio file exported in the time of position generated total sound energy when being played out according to default volume
With the ratio of playing duration.For example it is assumed that total sound of generation can be E when target audio file is played out according to default volume,
And the playing duration of the audio file is T, then the sound energy mean value of the target audio file is E/T.It is understood that when with
When different volumes plays the target audio file, total sound energy size of generation is different, in the present embodiment, for difference
Audio file, sound energy mean value is being determined, when calculating total sound energy, it is assumed that these audio files be using same volume carry out
It plays, is for for all audio files, default volume is identical.In some instances, default volume can be
The max volume that terminal and earphone export jointly is also possible to half, one third of the max volume etc..
In addition, the audio types of audio file can also characterize the sound energy height of the audio file to a certain extent, with
For music, under identical output volume, the concert of usual rock genre can be higher than the sound of the music for type of releiving;Stream
The sound of row style of song music can can be higher than the sound of folk rhyme style of song music.So being obtained in some examples of the present embodiment
When the sound energy parameter of target audio file, it is also contemplated that the audio types of the target audio file are obtained, thus according to audio
Type substantially derives the grade of its sound energy height.
Certainly, in some examples of the present embodiment, can also obtain simultaneously target audio file sound energy mean value and
Audio types are as its sound energy parameter.
S306: the target volume for playing target audio file is determined based on sound energy parameter and volume inquiry table.
After getting the sound energy parameter of target audio file, terminal can determine that broadcasting should based on the sound energy parameter
The target volume of target audio file.In the present embodiment, terminal can be inquired according to the sound energy parameter combination volume got
Table determines target volume corresponding with target audio, includes that sound energy parameter is closed with the mapping of volume in volume inquiry table
System.
Allow terminal in the feelings for not depending on network in terminal side it is understood that volume inquiry table can store
Target volume is determined under condition, even terminal is in that in the state of network connection, program,hearing conservation does not also remain unchanged in this way
Effectively.Certainly, volume inquiry table also can store in network side, when terminal get target audio file sound energy parameter it
Afterwards, by being inquired to network side, to get target volume.
The differences such as hearing, audition habit in view of different user, so, terminal is protected in the hearing to different user
When shield, personalized volume control is carried out preferably for different user.Therefore, in some examples of the present embodiment,
When determining the volume for playing target audio file, the current user of terminal is further accounted for.
In a kind of example of the present embodiment, terminal can be based on sound energy parameter in the following ways and volume is inquired
Table determines the corresponding target volume of target audio file, incorporated by reference to flow chart shown in fig. 6:
S602: the identity of terminal active user is determined.
In the present embodiment, there are many kinds of the modes for determining user identity: the most common mode is from user oneself to end
Oneself identity information of end instruction, such as user is when listening to music, for the preference sound for allowing music player to record oneself
The purpose of happy style, can establish one's own using account.So an even terminal there are multiple users, but work as it
In some user when listened to music using the terminal, the account of oneself can be logged in, therefore, for terminal, only needed
Obtain the identity information that can determine active user using account currently logged in this equipment.
There is further provided it is several can determination current user identities for reference mode:
Terminal control fingerprint recognition mould group acquires the finger print information of active user, is then based on pre-stored in this terminal
Fingerprint characteristic determines the identity of active user.It is understood that fingerprint recognition is one of living things feature recognition, therefore,
In some other example of the present embodiment, terminal can also by camera acquire active user facial characteristics and/or
Iris feature, to determine the identity of active user based on facial recognition techniques and/or iris recognition technology.Even, terminal
The vocal print feature of active user can also be used using audio input device such as microphones, then vocal print according to the pre-stored data
Characteristic matches the identity information of active user.
S604: the corresponding volume inquiry table of user is obtained.
In the present embodiment, terminal is stored with corresponding volume inquiry table namely not all for different users
User share same volume inquiry table.In this way, the volume inquiry table of different user can based on the audition of user itself be accustomed to,
Hearing etc. is arranged, so that volume inquiry table is matched with factors such as user's audition habit, hearing users.On this basis,
The target volume determined based on the volume inquiry table with individual subscriber color can be more suitable for active user.So working as end
It is available to arrive volume inquiry table corresponding with the user after the identity of active user is determined at end.
S606: it carries out inquiring the corresponding target volume of determining sound energy parameter in the corresponding volume inquiry table of user.
After getting volume inquiry table corresponding with active user, sound before being inquired in the volume inquiry table
It can the corresponding target volume of parameter.So what is stored in volume inquiry table is the same target volume of sound energy parameter in the example
Between mapping relations.It can be directly as that is, inquiring the volume corresponding with sound energy parameter that obtains from volume inquiry table
Export the volume of target audio file.
It is understood that terminal determines user identity, the process for obtaining active user's volume inquiry table can obtained
It, can also be after obtaining sound energy parameter, not to the two processes in the present embodiment before target audio file sound energy parameter
Timing limits.
In the other example of the present embodiment, volume inquiry table can not be to be arranged as unit of user, for example,
One unified volume inquiry table can be only set for all users, what is stored in the volume inquiry table is that sound energy parameter is same
Mapping relations between typical problem inquire the volume obtained not necessarily terminal output target sound from the volume inquiry table
Volume when frequency file.Target audio is determined based on sound energy parameter and volume inquiry table to terminal below with reference to example and Fig. 7
The process of file destination volume is illustrated:
S702: the corresponding typical problem of sound energy parameter is inquired in volume inquiry table.
Since what is stored in volume inquiry table is sound energy parameter with the mapping relations between typical problem, work as terminal
After getting the sound energy parameter of target audio file, the volume inquiry table can be directly inquired, so that it is determined that the target audio
The corresponding typical problem of file.
S704: target volume is determined according to the volume reference difference of typical problem and user.
It is understood that typical problem is not account for different user difference in terms of audition habit, hearing
In the case of play target audio file recommendation volume.But in order to enable audio in the present embodiment play scheme can be
User experience is taken into account in the case where protection hearing user, maintenance user's audition is experienced, and in the present embodiment, is obtaining target audio text
After the corresponding typical problem of part, terminal also needs the humanized demand according to user, handle to typical problem and then obtain
To the target volume of suitable active user.
For example, some user (it is assumed that " first kind user ") hearing is fabulous, therefore, listen an audio file when
It waits, which is played out, Ji Kerang using lower volume V1 (here by V1 as the individual character volume of first kind user)
This kind of user obtains more comfortable audition impression;But weaker for hearing (such as older or congenital hearing exists
Obstacle) user (it is assumed that " second class user ") for, may if equally playing the audio file with the volume of V1
Appearance user can not hear clearly or audition experiences bad problem.For this kind of user, it may be required that terminal is to be greater than V2 (this
In using V2 as the individual character volume of the second class user) volume play out, could obtain with the preferable user of first kind hearing
Same audition experience.But same audio file, normal for hearing (not fabulous, also not very poor) user (it is assumed that
For " third class user ") for, in order to obtain the experience of same audition, terminal can be using V0 (here by V1 as third class user
Individual character volume) volume play out, wherein V0 be greater than V1 but be less than V2.It is assumed that here by third class user's audition when
Property volume V0 is as typical problem, then Δ V1=V1-V0 is the volume reference difference of first kind user, Δ V2=V2-V0 is the
The volume reference difference of two class users.
So, when determining the target volume for being directed to target audio file, can first determine each sound energy in the present embodiment
The corresponding typical problem of parameter then determines target volume corresponding to the user according to the volume reference difference of different user.Sound
The value of amount reference difference can just be born, and volume reference difference is bigger, then illustrates that the broadcast sound volume of user personality is bigger, conversely, with
The broadcast sound volume of family individual character is smaller.
According to foregoing description it is found that when determining target volume based on typical problem, it is necessary to first determine the sound of user
Measure reference difference.In some examples of the present embodiment, terminal can be in several parameters such as age, hearing state based on user
At least one volume reference difference to determine user, for example, the people that the age is bigger, volume reference difference is bigger.So-called hearing
State may include whether the ear level of user or user need using hearing-aid device etc..
In other examples of the present embodiment, terminal, can be according to needle when determining the volume reference difference of a user
The history broadcast sound volume of the user is determined, for example, in play history, the higher user of actual play volume, sound
It is naturally also bigger to measure reference difference, and in play history, actual play volume is lower, then volume a reference value is with regard to smaller.
It is understood that terminal can be it needs to be determined that when target volume, temporarily based on appointing in aforementioned two ways
It anticipates a kind of volume reference difference to determine active user, the volume reference difference of each common user can also be predefined out, and will
The volume reference difference and subscriber identity information associated storage of these users, such as the sound of each common user is saved in table form
Measure reference difference:
Table 1
User | Volume reference difference |
A | ΔVA |
B | ΔVB |
C | ΔVC |
In this way, it needs to be determined that first determining user identity, being then based on and work as when the corresponding target volume of target audio file
The identity information of preceding user finds out predetermined volume reference difference, determines target volume so as to shorten for target audio file
Duration, promoted audio playing efficiency, guarantee user experience.
S308: target audio file is played according to the target volume determined.
After determining target volume for target audio file, terminal can be carried out based on the target volume by earphone
Audio plays.
It is worth noting that " target audio file " so-called in the present embodiment foregoing examples can refer to pure sound
Frequently, it may also mean that the audio-frequency unit in video.In addition, target audio file can refer to the audio for being stored in terminal local
File may also mean that online audio file.The side of target volume is determined for the sound energy mean value according to target audio file
Case, if target audio file is online audio file, sound energy mean value can first be transferred to terminal by network side, make terminal straight
It connects and target volume is determined according to sound energy mean value.
Audio frequency playing method provided in this embodiment, when terminal carries out audio output by earphone, in order to protect
Hearing user, the sound energy parameter of available target audio file to be played are then based on sound energy parameter and determine for the mesh
The target volume of mark with phonetic symbols frequency file, and target audio file is played out with the target volume determined, to be embodied as not
The actual broadcast sound volume of same audio file " customized " is abandoned and ignores doing for audio file sound energy height itself in the related technology
Method improves the effect of hearing protection in audio playing process, while also maintaining the audition experience of user.
Further, in audio frequency playing method provided in this embodiment, in the sound energy height based on target audio file
On the basis of determining target volume, it can also further consider the hearing of user's individual, the difference of audition habit, protected to realize
Enhance the effect of user experience in the case where protecting hearing user.
Second embodiment
The advantages of in order to enable those skilled in the art to become apparent from previous embodiment sound intermediate frequency playback method and details, this reality
Applying example further will be illustrated audio frequency playing method in conjunction with specific example, incorporated by reference to the audio frequency playing method shown in Fig. 8
Flow chart:
S802: judgement is currently connect with the presence or absence of earphone with terminal.
If the determination result is YES, then enter S804, otherwise, terminate process.
In the present embodiment, terminal is directly according to whether the audio output that there are earphones to connect to determine oneself with itself is
No carried out by earphone.It is assumed that terminal not only supports wired earphone, but also supports wireless headset, then determine whether there is earphone with
When this terminal connects, terminal should determine whether that wired earphone is electrically connected by audio output interface and the formation of this terminal
It connects, determines whether that wireless headset is formed by the modes such as bluetooth and this terminal again and communicate to connect.It is beyond all doubt, if
Terminal only supports wired earphone, or only supports wireless headset (such as not set audio output interface on mobile phone), then terminal can be with
Wired earphone is only determined whether there is to be electrically connected with itself, or only determine whether wireless headset by wireless communication technology with
Itself forms communication connection.
S804: whether judgement currently needs to enter hearing protection mode.
If the determination result is YES, then enter S806, otherwise terminate process.
In the present embodiment, terminal can determine whether to need to enter hearing protection mode in several ways,
Several optional examples are given below:
Example one, terminal determine that current target audio file to be played belongs to amusement audio.Audio is used in so-called amusement
Including song, sound novel, cross-talk, essay etc., rather than amusement audio then includes that educational audio (such as practise by English Listening Comprehension
Topic), work class audio frequency etc..It can determine whether target audio file belongs to amusement in the following manner in the present embodiment terminal
With audio:
The first, currently, speech recognition technology is quite mature, and therefore, terminal can determine mesh based on speech recognition
Mark with phonetic symbols frequency belongs to amusement audio.For example, terminal first obtains the content of target audio file based on speech recognition technology, then root
It determines if to belong to amusement audio according to the content of target audio file.
Second, terminal determined according to the period locating for current time current target audio file to be played whether be
Audio is used in amusement.Because the habit of usual user is that comparison is fixed, for example, intending for an office worker in week
The 9:20 of one to Friday plays a certain audio file, then the audio file usually related file with work, therefore this document
It is not belonging to amusement audio.But if the user is to play an audio file before at 9 points in the morning, then the audio file is very big
It is the user on probability in the amusement audio on the way to office for minding at rest.So terminal is determining target audio file
When whether belonging to amusement audio, can first determine whether the current period is user's usual amusement period, if so,
It is considered that the target audio file is amusement audio.
Example two obtains the duration that terminal carries out audio output by earphone, determines that duration is more than duration threshold
Value.
Example three obtains the accumulative sound energy that terminal is exported in the period of a length of T by earphone when nearest, determines accumulative sound
It can exceed that sound energy threshold value.
Example two is similar with example three, be all based on the case where user uses earphone audition recently determine the need for into
Enter hearing protection mode.Wherein, example is second is that this is determined the need for using the time duration of earphone audition according to user
Into listening mode, if terminal this by the duration that earphone carries out audio output be more than preset duration threshold value,
Then illustrate that user has continued one section of longer time using earphone audition, therefore, terminal needs to intervene, thus to user's
Hearing is protected.
And example three is then that the accumulative sound exported in the period of a length of T by earphone when nearest based on terminal can determine
Whether terminal needs to carry out hearing protection to user, and T mentioned here can be nearest one day or nearest 6 hours etc..It can be with
Understand, terminal can determine the need for carrying out the hearing of user by counting itself more recently by the sound of earphone output
Protection, for the scheme provided in example two, can more accurately determine to be currently entering hearing protection mode must
The property wanted.Because having ignored different audio file sound energy when simply determining the need for hearing protection mode based on duration
Just different feature, and the scheme of example three then can more accurately symbolize more recently by earphone carry out audio play to
Size is influenced caused by the hearing of family.The scheme that the scheme that but example two provides is provided relative to example three is more simple, to end
The computing capability requirement at end is lower, is conducive to the most optimum distribution of resources of terminal.
Example four issues the user with inquiry message, and determines that user agrees to enter to listen to try hard to keep according to the feed back input of user
Shield mode, Fig. 9 show a kind of user interface schematic diagram of terminal.
S806: the sound energy mean value and audio types of target audio file are obtained.
After determination needs to enter hearing protection mode, the sound energy parameter of the available target audio file of terminal, here
So-called sound energy parameter includes simultaneously sound energy mean value and audio types.
S808: typical problem is determined according to the sound energy mean value and audio types that get.
In the present embodiment, terminal is only stored with the volume inquiry table for being directed to all users, in the volume inquiry table
Storage is sound energy parameter with the mapping relations between typical problem, therefore, when terminal gets the sound energy of target audio file
After mean value and audio types, the volume inquiry table can be directly inquired, so that it is determined that the corresponding standard of the target audio file
Volume.
S810: the identity of active user is determined.
Terminal can use the finger print information of fingerprint recognition mould group acquisition active user, is then based in this terminal and deposits in advance
The fingerprint characteristic of storage determines the identity of active user.In some other example of the present embodiment, terminal can also be by taking the photograph
As the facial characteristics and/or iris feature of head acquisition active user, to be based on facial recognition techniques and/or iris recognition technology
To determine the identity of active user.Even, terminal can also use active user's using audio input device such as microphones
Vocal print feature, then vocal print feature Data Matching according to the pre-stored data goes out the identity information of active user.
S812: the volume reference difference of the user is determined according to user identity.
In the present embodiment, terminal can be determined each normal previously according to the age of each common user and/or hearing state
With the volume reference difference of user, and by the volume reference difference of these users and subscriber identity information associated storage, in this way, needing
When determining the corresponding target volume of target audio file, as long as defining user identity, so that it may the body based on active user
Part information searching goes out predetermined volume reference difference.
S814: target volume is determined according to the typical problem and volume reference difference determined.
After determining the volume reference difference of active user, terminal can be according to the typical problem and volume base determined
Quasi- difference determines target volume, and wherein target volume is the sum of typical problem and volume reference difference, wherein the value of volume reference difference
It can be rational.
S816: target audio file is played by earphone according to target volume.
After determining target volume for target audio file, terminal can be carried out based on the target volume by earphone
Audio plays.
Audio frequency playing method provided in this embodiment, it is contemplated that the difference of different audio file sound energy parameters has been abandoned pair
The broadcast sound volume of all audio files is uniformly controlled the way of adjusting, is controlled as unit of audio file to the volume of terminal
The problem of system, causes hearing protection ineffective so as to avoid rigid volume control, has an effect on the experience of user's audition.According to
The sound energy parameter " personalization " of each audio file determines the broadcast sound volume of audio file, when taking into account user's audition and experiencing,
Hearing protection effect is improved, user experience is enhanced.
Moreover, terminal carries out hearing to user in the audition habit etc. of sound energy parameter, user based on target audio file
It before protection, can also first determine whether to need to enter hearing protection mode, such as determine whether target audio is amusement
With audio, only in the case where the judgment result is yes, terminal just will do it subsequent hearing protection, in this way can to avoid with
The problem for carrying out hearing protection when family is unwanted, and then causing user experience bad generates.
Embodiment three:
The present embodiment will provide a kind of computer readable storage medium and a kind of terminal, first to the computer-readable storage
Medium is introduced:
One or more computers for reading, compiling or executing for memory are stored in the computer readable storage medium
Program, wherein just including audio playing program, which executes to realize first or second reality for processor
The audio frequency playing method provided in example is provided.
Referring to Figure 10 provide terminal hardware structural diagram: terminal 10 include processor 11, memory 12 and
For connecting the communication bus 13 of processor 11 Yu memory 12, wherein memory 12 can play journey for the aforementioned audio that is stored with
The computer readable storage medium of sequence.The processor 11 of terminal 10, which can execute, stores audio playing program with reality in memory 12
Audio frequency playing method in existing previous embodiment:
Processor 11, which monitors, determines whether terminal 10 is currently to carry out audio output by earphone;It is yes in definitive result
Afterwards, processor 11 obtains the sound energy parameter of target audio file to be played;It is then based on sound energy parameter and volume inquiry table determines
The target volume of target audio file is played, and target audio file is played according to the target volume determined.Wherein, volume is looked into
Inquiry table is stored in memory 12, including sound energy parameter with the mapping relations between volume.Sound energy parameter mentioned here
Including but unlimited target audio file sound energy mean value and at least one of audio types, wherein sound energy mean value can characterize
The average sound energy size that target audio file exports within the unit time when playing out according to default volume.
In a kind of example of the present embodiment, processor 11 judges whether terminal currently connect with earphone, if judgement knot
Fruit be it is yes, then processor 11 determines that terminal currently carries out audio output by earphone, and otherwise, processor 11 does not determine terminal currently not
It is that audio output is carried out by earphone.
In another example of the present embodiment, the current use audio frequency output channel of the determination terminal of processor 11, if
Currently used audio frequency output channel is earphone output channel, then it is defeated to determine that terminal currently carries out audio by earphone for processor 11
Out, otherwise, the judgement of processor 11 terminal, which is currently not, carries out audio output by earphone.
In a kind of example of the present embodiment, processor 11 is determining broadcasting mesh based on sound energy parameter and volume inquiry table
When the target volume of mark with phonetic symbols frequency file, the identity of terminal active user can be first determined, then obtain the corresponding volume of user and look into
Ask table.And it carries out inquiring the corresponding target volume of determining sound energy parameter in the corresponding volume inquiry table of user.
In another example of the present embodiment, processor 11 is determining broadcasting based on sound energy parameter and volume inquiry table
When the target volume of target audio file, the corresponding typical problem of sound energy parameter can be inquired in volume inquiry table, then root
Target volume is determined according to the volume reference difference of typical problem and user.
Terminal provided in an embodiment of the present invention, by monitor itself currently whether be by earphone carry out audio output, and
And the sound energy parameter of target audio file to be played is obtained when definitive result, which is, is, the sound energy parameter got being capable of table
The sound for levying the target audio file can height.It, can be based on sound energy parameter and volume inquiry table after getting sound energy parameter
It determines the target volume for playing target audio file, target audio file is then played according to the target volume determined.At this
In audio broadcasting scheme, it is contemplated that the difference of different audio file sound energy parameters has abandoned the broadcasting to all audio files
Volume is uniformly controlled the way of adjusting, is controlled as unit of audio file the volume of terminal, so as to avoid rigid
The problem of volume control causes hearing protection ineffective, has an effect on the experience of user's audition.It can be joined according to the sound of each audio file
Number " personalization " determines the broadcast sound volume of audio file, when taking into account user's audition and experiencing, improves hearing protection effect,
Enhance user experience.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form, all of these belong to the protection of the present invention.
Claims (10)
1. a kind of audio frequency playing method, which is characterized in that the audio frequency playing method includes:
After definitive result is to be, the sound energy parameter of target audio file to be played is obtained, the sound energy parameter can characterize institute
The sound for stating target audio file can height;
The target volume for playing the target audio file is determined based on the sound energy parameter and volume inquiry table, the volume is looked into
Ask in table includes sound energy parameter with the mapping relations between volume;
The target audio file is played according to the target volume determined.
2. audio frequency playing method as described in claim 1, which is characterized in that the sound for obtaining target audio file to be played
Before energy parameter, further includes:
Determine that the target audio file belongs to amusement audio;
Or,
The duration that the terminal carries out audio output by the earphone is obtained, determines that the duration is more than duration threshold
Value;
Or,
The accumulative sound energy that the terminal is exported in the period of a length of T by the earphone when nearest is obtained, is determined described accumulative
Sound can exceed that sound energy threshold value.
3. audio frequency playing method as claimed in claim 2, which is characterized in that the determination target audio file belongs to joy
It is happy to include: with audio
Determine that the target audio belongs to amusement audio based on speech recognition;
Or,
Determine whether current time is in the preset consumer entertainment period, if so, determining that the target audio file belongs to joy
Happy audio.
4. audio frequency playing method as described in claim 1, which is characterized in that whether the monitoring terminal is currently to pass through earphone
Carrying out audio output includes any one in following two:
Judge whether the terminal currently connect with earphone, if the determination result is YES, then determines that the terminal currently passes through earphone
Audio output is carried out, otherwise, it is determined that the terminal, which is currently not, carries out audio output by earphone;
The current use audio frequency output channel of the terminal is determined, if the currently used audio frequency output channel is earphone output
Channel then determines that the terminal currently carries out audio output by earphone, otherwise, it is determined that the terminal is currently not and passes through earphone
Carry out audio output.
5. audio frequency playing method as described in claim 1, which is characterized in that the sound for obtaining target audio file to be played
Can parameter include:
The sound energy mean value of the target audio file is obtained, the sound energy mean value is that the audio file is carried out according to default volume
The average sound energy size exported within the unit time when broadcasting;
And/or
Obtain the audio types of the target audio file.
6. audio frequency playing method as described in any one in claim 1-5, which is characterized in that it is described based on the sound energy parameter with
Volume inquiry table determines that the target volume for playing the target audio file includes:
Determine the identity of the terminal active user;
The corresponding volume inquiry table of the user is obtained, includes sound energy parameter in the volume inquiry table with reflecting between target volume
Penetrate relationship;
Inquiry is carried out in the corresponding volume inquiry table of the user determines the corresponding target volume of the sound energy parameter.
7. audio frequency playing method as described in any one in claim 1-5, which is characterized in that it is described based on the sound energy parameter with
Volume inquiry table determines that the target volume for playing the target audio file includes:
The corresponding typical problem of the sound energy parameter is inquired in the volume inquiry table, includes sound energy in the volume inquiry table
Parameter is the same as the mapping relations between typical problem;
Target volume is determined according to the volume reference difference of the typical problem and the user, and the volume reference difference is the use
The broadcast sound volume of family individual character is the same as the difference between typical problem.
8. audio frequency playing method as claimed in claim 7, which is characterized in that described according to the typical problem and the user
Volume reference difference determine target volume before, further includes:
Age and/or hearing state based on the user determine the volume reference difference of the user;
Or,
The volume reference difference of the user is determined for the history broadcast sound volume of the user based on the terminal.
9. a kind of terminal, which is characterized in that the terminal includes processor, memory and communication bus;
The communication bus is for realizing the connection communication between processor and memory;
The processor is for executing one or more program stored in memory, to realize as appointed in claim 1 to 8
The step of audio frequency playing method described in one.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage have one or
Multiple programs, one or more of programs can be executed by one or more processor, to realize such as claim 1 to 8
Any one of described in audio frequency playing method the step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811280026.0A CN109656511A (en) | 2018-10-30 | 2018-10-30 | A kind of audio frequency playing method, terminal and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811280026.0A CN109656511A (en) | 2018-10-30 | 2018-10-30 | A kind of audio frequency playing method, terminal and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109656511A true CN109656511A (en) | 2019-04-19 |
Family
ID=66110492
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811280026.0A Pending CN109656511A (en) | 2018-10-30 | 2018-10-30 | A kind of audio frequency playing method, terminal and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109656511A (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110312146A (en) * | 2019-06-06 | 2019-10-08 | 百度在线网络技术(北京)有限公司 | Audio-frequency processing method, device, electronic equipment and storage medium |
CN110308888A (en) * | 2019-06-28 | 2019-10-08 | Oppo广东移动通信有限公司 | A kind of method for controlling volume, electronic equipment and computer readable storage medium |
CN110459212A (en) * | 2019-06-05 | 2019-11-15 | 西安易朴通讯技术有限公司 | Method for controlling volume and equipment |
CN111131888A (en) * | 2019-12-19 | 2020-05-08 | 北京达佳互联信息技术有限公司 | Volume control method and device, electronic equipment and storage medium |
CN111416909A (en) * | 2020-03-31 | 2020-07-14 | 惠州Tcl移动通信有限公司 | Volume self-adaptive adjusting method, system, storage medium and mobile terminal |
CN112437373A (en) * | 2020-11-02 | 2021-03-02 | 维沃移动通信有限公司 | Audio processing method, headphone apparatus, and readable storage medium |
CN113342304A (en) * | 2021-06-02 | 2021-09-03 | 广州小鹏智慧充电科技有限公司 | Audio data processing method and device, terminal equipment and storage medium |
CN113515255A (en) * | 2021-05-17 | 2021-10-19 | 英华达(上海)科技有限公司 | Audio playing control method, system, electronic equipment and storage medium |
WO2022033452A1 (en) * | 2020-08-10 | 2022-02-17 | 北京字节跳动网络技术有限公司 | Volume recommendation method and apparatus, device and storage medium |
CN114513773A (en) * | 2022-01-25 | 2022-05-17 | 深圳市飞科笛系统开发有限公司 | Audio playing method, system, audio playing device and storage medium |
CN115514684A (en) * | 2021-06-07 | 2022-12-23 | 中国移动通信集团北京有限公司 | Method and device for evaluating audio frequency blockage |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1929297A (en) * | 2005-09-07 | 2007-03-14 | 鸿富锦精密工业(深圳)有限公司 | Audio frequency processing system and method |
CN101119106A (en) * | 2007-07-12 | 2008-02-06 | 深圳市融合视讯科技有限公司 | Output volume automatic regulation method of media player |
CN104602045A (en) * | 2015-02-12 | 2015-05-06 | 三星电子(中国)研发中心 | Automatic sound configuration method, system and device |
CN104599690A (en) * | 2014-03-25 | 2015-05-06 | 腾讯科技(北京)有限公司 | Method and device for adjusting play sound of audio file |
CN106229001A (en) * | 2016-08-08 | 2016-12-14 | 上海葡萄纬度科技有限公司 | A kind of audio frequency broadcast system and be applied to audio frequency play time method for protecting hearing ability |
CN107040660A (en) * | 2017-04-18 | 2017-08-11 | 广东欧珀移动通信有限公司 | Control method, device and the mobile terminal of mobile terminal playing volume |
US20180114538A1 (en) * | 2015-11-04 | 2018-04-26 | Ioannis Kakadiaris | Systems for and methods of intelligent acoustic monitoring |
CN108657091A (en) * | 2018-05-10 | 2018-10-16 | 宝沃汽车(中国)有限公司 | Audio control method and device |
-
2018
- 2018-10-30 CN CN201811280026.0A patent/CN109656511A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1929297A (en) * | 2005-09-07 | 2007-03-14 | 鸿富锦精密工业(深圳)有限公司 | Audio frequency processing system and method |
CN101119106A (en) * | 2007-07-12 | 2008-02-06 | 深圳市融合视讯科技有限公司 | Output volume automatic regulation method of media player |
CN104599690A (en) * | 2014-03-25 | 2015-05-06 | 腾讯科技(北京)有限公司 | Method and device for adjusting play sound of audio file |
CN104602045A (en) * | 2015-02-12 | 2015-05-06 | 三星电子(中国)研发中心 | Automatic sound configuration method, system and device |
US20180114538A1 (en) * | 2015-11-04 | 2018-04-26 | Ioannis Kakadiaris | Systems for and methods of intelligent acoustic monitoring |
CN106229001A (en) * | 2016-08-08 | 2016-12-14 | 上海葡萄纬度科技有限公司 | A kind of audio frequency broadcast system and be applied to audio frequency play time method for protecting hearing ability |
CN107040660A (en) * | 2017-04-18 | 2017-08-11 | 广东欧珀移动通信有限公司 | Control method, device and the mobile terminal of mobile terminal playing volume |
CN108657091A (en) * | 2018-05-10 | 2018-10-16 | 宝沃汽车(中国)有限公司 | Audio control method and device |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110459212A (en) * | 2019-06-05 | 2019-11-15 | 西安易朴通讯技术有限公司 | Method for controlling volume and equipment |
US11137974B2 (en) | 2019-06-06 | 2021-10-05 | Baidu Online Network Technology (Beijing) Co., Ltd. | Method and apparatus for audio processing, electronic device and storage medium |
CN110312146A (en) * | 2019-06-06 | 2019-10-08 | 百度在线网络技术(北京)有限公司 | Audio-frequency processing method, device, electronic equipment and storage medium |
CN110312146B (en) * | 2019-06-06 | 2021-11-09 | 百度在线网络技术(北京)有限公司 | Audio processing method and device, electronic equipment and storage medium |
CN110308888A (en) * | 2019-06-28 | 2019-10-08 | Oppo广东移动通信有限公司 | A kind of method for controlling volume, electronic equipment and computer readable storage medium |
CN111131888A (en) * | 2019-12-19 | 2020-05-08 | 北京达佳互联信息技术有限公司 | Volume control method and device, electronic equipment and storage medium |
CN111416909B (en) * | 2020-03-31 | 2022-07-08 | 惠州Tcl移动通信有限公司 | Volume self-adaptive adjusting method, system, storage medium and mobile terminal |
CN111416909A (en) * | 2020-03-31 | 2020-07-14 | 惠州Tcl移动通信有限公司 | Volume self-adaptive adjusting method, system, storage medium and mobile terminal |
WO2022033452A1 (en) * | 2020-08-10 | 2022-02-17 | 北京字节跳动网络技术有限公司 | Volume recommendation method and apparatus, device and storage medium |
CN112437373A (en) * | 2020-11-02 | 2021-03-02 | 维沃移动通信有限公司 | Audio processing method, headphone apparatus, and readable storage medium |
CN112437373B (en) * | 2020-11-02 | 2022-12-30 | 维沃移动通信有限公司 | Audio processing method, headphone device, and readable storage medium |
CN113515255A (en) * | 2021-05-17 | 2021-10-19 | 英华达(上海)科技有限公司 | Audio playing control method, system, electronic equipment and storage medium |
CN113515255B (en) * | 2021-05-17 | 2023-02-07 | 英华达(上海)科技有限公司 | Audio playing control method, system, electronic equipment and storage medium |
CN113342304A (en) * | 2021-06-02 | 2021-09-03 | 广州小鹏智慧充电科技有限公司 | Audio data processing method and device, terminal equipment and storage medium |
CN115514684A (en) * | 2021-06-07 | 2022-12-23 | 中国移动通信集团北京有限公司 | Method and device for evaluating audio frequency blockage |
CN115514684B (en) * | 2021-06-07 | 2023-11-10 | 中国移动通信集团北京有限公司 | Audio jamming evaluation method and device |
CN114513773A (en) * | 2022-01-25 | 2022-05-17 | 深圳市飞科笛系统开发有限公司 | Audio playing method, system, audio playing device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109656511A (en) | A kind of audio frequency playing method, terminal and computer readable storage medium | |
CN109511037A (en) | Earpiece volume adjusting method, device and computer readable storage medium | |
WO2018045536A1 (en) | Sound signal processing method, terminal, and headphones | |
CN109582821A (en) | A kind of music object recommendation method, terminal and computer readable storage medium | |
CN107277216A (en) | A kind of volume adjusting method, terminal and computer-readable recording medium | |
CN108418948A (en) | A kind of based reminding method, mobile terminal and computer storage media | |
CN107231473A (en) | A kind of audio output regulation and control method, equipment and computer-readable recording medium | |
CN109561219A (en) | Music adjusting method, device, mobile terminal and readable storage medium storing program for executing | |
CN110022401A (en) | A kind of control parameter setting method, terminal and computer readable storage medium | |
CN108391190B (en) | A kind of noise-reduction method, earphone and computer readable storage medium | |
CN107968887A (en) | Operating method, terminal and the computer-readable recording medium of mobile terminal | |
CN108566484A (en) | Message treatment method, terminal device and computer readable storage medium | |
CN108536419A (en) | A kind of game volume control method, equipment and computer readable storage medium | |
CN109445745A (en) | Audio stream processing method, device, mobile terminal and storage medium | |
CN107846503A (en) | A kind of display methods of application icon, device, terminal and computer-readable recording medium | |
CN109088997A (en) | A kind of gaming audio control method, terminal and computer readable storage medium | |
CN109582817A (en) | A kind of song recommendations method, terminal and computer readable storage medium | |
CN108307043A (en) | Speech message conversion method, mobile terminal and computer readable storage medium | |
CN109375894A (en) | Earpiece volume based reminding method, device, mobile terminal and readable storage medium storing program for executing | |
CN108459806A (en) | terminal control method, terminal and computer readable storage medium | |
CN108833665A (en) | Communication means, wearable device and computer readable storage medium | |
CN109729475A (en) | Charging bluetooth earphone method, circuit, terminal and computer readable storage medium | |
CN110347306A (en) | A kind of multi-screen display method, terminal and computer readable storage medium | |
CN109276881A (en) | A kind of game control method, equipment | |
CN108541116A (en) | Lamp light control method, terminal and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190419 |
|
RJ01 | Rejection of invention patent application after publication |