CN108632713A - Method for controlling volume, device, storage medium and terminal device - Google Patents

Method for controlling volume, device, storage medium and terminal device Download PDF

Info

Publication number
CN108632713A
CN108632713A CN201810668128.3A CN201810668128A CN108632713A CN 108632713 A CN108632713 A CN 108632713A CN 201810668128 A CN201810668128 A CN 201810668128A CN 108632713 A CN108632713 A CN 108632713A
Authority
CN
China
Prior art keywords
broadcast unit
user
volume
information
broadcast
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
CN201810668128.3A
Other languages
Chinese (zh)
Other versions
CN108632713B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810668128.3A priority Critical patent/CN108632713B/en
Publication of CN108632713A publication Critical patent/CN108632713A/en
Application granted granted Critical
Publication of CN108632713B publication Critical patent/CN108632713B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2430/00Signal processing covered by H04R, not provided for in its groups

Landscapes

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

Abstract

A kind of method for controlling volume, device, storage medium and the terminal device provided in the embodiment of the present application, this method is by when user uses playback equipment, determining the broadcast unit used;Wherein, the playback equipment includes at least two broadcast units;Determine the identity information of the corresponding user of broadcast unit each used;Control the volume of each broadcast unit respectively according to the corresponding identity information of each broadcast unit.By using above-mentioned technical proposal, the volume of broadcast unit can be controlled according to the corresponding identity information of each broadcast unit, different demands of the user to the volume control of broadcast unit can be met.

Description

Method for controlling volume, device, storage medium and terminal device
Technical field
The invention relates to terminal device technical field more particularly to a kind of method for controlling volume, device, storage Jie Matter and terminal device.
Background technology
When playing sound using playback equipment, different user is different for the use habit of the volume of playback equipment , the volume sound that some users are accustomed to playback equipment is bigger than normal, and the volume that some users are accustomed to playback equipment is less than normal, so user It generally can be according to the volume of the custom setting playback equipment of oneself.Playback equipment may include multiple broadcast units, and existing The volume control of multiple broadcast units of playback equipment is usually uniformly to be controlled by control terminal, and this volume control mode is deposited In deficiency, need further to optimize.
Invention content
A kind of method for controlling volume, device, storage medium and terminal device provided by the embodiments of the present application, can be to existing Volume control mode optimize.
In a first aspect, the embodiment of the present application provides a kind of method for controlling volume, including:
When user uses playback equipment, the broadcast unit used is determined;Wherein, the playback equipment includes at least two Broadcast unit;
Determine the identity information of the corresponding user of broadcast unit each used;
Control the volume of each broadcast unit respectively according to the corresponding identity information of each broadcast unit.
Second aspect, the embodiment of the present application provide a kind of sound volume control device, including:
Determining module is played, for when user uses playback equipment, determining the broadcast unit used;Wherein, described to broadcast It includes at least two broadcast units to put equipment;
Identity determining module, the identity information for determining the corresponding user of broadcast unit each used;
Volume control module, for controlling each broadcast unit respectively according to the corresponding identity information of each broadcast unit Volume.
The third aspect, the embodiment of the present application provide a kind of computer readable storage medium, are stored thereon with computer journey Sequence realizes the method for controlling volume as described in the embodiment of the present application when the program is executed by processor.
Fourth aspect, the embodiment of the present application provide a kind of terminal device, including memory, processor and are stored in storage It can realize on device and when the computer program of processor operation, the processor execute the computer program as the application is real Apply the method for controlling volume described in example.
A kind of volume control scheme provided in the embodiment of the present application, by the way that when user uses playback equipment, determination makes Broadcast unit;Wherein, the playback equipment includes at least two broadcast units;Determine that the broadcast unit each used corresponds to User identity information;Control the volume of each broadcast unit respectively according to the corresponding identity information of each broadcast unit.It is logical It crosses and uses above-mentioned technical proposal, the volume of broadcast unit can be controlled according to the corresponding identity information of each broadcast unit, it can To meet different demands of the user to the volume control of broadcast unit.
Description of the drawings
Fig. 1 is a kind of flow diagram of method for controlling volume provided by the embodiments of the present application;
Fig. 2 is the flow diagram of another method for controlling volume provided by the embodiments of the present application;
Fig. 3 is a kind of schematic diagram of a scenario of method for controlling volume provided by the embodiments of the present application;
Fig. 4 is the flow diagram of another method for controlling volume provided by the embodiments of the present application;
Fig. 5 is the schematic diagram of a scenario of another method for controlling volume provided by the embodiments of the present application;
Fig. 6 is the schematic diagram of a scenario of another method for controlling volume provided by the embodiments of the present application;
Fig. 7 is the flow diagram of another method for controlling volume provided by the embodiments of the present application;
Fig. 8 is a kind of structure diagram of sound volume control device provided by the embodiments of the present application;
Fig. 9 is a kind of structural schematic diagram of terminal device provided by the embodiments of the present application;
Figure 10 is the structural schematic diagram of another terminal device provided by the embodiments of the present application.
Specific implementation mode
Further illustrate the technical solution of the application below with reference to the accompanying drawings and specific embodiments.It is appreciated that It is that specific embodiment described herein is used only for explaining the application, rather than the restriction to the application.It further needs exist for illustrating , illustrate only for ease of description, in attached drawing and the relevant part of the application rather than entire infrastructure.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail The processing described as flow chart or method.Although each step is described as the processing of sequence, many of which by flow chart Step can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of each step can be rearranged.When its operation The processing can be terminated when completion, it is also possible to the additional step being not included in attached drawing.The processing can be with Corresponding to method, function, regulation, subroutine, subprogram etc..
Playback equipment includes such as bluetooth headset or line control earphone, and each user is for using the volume demand of earphone not Together.Bluetooth headset generally comprises two receivers, and the volume of two receivers is usually to synchronize to be controlled;And if there is Two users use two receivers respectively, and two users are different for the demand of earpiece volume, the embodiment of the present application It can identify the identity of the user using receiver, and correspond to the volume value of adjustment receiver according to the identity of user.
Fig. 1 is a kind of flow diagram of method for controlling volume provided by the embodiments of the present application, and this method can be by volume Control device executes, and wherein the device can be generally integrated in terminal device, also may be used by software and or hardware realization It is equipped in the equipment of operating system with being integrated in other.As shown in Figure 1, this method includes:
S110, when user uses playback equipment, determine the broadcast unit that uses;Wherein, the playback equipment includes extremely Few two broadcast units.
Wherein, playback equipment can be the equipment for having audio playing function, can be ear speaker device or stereo set etc.. When the user uses playback equipment, when can be that user starts playback equipment;Can also be in playback equipment and audiogenic device Connection is established, and when user uses the playback equipment, determines the broadcast unit that uses.Playback equipment can be built with audiogenic device Vertical connection, and the audio data for receiving audiogenic device output plays out.
The audiogenic device is that can export audio data, and the equipment played out by playback equipment.Audiogenic device Can be terminal device, terminal device can be that smart mobile phone, tablet computer or other electronics with corresponding operating system are set It is standby.Audiogenic device can also be audio data storage device, can be hard disk, USB flash disk (USB flash disk, USB flash drive) Or other storage devices with audio data store function.
The broadcast unit is:The equipment that can be played out for its corresponding user or space.Illustratively, if The playback equipment is sound system, and the broadcast unit can be the speaker included by the sound system.If described broadcast It is earphone to put equipment, and the broadcast unit can be the earphone heads that earphone includes.The playback equipment includes at least two broadcastings Unit, the playback equipment can be directed at least two users, or be played out at least two spaces.
The broadcast unit used be the broadcast unit in use state, can be start after be used by a user broadcast Put unit.Illustratively, if the playback equipment is sound system, sound system includes multiple speakers, and user starts more Several speakers in a speaker can then determine which the broadcast unit used is.It is alternatively possible to by judging to play Whether unit is opened and/or whether the broadcast unit receives audio data to be played whether to determine the broadcast unit In use state.
S111, the identity information for determining the corresponding user of broadcast unit each used.
Wherein, the identity information of the user is to determine that the information of unique gender identity of user can be illustratively logical It crosses and obtains user account and corresponding account number cipher to determine the identity information of user.The side of the identity information of the determining user Formula includes a variety of, can be determined according to practical situations.Due to the uniqueness of the identity information of user, so in determination After the identity information of user, determine whether the corresponding user of each broadcast unit is the same user, and then can be according to body The volume of broadcast unit is adjusted in part information.
The broadcast unit used can also be the broadcast unit being used by a user.It correspondingly, can be by judging to broadcast Whether put unit has the identity information of corresponding user to determine whether the broadcast unit is in use state.Illustratively, If the playback equipment is earphone, the broadcast unit is earphone heads;If the earphone heads are in use state, Yong Huying The earphone heads are worn on ear by this, it is possible to determine that the earphone heads have corresponding identity information;Correspondingly, If the earphone heads do not have corresponding identity information, then it represents that the earphone heads are not worn by the user, then can be determined described Earphone heads are not in use state.
S112, the volume for controlling each broadcast unit respectively according to the corresponding identity information of each broadcast unit.
Wherein, the corresponding identity information of each broadcast unit can determine the user corresponding to each broadcast unit whether be Same person.Because everyone is different to the use habit of the volume of broadcast unit, it is possible to determine broadcast unit Identity information, and determine broadcast unit user be identical user or different users, come respectively to each broadcastings singly The volume of member is controlled.
Optionally, for any two or multiple broadcast units used, if confirmed according to its corresponding identity information For the same user, then the volume of described two or multiple broadcast units can be controlled simultaneously.For any two or multiple make Broadcast unit controls described two or more respectively if being determined as different users according to its corresponding identity information The volume of a broadcast unit.
A kind of method for controlling volume provided in the embodiment of the present application, by the way that when user uses playback equipment, determination makes Broadcast unit;Wherein, the playback equipment includes at least two broadcast units;Determine that the broadcast unit each used corresponds to User identity information;Control the volume of each broadcast unit respectively according to the corresponding identity information of each broadcast unit.It is logical It crosses and uses above-mentioned technical proposal, the volume of broadcast unit can be controlled according to the corresponding identity information of each broadcast unit, it can To meet different demands of the user to the volume control of broadcast unit.
Fig. 2 is the flow diagram of another method for controlling volume provided by the embodiments of the present application, in above-described embodiment institute On the basis of the technical solution of offer, to determining that the operation of the identity information of the corresponding user of broadcast unit each used carries out Optimization, optionally, as shown in Fig. 2, this method includes:
S120, when user uses playback equipment, determine the broadcast unit that uses;Wherein, the playback equipment includes extremely Few two broadcast units.
Specific implementation mode can refer to associated description above, and details are not described herein.
S121, the biological information that corresponding user is obtained by each broadcast unit used, and according to the life Object characteristic information determines the identity information of the user.
Wherein, the biological information of the user includes intrinsic on the body of user, and can be with other users The characteristic information of the physiological distinguished.Optionally, biological information can be the finger print information of user, face information and Iris information etc..
Can be the detection module that the biological information for obtaining user is integrated on the playback equipment, so Use the playback equipment, playback equipment that can directly acquire the biological information of the user using broadcast unit in user, And the identity information of the user is determined according to the biological information.
Optionally, the detection module of the biological information for obtaining user is integrated on each broadcast unit.Show Example property, if the playback equipment is earphone, when user wears earphone, it can acquire user's by the receiver of earphone Biological information, and determine according to the biological information identity information of the user.
Optionally, the heart rate information and/or body temperature information of corresponding user are obtained by each broadcast unit used, and The heart rate information and/or body temperature information are determined as to the identity information of the user.
It, can be with wherein it is possible to be provided with the heart rate acquisition device for acquiring user's heart rate information on broadcast unit It is the body temperature harvester that the body temperature information for acquiring user is provided on broadcast unit.The heart rate information includes that people is every The number of minute heartbeat, since everyone has oneself specific heart rate information, for example, the heart rate information of two people generally will not It is synchronous, it is possible to heart rate information to be determined as to the identity information of user, as the information for being distinguished with other users. The body temperature information can be the temperature of the skin of the user measured, since everyone body temperature is different, so can also Using body temperature information as the identity information of user, so as to as the information for being distinguished with other users.
Optionally, the playback equipment is earphone, and the broadcast unit is the receiver of earphone;Correspondingly, by each Ear information collecting device on the receiver of work acquires the ear recognition information of the user, and according to the ear recognition Information determines the identity information of the user.
Wherein, the playback equipment can be headphone, and headphone includes wear-type line control earphone or wears Formula wireless headset;Wear-type wireless headset includes wear-type bluetooth headset.
The receiver of headphone is the ear close contact being used on earphone with people, and exports the part of audio. The receiver of headphone is generally close with the ear size of people, or the ear more than people size.Headphone Receiver is generally required to be contacted in relatively large area with the ear of people, or needs to wrap in the ear of people, so the broadcasting is set When for being headphone, ear information collecting device can be set in the receiver of the playback equipment, pass through wear-type The ear information collecting device being arranged on earphone acquires the ear recognition information of the user.
People can select the receiver by the headphone to overturn, so that head when using headphone The sound output side of two receivers of headset is outside, and direction is opposite, can simultaneously make there are two user at this time With a headphone.
As shown in figure 3, the side in the receiver of the headphone 20 close to ear is provided with ear information collection Device 22, when user uses headphone, ear information collecting device 22 will be close to the ear of user, and then can adopt Collect the ear recognition information of user.The ear information collecting device 22 can be camera, camera can be 2D cameras, 3D cameras or infrared photography head etc., different cameras can collect the different characteristic images of the ear of user, as Ear recognition information.The set-up mode of specific ear information collecting device, can according to the type of the headphone and Size is determined, and is not limited thereto.
When the playback equipment is headphone, adopted by the ear information collecting device on the headphone Collect the ear recognition information of user, can directly acquire the ear recognition information of user after user puts on headphone, and It is matched with pre-stored ear recognition information, to determine that the identity of the corresponding user of ear recognition information of acquisition is believed Breath, can improve the accuracy and efficiency of the identity information of determining user.
Optionally, the finger print information of user can also be acquired by the headphone, and is believed according to the fingerprint of user Breath determines the identity information of user.When user wears headphone, generally require called by two of headphone with hand Device is broken into two with one's hands, and is sleeved on the head of user and is worn.As shown in figure 3, fingerprint collecting mould can be arranged on headphone 20 Block 21, the finger that the user on the receiver of headphone can be arranged in the finger print acquisition module 21 are easier to the position contacted It sets, the outside of receiver can be provided in, can be the side of the annular peripheral of receiver.As shown in figure 3, user picks up head When headset, the thumb of user generally can be with side contacts outside receiver, can be by the way that fingerprint collecting is arranged on receiver Module 21 acquires the finger print information of user;So as to when user picks up headphone, so that it may directly to acquire the fingerprint of user Information.
S122, the volume for controlling each broadcast unit respectively according to the corresponding identity information of each broadcast unit.
Specific implementation mode can refer to associated description above, and details are not described herein.
The embodiment of the present application obtains the biological information of corresponding user by each broadcast unit used, and according to The biological information determines the identity information of the user, can use playback equipment in user, and single using playing When first, it is directly obtained the biological information of user, and determine that the identity of the user is believed according to the biological information Breath, can improve the efficiency of the identity information of determining user.
Fig. 4 is the flow diagram of another method for controlling volume provided by the embodiments of the present application, in above-mentioned arbitrary implementation It is single to controlling each broadcasting respectively according to the corresponding identity information of each broadcast unit on the basis of the technical solution that example is provided The operation of the volume of member is optimized, optionally, as shown in figure 4, this method includes:
S130, when user uses playback equipment, determine the broadcast unit that uses;Wherein, the playback equipment includes extremely Few two broadcast units.
S131, the identity information for determining the corresponding user of broadcast unit each used.
The specific implementation mode of aforesaid operations can refer to associated description above, and details are not described herein.
S132, broadcast unit group is determined according to the corresponding identity information of broadcast unit;Wherein, each broadcast unit group includes At least one broadcast unit, and the corresponding identity information of at least one broadcast unit all corresponds to the same user.
Wherein, since the broadcast unit in each broadcast unit group corresponds to the same user, so the same broadcasting is single The volume demand of the user of tuple is identical;And different broadcast unit groups is directed to different users, then can control respectively The volume of each broadcasting group.One broadcast unit group may include a broadcast unit, can also be broadcast including two or more Put unit.
Illustratively, as shown in figure 5, playback equipment is the line control earphone connected with terminal device 10, playback equipment includes Two broadcast units are receiver 23 and receiver 24 respectively.User B listens to music using playback equipment, receiver 23 and by Words device 24 is worn by user B, and the identity information of 24 corresponding user of receiver 23 and receiver is user's letter of user B Breath, it is possible to determine that receiver 23 and receiver 24 belong to the same broadcast unit group.Again as shown in fig. 6, user A and user B listens to music using playback equipment simultaneously, and receiver 23 and receiver 24 are worn by user B and user A respectively, correspondingly, by The identity information of words 23 corresponding user of device is the identity information of user B, and the identity information of 24 corresponding user of receiver is to use The identity information of family A;It can be determined that receiver 23 and receiver 24 are belonging respectively to different broadcast unit groups, and then can be with The volume for controlling each receiver respectively, to meet the different demands of user A and user B to volume.
Optionally, correspondingly, single according to playing if the identity information of the user includes heart rate information and body temperature information The corresponding identity information of member determines that broadcast unit group includes:
For any two broadcast unit, if the heart rate error of the corresponding heart rate information of described two broadcast units In heart rate error threshold and the body temperature discrepancy of the corresponding body temperature information of described two broadcast units is in temperature difference threshold It is interior, it is determined that described two broadcast units belong to the same broadcast unit group.
Wherein, the heart rate error of the corresponding heart rate information of two broadcast units, can be described two heart rate informations Frequency error.The heart rate error threshold is the criterion for the heart rate for determining whether same person, can be that system is pre- If.Illustratively, if playback equipment is earphone, the corresponding heart rate information of described two broadcast units is:It surveys respectively The heart rate information of the user left lug areas and auris dextra region that obtain.If it is the same user, then two heart rate informations should be same Step, the heart rate error of two heart rate informations should be in heart rate error threshold.And if the heart rate error of two heart rate informations Have exceeded heart rate error threshold, then it represents that two heart rate informations correspond to different users.
When being determined that the heart rate error of the corresponding heart rate information of two broadcast units is within the scope of heart rate error threshold, into One step judges the body temperature discrepancy of body temperature information whether within the scope of temperature difference threshold, if the body temperature information that two broadcast units measure Error also within the scope of temperature difference threshold, then may further determine that two broadcast units belong to the same broadcasting group.According to the heart Rate information and temperature information can improve judge corresponding user whether be the same user accuracy.
S133, the volume for controlling each broadcast unit group respectively.
Wherein, when controlling the volume of each broadcast unit group, belong to the volume meeting of the broadcast unit of the broadcast unit group It is in synchronized control.
Optionally, the volume control instruction sent according to terminal device controls the volume of each broadcast unit group respectively;Its In, the playback equipment is used for and the terminal device establishes connection, and the audio data of playing terminal equipment output.
Wherein it is possible to be that user inputs volume control instruction by the touch screen or physical button of terminal device, with respectively Control the volume of each broadcast unit group.It is instructed if it is by the touch screen input volume control of the terminal device, then institute It states and shows corresponding volume adjustment UI (user interface, User Interface) operation interface on the touch screen of terminal device. As shown in figure 5, when two receivers of playback equipment belong to the same broadcast unit group, it can touching by terminal device 10 The volume control item 11 on screen is touched to control the volume of two receivers of playback equipment.As shown in fig. 6, and in playback equipment When two receivers are belonging respectively to different broadcast unit groups, the volume control item 11 on the touch screen of terminal device 10 can be passed through The volume for controlling two receivers of playback equipment respectively with volume control item 12, so that user A and user B can be controlled respectively Its receiver used.
The embodiment of the present application according to the corresponding identity information of broadcast unit by determining broadcast unit group;Wherein, Mei Gebo The broadcast unit that unit group includes at least one is put, and the corresponding identity information of at least one broadcast unit is all corresponding same One user, and the volume of each broadcast unit group is controlled respectively, the broadcast unit for different users can be carried out It controls respectively, meets demand of the different user to the volume of broadcast unit, further improve different user to broadcast unit Volume control efficiency.
Fig. 7 is the flow diagram of another method for controlling volume provided by the embodiments of the present application, in above-mentioned arbitrary implementation On the basis of the technical solution that example is provided, it is optimized to controlling the operation of volume of each broadcast unit group respectively, it can Selection of land, as shown in fig. 7, this method includes:
S140, when user uses playback equipment, determine the broadcast unit that uses;Wherein, the playback equipment includes extremely Few two broadcast units.
Wherein, the playback equipment is earphone, and the broadcast unit is the receiver of earphone, is provided on each receiver Corresponding volume adjusting module.
The earphone can be line control earphone or wireless headset, can be headphone, and headphone includes wearing Formula line control earphone or wear-type wireless headset;Wear-type wireless headset includes wear-type bluetooth headset, about earphone and receiver Associated description above can be referred to, details are not described herein.
The volume adjusting module being arranged on the receiver can touch adjustment module or button adjustment module, volume tune The specific implementation mode of section module can be configured according to practical application, be not limited thereto.
S141, the identity information for determining the corresponding user of broadcast unit each used.
S142, broadcast unit group is determined according to the corresponding identity information of broadcast unit;Wherein, each broadcast unit group includes At least one broadcast unit, and the corresponding identity information of at least one broadcast unit all corresponds to the same user.
The specific implementation mode of aforesaid operations can refer to associated description above, and details are not described herein.
If S143, two receivers belong to the same broadcast unit group, according to the corresponding volume tune of any receiver Section module controls the volume of the broadcast unit group;If two receivers are belonging respectively to different broadcast unit groups, basis Each corresponding volume adjusting module of receiver controls the volume of the receiver respectively.
Wherein, if the playback equipment is earphone, with playback equipment can be worn on by user, and can by by The volume adjusting module being arranged on words device directly reconciles corresponding receiver.If it is single that two receivers belong to the same broadcasting Member, then it represents that two receivers are used by the same user, then can pass through the volume adjusting module on any receiver To control the volume of described two receivers.If two receivers are belonging respectively to different broadcast unit groups, then it represents that two Receiver is used by two users respectively, then can be somebody's turn to do respectively according to the volume adjusting module on each receiver to correspond to adjust The volume of receiver.
Illustratively, if the volume adjusting module is to touch adjustment module, the receiver in earphone can be passed through Upper execute presets touch operation to control the volume of corresponding broadcast unit group;If the volume adjusting module is adjusted for button Module then can control the volume of corresponding broadcast unit group by the button on the receiver of touch earphone.If described Volume adjusting module is induction adjustment module, can control correspondence by executing default bridge and operation on the receiver of earphone Broadcast unit group volume.Specifically volume control mode can be determined according to the set-up mode of volume adjusting module, This is not construed as limiting.
If the embodiment of the present application belongs to the same broadcast unit group by two receivers of earphone, according to it is any by The corresponding volume adjusting module of words device controls the volume of the broadcast unit group;If two receivers are belonging respectively to different broadcast Unit group is put, then controls the volume of the receiver respectively according to the corresponding volume adjusting module of each receiver, can use Family directly controls the volume of receiver respectively by the operation on the earphone of wearing, improves the operating efficiency that user adjusts volume.
Fig. 8 is a kind of structure diagram of sound volume control device provided by the embodiments of the present application, which can execute volume Control method, as shown in figure 8, the device includes:
Determining module 210 is played, for when user uses playback equipment, determining the broadcast unit used;Wherein, described Playback equipment includes at least two broadcast units;
Identity determining module 211, the identity information for determining the corresponding user of broadcast unit each used;
Volume control module 212, it is single for controlling each broadcasting respectively according to the corresponding identity information of each broadcast unit The volume of member.
A kind of sound volume control device provided in the embodiment of the present application, by the way that when user uses playback equipment, determination makes Broadcast unit;Wherein, the playback equipment includes at least two broadcast units;Determine that the broadcast unit each used corresponds to User identity information;Control the volume of each broadcast unit respectively according to the corresponding identity information of each broadcast unit.It is logical It crosses and uses above-mentioned technical proposal, the volume of broadcast unit can be controlled according to the corresponding identity information of each broadcast unit, it can To meet different demands of the user to the volume control of broadcast unit.
Optionally, identity determining module is specifically used for:
The biological information of corresponding user is obtained by each broadcast unit used, and according to the biological characteristic Information determines the identity information of the user.
Optionally, identity determining module is specifically used for:
The heart rate information and/or body temperature information of corresponding user are obtained by each broadcast unit used, and will be described Heart rate information and/or body temperature information are determined as the identity information of the user.
Optionally, the playback equipment is earphone, and the broadcast unit is the receiver of earphone;Correspondingly, identity determines Module is specifically used for:
The ear recognition information of the user is acquired by the ear information collecting device on the receiver of each work, and The identity information of the user is determined according to the ear recognition information.
Optionally, volume control module is specifically used for:
Broadcast unit group determining module, for determining broadcast unit group according to the corresponding identity information of broadcast unit;Wherein, Each broadcast unit group includes at least one broadcast unit, and the corresponding identity information of at least one broadcast unit is all The corresponding same user;
Unit group volume control module, the volume for controlling each broadcast unit group respectively.
Optionally, the playback equipment is earphone, and the broadcast unit is the receiver of earphone, is arranged on each receiver There is corresponding volume adjusting module;
Correspondingly, unit group volume control module is specifically used for:
If two receivers belong to the same broadcast unit group, according to the corresponding volume adjusting module of any receiver Control the volume of the broadcast unit group;
If two receivers are belonging respectively to different broadcast unit groups, according to the corresponding volume adjustment of each receiver Module controls the volume of the receiver respectively.
Optionally, unit group volume control module is specifically used for:
The volume control instruction sent according to terminal device controls the volume of each broadcast unit group respectively;Wherein, described Playback equipment is used for and the terminal device establishes connection, and the audio data of playing terminal equipment output.
Optionally, if the identity information of the user includes heart rate information and body temperature information;
Correspondingly, broadcast unit group determining module is specifically used for:
For any two broadcast unit, if the heart rate error of the corresponding heart rate information of described two broadcast units In heart rate error threshold and the body temperature discrepancy of the corresponding body temperature information of described two broadcast units is in temperature difference threshold It is interior, it is determined that described two broadcast units belong to the same broadcast unit group.
A kind of storage medium including computer executable instructions that the embodiment of the present application is provided, computer are executable The volume control operations being not limited to the described above are instructed, the volume control side that the application any embodiment is provided can also be performed Relevant operation in method.
The embodiment of the present application also provides a kind of storage medium including computer executable instructions, and the computer is executable When being executed by computer processor for executing method for controlling volume, this method includes for instruction:
When user uses playback equipment, the broadcast unit used is determined;Wherein, the playback equipment includes at least two Broadcast unit;
Determine the identity information of the corresponding user of broadcast unit each used;
Control the volume of each broadcast unit respectively according to the corresponding identity information of each broadcast unit.
Storage medium --- any various types of memory devices or storage device.Term " storage medium " is intended to wrap It includes:Install medium, such as CD-ROM, floppy disk or magnetic tape equipment;Computer system memory or random access memory, such as DRAM, DDR RAM, SRAM, EDO RAM, blue Bath (Rambus) RAM etc.;Nonvolatile memory, such as flash memory, magnetic medium (such as hard disk or optical storage);The memory component etc. of register or other similar types.Storage medium can further include other Memory of type or combinations thereof.In addition, storage medium can be located at program in the first computer system being wherein performed, Or can be located in different second computer systems, second computer system is connected to the by network (such as internet) One computer system.Second computer system can provide program instruction to the first computer for executing." storage is situated between term Matter " may include may reside in different location two of (such as in different computer systems by network connection) or More storage mediums.Storage medium can store the program instruction that can be executed by one or more processors and (such as implement For computer program).
The embodiment of the present application provides a kind of terminal device, and sound provided by the embodiments of the present application can be integrated in the terminal device Amount control device.
Fig. 9 is a kind of structural schematic diagram of terminal device provided by the embodiments of the present application, and the embodiment of the present application provides one Kind of terminal device 30, including memory 31, processor 32 and are stored in the computer that can be run on memory 31 and in processor Program, the processor realize the method for controlling volume described in above-described embodiment when executing the computer program.The application is real The terminal device for applying example offer, can optimize existing volume control mode.
Figure 10 is a kind of structural schematic diagram of terminal device provided by the embodiments of the present application.As shown in Figure 10, which sets It is standby to may include:Shell (not shown), touch screen (not shown), touch key-press (not shown), memory 301, central processing unit (Central Processing Unit, CPU) 302 (also known as processor, hereinafter referred to as CPU), circuit board (not shown) and power circuit (not shown).The circuit board is placed in the space interior that the shell surrounds;Institute It states CPU302 and the memory 301 is arranged on the circuit board;The power circuit, for being each of the terminal device A circuit or device power supply;The memory 301, for storing executable program code;The CPU302 passes through described in reading The executable program code stored in memory 301 runs computer program corresponding with the executable program code, with Realize following steps:
When user uses playback equipment, the broadcast unit used is determined;Wherein, the playback equipment includes at least two Broadcast unit;
Determine the identity information of the corresponding user of broadcast unit each used;
Control the volume of each broadcast unit respectively according to the corresponding identity information of each broadcast unit.
The terminal device further includes:Peripheral Interface 303, RF (Radio Frequency, radio frequency) circuit 305, audio-frequency electric Road 306, loud speaker 311, power management chip 308, input/output (I/O) subsystem 309, touch screen 312, other input/controls Control equipment 310 and outside port 304, these components are communicated by one or more communication bus or signal wire 307.
It should be understood that graphic terminal 300 is only an example of terminal device, and terminal device 300 Can have than shown in the drawings more or less component, can combine two or more components, or can be with It is configured with different components.Various parts shown in the drawings can be including one or more signal processings and/or special It is realized in the combination of hardware, software or hardware and software including integrated circuit.
Just provided in this embodiment below to be described in detail for realizing the terminal device of volume control, which sets For by taking mobile phone as an example.
Memory 301, the memory 301 can be by access such as CPU302, Peripheral Interfaces 303, and the memory 301 can Can also include nonvolatile memory to include high-speed random access memory, such as one or more disk memory, Flush memory device or other volatile solid-state parts.
The peripheral hardware that outputs and inputs of equipment can be connected to CPU302 and deposited by Peripheral Interface 303, the Peripheral Interface 303 Reservoir 301.
I/O subsystems 309, the I/O subsystems 309 can be by the input/output peripherals in equipment, such as touch screen 312 With other input/control devicess 310, it is connected to Peripheral Interface 303.I/O subsystems 309 may include 3091 He of display controller One or more input controllers 3092 for controlling other input/control devicess 310.Wherein, one or more input controls Device 3092 processed receives electric signal from other input/control devicess 310 or sends electric signal to other input/control devicess 310, Other input/control devicess 310 may include physical button (pressing button, rocker buttons etc.), dial, slide switch, behaviour Vertical pole clicks idler wheel.It is worth noting that input controller 3092 can with it is following any one connect:Keyboard, infrared port, The indicating equipment of USB interface and such as mouse.
Touch screen 312, the touch screen 312 are the input interface and output interface between subscriber terminal equipment and user, Visual output is shown to user, visual output may include figure, text, icon, video etc..
Display controller 3091 in I/O subsystems 309 receives electric signal from touch screen 312 or is sent out to touch screen 312 Electric signals.Touch screen 312 detects the contact on touch screen, and the contact detected is converted to and is shown by display controller 3091 The interaction of user interface object on touch screen 312, that is, realize human-computer interaction, the user interface being shown on touch screen 312 Object can be the icon of running game, be networked to the icon etc. of corresponding network.It is worth noting that equipment can also include light Mouse, light mouse are the extensions for the touch sensitive surface for not showing the touch sensitive surface visually exported, or formed by touch screen.
RF circuits 305 are mainly used for establishing the communication of mobile phone and wireless network (i.e. network side), realize mobile phone and wireless network The data receiver of network and transmission.Such as transmitting-receiving short message, Email etc..Specifically, RF circuits 305 receive and send RF letters Number, RF signals are also referred to as electromagnetic signal, and RF circuits 305 convert electrical signals to electromagnetic signal or electromagnetic signal is converted to telecommunications Number, and communicated with communication network and other equipment by the electromagnetic signal.RF circuits 305 may include for executing The known circuit of these functions comprising but it is not limited to antenna system, RF transceivers, one or more amplifiers, tuner, one A or multiple oscillators, digital signal processor, CODEC (COder-DECoder, coder) chipset, user identifier mould Block (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 306 is mainly used for receiving audio data from Peripheral Interface 303, which is converted to telecommunications Number, and the electric signal is sent to loud speaker 311.
Loud speaker 311, the voice signal for receiving mobile phone from wireless network by RF circuits 305, is reduced to sound And play the sound to user.
Power management chip 308, the hardware for being connected by CPU302, I/O subsystem and Peripheral Interface are powered And power management.
Terminal device provided by the embodiments of the present application can optimize existing volume control mode.
Sound volume control device, storage medium and the terminal device provided in above-described embodiment, which can perform the application, arbitrarily to be implemented The method for controlling volume that example is provided has and executes the corresponding function module of this method and advantageous effect.Not in above-described embodiment In detailed description technical detail, reference can be made to the method for controlling volume that the application any embodiment is provided.
Note that above are only preferred embodiment and the institute's application technology principle of the application.It will be appreciated by those skilled in the art that The application is not limited to specific embodiment described here, can carry out for a person skilled in the art it is various it is apparent variation, The protection domain readjusted and substituted without departing from the application.Therefore, although being carried out to the application by above example It is described in further detail, but the application is not limited only to above example, in the case where not departing from the application design, also May include other more equivalent embodiments, and scope of the present application is determined by scope of the appended claims.

Claims (11)

1. a kind of method for controlling volume, which is characterized in that including:
When user uses playback equipment, the broadcast unit used is determined;Wherein, the playback equipment includes at least two broadcastings Unit;
Determine the identity information of the corresponding user of broadcast unit each used;
Control the volume of each broadcast unit respectively according to the corresponding identity information of each broadcast unit.
2. the method as described in claim 1, which is characterized in that determine the identity of the corresponding user of broadcast unit each used Information includes:
The biological information of corresponding user is obtained by each broadcast unit used, and according to the biological information Determine the identity information of the user.
3. method as claimed in claim 2, which is characterized in that obtain corresponding user's by each broadcast unit used Biological information, and determine according to the biological information identity information of the user, including:
Obtain the heart rate information and/or body temperature information of corresponding user by each broadcast unit used, and by the heart rate Information and/or body temperature information are determined as the identity information of the user.
4. method as claimed in claim 2, which is characterized in that the playback equipment is earphone, and the broadcast unit is earphone Receiver;Correspondingly, the biological information of corresponding user is obtained by each broadcast unit used, and according to described Biological information determines the identity information of the user, including:
Acquire the ear recognition information of the user by the ear information collecting device on the receiver of each work, and according to The ear recognition information determines the identity information of the user.
5. such as Claims 1-4 any one of them method, which is characterized in that believed according to the corresponding identity of each broadcast unit Breath controls the volume of each broadcast unit respectively:
Broadcast unit group is determined according to the corresponding identity information of broadcast unit;Wherein, each broadcast unit group includes at least one Broadcast unit, and the corresponding identity information of at least one broadcast unit all corresponds to the same user;
The volume of each broadcast unit group is controlled respectively.
6. method as claimed in claim 5, which is characterized in that the playback equipment is earphone, and the broadcast unit is earphone Receiver, be provided with corresponding volume adjusting module on each receiver;
Correspondingly, the volume for controlling each broadcast unit group respectively includes:
If two receivers belong to the same broadcast unit group, controlled according to the corresponding volume adjusting module of any receiver The volume of the broadcast unit group;
If two receivers are belonging respectively to different broadcast unit groups, according to the corresponding volume adjusting module of each receiver The volume of the receiver is controlled respectively.
7. method as claimed in claim 5, which is characterized in that the volume for controlling each broadcast unit group respectively includes:
The volume control instruction sent according to terminal device controls the volume of each broadcast unit group respectively;Wherein, the broadcasting Equipment is used for and the terminal device establishes connection, and the audio data of playing terminal equipment output.
8. method as claimed in claim 5, which is characterized in that if the identity information of the user includes heart rate information and body Warm information correspondingly determines that broadcast unit group includes according to the corresponding identity information of broadcast unit:
For any two broadcast unit, if the heart rate error of the corresponding heart rate information of described two broadcast units is in the heart In rate error threshold and the body temperature discrepancy of the corresponding body temperature information of described two broadcast units is in temperature difference threshold, then Determine that described two broadcast units belong to the same broadcast unit group.
9. a kind of sound volume control device, which is characterized in that including:
Determining module is played, for when user uses playback equipment, determining the broadcast unit used;Wherein, the broadcasting is set Standby includes at least two broadcast units;
Identity determining module, the identity information for determining the corresponding user of broadcast unit each used;
Volume control module, the sound for controlling each broadcast unit respectively according to the corresponding identity information of each broadcast unit Amount.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor The method for controlling volume as described in any one of claim 1-8 is realized when execution.
11. a kind of terminal device, which is characterized in that including memory, processor and storage are on a memory and can be in processor The computer program of operation, which is characterized in that the processor realizes that claim 1-8 such as appoints when executing the computer program Method for controlling volume described in one.
CN201810668128.3A 2018-06-26 2018-06-26 Volume control method and device, storage medium and terminal equipment Active CN108632713B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810668128.3A CN108632713B (en) 2018-06-26 2018-06-26 Volume control method and device, storage medium and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810668128.3A CN108632713B (en) 2018-06-26 2018-06-26 Volume control method and device, storage medium and terminal equipment

Publications (2)

Publication Number Publication Date
CN108632713A true CN108632713A (en) 2018-10-09
CN108632713B CN108632713B (en) 2020-06-09

Family

ID=63688267

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810668128.3A Active CN108632713B (en) 2018-06-26 2018-06-26 Volume control method and device, storage medium and terminal equipment

Country Status (1)

Country Link
CN (1) CN108632713B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110213682A (en) * 2019-06-27 2019-09-06 温州众智科技有限公司 A kind of intelligent sound
CN110324742A (en) * 2019-07-01 2019-10-11 Oppo广东移动通信有限公司 Control method, earphone and storage medium

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020064118A (en) * 2001-02-01 2002-08-07 엘지이노텍 주식회사 Ear phone capable of hearing at the same time
US6600826B1 (en) * 2001-07-06 2003-07-29 Elius A. Xavier Modularly expandible, multi-user audio headphone
CN101547387A (en) * 2008-03-26 2009-09-30 鸿富锦精密工业(深圳)有限公司 Earphone and audio display system using same
CN104159173A (en) * 2014-08-27 2014-11-19 宇龙计算机通信科技(深圳)有限公司 Earphone, earphone application method, earphone control method and device as well as mobile terminal
CN104581510A (en) * 2015-01-22 2015-04-29 广东欧珀移动通信有限公司 Volume setting method and device for loudspeaker box
CN105050002A (en) * 2015-08-05 2015-11-11 惠州Tcl移动通信有限公司 Method and system for playing multimedia of intelligent terminal
CN105704602A (en) * 2016-01-29 2016-06-22 宇龙计算机通信科技(深圳)有限公司 Intelligent configuration method, device and earphone
CN105812980A (en) * 2016-04-21 2016-07-27 歌尔声学股份有限公司 Earphone
US9456265B2 (en) * 2013-09-05 2016-09-27 Lg Electronics Inc. Electronic device and control method thereof
CN106131723A (en) * 2016-04-28 2016-11-16 上海斐讯数据通信技术有限公司 The control method of a kind of earphone, control device and earphone
CN106416290A (en) * 2014-03-07 2017-02-15 美国思睿逻辑有限公司 Systems and methods for enhancing performance of audio transducer based on detection of transducer status
CN107728924A (en) * 2017-10-24 2018-02-23 柴雪 A kind of audio amplifier grouping method and device
CN108111670A (en) * 2017-11-28 2018-06-01 湖南海翼电子商务股份有限公司 Automatically adjust the method, apparatus and bluetooth headset of bluetooth headset volume

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020064118A (en) * 2001-02-01 2002-08-07 엘지이노텍 주식회사 Ear phone capable of hearing at the same time
US6600826B1 (en) * 2001-07-06 2003-07-29 Elius A. Xavier Modularly expandible, multi-user audio headphone
CN101547387A (en) * 2008-03-26 2009-09-30 鸿富锦精密工业(深圳)有限公司 Earphone and audio display system using same
US9456265B2 (en) * 2013-09-05 2016-09-27 Lg Electronics Inc. Electronic device and control method thereof
CN106416290A (en) * 2014-03-07 2017-02-15 美国思睿逻辑有限公司 Systems and methods for enhancing performance of audio transducer based on detection of transducer status
CN104159173A (en) * 2014-08-27 2014-11-19 宇龙计算机通信科技(深圳)有限公司 Earphone, earphone application method, earphone control method and device as well as mobile terminal
CN104581510A (en) * 2015-01-22 2015-04-29 广东欧珀移动通信有限公司 Volume setting method and device for loudspeaker box
CN105050002A (en) * 2015-08-05 2015-11-11 惠州Tcl移动通信有限公司 Method and system for playing multimedia of intelligent terminal
CN105704602A (en) * 2016-01-29 2016-06-22 宇龙计算机通信科技(深圳)有限公司 Intelligent configuration method, device and earphone
CN105812980A (en) * 2016-04-21 2016-07-27 歌尔声学股份有限公司 Earphone
CN106131723A (en) * 2016-04-28 2016-11-16 上海斐讯数据通信技术有限公司 The control method of a kind of earphone, control device and earphone
CN107728924A (en) * 2017-10-24 2018-02-23 柴雪 A kind of audio amplifier grouping method and device
CN108111670A (en) * 2017-11-28 2018-06-01 湖南海翼电子商务股份有限公司 Automatically adjust the method, apparatus and bluetooth headset of bluetooth headset volume

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110213682A (en) * 2019-06-27 2019-09-06 温州众智科技有限公司 A kind of intelligent sound
CN110324742A (en) * 2019-07-01 2019-10-11 Oppo广东移动通信有限公司 Control method, earphone and storage medium

Also Published As

Publication number Publication date
CN108632713B (en) 2020-06-09

Similar Documents

Publication Publication Date Title
US9699544B2 (en) Terminal and control method thereof
CN106303029B (en) A kind of method of controlling rotation of picture, device and mobile terminal
CN108966080A (en) volume adjusting method, device, storage medium and terminal device
EP3547706B1 (en) Method and device for switching play modes of wireless speaker, and wireless speaker
CN107040660A (en) Control method, device and the mobile terminal of mobile terminal playing volume
CN109218535A (en) Intelligence adjusts method, apparatus, storage medium and the terminal of volume
CN108966067A (en) Control method for playing back and Related product
CN106686519B (en) The method, apparatus and terminal of the stereo pairing of audio-frequence player device
CN109067965B (en) Translation method, translation device, wearable device and storage medium
WO2018000764A1 (en) Method and device for automatic audio channel matching, and headphone
CN108541080A (en) First electronic equipment and the second electronic equipment carry out the method and Related product of Hui Lian
CN106878915B (en) Control method, device and the playback equipment and mobile terminal of playback equipment
CN108769850A (en) Apparatus control method and Related product
CN108777827A (en) Wireless headset, method for regulation of sound volume and Related product
WO2020220180A1 (en) Media content recommendation method and device
CN109254752B (en) 3D sound effect processing method and related product
CN108923810A (en) Interpretation method and relevant device
CN107526569B (en) A kind of volume adjusting method, device, storage medium and mobile terminal
CN108632713A (en) Method for controlling volume, device, storage medium and terminal device
CN114077414A (en) Audio playing control method and device, electronic equipment and storage medium
CN108670275A (en) Signal processing method and related product
CN108491780A (en) Image landscaping treatment method, apparatus, storage medium and terminal device
CN108234738A (en) volume adjusting method, device, terminal and storage medium
CN109977256A (en) Song recommendations method and device, electronic equipment, machine readable storage medium
CN108882112B (en) Audio playing control method and device, storage medium and terminal equipment

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