CN106406808A - Volume processing method, device and terminal - Google Patents
Volume processing method, device and terminal Download PDFInfo
- Publication number
- CN106406808A CN106406808A CN201611076923.0A CN201611076923A CN106406808A CN 106406808 A CN106406808 A CN 106406808A CN 201611076923 A CN201611076923 A CN 201611076923A CN 106406808 A CN106406808 A CN 106406808A
- Authority
- CN
- China
- Prior art keywords
- volume
- target channels
- channel
- earphone
- terminal
- 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
Abstract
The embodiment of the invention provides a volume processing method and device and a terminal. According to the embodiment of the method, the device and the terminal, when it is detected that sound channel switching needs to be carried out on the terminal, a volume parameter of a target sound channel to which a current sound channel needs to be switched is detected, and if the volume parameter of the target sound channel exceeds an appointed threshold value, the volume of the target sound channel is turned down. According to the technical scheme provided by the embodiment of the method, the device and the terminal, the effect of protecting the hearing of a user by adjusting the detected volume parameter of the target sound channel can be realized.
Description
【Technical field】
The present invention relates to electronic technology field, more particularly, to a kind of volume processing method, device and terminal.
【Background technology】
At present, with the development of electronic technology and communication technology, electronic equipment is inseparable with the life of people.Electricity
The function of sub- equipment is also stronger and stronger, user in life neutralization work often using the various functions of electronic equipment, such as
Listen to music, browse video, voice call etc..
In prior art, user is when being listened to music, being browsed video, voice call using electronic equipment, it is possible to use raise
, therefore, sometimes can there is sound channel switching, such as user uses speaker listening to audio, in listening to audio mistake in sound device or earphone
Insert earphone in journey, all directly audio frequency can be exported to earphone by speaker output Audio conversion at present, if be now switched to
Channel volume is excessive, it will impact Consumer's Experience, therefore, volume is not carried out appointing when carrying out sound channel switching in prior art
Where is managed it is impossible to meet the use demand of user.
【Content of the invention】
In view of this, a kind of volume processing method, device and terminal are embodiments provided, in order to solve existing skill
When the sound channel carrying out terminal switches, the problem that any process leads to is not carried out to volume in art.
On the one hand, embodiments provide a kind of volume processing method, methods described includes:
When detect need terminal is carried out sound channel switching when, detection needs the volume parameters of target channels being switched to;
If the volume parameters of described target channels exceed a prescribed threshold value, turn down the volume of described target channels.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, need when detecting
When terminal is carried out with sound channel switching, before detection needs the volume parameters of target channels being switched to, also include:
When described terminal connection earphone is detected, detect and need to carry out sound channel switching to terminal;Or,
Connect earphone when described terminal is detected, and after receiving the sound channel switching command of user, needs is detected to end
End carries out sound channel switching.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, turn down described mesh
The volume of mark sound channel, including:According to default volume-leveling value, turn down the volume of described target channels.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, turn down described mesh
The volume of mark sound channel, including:
According to the corresponding volume-level of current volume of described target channels, obtain in default some candidate's volume-level
Take target volume rank, and, by the volume adjusting of described target channels to the corresponding volume of described target volume rank;Its
In, the corresponding volume of target volume rank is less than the current volume of described target channels.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, turn down described mesh
The volume of mark sound channel, including:
Show the information that the volume of described target channels exceeds a prescribed threshold value;
Show current volume and the volume knob of described target channels;
Receive user operation on described volume knob according to described current volume, if described operation belongs to volume
Turn down operation, according to described operation, is adjusted to the volume of described target channels.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, turn down described mesh
After the volume of mark sound channel, also include:Sound channel handover operation is carried out to described terminal, current channel is switched to target sound
Road.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, source sound channel is to raise
Sound device, described target channels include L channel and/or the R channel of earphone;Or,
Source sound channel is the L channel of earphone, and target channels are the R channel of earphone;Or,
Source sound channel is the R channel of earphone, and target channels are the L channel of earphone.
On the other hand, a kind of volume processing meanss are embodiments provided, described device includes:
Volume detecting unit, for when detect need terminal is carried out sound channel switching when, detection needs the mesh being switched to
The volume parameters of mark sound channel;
Sound volume regulation unit, if being exceeded a prescribed threshold value with the volume parameters of described target channels, turns down described target channels
Volume.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, described device is also
Including:
Change detection unit, for when described terminal connection earphone is detected, detecting and needing to carry out sound channel to terminal
Switching;Or, connect earphone when described terminal is detected, and after receiving the sound channel switching command of user, needs is detected right
Terminal carries out sound channel switching.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, described volume is adjusted
Section unit, specifically for:According to default volume-leveling value, turn down the volume of described target channels.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, described volume is adjusted
Section unit, specifically for:
According to the corresponding volume-level of current volume of described target channels, obtain in default some candidate's volume-level
Take target volume rank, and, by the volume adjusting of described target channels to the corresponding volume of described target volume rank;Its
In, the corresponding volume of target volume rank is less than the current volume of described target channels.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, described device is also
Including:Display unit, the information that the volume for showing described target channels exceeds a prescribed threshold value;And, for showing
The current volume of described target channels and volume knob;
Receiving unit, for receive user operation on described volume knob according to described current volume, if institute
State operation and belong to turning down sound volume operation,
Described sound volume regulation unit, specifically for:According to described operation, the volume of described target channels is adjusted.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, described device is also
Including:
Sound channel switch unit, for carrying out sound channel handover operation to described terminal, current channel is switched to target sound
Road.
Aspect as above and arbitrary possible implementation, it is further provided a kind of implementation, source sound channel is to raise
Sound device, described target channels include L channel and/or the R channel of earphone;Or,
Source sound channel is the L channel of earphone, and target channels are the R channel of earphone;Or,
Source sound channel is the R channel of earphone, and target channels are the L channel of earphone.
Another further aspect, embodiments provides a kind of terminal, processes dress including any one volume as above
Put.
Technique scheme has the advantages that:
Volume processing method provided in an embodiment of the present invention, device and terminal, need to carry out sound channel to terminal when detecting
During switching, for example, earphone insertion terminal, the volume parameters of the target channels that detection needs are switched to, to determine the mesh being switched to
Whether mark sound channel can cause to the audition of user to damage, if the volume parameters of described target channels exceed a prescribed threshold value, permissible
It is interpreted as that the volume parameters of current target channels can cause to the audition of user to damage, need to turn down the volume of target channels,
Thus present invention achieves the volume parameters of the target channels detecting according to adjustment protect the audition of user, enhancing terminal
Feature and practicality, meet the use demand of user, enhance Consumer's Experience, in order to solve carrying out end in prior art
During the sound channel switching at end, the problem that any process leads to is not carried out to volume.
【Brief description】
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below will be attached to use required in embodiment
Figure be briefly described it should be apparent that, drawings in the following description are only some embodiments of the present invention, for this area
For those of ordinary skill, without having to pay creative labor, can also be other attached according to the acquisition of these accompanying drawings
Figure.
The schematic flow sheet of the volume processing method embodiment one that Fig. 1 is provided by the embodiment of the present invention;
The schematic flow sheet of the volume processing method embodiment two that Fig. 2 is provided by the embodiment of the present invention;
The schematic flow sheet of the volume processing method embodiment three that Fig. 3 is provided by the embodiment of the present invention;
The structural representation of the volume processing meanss embodiment one that Fig. 4 is provided by the embodiment of the present invention;
The structural representation of the volume processing meanss embodiment two that Fig. 5 is provided by the embodiment of the present invention;
The structural representation of the volume processing meanss embodiment three that Fig. 6 is provided by the embodiment of the present invention.
【Specific embodiment】
In order to be better understood from technical scheme, below in conjunction with the accompanying drawings the embodiment of the present invention is retouched in detail
State.
It will be appreciated that described embodiment is only a part of embodiment of the present invention, rather than whole embodiment.Base
Embodiment in the present invention, those of ordinary skill in the art obtained under the premise of not making creative work all its
Its embodiment, broadly falls into the scope of protection of the invention.
The term using in embodiments of the present invention is the purpose only merely for description specific embodiment, and is not intended to be limiting
The present invention." a kind of ", " described " and " being somebody's turn to do " of singulative used in the embodiment of the present invention and appended claims
It is also intended to including most forms, unless context clearly shows that other implications.
Depending on linguistic context, word as used in this " if " can be construed to " ... when " or " when ...
When " or " in response to determining " or " in response to detection ".Similarly, depending on linguistic context, phrase " if it is determined that " or " if detection
(condition of statement or event) " can be construed to " when determining " or " in response to determining " or " when the detection (condition of statement
Or event) when " or " in response to detecting (condition of statement or event) ".
Embodiment one
The embodiment of the present invention provides a kind of volume processing method, refer to Fig. 1, its sound being provided by the embodiment of the present invention
The schematic flow sheet of amount processing method embodiment one, as shown in figure 1, the method comprises the following steps:
101st, when detect need terminal is carried out sound channel switching when, detection needs the volume ginseng of target channels being switched to
Number.
It is usually provided with earphone interface and speaker in terminal, when user's using terminal plays audio frequency, can be by raising
Audio frequency play by sound device, it is possible to use earphone connects earphone interface or connects earphone using other modes, plays sound by earphone
Frequently.Due to speaker, when playing audio frequency, its sound can be very big, if identical sound enters directly into the ear of user by earphone,
When it exceedes the volume that ear can bear, the audition of user will be subject to a certain degree of damage.For example, if user can
With the safe volume value that bears for 75 decibels, if the volume in speaker is 85 decibels, the audio frequency of identical volume via
When earphone enters into the ear of user, the audition of user will be affected.
When terminal plays audio frequency by speaker, earphone is connected earphone interface by user, and terminal can detect ear
The access of machine and need sound channel is switched over so that original is to be played out by earphone by the audio conversion that speaker is play.?
Terminal detects when needing sound channel is switched over, detection need the volume parameters of target channels being switched to it is possible to understand that
It is that the volume parameters of target channels are the volume of the audio frequency play in earphone.In order to the volume parameters according to target channels
Whether the audition of user can be caused to damage.
If the volume parameters of 102 target channels exceed a prescribed threshold value, turn down the volume of target channels.
In embodiments of the present invention, a specified threshold can be set, this specified threshold plays audio frequency in order to represent earphone
When using volume security value (s).It should be noted that this specified threshold both can be by one suitable user of user's sets itself
The numerical value of use habit or set in advance.
If the volume parameters of target channels exceed a prescribed threshold value, it is considered that the volume in earphone has reached
The state of meeting impaired user audition, needs the turning down sound volume of target channels.If the volume parameters of target channels are without departing from specified
Threshold value, then it is considered that size in earphone will not impaired user audition, directly sound channel switching can be carried out to terminal.
It is understood that the action of the illustrated volume turning down target channels in the embodiment of the present invention occurs in sound channel
Before switching.
It should be noted that involved terminal in the embodiment of the present invention can include but is not limited to personal computer
(Personal Computer, PC), personal digital assistant (Personal Digital Assistant, PDA), wireless handheld
Equipment, panel computer (Tablet Computer), mobile phone, MP3 player, MP4 player etc..
Volume processing method provided in an embodiment of the present invention, when detect need terminal is carried out sound channel switching when, for example,
Whether earphone inserts terminal, the volume parameters of the target channels that detection needs are switched to, can with the target channels that determination is switched to
The audition of user is caused to damage, if the volume parameters of target channels exceed a prescribed threshold value, can be understood as current target
The volume parameters of sound channel can cause to the audition of user to damage, and needs to turn down the volume of target channels, thus present invention achieves
The volume parameters of the target channels being detected according to adjustment protect the audition of user, enhance feature and the practicality of terminal
Property, meet the use demand of user, enhance Consumer's Experience, in order to solve in prior art carry out terminal sound channel switch when
The problem that any process leads to is not carried out to volume.
Embodiment two
The embodiment of the present invention provides another kind of volume processing method, refer to Fig. 2, it is provided by the embodiment of the present invention
The schematic flow sheet of volume processing method embodiment two, as shown in Fig. 2 the method comprises the following steps:
201st, when terminal connection earphone is detected, detect and need to carry out sound channel switching to terminal;Or, when detecting
Terminal connects earphone, and after receiving the sound channel switching command of user, detects and need to carry out sound channel switching to terminal.
It should be noted that in embodiments of the present invention, earphone includes bluetooth earphone, wired earphone, intelligent earphone etc..
For example, user is after being inserted into earphone interface by wired earphone, the coil in the coil on earphone and earphone interface
Contact produces electric current, is connected to earphone such that it is able to terminal is detected.
Again for example, user after being bound bluetooth earphone and terminal, terminal can detect and be connected to earphone.
When terminal connection earphone is detected, detect and need to carry out sound channel switching to terminal, it can be understood as permissible
Automatically switch over sound channel, without user's manual operation.
Can also be and operated manually by user, to determine when terminal connects earphone, if switch sound channel immediately.Example
As corresponding button being shown in the screen of terminal, showing " switching " or " not switching ", the button that user clicks on screen enters
Row is corresponding to be selected.When user have selected switching, after terminal receives the sound channel switching command of user, sound channel is carried out to terminal and cuts
Change.Do not switch when user have selected, terminal then maintains and is continuing with speaker broadcasting audio frequency.
202nd, when detect need terminal is carried out sound channel switching when, detection needs the volume ginseng of target channels being switched to
Number.
If the volume parameters of 203 target channels exceed a prescribed threshold value, turn down the volume of target channels.
In embodiments of the present invention, turn down the volume of target channels mode can have multiple.
During a concrete implementation, the volume of target channels can be turned down according to default volume-leveling value.Example
As, volume-leveling value can be set as reducing by 10 decibels every time, and it can be specially and arrange corresponding button on the screen of terminal,
User clicks on once, and volume reduces by 10 decibels, and user clicks on three times, and volume reduces by 30 decibels.
During a concrete implementation, can also according to the corresponding volume-level of the current volume of target channels,
Target volume rank is obtained in default some candidate's volume-level, and, by the volume adjusting of target channels to target volume
The corresponding volume of rank;Wherein, the corresponding volume of target volume rank is less than the current volume of target channels.
Target channels can be understood as earphone sound channel, and current volume can be understood as being intended to the sound presenting in earphone sound channel
Amount.Default some candidate's volume-level can be several volume-level set in advance, for example, it is possible to preset four
Volume-level, respectively rank 1~rank 4, wherein, volume corresponding to rank 1 is 40 decibels~50 decibels, rank 2 right
The volume answered is 50 decibels~60 decibels, and the volume corresponding to rank 3 is 60 decibels~75 decibels, the volume corresponding to rank 4
For 75 decibels~85 decibels.
Determined after its corresponding rank according to the current volume of target channels, obtain in default some candidate's volume-level
Take target volume rank it can be understood as, obtain at least one volume-level lower than current volume level.For example, current sound
Amount is 70 decibels, corresponding rank be rank 3, therefore, it can according to rank 3 get target volume rank be rank 1 or
Rank 2.
The volume-level of target channels is adjusted to the corresponding volume of target volume rank it can be understood as, target volume
The corresponding volume of rank be a scope, its can by the volume adjusting of target channels to target volume rank corresponding to any
The volume of numerical value.For example, current volume is 70 decibels, adjusts to the corresponding sound of any one rank in rank 1 or rank 2
Any one numerical value in amount scope, is such as adjusted to 45 decibels in rank 1.It is understood that this process is automatic by terminal
Execution, enters any operation without user.
During a concrete implementation, can also be the prompting letter that the volume of display target sound channel exceeds a prescribed threshold value
Breath;The current volume of display target sound channel and volume knob;Receive user is according to current volume on volume knob
Operation, if operation belong to turning down sound volume operation, according to operation, the volume of target channels is adjusted.
The information that the volume of display target sound channel exceeds a prescribed threshold value can be with word in the screen of terminal
Form points out current volume to have the probability damaging audition, for example:" current volume is excessive " is shown in the screen of terminal, and in phase
The current volume of display target sound channel and volume knob around the word answered.Volume knob both can be click on by
Button or sliding button.
User passes through the current volume numerical value of the target channels of display in screen, and volume knob is operated.Eventually
End, after the operation receiving user, determines whether user operates volume knob.If the operation of user belongs to turns down behaviour
Make, then the operating result according to user, the volume of target channels is adjusted.For example, volume knob is click on button,
The current volume of target channels is 80 decibels, and user clicks on a volume knob, and volume reduces by 5 decibels, by target channels
Volume adjusting be 75 decibels.Again for example, volume knob is sliding button, and the current volume of target channels is 80 decibels,
According to user, button is slided into after a position stopping, this volume corresponding to this position is 50 decibels, to target sound
The volume in road is adjusted so that volume is changed into 50 decibels.
Volume processing method provided in an embodiment of the present invention, when detect need terminal is carried out sound channel switching when, for example,
Whether earphone inserts terminal, the volume parameters of the target channels that detection needs are switched to, can with the target channels that determination is switched to
The audition of user is caused to damage, if the volume parameters of target channels exceed a prescribed threshold value, can be understood as current target
The volume parameters of sound channel can cause to the audition of user to damage, and needs to turn down the volume of target channels, thus present invention achieves
The volume parameters of the target channels being detected according to adjustment protect the audition of user, enhance feature and the practicality of terminal
Property, meet the use demand of user, enhance Consumer's Experience, in order to solve in prior art carry out terminal sound channel switch when
The problem that any process leads to is not carried out to volume.
Embodiment three
The embodiment of the present invention provides another volume processing method, refer to Fig. 3, it is provided by the embodiment of the present invention
The schematic flow sheet of volume processing method embodiment three, as shown in figure 3, the method comprises the following steps:
301st, when terminal connection earphone is detected, detect and need to carry out sound channel switching to terminal;Or, when detecting
Terminal connects earphone, and after receiving the sound channel switching command of user, detects and need to carry out sound channel switching to terminal.
302nd, when detect need terminal is carried out sound channel switching when, detection needs the volume ginseng of target channels being switched to
Number.
If the volume parameters of 303 target channels exceed a prescribed threshold value, turn down the volume of target channels.
304th, sound channel handover operation is carried out to terminal, current channel is switched to target channels.
After determining the volume of the target channels after adjustment, sound channel handover operation is carried out to terminal, current channel is cut
Change to target channels.Wherein, this operation both terminal can execute or completed by user's manual operation automatically.
It should be noted that in embodiments of the present invention, source sound channel is speaker, and target channels include the L channel of earphone
And/or R channel;Or, source sound channel is the L channel of earphone, and target channels are the R channel of earphone;Or, source sound channel is ear
The R channel of machine, target channels are the L channel of earphone.
If it is understood that terminal possesses stereo channels pattern, volume in the L channel in earphone and R channel
Size have difference, therefore, user can be carried out to the L channel in earphone or the volume in R channel according to their needs
Adjustment.
Volume processing method provided in an embodiment of the present invention, when detect need terminal is carried out sound channel switching when, for example,
Whether earphone inserts terminal, the volume parameters of the target channels that detection needs are switched to, can with the target channels that determination is switched to
The audition of user is caused to damage, if the volume parameters of target channels exceed a prescribed threshold value, can be understood as current target
The volume parameters of sound channel can cause to the audition of user to damage, and needs to turn down the volume of target channels, thus present invention achieves
The volume parameters of the target channels being detected according to adjustment protect the audition of user, enhance feature and the practicality of terminal
Property, meet the use demand of user, enhance Consumer's Experience, in order to solve in prior art carry out terminal sound channel switch when
The problem that any process leads to is not carried out to volume.
Example IV
The embodiment of the present invention also provides a kind of volume processing meanss, refer to Fig. 4, it is provided by the embodiment of the present invention
The structural representation of volume processing meanss embodiment one, as shown in figure 4, this device includes:
Volume detecting unit 11, for when detect need terminal is carried out sound channel switching when, detection needs to be switched to
The volume parameters of target channels;
Sound volume regulation unit 12, if the volume parameters of the target channels detecting for volume detecting unit 11 exceed specify
Threshold value, turns down the volume of target channels.
Because each unit in the present embodiment is able to carry out the method shown in Fig. 1, the part that the present embodiment does not describe in detail,
Refer to the related description to Fig. 1.
Embodiment five
The embodiment of the present invention also provides a kind of volume processing meanss, refer to Fig. 5, it is provided by the embodiment of the present invention
The structural representation of volume processing meanss embodiment two, as shown in figure 5, this device, on the basis of example IV, also includes:
Change detection unit 13, for when terminal is detected and connecting earphone, detecting and needing to carry out sound channel to terminal to cut
Change;Or, connect earphone when terminal is detected, and after receiving the sound channel switching command of user, detect and need terminal is entered
Row sound channel switches.
During a concrete implementation, sound volume regulation unit 12, specifically for:According to default volume-leveling value,
Turn down the volume of target channels.
During a concrete implementation, sound volume regulation unit 12, specifically for:
According to the corresponding volume-level of current volume of target channels, default some candidate's volume-level obtain mesh
Mark volume-level, and, by the volume adjusting of target channels to the corresponding volume of target volume rank;Wherein, target sound magnitude
Not corresponding volume is less than the current volume of target channels.
During a concrete implementation, device also includes:Display unit 14, the volume for display target sound channel surpasses
Go out the information of specified threshold;And, the current volume for display target sound channel and volume knob.
Receiving unit 15, for receive user operation on volume knob according to current volume, if operation belongs to
Turning down sound volume operates, sound volume regulation unit 12, specifically for:According to operation, the volume of target channels is adjusted.
Because each unit in the present embodiment is able to carry out the method shown in Fig. 2, the part that the present embodiment does not describe in detail,
Refer to the related description to Fig. 2.
Embodiment six
The embodiment of the present invention also provides a kind of volume processing meanss, refer to Fig. 6, it is provided by the embodiment of the present invention
The structural representation of volume processing meanss embodiment three, as shown in fig. 6, this device, on the basis of embodiment five, also includes:
Sound channel switch unit 16, for carrying out sound channel handover operation to terminal, current channel is switched to target channels.
During a concrete implementation, source sound channel is speaker, and target channels include L channel and/or the right side of earphone
Sound channel;Or,
Source sound channel is the L channel of earphone, and target channels are the R channel of earphone;Or,
Source sound channel is the R channel of earphone, and target channels are the L channel of earphone.
Because each unit in the present embodiment is able to carry out the method shown in Fig. 2, the part that the present embodiment does not describe in detail,
Refer to the related description to Fig. 2.
Embodiment seven
A kind of terminal is also provided, this terminal can include any one in example IV~embodiment six in the embodiment of the present invention
Plant volume processing meanss.
Those skilled in the art can be understood that, for convenience and simplicity of description, the system of foregoing description,
Device and the specific work process of unit, may be referred to the corresponding process in preceding method embodiment, will not be described here.
It should be understood that disclosed system in several embodiments provided by the present invention, apparatus and method are permissible
Realize by another way.For example, device embodiment described above is only schematically, for example, described unit
Divide, only a kind of division of logic function, actual can have other dividing mode when realizing, for example, multiple units or group
Part can in conjunction with or be desirably integrated into another system, or some features can be ignored, or does not execute.Another, shown
Or the coupling each other that discusses or direct-coupling or communication connection can be by some interfaces, device or unit indirect
Coupling or communication connection, can be electrical, mechanical or other forms.
The described unit illustrating as separating component can be or may not be physically separate, show as unit
The part showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.The mesh to realize this embodiment scheme for some or all of unit therein can be selected according to the actual needs
's.
In addition, can be integrated in a processing unit in each functional unit in each embodiment of the present invention it is also possible to
It is that unit is individually physically present it is also possible to two or more units are integrated in a unit.Above-mentioned integrated list
Unit both can be to be realized in the form of hardware, it would however also be possible to employ the form that hardware adds SFU software functional unit is realized.
The above-mentioned integrated unit realized in the form of SFU software functional unit, can be stored in an embodied on computer readable and deposit
In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions with so that a computer
Device (can be personal computer, server, or network equipment etc.) or processor (Processor) execution the present invention each
The part steps of embodiment methods described.And aforesaid storage medium includes:USB flash disk, portable hard drive, read only memory (Read-
Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or CD etc. various
Can be with the medium of store program codes.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all essences in the present invention
Within god and principle, any modification, equivalent substitution and improvement done etc., should be included within the scope of protection of the invention.
Claims (15)
1. a kind of volume processing method is it is characterised in that methods described includes:
When detect need terminal is carried out sound channel switching when, detection needs the volume parameters of target channels being switched to;
If the volume parameters of described target channels exceed a prescribed threshold value, turn down the volume of described target channels.
2. the method for claim 1 it is characterised in that when detect need terminal is carried out sound channel switching when, detection
Before needing the volume parameters of target channels being switched to, also include:
When described terminal connection earphone is detected, detect and need to carry out sound channel switching to terminal;Or,
Connect earphone when described terminal is detected, and after receiving the sound channel switching command of user, detect and need terminal is entered
Row sound channel switches.
3. method as claimed in claim 1 or 2 is it is characterised in that turn down the volume of described target channels, including:According to pre-
If volume-leveling value, turn down the volume of described target channels.
4. method as claimed in claim 1 or 2 is it is characterised in that turn down the volume of described target channels, including:
According to the corresponding volume-level of current volume of described target channels, default some candidate's volume-level obtain mesh
Mark volume-level, and, by the volume adjusting of described target channels to the corresponding volume of described target volume rank;Wherein, mesh
The mark corresponding volume of volume-level is less than the current volume of described target channels.
5. method as claimed in claim 1 or 2 is it is characterised in that turn down the volume of described target channels, including:
Show the information that the volume of described target channels exceeds a prescribed threshold value;
Show current volume and the volume knob of described target channels;
Receive user operation on described volume knob according to described current volume, if described operation belongs to turning down sound volume
Operation, according to described operation, is adjusted to the volume of described target channels.
6. the method as any one of claim 1 to 5 it is characterised in that turn down described target channels volume after,
Also include:Sound channel handover operation is carried out to described terminal, current channel is switched to target channels.
7. the method as any one of claim 1 to 6 it is characterised in that source sound channel be speaker, described target channels
L channel including earphone and/or R channel;Or,
Source sound channel is the L channel of earphone, and target channels are the R channel of earphone;Or,
Source sound channel is the R channel of earphone, and target channels are the L channel of earphone.
8. a kind of volume processing meanss are it is characterised in that described device includes:
Volume detecting unit, for when detect need terminal is carried out sound channel switching when, detection needs the target sound being switched to
The volume parameters in road;
Sound volume regulation unit, if being exceeded a prescribed threshold value with the volume parameters of described target channels, turns down the sound of described target channels
Amount.
9. device as claimed in claim 8 is it is characterised in that described device also includes:
Change detection unit, for when described terminal connection earphone is detected, detecting and needing to carry out sound channel switching to terminal;
Or, connect earphone when described terminal is detected, and after receiving the sound channel switching command of user, detect and need terminal is entered
Row sound channel switches.
10. device as claimed in claim 8 or 9 is it is characterised in that described sound volume regulation unit, specifically for:According to default
Volume-leveling value, turn down the volume of described target channels.
11. devices as claimed in claim 8 or 9 it is characterised in that described sound volume regulation unit, specifically for:
According to the corresponding volume-level of current volume of described target channels, default some candidate's volume-level obtain mesh
Mark volume-level, and, by the volume adjusting of described target channels to the corresponding volume of described target volume rank;Wherein, mesh
The mark corresponding volume of volume-level is less than the current volume of described target channels.
12. devices as claimed in claim 8 or 9 it is characterised in that
Described device also includes:Display unit, the information that the volume for showing described target channels exceeds a prescribed threshold value;
And, for showing current volume and the volume knob of described target channels;
Receiving unit, for receive user operation on described volume knob according to described current volume, if described behaviour
Make to belong to turning down sound volume operation,
Described sound volume regulation unit, specifically for:According to described operation, the volume of described target channels is adjusted.
13. devices as any one of claim 8 to 12 are it is characterised in that described device also includes:
Sound channel switch unit, for carrying out sound channel handover operation to described terminal, current channel is switched to target channels.
14. devices as any one of claim 8 to 13 it is characterised in that source sound channel is speaker, described target sound
Road includes L channel and/or the R channel of earphone;Or,
Source sound channel is the L channel of earphone, and target channels are the R channel of earphone;Or,
Source sound channel is the R channel of earphone, and target channels are the L channel of earphone.
A kind of 15. terminals are it is characterised in that include the volume processing meanss any one of claim 8 to 14.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611076923.0A CN106406808A (en) | 2016-11-30 | 2016-11-30 | Volume processing method, device and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611076923.0A CN106406808A (en) | 2016-11-30 | 2016-11-30 | Volume processing method, device and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106406808A true CN106406808A (en) | 2017-02-15 |
Family
ID=58083503
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611076923.0A Pending CN106406808A (en) | 2016-11-30 | 2016-11-30 | Volume processing method, device and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106406808A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106792370A (en) * | 2017-02-20 | 2017-05-31 | 广州视源电子科技股份有限公司 | A kind of method for controlling volume and device |
CN107147780A (en) * | 2017-04-26 | 2017-09-08 | 维沃移动通信有限公司 | A kind of method for controlling audio frequency of mobile terminal to export and mobile terminal |
CN112291664A (en) * | 2020-10-30 | 2021-01-29 | 歌尔光学科技有限公司 | Volume adjusting method, device and system of head-mounted display equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040151336A1 (en) * | 2003-01-30 | 2004-08-05 | Tom Han | Handheld device having an auto-volume control means for earphone plugging and controlling method thereof |
CN101018043A (en) * | 2006-02-07 | 2007-08-15 | 环达电脑(上海)有限公司 | Method for automatic detection of volume adjusting during sound switching |
CN101060724A (en) * | 2007-04-25 | 2007-10-24 | 比特联创电子(北京)有限公司 | A method for avoiding the hearing injury of audio equipment and electro-acoustic device made through this method |
CN102033800A (en) * | 2009-10-08 | 2011-04-27 | 捷讯研究有限公司 | Method for indicating volume of audio sink of portable electronic device |
-
2016
- 2016-11-30 CN CN201611076923.0A patent/CN106406808A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040151336A1 (en) * | 2003-01-30 | 2004-08-05 | Tom Han | Handheld device having an auto-volume control means for earphone plugging and controlling method thereof |
CN101018043A (en) * | 2006-02-07 | 2007-08-15 | 环达电脑(上海)有限公司 | Method for automatic detection of volume adjusting during sound switching |
CN101060724A (en) * | 2007-04-25 | 2007-10-24 | 比特联创电子(北京)有限公司 | A method for avoiding the hearing injury of audio equipment and electro-acoustic device made through this method |
CN102033800A (en) * | 2009-10-08 | 2011-04-27 | 捷讯研究有限公司 | Method for indicating volume of audio sink of portable electronic device |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106792370A (en) * | 2017-02-20 | 2017-05-31 | 广州视源电子科技股份有限公司 | A kind of method for controlling volume and device |
CN107147780A (en) * | 2017-04-26 | 2017-09-08 | 维沃移动通信有限公司 | A kind of method for controlling audio frequency of mobile terminal to export and mobile terminal |
CN112291664A (en) * | 2020-10-30 | 2021-01-29 | 歌尔光学科技有限公司 | Volume adjusting method, device and system of head-mounted display equipment |
CN112291664B (en) * | 2020-10-30 | 2022-03-11 | 歌尔光学科技有限公司 | Volume adjusting method, device and system of head-mounted display equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103258548B (en) | Audio playing apparatus and its control method | |
CN103002148B (en) | Music switching method based on mobile terminal in dormacy and mobile terminal | |
EP2384022B1 (en) | Earphone system for mobile device and method for operating the same | |
CN103078997A (en) | Method and system for setting volume of mobile terminal and mobile terminal | |
CN107040660A (en) | Control method, device and the mobile terminal of mobile terminal playing volume | |
CN101984404B (en) | Method and device for controlling parallel running of application programs and terminal having device | |
CN106126167A (en) | A kind of sound effect treatment method and terminal unit | |
CN102915751A (en) | Method for automatically regulating sound volume and terminal equipment thereof | |
CN106528041A (en) | Voice output mode switching method and device, and terminal | |
CN106406808A (en) | Volume processing method, device and terminal | |
CN105916074A (en) | Play control method for multimedia and terminal | |
CN105120063A (en) | Volume prompting method of input voice and electronic device | |
CN109639902B (en) | Interaction control method and device of earphone box, earphone box and storage medium | |
CN101370053B (en) | Mobile terminal and method for operating mobile terminal by headphone | |
CN100550610C (en) | A kind of based on the method for media player by adjusting volume protection hearing | |
CN101385324A (en) | A method and apparatus for customizing an audio file in a mobile device | |
CN103377674B (en) | Audio playing apparatus and its control method | |
CN103456334A (en) | Method and device for playing audio file | |
CN103297896B (en) | A kind of audio-frequency inputting method and electronic equipment | |
CN105897973A (en) | Audio output assembly, mobile terminal and control method | |
CN103813235A (en) | Information processing method and device | |
CN106548768B (en) | A kind of modified method and apparatus of note | |
CN205622817U (en) | Button control circuit of earphone | |
CN106792141B (en) | The control method for playing back and device of tv audio | |
CN101867645A (en) | Method, system and mobile terminal for giving new message warning |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170215 |
|
RJ01 | Rejection of invention patent application after publication |