CN106792386A - A kind of terminal volume adjusting method and device - Google Patents

A kind of terminal volume adjusting method and device Download PDF

Info

Publication number
CN106792386A
CN106792386A CN201611105591.4A CN201611105591A CN106792386A CN 106792386 A CN106792386 A CN 106792386A CN 201611105591 A CN201611105591 A CN 201611105591A CN 106792386 A CN106792386 A CN 106792386A
Authority
CN
China
Prior art keywords
volume
sound
gear
gain
value
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.)
Granted
Application number
CN201611105591.4A
Other languages
Chinese (zh)
Other versions
CN106792386B (en
Inventor
陈俊宁
张永芳
李增波
侯丰山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Visual Technology Co Ltd
Original Assignee
Qingdao Hisense Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Hisense Electronics Co Ltd filed Critical Qingdao Hisense Electronics Co Ltd
Priority to CN201611105591.4A priority Critical patent/CN106792386B/en
Publication of CN106792386A publication Critical patent/CN106792386A/en
Application granted granted Critical
Publication of CN106792386B publication Critical patent/CN106792386B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/60Substation equipment, e.g. for use by subscribers including speech amplifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/60Substation equipment, e.g. for use by subscribers including speech amplifiers
    • H04M1/6033Substation equipment, e.g. for use by subscribers including speech amplifiers for providing handsfree use or a loudspeaker mode in telephone sets
    • H04M1/6041Portable telephones adapted for handsfree use
    • H04M1/605Portable telephones adapted for handsfree use involving control of the receiver volume to provide a dual operational mode at close or far distance from the user
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R9/00Transducers of moving-coil, moving-strip, or moving-wire type
    • H04R9/02Details
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R9/00Transducers of moving-coil, moving-strip, or moving-wire type
    • H04R9/06Loudspeakers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2400/00Loudspeakers
    • H04R2400/11Aspects regarding the frame of loudspeaker transducers

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

Embodiments of the invention provide a kind of terminal volume adjusting method and device, it is related to multimedia technology field, terminal causes the different problem of output volume of the different audio output devices when same audio is exported due to adjusting the output volume of alternative sounds output equipment using same volume gain.The method includes:Obtain the target sound value of the first audio output device output and the device type and current volume gear of second sound output equipment, then the first volume gain needed when second sound output equipment exports target sound value under current volume gear is obtained, finally according to broadcast sound volume of the first volume gain regulation second sound output equipment under current volume gear.The application is applied to terminal volume adjusting.

Description

A kind of terminal volume adjusting method and device
Technical field
The present invention relates to multimedia technology field, more particularly to a kind of terminal volume adjusting method and device.
Background technology
Generally carried in itself using terminal when current terminal (for example, intelligent television, smart mobile phone etc.) plays program Loudspeaker as broadcast program audio output device, therefore, in existing terminal generally only storage terminal use loudspeaker conduct Required volume gain during audio output device.
But, as the audio output device type of terminal is on the increase, terminal can also be exported by external sound Equipment (power amplifier, bluetooth equipment, USB sound equipments etc.) carries out audio output.So when terminal switches to the output of other sound from loudspeaker When equipment (for example, switching to bluetooth from loudspeaker) carries out audio output, terminal still can be come using the corresponding volume gain of loudspeaker Output volume to the audio output device after switching is adjusted.Due to every kind of audio output device in-house facility attribute not Together, different influences can be produced to same voice data, therefore, when terminal is exported using same acoustic gain to alternative sounds When output volume when equipment exports same audio is adjusted, then alternative sounds output equipment can be caused to export same audio Output volume is different, and then causes user when terminal switches audio output device, it is necessary to user manually adjusts the volume of terminal To meet demand of the user to volume, great inconvenience is brought to user.
The content of the invention
Embodiments of the invention provide a kind of terminal volume adjusting method and device, it is intended to solve existing terminal due to making The output volume of alternative sounds output equipment is adjusted with same volume gain, and causes different audio output devices in output The different problem of output volume during same audio.
To reach above-mentioned purpose, embodiments of the invention are adopted the following technical scheme that:
A kind of first aspect, there is provided terminal volume adjusting method, is applied to terminal, and the terminal sets from the output of the first sound Standby to switch to second sound output equipment, methods described includes:
Obtain the target sound value of the first audio output device output and setting for the second sound output equipment Standby type and current volume gear;
Obtain the second sound output equipment and needed during the target sound value is exported under current volume gear One volume gain;
Broadcasting sound of the second sound output equipment under current volume gear is adjusted according to first volume gain Amount.
Second aspect, there is provided a kind of terminal volume adjustment device, described device includes:
First acquisition module, for when terminal switches to second sound output equipment from the first audio output device, obtaining Take the target sound value of the first audio output device output and the device type of the second sound output equipment and work as Preceding volume gear;
Second acquisition module, the target is exported for obtaining the second sound output equipment under current volume gear The first volume gain needed during volume value;
Adjustment module, first volume gain for being obtained according to second acquisition module adjusts the rising tone Broadcast sound volume of the sound output equipment under current volume gear.
The embodiment of the present invention provides terminal volume adjusting method and device, when terminal is switched to from the first audio output device During second sound output equipment, exported by the target sound value and second sound that obtain the output of the first audio output device and set Standby device type and current volume gear, then obtain second sound output equipment and export target sound under current volume gear The volume gain needed during value, second sound output equipment broadcasting under current volume gear is adjusted finally according to volume gain Playback amount.So as to when current audio output device to be switched to terminal the audio output device of other equipment type, can be with Second sound output equipment exports the volume gain that target sound value needs under getting current volume gear so that get Volume gain ensure that the volume and target that the second output equipment is played under current volume gear according to the first volume gain Volume keeps volume consistent.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below will be in embodiment or description of the prior art The required accompanying drawing for using is briefly described, it should be apparent that, drawings in the following description are only some realities of the invention Example is applied, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of terminal volume adjusting method provided in an embodiment of the present invention;
Fig. 2 is the setting schematic diagram of volume gain in a kind of terminal volume adjusting method provided in an embodiment of the present invention;
Fig. 3 is the flow example figure of another terminal volume adjusting method provided in an embodiment of the present invention;
Fig. 4 is a kind of structural representation of terminal volume adjustment device provided in an embodiment of the present invention.
Specific embodiment
The executive agent of terminal volume adjusting method provided in an embodiment of the present invention can be terminal volume adjustment device, or Person is used to perform the terminal of above-mentioned terminal volume adjusting method.Specifically, the terminal can be intelligent television, smart mobile phone, put down Plate computer, notebook computer, Ultra-Mobile PC's (English:Ultra-mobile Personal Computer, letter Claim:UMPC), net book, personal digital assistant (English:Personal Digital Assistant, referred to as:The terminal such as PDA). Wherein, above-mentioned terminal volume adjustment device can be the central processing unit (English in above-mentioned terminal:Central Processing Unit, referred to as:CPU) or can be above-mentioned terminal in control unit or functional module.
The device type of the audio output device in the present embodiment is included but is not limited to:Loudspeaker, power amplifier, bluetooth set Standby, USB sound equipments, wherein:Loudspeaker are that the interior of the terminal built-in connects audio output device, are one kind that a kind of electric energy is converted into sound Sound conversion equipment, and power amplifier, bluetooth equipment, USB sound equipments are the external external audio output device of the terminal, specifically 's:
Power amplifier abbreviation power amplifier, is commonly called as " sound amplifier ", is most basic equipment in sound system, and its task is handle Ultra-weak electronic signal from signal source (being then from sound console in professional sound system) is amplified and is sent with drive the speaker Sound.
Bluetooth equipment is that the radiotechnics of holding equipment short haul connection (usually within 10m) is applied into traditional number On the devices such as code, multimedia loudspeaker box or earphone, without connecting unnecessary line
USB sound equipments, need to only be connected the USB plug of sound equipment with computer, and the sound of computer will be from USB speaker sounding.
The multiplication factor of volume gain, i.e. volume, unit is db, for the power by debug circuit signal, i.e., by one Individual small signal level turns into big signal level by amplifying, and the regulation to volume is realized, due to the times magnification of signal level Number is usually tens of thousands of times, and the multiple that volume is amplified generally is represented using logarithmic form.
Volume gear, the UI values for representing terminal device (TV) interface display, user can be straight by terminal interface See the volume of terminal.
Volume value, represents the loudness of volume output, it is also possible to be considered subjective feeling of the human ear to sound intensity, unit is db。
The terms "and/or", only a kind of incidence relation for describing affiliated partner, represents there may be three kinds of passes System, for example, A and/or B, can represent:Individualism A, while there is A and B, individualism B these three situations.In addition, herein Middle character "/", typicallys represent forward-backward correlation pair as if a kind of relation of "or".
For the ease of clearly describing the technical scheme of the embodiment of the present invention, in an embodiment of the present invention, employ " the One ", the printed words such as " second " make a distinction to function or the essentially identical identical entry of effect or similar item, and those skilled in the art can To understand that the printed words such as " first ", " second " are not defined to quantity and execution order.
It should be noted that in the embodiment of the present invention, the word such as " exemplary " or " such as " makees example, example for expression Card or explanation.Any embodiment or design for being described as " exemplary " or " such as " in the embodiment of the present invention should not It is interpreted than other embodiments or design more preferably or more advantage.Specifically, " exemplary " or " example are used Such as " word is intended to that related notion is presented in a concrete fashion.
Below in conjunction with the Figure of description of the embodiment of the present invention, technical scheme provided in an embodiment of the present invention is said It is bright.Obviously, described is a part of embodiment of the invention, rather than whole embodiments.It should be noted that hereafter institute Part or all of technical characteristic in any number of technical schemes for providing can be used in combination, shape in the case where not conflicting The technical scheme of Cheng Xin.
Embodiments of the invention provide a kind of terminal volume adjusting method, and the embodiment of the present invention is for terminal from the first sound Output equipment switches to second sound output equipment, as shown in figure 1, the method specifically includes following steps:
101st, the target sound value of the first audio output device output and the equipment class of second sound output equipment are obtained Type and current volume gear.
Wherein, the device type of above-mentioned audio output device can with the device type of the audio output device identify into Row is represented, using u in the present embodiment1、u2、u3......urForm represents the device type mark of alternative sounds output equipment, on The volume gear stated can be identified with the gear of the volume gear and is indicated, and v is used in the present embodiment1、v2、v3......vn Form represents the gear mark of different volume gears, and above-mentioned volume value can be identified with the volume of the volume value and is indicated, S is used in the present embodiment1、s2、s3......smForm represents the volume mark of different volume values.
In a kind of example, after volume adjusting instruction is received, the instruction that can be instructed according to volume adjusting is obtained terminal The target sound value of the first audio output device output and the device type and current volume gear of second sound output equipment. Exemplary, it is defeated that above-mentioned volume adjusting instruction is voluntarily generated when can be starting up of terminal, or terminal changes sound Go out what is generated based on user instruction during equipment.If specifically, volume adjusting instruction is generated when being starting up of terminal, the volume When regulating command instruction terminal obtains the device type and preceding first use current sound output equipment of current sound output equipment Corresponding volume gear;If volume adjusting instruction is the terminal being generated according to user instruction, the user instruction can be User want switching audio output device when by controlling the corresponding input equipment of the terminal (for example, remote control, mouse, keyboard Deng) to terminal send, or the direct control terminal of user keypad on button generate or can be user Phonetic entry is carried out, or, acquiescence generation when above-mentioned volume adjusting instruction can be the starting up of terminal.
Exemplary, after volume adjusting instruction is got, the terminal can get second sound output equipment to terminal Device type after, the corresponding volume gear of second sound output equipment is obtained from volume gear array.Wherein, volume shelves Element in bit array for before terminal each audio output device of first use carry out corresponding volume gear when sound is exported, or Person be terminal support audio output device type under default volume value corresponding default volume gear, for example, array first Individual value represents the volume gear of loudspeaker, and second value of array represents the volume gear of coaxial equipment, and the 3rd value of array represents indigo plant Volume gear of tooth equipment etc., the length of the volume gear array is the sound output that the terminal read from database is supported The sum of equipment, i.e. length=OutputDeviceCount.Exemplary, after user switches audio output device type, Obtain the target sound value of the first audio output device output, the device type of second sound output equipment, and according to the rising tone The device type identifier of sound output equipment reads the volume gear of corresponding output equipment type from volume gear array, so that Obtain the current volume gear under second sound output equipment type.If for example, user's selection is ATV (simulated television) passage Under loudspeaker equipment, and the device identification of loudspeaker equipment is expressed as 0, then Array [0] is read from volume gear array, if with The coaxial equipment of family selection, and the device identification of coaxial equipment is expressed as 1, then Array [1] is read from volume gear array, So as to obtain the corresponding current volume gear of second sound output equipment type.
It should be noted that terminal is after powering, can read out the TV last time from database first uses each Corresponding volume gear during audio output device, and be stored in volume gear array, so that terminal subsequently makes Used time directly obtains the volume gear of the audio output device of needs from volume gear array such that it is able to reduce terminal log According to the access times in storehouse.
102nd, the first sound needed when second sound output equipment exports target sound value under current volume gear is obtained Flow gain.
Exemplary, step 102 specifically includes following steps:
102a, from volume gain table, find out the device type and current volume gear with second sound output equipment The first volume gain for matching.
Wherein, sound when volume gain table exports different volume values including alternative sounds output equipment under different volume gears The volume gain that sound output equipment needs.The volume gain of general audio output device and the volume gear of audio output device Corresponding output volume value is directly proportional.
It should be noted that when there is new audio output device, terminal can be by changing the sound stored in database The corresponding data of flow gain table just can quickly add the corresponding data of new audio output device, soft so as to avoid modification Part structure, enhances the scalability of software.
In a kind of example, the volume gain table is included under the different gears of the device type of alternative sounds output equipment Corresponding relation between volume value and volume gain.Exemplary, the volume gain table includes that alternative sounds output equipment is corresponding The volume gain matrix of volume value-volume gear;Wherein, the sound of the corresponding volume value of each audio output device-volume gear Element R in flow gain matrixijFor the volume gain that audio output device needs under volume gear j during output volume value i;i ∈ 1,2 ..., m, j ∈ 1,2 ..., n;Wherein, m is volume value number, and n is volume gear number.
Exemplary, if the collection of volume gear mark is combined into V={ v1, v2..., vn, the collection of volume value mark is combined into S= {s1, s2..., sm, if using volume value mark as rectangular array, using volume gear mark as row matrix, then defining sound defeated The volume gain matrix for going out the volume value-volume gear of equipment is matrix R ∈ Rn×mIf, volume gain be all integer and [- 80, When in the range of 0], illustrated with table 1 here to the implication of matrix R, it is necessary to explanation, real matrix R is with million grades Dimension, following table 1 is only that the implication of matrix R is illustrated, only a kind of example.
s1 s2 s3 s4 s5 s6
v1 -75 -73 -71 -69 -67 -65
v2 -78 -76 -74 -72 -70 -68
v3 -77 -50 -30 -25 -10 -1
v4 -79 -78 -77 -76 -75 -74
Table 1
If for example, as shown in Fig. 2 the volume gain matrix of the volume value-volume gear is designated u for device type1's The corresponding volume gain table of audio output device, and the gear of current volume gear is designated v3, target sound value is designated s2, then Array [3] [2] is read from matrix, i.e., after audio output device is switched to loudspeaker by the terminal, loudspeaker output target Volume value corresponding volume gain under current volume gear is -74.
In actual applications, it is generally the case that volume value is set within the specific limits, for example, audio output device volume The scope of value is 1-100.Because the scope of volume value is larger so that the corresponding volume value-volume of above-mentioned audio output device More numerical value is stored in the volume gain matrix of gear, is unfavorable for tabling look-up, therefore, for different audio output device volumes Gear can respectively correspond to volume gain submatrix Rm', the individual position using ten of volume value and volume value increases as volume respectively Beneficial submatrix Rm' row and column, then it is matrix R to define volume gain submatrixm′∈Rm ′10×10, as shown in table 2.
Table 2
Exemplary, shown in table 2 in volume gear is v for loudspeaker1The corresponding volume gain table of Shi Butong volume values, If the scope of its volume gain is -80db~0db, general, terminal generally use -80db represents that terminal is in mute state, 0db The volume that represent terminal does not need output by audio output device is amplified.Under normal circumstances, due to when volume value is smaller, The volume of output typically can be increased by the way that volume value is tuned up, and when volume value is very big, generally will not be by increasing volume Value adjusts the volume of output, therefore, terminal when setting volume gain for audio output device, can for output volume value compared with It is small, larger volume gain is set, conversely, can be larger for output volume value, the less volume gain of setting, by Corresponding volume gain step-length when corresponding volume gain step-length is larger more than volume numerical value when volume value is smaller, makes user in sound Increase volume value can substantially feel the change of volume when value is smaller.
For example, volume value in the step-length of 1~25 correspondence volume gain, (i.e. volume value often increases by 1, and corresponding volume gain increases Plus amount) for 1.5db, i.e. volume value be 1 when corresponding volume gain be -80db+1.5db, i.e. -78.5db, volume value is 25 When, corresponding volume gain is -80db+1.5db*25, i.e. -52.5db, then volume value corresponding volume gain model at 1~25 It is -78.5db~-42.5db to enclose;Similarly, if volume value obtains step-length for 1db in 25~50 correspondence volume gains, corresponding volume Gain ranging is -42.5db~-17.5db;If volume value is 0.5db, corresponding sound in the step-length of 50~75 correspondence volume gains Flow gain scope is -17.5db~-5db;Volume value is 0.2db, corresponding sound in the step-length of 75~100 corresponding volume gains Flow gain scope is -5db~0db.
Exemplary, according to target sound value, corresponding volume gain is read from corresponding volume gain matrix, by phase The volume gain value answered is set in the master chip of terminal.For example, loudspeaker corresponding volume value under current volume gear is 10, The volume gain got from form 2 is -65db.
Further, since the volume adjusting that the embodiment of the present invention is carried out is substantially when terminal is in a certain volume value, enter Row audio output device switches, by different audio output devices in the different volume gear of same volume value correspondence, so that The different volume gain of correspondence so that during switching audio output device, terminal can export identical volume value.And for some For audio output device (for example, bluetooth equipment), under same volume gear, the volume value of bluetooth equipment final output is often It is more much smaller than other kinds of audio output device, and maximum, bluetooth equipment output are arrived in the volume gear regulation for working as terminal Volume it is still too small, therefore, for bluetooth equipment need expand volume gain scope so that terminal use bluetooth equipment conduct The volume gain value of audio output device is bigger so that the volume numerical value exported during using bluetooth equipment as audio output device The volume numerical value exported during with using other audio output devices is roughly the same.For example, by the volume gain table of bluetooth equipment The scope of volume gain is set to -80~12db, so that when ensureing that user sets identical volume gear, gain of the master chip to sound It is bigger than normal, so as to solve the problems, such as that the volume of bluetooth equipment output is too small.
If it should be noted that not storing the device type pair of the current audio output device of terminal in volume gain table The type identification answered, then cannot determine the target volume yield value of terminal so that terminal terminates volume adjusting.
103rd, broadcast sound volume of the second sound output equipment under current volume gear is adjusted according to the first volume gain.
Exemplary, before step 103, the method also comprises the following steps:
103a, the current volume gain of the second sound output equipment that will be stored in terminal replace with the first volume gain.
Exemplary, terminal, can first by the second sound output equipment of terminal backstage storage when step 103a is performed Current volume gain delete after, then the corresponding volume gain of second sound output equipment is set to the first volume gain; Can also be that the current volume gain covering of second sound output equipment is directly updated to the first volume gain.
In a kind of example, if after terminal carries out volume adjusting according to the first volume gain, effect of the user to volume adjusting Fruit is dissatisfied, then user can be by being the audio output device suitable volume gear of setting so that audio output device according to The volume of the volume gain output that the volume gear is determined disclosure satisfy that the sense of hearing demand of user.
Specifically, after step 103, the method also comprises the following steps:
103b1, the target volume gear for obtaining user's input in volume sets interface.
103b2, obtain second sound output equipment is needed when exporting target sound value under target volume gear second Volume gain.
103b3, the broadcast sound volume according to the second volume gain regulation second sound output equipment under target volume gear.
Wherein, above-mentioned volume sets the option of the volume gear that can be input into comprising user in interface.Above-mentioned user refers to Make and interface is set for instruction terminal display volume gear.Exemplary, the user instruction can be the user's control terminal-pair It is that the input equipment (for example, remote control, mouse, keyboard etc.) answered sends to terminal, or the direct control terminal of user On keypad button generation or can be that user carries out phonetic entry.
Exemplary, as shown in figure 3, after user sets volume gear, amended volume gear is preserved to volume In gear array, and update database simultaneously.
It should be noted that the matrix shown in table 1, table 2 in the embodiment of the present invention is only a kind of example, in practice Ranks in matrix R are interchangeable, i.e. the behavior volume value mark of the matrix R ' after ranks exchange, and matrix R's ' is classified as volume Gear is identified.
The embodiment of the present invention provides terminal volume adjusting method, when terminal switches to the rising tone from the first audio output device During sound output equipment, by obtaining the target sound value of the first audio output device output and setting for second sound output equipment Standby type and current volume gear, when then acquisition second sound output equipment exports target sound value under current volume gear The volume gain of needs, finally according to broadcasting sound of the volume gain regulation second sound output equipment under current volume gear Amount.So as to when current audio output device to be switched to terminal the audio output device of other equipment type, obtain The volume gain that second sound output equipment output target sound value needs under to current volume gear so that the volume for getting Gain ensure that the second output equipment under current volume gear according to the volume and target volume of the broadcasting of the first volume gain Keep volume consistent.
The embodiment of the present invention provides a kind of terminal volume adjustment device, as shown in figure 4, the device 2 includes:First obtains mould Block 21, the second acquisition module 22 and adjustment module 23, wherein:
First acquisition module 21, for switching to second sound output equipment from the first audio output device when the terminal When, obtain the target sound value of the first audio output device output and the device type and current sound of second sound output equipment Amount gear;
Second acquisition module 22, is additionally operable to acquisition second sound output equipment and exports target volume under current volume gear The first volume gain needed during value;
Adjustment module 23, the first volume gain regulation second sound output for being obtained according to the second acquisition module 22 sets The standby broadcast sound volume under current volume gear.
Optionally, the device also includes replacement module 24, wherein:
Replacement module 24, the current volume gain of the second sound output equipment for will be stored in terminal replaces with second The first volume gain that acquisition module 22 is obtained.
Optionally, the second acquisition module 22 specifically for:
From volume gain table, find out and match with the device type and current volume gear of second sound output equipment The first volume gain.
Wherein, above-mentioned volume gain table exports different volumes including alternative sounds output equipment under different volume gears The volume gain that audio output device needs during value.
Optionally, the first acquisition module 21, is additionally operable to obtain the target volume shelves that user is input into volume sets interface Position.
Second acquisition module 22, is additionally operable to acquisition second sound output equipment and exports target volume under target volume gear The second volume gain needed during value.
Adjustment module 23, is additionally operable to the second volume gain regulation second sound output obtained according to the second acquisition module 22 Broadcast sound volume of the equipment under target volume gear.
Optionally, volume gain table includes the volume gain of the corresponding volume value of alternative sounds output equipment-volume gear Matrix;Wherein, the element R in the volume gain matrix of the corresponding volume value of each audio output device-volume gearijIt is sound The volume gain that output equipment needs under volume gear j during output volume value i;I ∈ 1,2 ..., m, j ∈ 1, 2 ..., n;Wherein, m is volume value number, and n is volume gear number.
The embodiment of the present invention provides terminal volume adjustment device, when terminal switches to the rising tone from the first audio output device During sound output equipment, by obtaining the target sound value of the first audio output device output and setting for second sound output equipment Standby type and current volume gear, when then acquisition second sound output equipment exports target sound value under current volume gear The volume gain of needs, finally according to broadcasting sound of the volume gain regulation second sound output equipment under current volume gear Amount.So as to when current audio output device to be switched to terminal the audio output device of other equipment type, obtain The volume gain that second sound output equipment output target sound value needs under to current volume gear so that the volume for getting Gain ensure that the second output equipment under current volume gear according to the volume and target volume of the broadcasting of the first volume gain Keep volume consistent.
It should be noted that during implementing, each step in above-mentioned method flow as shown in Figure 1 can be with Realized by the computer executed instructions of the software form stored in the computing device memory of example, in hardware, to avoid weight Multiple, here is omitted.And the program corresponding to the action performed by said apparatus can in a software form be stored in the dress In the memory put, the corresponding operation of execution above modules is called in order to processor.
Memory above can include volatile memory (volatile memory), such as random access memory Device (random-access memory, RAM);Nonvolatile memory (non-volatile memory), example can also be included Such as read-only storage (read-only memory, ROM), flash memory (flash memory), hard disk (hard disk Drive, HDD) or solid state hard disc (solid-state drive, SSD);The combination of the memory of mentioned kind can also be included.
Processor in device presented above can be the system of a processor, or multiple treatment elements Claim.For example, processor can be central processing unit (central processing unit, CPU;Can also be other general places Reason device, digital signal processor (digital signal processing, DSP), application specific integrated circuit (application Specific integrated circuit, ASIC), field programmable gate array (field-programmable gate Array, FPGA) or other PLDs, discrete gate or transistor logic, discrete hardware components etc..It is logical Can be microprocessor with processor or the processor can also be any conventional processor etc.;Can also be dedicated processes Device, the application specific processor can be including at least one of baseband processing chip, radio frequency processing chip etc..
It is apparent to those skilled in the art that, for convenience and simplicity of description, the device of foregoing description With the specific work process of module, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, can be by it Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of the module, only Only a kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple module or components can be tied Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or discussed Coupling each other or direct-coupling or communication connection can be the INDIRECT COUPLINGs or logical of device or unit by some interfaces Letter connection, can be electrical, mechanical or other forms.
The module that is illustrated as separating component can be or may not be it is physically separate, it is aobvious as module The part for 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.Some or all of unit therein can be according to the actual needs selected to realize the mesh of this embodiment scheme 's.
In addition, during each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to It is that the independent physics of unit includes, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list Unit can both be realized in the form of hardware, it would however also be possible to employ hardware adds the form of SFU software functional unit to realize.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although The present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those within the art that:It still may be used Modified with to the technical scheme described in foregoing embodiments, or equivalent is carried out to which part technical characteristic; And these modification or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit and Scope.

Claims (10)

1. a kind of terminal volume adjusting method, it is characterised in that be applied to terminal, the terminal is cut from the first audio output device Second sound output equipment is shifted to, methods described includes:
Obtain the target sound value of the first audio output device output and the equipment class of the second sound output equipment Type and current volume gear;
Obtain the second sound output equipment and the first sound needed during the target sound value is exported under current volume gear Flow gain;
Broadcast sound volume of the second sound output equipment under current volume gear is adjusted according to first volume gain.
2. method according to claim 1, it is characterised in that described according to first volume gain regulation described second Before broadcast sound volume of the audio output device under current volume gear, methods described also includes:
The current volume gain of the second sound output equipment stored in the terminal is replaced with into first volume to increase Benefit.
3. method according to claim 1, it is characterised in that the acquisition second sound output equipment is in current sound The first volume gain needed when exporting the target sound value under amount gear is specifically included:
From volume gain table, find out and match with the device type and current volume gear of the second sound output equipment The first volume gain;The volume gain table exports different volumes including alternative sounds output equipment under different volume gears The volume gain that the audio output device needs during value.
4. method according to claim 1, it is characterised in that described according to first volume gain regulation described second After broadcast sound volume of the audio output device under current volume gear, methods described also includes:
Obtain the target volume gear that user is input into volume sets interface;
Obtain the second sound output equipment and the second sound needed during the target sound value is exported under target volume gear Flow gain;
Broadcast sound volume of the second sound output equipment under target volume gear is adjusted according to second volume gain.
5. method according to claim 3, it is characterised in that the volume gain table includes alternative sounds output equipment pair The volume gain matrix of the volume value answered-volume gear;Wherein, the corresponding volume value of each audio output device-volume gear Volume gain matrix in element RijFor the sound that the audio output device needs under volume gear j during output volume value i Flow gain;I ∈ 1,2 ..., m, j ∈ 1,2 ..., n;Wherein, the m is volume value number, and the n is volume gear Number.
6. a kind of terminal volume adjustment device, it is characterised in that described device includes:
First acquisition module, for when terminal switches to second sound output equipment from the first audio output device, obtaining institute State the target sound value of the first audio output device output and the device type and current sound of the second sound output equipment Amount gear;
Second acquisition module, the target volume is exported for obtaining the second sound output equipment under current volume gear The first volume gain needed during value;
Adjustment module, it is defeated that first volume gain for being obtained according to second acquisition module adjusts the second sound Go out broadcast sound volume of the equipment under current volume gear.
7. device according to claim 6, it is characterised in that described device also includes:
Replacement module, for the current volume gain of the second sound output equipment stored in the terminal to be replaced with into institute State first volume gain of the second acquisition module acquisition.
8. device according to claim 6, it is characterised in that second acquisition module specifically for:
From volume gain table, find out and match with the device type and current volume gear of the second sound output equipment The first volume gain;The volume gain table exports different volumes including alternative sounds output equipment under different volume gears The volume gain that the audio output device needs during value.
9. device according to claim 6, it is characterised in that
First acquisition module, is additionally operable to obtain the target volume gear that user is input into volume sets interface;
Second acquisition module, is additionally operable to obtain the second sound output equipment mesh is exported under target volume gear The second volume gain needed during mark with phonetic symbols value;
The adjustment module, is additionally operable to second volume gain regulation described second obtained according to second acquisition module Broadcast sound volume of the audio output device under target volume gear.
10. device according to claim 8, it is characterised in that the volume gain table includes alternative sounds output equipment The volume gain matrix of corresponding volume value-volume gear;Wherein, the corresponding volume value of each audio output device-volume shelves Element R in the volume gain matrix of positionijThe audio output device needs under volume gear j during output volume value i Volume gain;I ∈ 1,2 ..., m, j ∈ 1,2 ..., n;Wherein, the m is volume value number, and the n is volume shelves Position number.
CN201611105591.4A 2016-12-05 2016-12-05 Terminal volume adjusting method and device Active CN106792386B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611105591.4A CN106792386B (en) 2016-12-05 2016-12-05 Terminal volume adjusting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611105591.4A CN106792386B (en) 2016-12-05 2016-12-05 Terminal volume adjusting method and device

Publications (2)

Publication Number Publication Date
CN106792386A true CN106792386A (en) 2017-05-31
CN106792386B CN106792386B (en) 2020-03-10

Family

ID=58878391

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611105591.4A Active CN106792386B (en) 2016-12-05 2016-12-05 Terminal volume adjusting method and device

Country Status (1)

Country Link
CN (1) CN106792386B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107333171A (en) * 2017-06-27 2017-11-07 青岛海信电器股份有限公司 TV reports method, device and the terminal device of sound synchronous sound
CN107465824A (en) * 2017-08-18 2017-12-12 广东欧珀移动通信有限公司 volume adjusting method, device, mobile terminal and storage medium
CN107508983A (en) * 2017-08-18 2017-12-22 广东欧珀移动通信有限公司 volume adjusting method, device, storage medium and terminal device
CN107623776A (en) * 2017-08-24 2018-01-23 维沃移动通信有限公司 A kind of method for controlling volume, system and mobile terminal
CN107633849A (en) * 2017-09-30 2018-01-26 广东欧珀移动通信有限公司 Bluetooth equipment method for regulation of sound volume, equipment and computer-readable recording medium
CN107645721A (en) * 2017-09-30 2018-01-30 广东欧珀移动通信有限公司 Bluetooth equipment method for regulation of sound volume, equipment and computer-readable recording medium
CN108924447A (en) * 2018-08-21 2018-11-30 青岛海信电器股份有限公司 A kind of volume adjusting method and equipment
CN108988811A (en) * 2018-08-20 2018-12-11 四川长虹电器股份有限公司 The input gain control method of analogue audio frequency
CN109270845A (en) * 2018-10-12 2019-01-25 珠海格力电器股份有限公司 Gear display methods, device, interactive device and smart home device
CN114827337A (en) * 2021-01-19 2022-07-29 博泰车联网(南京)有限公司 Volume adjustment method, device, equipment and storage medium
CN115473927A (en) * 2021-05-25 2022-12-13 Oppo广东移动通信有限公司 Volume synchronization method and device, electronic equipment and storage medium
WO2022257563A1 (en) * 2021-06-07 2022-12-15 华为技术有限公司 Volume adjustment method, and electronic device and system
WO2023071502A1 (en) * 2021-10-31 2023-05-04 华为技术有限公司 Volume control method and apparatus, and electronic device
EP4262224A3 (en) * 2019-05-31 2023-12-06 Samsung Electronics Co., Ltd. Electronic apparatus and controlling method thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103188584A (en) * 2011-12-28 2013-07-03 比亚迪股份有限公司 Acoustic matching method and acoustic matching system for vehicle-mounted multi-media
CN104112460A (en) * 2014-06-26 2014-10-22 小米科技有限责任公司 Method and device for playing audio data
US20160078879A1 (en) * 2013-03-26 2016-03-17 Dolby Laboratories Licensing Corporation Apparatuses and Methods for Audio Classifying and Processing
CN106126175A (en) * 2016-06-16 2016-11-16 广东欧珀移动通信有限公司 The control method of a kind of sound effect parameters and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103188584A (en) * 2011-12-28 2013-07-03 比亚迪股份有限公司 Acoustic matching method and acoustic matching system for vehicle-mounted multi-media
US20160078879A1 (en) * 2013-03-26 2016-03-17 Dolby Laboratories Licensing Corporation Apparatuses and Methods for Audio Classifying and Processing
CN104112460A (en) * 2014-06-26 2014-10-22 小米科技有限责任公司 Method and device for playing audio data
CN106126175A (en) * 2016-06-16 2016-11-16 广东欧珀移动通信有限公司 The control method of a kind of sound effect parameters and mobile terminal

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107333171A (en) * 2017-06-27 2017-11-07 青岛海信电器股份有限公司 TV reports method, device and the terminal device of sound synchronous sound
CN107333171B (en) * 2017-06-27 2020-05-22 海信视像科技股份有限公司 Method and device for synchronizing sound of television broadcast and terminal equipment
WO2019033943A1 (en) * 2017-08-18 2019-02-21 Oppo广东移动通信有限公司 Volume adjusting method and device, mobile terminal and storage medium
CN107465824A (en) * 2017-08-18 2017-12-12 广东欧珀移动通信有限公司 volume adjusting method, device, mobile terminal and storage medium
CN107508983A (en) * 2017-08-18 2017-12-22 广东欧珀移动通信有限公司 volume adjusting method, device, storage medium and terminal device
CN107508983B (en) * 2017-08-18 2020-05-12 Oppo广东移动通信有限公司 Volume adjusting method and device, storage medium and terminal equipment
CN107623776A (en) * 2017-08-24 2018-01-23 维沃移动通信有限公司 A kind of method for controlling volume, system and mobile terminal
CN107633849B (en) * 2017-09-30 2021-04-27 Oppo广东移动通信有限公司 Bluetooth device volume adjusting method, device and computer readable storage medium
CN107645721A (en) * 2017-09-30 2018-01-30 广东欧珀移动通信有限公司 Bluetooth equipment method for regulation of sound volume, equipment and computer-readable recording medium
CN107633849A (en) * 2017-09-30 2018-01-26 广东欧珀移动通信有限公司 Bluetooth equipment method for regulation of sound volume, equipment and computer-readable recording medium
CN107645721B (en) * 2017-09-30 2020-06-09 Oppo广东移动通信有限公司 Bluetooth device volume adjusting method, device and computer readable storage medium
CN108988811A (en) * 2018-08-20 2018-12-11 四川长虹电器股份有限公司 The input gain control method of analogue audio frequency
CN108924447B (en) * 2018-08-21 2020-07-10 海信视像科技股份有限公司 Volume adjusting method, equipment, communication device and storage medium
CN108924447A (en) * 2018-08-21 2018-11-30 青岛海信电器股份有限公司 A kind of volume adjusting method and equipment
WO2020038373A1 (en) * 2018-08-21 2020-02-27 青岛海信电器股份有限公司 Volume adjustment method and device
CN109270845A (en) * 2018-10-12 2019-01-25 珠海格力电器股份有限公司 Gear display methods, device, interactive device and smart home device
EP4262224A3 (en) * 2019-05-31 2023-12-06 Samsung Electronics Co., Ltd. Electronic apparatus and controlling method thereof
CN114827337A (en) * 2021-01-19 2022-07-29 博泰车联网(南京)有限公司 Volume adjustment method, device, equipment and storage medium
CN114827337B (en) * 2021-01-19 2023-08-18 博泰车联网(南京)有限公司 Method, device, equipment and storage medium for adjusting volume
CN115473927A (en) * 2021-05-25 2022-12-13 Oppo广东移动通信有限公司 Volume synchronization method and device, electronic equipment and storage medium
WO2022257563A1 (en) * 2021-06-07 2022-12-15 华为技术有限公司 Volume adjustment method, and electronic device and system
WO2023071502A1 (en) * 2021-10-31 2023-05-04 华为技术有限公司 Volume control method and apparatus, and electronic device

Also Published As

Publication number Publication date
CN106792386B (en) 2020-03-10

Similar Documents

Publication Publication Date Title
CN106792386A (en) A kind of terminal volume adjusting method and device
CN105487780B (en) Control display method and device
CN205232422U (en) Headset
CN109429147B (en) Electronic device and control method thereof
CN110870201A (en) Audio signal adjusting method and device, storage medium and terminal
CN110308888B (en) Volume control method, electronic equipment and computer readable storage medium
CN103618514A (en) Volume adjustment method, device and electronic equipment
CN111508510B (en) Audio processing method and device, storage medium and electronic equipment
CN107633849B (en) Bluetooth device volume adjusting method, device and computer readable storage medium
CN107908388A (en) Method for controlling volume and device, computer installation and computer-readable recording medium
CN106126163A (en) A kind of method adjusting audio and terminal
CN106604167A (en) Method for automatically adjusting output volume of left and right channel of earphone, and mobile terminal
CN114257191A (en) Equalizer adjustment method and electronic device
CN106126165A (en) A kind of audio stream processing method and mobile terminal
CN108172200A (en) A kind of method and terminal device of this display of applicating Chinese
CN107145327A (en) A kind of audio frequency playing method, device and smart machine
CN107508983B (en) Volume adjusting method and device, storage medium and terminal equipment
CN103929692A (en) Method for processing audio information and electronic device
CN106488039A (en) Volume adjusting method and system, mobile terminal and playback equipment
CN103533270A (en) Audio playing equipment and video control method
CN2922049Y (en) Digital music player with carry-on speaker audio device capable of playing Mic sound
CN111739496B (en) Audio processing method, device and storage medium
KR100630206B1 (en) Method for adjusting volume in music file
US6185690B1 (en) Portable computer having a radio function and related method
CN107889023B (en) Intelligent sound effect power amplifier chip and intelligent sound effect switching method

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
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Patentee after: Hisense Visual Technology Co., Ltd.

Address before: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Patentee before: QINGDAO HISENSE ELECTRONICS Co.,Ltd.

CP01 Change in the name or title of a patent holder