CN108882112A - Audio play control method, device, storage medium and terminal device - Google Patents
Audio play control method, device, storage medium and terminal device Download PDFInfo
- Publication number
- CN108882112A CN108882112A CN201810669660.7A CN201810669660A CN108882112A CN 108882112 A CN108882112 A CN 108882112A CN 201810669660 A CN201810669660 A CN 201810669660A CN 108882112 A CN108882112 A CN 108882112A
- Authority
- CN
- China
- Prior art keywords
- user
- broadcast unit
- information
- audio
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R3/00—Circuits for transducers, loudspeakers or microphones
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R2420/00—Details of connection covered by H04R, not provided for in its groups
- H04R2420/05—Detection of connection of loudspeakers or headphones to amplifiers
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Circuit For Audible Band Transducer (AREA)
- Stereophonic System (AREA)
Abstract
A kind of audio play control method, device, storage medium and the terminal device provided in the embodiment of the present application, the user information that this method passes through the corresponding user of broadcast unit of identification playback equipment;Wherein, the playback equipment includes at least two broadcast units;The broadcast unit used is determined according to the user information;The audio data that each broadcast unit used is played is controlled respectively according to the user information.The audio data that each broadcast unit is played is determined the case where being used by a user according to the broadcast unit of playback equipment by using above-mentioned technical proposal, so that the audio data that broadcast unit plays more meets the behaviour in service of user.
Description
Technical field
The invention relates to terminal device technical field more particularly to a kind of audio play control method, device, deposit
Storage media and terminal device.
Background technique
Playback equipment is the equipment for playing various audios, can be the equipment for playing music or plays setting for broadcast
Standby, with the development of playback equipment technology, the type of playback equipment is also more and more, including speaker, earphone and play system etc..
Playback equipment generally comprises one or more loudspeakers as broadcast unit, if playback equipment includes multiple loudspeakers, and
The audio of corresponding output also has corresponding different channel datas, so that the sound that multiple loudspeakers play back is with more true
Sense, but the audio broadcast mode Shortcomings of existing playback equipment, need to be optimized.
Summary of the invention
A kind of audio play control method, device, storage medium and terminal device provided by the embodiments of the present application, can be right
Existing audio broadcast mode optimizes.
In a first aspect, the embodiment of the present application provides a kind of audio play control method, including:
Identify the user information of the corresponding user of broadcast unit of playback equipment;Wherein, the playback equipment includes extremely
Few two broadcast units;
The broadcast unit used is determined according to the user information;
The audio data that each broadcast unit used is played is controlled respectively according to the user information.
Second aspect, the embodiment of the present application provide a kind of audio broadcast control device, including:
Information identification module, for identification user information of the corresponding user of the broadcast unit of playback equipment;Wherein, institute
Stating playback equipment includes at least two broadcast units;
Broadcast unit determining module, for determining the broadcast unit used according to the user information;
Audio frequency control module, for controlling what each broadcast unit used was played respectively according to the user information
Audio data.
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 audio play control method 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 audio play control method described in example.
A kind of audio provided in the embodiment of the present application plays control program, by the broadcast unit pair for identifying playback equipment
The user information of the user answered;Wherein, the playback equipment includes at least two broadcast units;It is true according to the user information
The fixed broadcast unit used;The audio number that each broadcast unit used is played is controlled respectively according to the user information
According to.By using above-mentioned technical proposal, the case where being used by a user according to the broadcast unit of playback equipment, determination is each broadcast
The audio data that unit is played is put, so that the audio data that broadcast unit plays more meets the behaviour in service of user.
Detailed description of the invention
Fig. 1 is a kind of flow diagram of audio play control method provided by the embodiments of the present application;
Fig. 2 is the flow diagram of another audio play control method provided by the embodiments of the present application;
Fig. 3 is a kind of schematic diagram of a scenario of audio play control method provided by the embodiments of the present application;
Fig. 4 is the flow diagram of another audio play control method provided by the embodiments of the present application;
Fig. 5 is the schematic diagram of a scenario of another audio play control method provided by the embodiments of the present application;
Fig. 6 is the schematic diagram of a scenario of another audio play control method provided by the embodiments of the present application;
Fig. 7 is the flow diagram of another audio play control method provided by the embodiments of the present application;
Fig. 8 is the flow diagram of another audio play control method provided by the embodiments of the present application;
Fig. 9 is the schematic diagram of a scenario of another audio play control method provided by the embodiments of the present application;
Figure 10 is a kind of structural block diagram of audio broadcast control device provided by the embodiments of the present application;
Figure 11 is a kind of structural schematic diagram of terminal device provided by the embodiments of the present application;
Figure 12 is the structural schematic diagram of another terminal device provided by the embodiments of the present application.
Specific embodiment
Further illustrate the technical solution of the application below with reference to the accompanying drawings and specific embodiments.It is understood 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
, part relevant to the application is illustrated only for ease of description, in attached drawing 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 or method described as flow chart.Although each step is described as the processing of sequence by flow chart, many of these
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 have 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 earphone or broadcasting sound equipment, and user is when using playback equipment, in order to there is user more preferably
Audio experience, the sound that the different broadcast units of playback equipment are exported is different.Such as earphone includes two called
Device, two receivers export left channel audio and right audio channel respectively, and user can be different by audio that left and right ear is heard,
Obtain more three-dimensional auditory perception.But if when user is only capable of listening to audio using a receiver, only due to the receiver
Can export left channel audio or right audio channel, the audio that user may hear be it is incomplete, the application can be according to broadcasting
The corresponding user of the broadcast unit of equipment adjusts the audio of broadcast unit output.
Fig. 1 is a kind of flow diagram of audio play control method provided by the embodiments of the present application, and this method can be by
Audio broadcast control device executes, and wherein the device can generally be can integrate by software and or hardware realization in terminal device
In, also it can integrate in the equipment that other are equipped with operating system.As shown in Figure 1, this method includes:
S110, identify playback equipment the corresponding user of broadcast unit user information;Wherein, the playback equipment packet
Include at least two broadcast units.
Wherein, playback equipment can be the equipment with audio playing function, can be ear speaker device or stereo set etc..
Optionally, when user uses playback equipment, the user information of the corresponding user of the broadcast unit of playback equipment is identified.Institute
User is stated when using playback equipment, when can be user's starting playback equipment, is also possible in playback equipment and source of sound
Equipment establishes connection, and when user uses the playback equipment.
Playback equipment can establish connection with audiogenic device, 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 end
End equipment, terminal device can be smart phone, tablet computer or other electronic equipments with corresponding operating system.Source of sound is set
It is standby to be also possible to audio data storage device, can be hard disk, USB flash disk (USB flash disk, USB flash drive) or other have
The storage equipment of audio data store function.
The broadcast unit is:The equipment that can be played out for its corresponding user or space.Illustratively, such as
Playback equipment described in fruit is sound system, and the broadcast unit can be speaker included by the sound system.If described
Playback equipment is earphone, and the broadcast unit can be the earphone heads that earphone includes.The playback equipment is broadcast including at least two
Unit is put, the playback equipment can be directed at least two users, or play out at least two spaces.
The user information of the user is to operate the use information of the user of broadcast unit, including the broadcasting
Whether unit has the interactive information of corresponding user and/or the user and broadcast unit.The interactive information may include
The relative position of broadcast unit and user.Illustratively, it can be and the broadcast unit detected by infrared detecting device
The infrared data of ambient enviroment, with the corresponding user of the determination broadcast unit and the user and broadcast unit
Interactive information.The Infrared Image Information of user can be determined by infrared detecting device, and determines the position of user, with true
Determine broadcast unit and the relative position of user.
S111, the broadcast unit used is determined according to the user information.
Wherein, the broadcast unit used is the broadcast unit in use state, be can be after starting by user
The broadcast unit used.Illustratively, if the playback equipment is earphone, if user has worn two receivers,
Two receivers are the broadcast unit used;If user has only worn a receiver, a receiver is quilt
The broadcast unit used.
It can determine whether the broadcast unit is used according to the user information of the corresponding user of broadcast unit;If
Broadcast unit has the user information of corresponding user, then it represents that the broadcast unit is used by user, if broadcast unit
There is no the user information of corresponding user, then it represents that the broadcast unit is not used.
Illustratively, if the playback equipment is sound system, sound system includes multiple speakers, and user starts
Several speakers in multiple speakers can then determine which the broadcast unit used is.It illustratively, can be by broadcasting
It puts and fingerprint identification module is set in the start button of unit, when user touches start button, obtained by fingerprint identification module
The finger print information of user is taken to determine the broadcast unit used.It optionally, can also be by judging whether broadcast unit is opened
It opens and/or whether the broadcast unit receives audio data to be played to determine whether the broadcast unit is in using shape
State.
S112, the audio data that each broadcast unit used is played is controlled according to the user information respectively.
Wherein, it can determine whether the broadcast unit has corresponding user according to the user information of the user.
The broadcast unit of one playback equipment, it is understood that there may be the broadcast unit having has corresponding user, some broadcast units are not right
The user answered.
The audio data that the broadcast unit is played is:The audio data obtained from audiogenic device.It is exemplary, if institute
The receiver that broadcast unit is earphone is stated, the audio data is the music file in smart phone, then corresponds to each receiver
There are left channel audio data and right audio channel data respectively.If the broadcast unit is multiple speakers in sound system,
Sound system obtains the channel audio data for being directed to each speaker, so that multiple speakers can export multichannel sterego, each
Speaker exports corresponding channel audio data.
The case where broadcast unit used in each playback equipment, is different, and user is for the broadcast unit that uses
The demand of the audio data of output is also different.Illustratively, if the playback equipment of the playback equipment only one,
User for the audio data of the receiver used demand be complete audio data, if it is described use it is called
Device only exports the channel audio data of its script output, and user possibly can not hear complete audio-frequency information, there is many audios
Information loss.Illustratively, if the playback equipment is earphone, user only wears one of receiver and listens to audio
When, since the receiver can only export left channel audio or right audio channel, the audio that user hears is incomplete.So
Need to adjust the audio data of the receiver worn, so that user can hear complete audio-frequency information.
By controlling the audio data that each broadcast unit used is played respectively according to the user information, i.e., really
User information corresponding to fixed each broadcast unit used, the true and corresponding audio data of the user information can make to play
The audio for the broadcast unit output of equipment used more meets the demand of user.
It is alternatively possible to control each broadcast unit used respectively according to the quantity of the broadcast unit used
The audio data played.Can according to the broadcast unit used in user, redefine each broadcast unit correspond to it is defeated
Channel audio data out, so that the broadcast unit used can export the more complete audio data of audio-frequency information.
A kind of audio play control method provided in the embodiment of the present application, by the broadcast unit pair for identifying playback equipment
The user information of the user answered;Wherein, the playback equipment includes at least two broadcast units;It is true according to the user information
The fixed broadcast unit used;The audio number that each broadcast unit used is played is controlled respectively according to the user information
According to.By using above-mentioned technical proposal, the case where being used according to the broadcast unit of playback equipment by user, determine each
The audio data that broadcast unit is played, so that the audio data that broadcast unit plays more meets the behaviour in service of user.
Fig. 2 is the flow diagram of another audio play control method provided by the embodiments of the present application, in above-mentioned implementation
On the basis of technical solution provided by example, to the behaviour of the user information of the corresponding user of broadcast unit of identification playback equipment
It is optimized, optionally, as shown in Fig. 2, this method includes:
S120, the biological information that corresponding user is obtained by the broadcast unit of playback equipment, and according to described
Biological information determines the user information of the user;Wherein, the playback equipment includes at least two broadcast units.
Wherein, the biological information of the user includes intrinsic on the body of user, and can be with other
The characteristic information for the physiological that user distinguishes.Optionally, biological information can be the finger print information of user, people
Face information and iris information etc..Biological information can determine the information of the uniqueness identity of user.
It can be and be integrated with the detection module of the biological information for obtaining user on the playback equipment, institute
To use the playback equipment in user, playback equipment can directly acquire the biological characteristic of the user using broadcast unit
Information, and determine according to the biological information user information of the user.
Due to the specific information that biological information is user, so if a broadcast unit has corresponding user
Biological information, then can determine that the broadcast unit has corresponding user.And the biological characteristic can be passed through
Information determines broadcast unit and the interactive information of user, the position of user can be determined according to biological information, in turn
Interactive information can be determined according to the position of user.It illustratively, can if the biological information is face information
To determine the position of user by face information, and then it can determine broadcast unit and the interactive information of user.
Optionally, the detection module of the biological information for obtaining user is integrated on each broadcast unit.
Illustratively, if the playback equipment is earphone, when user wears earphone, can be acquired by the receiver of earphone makes
The biological information of user, and determine according to the biological information user information of the user.
Biological information is operating the use information of the user of broadcast unit in addition to that can determine, can also determine
The information of the uniqueness identity of user.
Optionally, the heart rate information and/or body temperature information of corresponding user are obtained by the broadcast unit of playback equipment,
And the user information of the user is determined according to the heart rate information and/or body temperature information.
Wherein it is possible to be provided with the heart rate acquisition device for acquiring user's heart rate information on broadcast unit, may be used also
To be the body temperature acquisition device being provided on broadcast unit for acquiring the body temperature information of user.The heart rate information includes
The number of people's heartbeat per minute, since everyone has oneself specific heart rate information, for example, the heart rate information of two people is general
It will not synchronize, it is possible to heart rate information be determined as to the user information of user, as carrying out area with other users
The information divided.The body temperature information can be the temperature of the skin of the user measured, since everyone body temperature is different,
So can also can be determined and be broadcast according to heart rate information and/or body temperature information using body temperature information as the user information of user
Putting equipment has corresponding user.Heart rate information and/or body temperature information are also used as distinguishing with other users
Information.
Optionally, the playback equipment is earphone, and the broadcast unit is the receiver of earphone;Correspondingly, by called
Ear information collecting device on device acquires the ear recognition information of the user, and is determined according to the ear recognition information
The user 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 be earphone on for
The ear close contact of people, and export the part of audio.The receiver of headphone is generally close with the ear size of people,
Or the size of the ear greater than people.The receiver of headphone is generally required to be contacted in relatively large area with the ear of people, or
It needs to wrap in the ear of people, so when the playback equipment is headphone, it can be in the called of the playback equipment
Ear information collecting device is set in device, the user is acquired by the ear information collecting device being arranged on headphone
Ear recognition information.
People can choose when using headphone and overturn the receiver of the headphone, so that head
The sound output side of two receivers of headset is outside, and direction is opposite, at this time can there are two users simultaneously
Use 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, Jin Erke
To acquire the ear recognition information of user.The ear information collecting device 22 can be camera, and camera can be 2D
Camera, 3D camera or infrared photography head etc., different cameras can collect the different features of the ear of user
Image, as ear recognition information.The set-up mode of specific ear information collecting device, can be according to the headphone
Type and size be determined, be 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 of user after user puts on headphone
Information can determine that the receiver has corresponding user, and can be according to ear if ear recognition information can be collected
Shape determines the position of user, and then determines the interactive information of the headphone and user.Furthermore it is also possible to by institute
It states ear recognition information to be matched with pre-stored ear recognition information, the ear recognition information to determine acquisition is corresponding
User's information of user.
Optionally, the finger print information of user can also be acquired by the headphone, and according to the finger of user
Line information determines user's information of user.When user wears headphone, generally require headphone with hand
Two receivers break into two with one's hands, and cover and worn on the head of user.As shown in figure 3, can be set on headphone 20
Finger print acquisition module 21 is set, the finger of the user on the receiver of headphone can be set in the finger print acquisition module 21
It is easier to the position of contact, the outside that receiver is set is can be, can be the side of the annular peripheral of receiver.Such as Fig. 3
Shown, when user picks up headphone, the thumb of user generally can pass through setting with side contacts outside receiver
Finger print acquisition module 21 acquires the finger print information of user on receiver;So as to when user picks up headphone, just
The finger print information of user can directly be acquired.
S121, the broadcast unit used is determined according to the user information.
S122, the audio data that each broadcast unit used is played is controlled according to the user information respectively.
The specific embodiment of aforesaid operations 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, and root by the broadcast unit of playback equipment
The user information of the user is determined according to the biological information, can use playback equipment in user, and use
When broadcast unit, it is directly obtained the biological information of user, and the use is determined according to the biological information
The efficiency of determining user information can be improved in the user information of person
Fig. 4 is the flow diagram of another audio play control method provided by the embodiments of the present application, in above-mentioned implementation
On the basis of technical solution provided by example, optionally, as shown in figure 4, this method includes:
S130, the biological information that corresponding user is obtained by the broadcast unit of playback equipment, and according to described
Biological information determines the user information of the user;Wherein, the playback equipment includes at least two broadcast units.
S131, the broadcast unit used is determined according to the user information.
The specific embodiment of aforesaid operations can refer to associated description above, and details are not described herein.
S132, the identity information that the user is determined according to the biological information.
It wherein, include that can determine that user's is unique in the identity information of the user according to determined by biological information
The information of property identity.According to the identity information of user can with the broadcast unit of playback equipment described further used pair
Whether the user answered is a people.
Illustratively, if the playback equipment is earphone, if two receivers have the user of corresponding user
Information, but the corresponding user of possible two receivers may not be the same person, if two receivers respectively correspond two
A user, i.e., each user use a receiver, and correspondingly, each receiver should export complete audio data,
Export the mixed audio data of left and right acoustic channels.And if the corresponding user of two receivers is same people, it can make
Two receivers export corresponding left channel audio data and right audio channel data respectively.Believed according to the identity of the user
Breath further determines that whether the corresponding user of described two receivers used is the same person.
S133, broadcast unit group is determined according to the corresponding identity information of broadcast unit;Wherein, each broadcast unit group includes
The broadcast unit of at least one, and at least one the corresponding identity information of 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
The volume demand of the user of unit group is identical;And different broadcast unit groups is directed to different users, then can divide
The volume of each broadcasting group is not controlled.One broadcast unit group may include a broadcast unit, also may include two or
Multiple broadcast units.
Illustratively, as shown in Figure 5 and Figure 6, playback equipment is the line control earphone connected with terminal device 10, playback equipment
It is receiver 23 and receiver 24 respectively including two broadcast units.As shown in figure 5, user B listens to sound using playback equipment
Happy, receiver 23 and receiver 24 are worn by user B, the identity information of receiver 23 and the corresponding user of receiver 24
It is the identity information of user B, it is possible to determine that receiver 23 and receiver 24 belong to the same broadcast unit group, it is described
Two receivers of broadcast unit group can play corresponding left channel audio data and right audio channel data respectively.
As shown in fig. 6, user A and user B listens to music, receiver 23 and receiver 24 using playback equipment simultaneously
It is worn respectively by user B and user A, correspondingly, the identity information of the corresponding user of receiver 23 is the body of user B
Part information, the identity information of the corresponding user of receiver 24 is the identity information of user A;It can be determined that receiver 23
It is belonging respectively to different broadcast unit groups with receiver 24, and then can determine the broadcast unit institute of the broadcast unit group respectively
The audio data of broadcasting, so that user A and user B can hear more accurate audio data.
S134, for each broadcast unit group, determine the user of the wherein corresponding user of broadcast unit of playback equipment
Information, and the audio data that the broadcast unit of the broadcast unit group is played is determined according to the user information.
Each broadcasting group corresponds to the same user, so determining the broadcast unit according to the user information of the user
The audio data that the broadcast unit of group is played.If the broadcast unit group includes two for respectively corresponding the same user
Two receivers of ear can then determine that described two receivers export left and right acoustic channels audio data respectively;If described broadcast
Putting unit group includes three speakers in a sound system, the corresponding user of three speakers, can be by described
Three speakers export multichannel audb datas so that the broadcast unit group can play it is stereo.
The embodiment of the present application is by determining broadcast unit group according to the corresponding identity information of broadcast unit, for each broadcasting
Unit group determines the user information of the wherein corresponding user of broadcast unit of playback equipment, and true according to the user information
The audio data that the broadcast unit of the fixed broadcast unit group is played can be controlled separately the broadcasting of corresponding different user
The audio data that unit group is played can be further improved the accuracy of the audio data of broadcast unit output, and more meeting makes
The behaviour in service of user.
Fig. 7 is the flow diagram of another audio play control method provided by the embodiments of the present application, above-mentioned any
On the basis of technical solution provided by embodiment, each broadcast unit used is controlled respectively to according to the user information
The operation of the audio data played is optimized, optionally, as shown in fig. 7, this method includes:
S140, identify playback equipment the corresponding user of broadcast unit user information;Wherein, the playback equipment packet
Include at least two broadcast units.
S141, the broadcast unit used is determined according to the user information.
The specific embodiment of aforesaid operations can refer to associated description above, and details are not described herein.
S142, each broadcast unit used position opposite with corresponding user's is determined according to the user information
It sets.
S143, the depending on that relative position quantity with the broadcast unit used, control each used respectively
The audio data that is played of broadcast unit.
Wherein, the relative position is the relative position of the broadcast unit and the ear of corresponding user.Have
Audio data has corresponding audio data for different ears, so that user can hear the audio of true stereo.
The user information includes whether the broadcast unit has corresponding user and/or the user and broadcasting
The interactive information of unit, the interactive information may include broadcast unit and the relative position of user, can be according to the user
Information determines the relative position of the broadcast unit and corresponding user.
Illustratively, if the playback equipment is earphone, on the left of general earphone can all mark on two receivers
Using the mark used with right side, such as " R " and " L " obtains better sense of hearing sense so that user can accurately wear earphone
By.But the receiver full symmetric for some shapes, user are difficult directly to judge left and right, user is negligent of according to mark
Go accurately to wear, may finally Toshiba's left channel audio data can be listened in auris dextra, right audio channel data can be listened in left ear.
So can determine the relative position of the broadcast unit and user that are used according to user information, and then can be with
Depending on that relative position and the quantity of broadcast unit that is used, the audio number of each broadcast unit used is controlled respectively
According to.Illustratively, if it is determined that should be positioned at user in the relative position for the receiver and user that auris dextra uses
Left side, then the audio data of the output of the receiver can be adjusted to left channel audio data.
Optionally, as shown in figure 8, the quantity with the broadcast unit used depending on that relative position, is controlled respectively
Making the audio data that each broadcast unit used is played can also be implemented by following manner:
S144, the quantity that sound channel is determined according to the quantity of the broadcast unit used;Wherein, each broadcast unit pair
Answer a sound channel.
Wherein, sound channel refer to when generating audio data, for different use space or use sound determined by position
Sound data, an audio data may include a sound channel, or the sound channel including two or more.Illustratively, such as carpostrote
Putting equipment is sound system, and the broadcast unit used includes the speaker of three or more, and each speaker has corresponding sound
Road, each sound channel can also export preset corresponding channel audio data, so that the audio that user exports according to multiple speakers,
Experience better audio experience.
But for the sound system for having more speaker, user may not use whole speakers, and it is used only
In several speakers, if carrying out output audio according to preset channel audio data, may cause user can not hear
Complete audio-frequency information.So needing to determine the quantity of sound channel according to the quantity of the broadcast unit used.Illustratively,
Sound system includes ten speakers, and wherein 5 speakers are only used only in user, then needs according to the speaker used come again true
Surely the audio data played.
S145, the corresponding audio track data of each sound channel are determined according to the quantity and the relative position, and will be every
The audio track data of a sound channel are sent to corresponding broadcast unit and play out.
According to the quantity of the sound channel and the relative position of each broadcast unit and user, can redefine every
The corresponding audio track data of a sound channel.Illustratively, if 5 speakers used in the sound system by user, five
The corresponding audio track data of a speaker are:Corresponding five sound channels and the relative position for each sound channel and user
The audio track data redefined.
Optionally, if the quantity of the broadcast unit used is one, correspondingly, the broadcast unit pair is determined
The audio track data for the sound channel answered are mixing audio data, and the mixing audio data is sent to the broadcasting used
Unit plays out.
Wherein, the mixing audio data is monaural audio data, be can be two or more channel audio data
The mixing audio data generated after being mixed.Illustratively, as shown in figure 9, user B listens to music using playback equipment,
Receiver 23 is used only in user B, then can determine that the audio track data of the corresponding sound channel of receiver 23 are mixed audio number
According to so that user B can only pass through the 23 energy more complete audio-frequency information of uppick of receiver.
The embodiment of the present application is by determining that each broadcast unit used is used with corresponding according to the user information
The relative position of person controls each used depending on that relative position with the quantity of the broadcast unit used respectively
The audio data that is played of broadcast unit, can be further improved the accuracy for the audio data that broadcast unit is played.
Figure 10 is a kind of structural block diagram of audio broadcast control device provided by the embodiments of the present application, which can execute
Audio play control method, as shown in Figure 10, which includes:
Information identification module 210, for identification user information of the corresponding user of the broadcast unit of playback equipment;Its
In, the playback equipment includes at least two broadcast units;
Broadcast unit determining module 211, for determining the broadcast unit used according to the user information;
Audio frequency control module 212 is broadcast for controlling each broadcast unit used respectively according to the user information
The audio data put.
A kind of audio broadcast control device provided in the embodiment of the present application, by the broadcast unit pair for identifying playback equipment
The user information of the user answered;Wherein, the playback equipment includes at least two broadcast units;It is true according to the user information
The fixed broadcast unit used;The audio number that each broadcast unit used is played is controlled respectively according to the user information
According to.By using above-mentioned technical proposal, the case where being used by a user according to the broadcast unit of playback equipment, determination is each broadcast
The audio data that unit is played is put, so that the audio data that broadcast unit plays more meets the behaviour in service of user.
Optionally, information identification module is specifically used for:
The biological information of corresponding user is obtained by the broadcast unit of playback equipment, and special according to the biology
Reference breath determines the user information of the user.
Optionally, information identification module is specifically used for:
Obtain the heart rate information and/or body temperature information of corresponding user by the broadcast unit of playback equipment, and according to
The heart rate information and/or body temperature information determine the user information of the user.
Optionally, the playback equipment is earphone, and the broadcast unit is the receiver of earphone;Correspondingly, information identifies
Module is specifically used for:
The ear recognition information of the user is acquired by the ear information collecting device on receiver, and according to described
Ear recognition information determines the user information of the user.
Optionally, further include:
Identity information determining module obtains the biological characteristic of corresponding user for the broadcast unit by playback equipment
After information, the identity information of the user is determined according to the biological information;
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 the broadcast unit of at least one, and it is described at least one the corresponding identity information of broadcast unit all
The corresponding same user;
Correspondingly, audio frequency control module is specifically used for:
For each broadcast unit group, the user information of the wherein corresponding user of broadcast unit of playback equipment is determined,
And the audio data that the broadcast unit of the broadcast unit group is played is determined according to the user information.
Optionally, audio frequency control module specifically includes:
Position determination module, for determining that each broadcast unit used is used with corresponding according to the user information
The relative position of person;
Data control block is controlled respectively for the quantity depending on that relative position with the broadcast unit used
Make the audio data that each broadcast unit used is played.
Optionally, data control block specifically includes:
Sound channel determining module, for determining the quantity of sound channel according to the quantity of the broadcast unit used;Wherein, often
The corresponding sound channel of a broadcast unit;
Audio playing module, for determining the corresponding audio track of each sound channel according to the quantity and the relative position
Data, and the audio track data of each sound channel are sent to corresponding broadcast unit and are played out.
Optionally, if the quantity of the broadcast unit used is one, correspondingly, audio playing module is specifically used
In:
The audio track data for determining the corresponding sound channel of the broadcast unit are mixing audio data, by the mixed audio
Data are sent to the broadcast unit used and play out.
A kind of storage medium comprising computer executable instructions provided by the embodiment of the present application, computer are executable
It instructs the audio being not limited to the described above to play control operation, audio provided by the application any embodiment can also be performed and broadcast
Relevant operation in place control method.
The embodiment of the present application also provides a kind of storage medium comprising computer executable instructions, and the computer is executable
When being executed by computer processor for executing audio play control method, this method includes for instruction:
Identify the user information of the corresponding user of broadcast unit of playback equipment;Wherein, the playback equipment includes extremely
Few two broadcast units;
The broadcast unit used is determined according to the user information;
The audio data that each broadcast unit used is played is controlled respectively according to the user information.
Storage medium --- any various types of memory devices or storage equipment.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);Register or the memory component of other similar types etc..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 (such as by network connection different computer systems in) two or
More storage mediums.Storage medium can store the program instruction that can be performed 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
Frequency broadcast control device.
Figure 11 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 on memory 31 and can be in the computer of processor operation
Program, the processor realize audio play control method described in above-described embodiment when executing the computer program.This Shen
Please embodiment provide terminal device, existing audio broadcast mode can be optimized.
Figure 12 is a kind of structural schematic diagram of terminal device provided by the embodiments of the present application.As shown in figure 12, which sets
It is standby to may include:Shell (not shown), touch screen (not shown), touch key-press (not shown), memory
301,302 (also known as processor, hereinafter referred to as CPU), circuit board of central processing unit (Central Processing Unit, CPU)
(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 for 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:
Identify the user information of the corresponding user of broadcast unit of playback equipment;Wherein, the playback equipment includes extremely
Few two broadcast units;
The broadcast unit used is determined according to the user information;
The audio data that each broadcast unit used is played is controlled respectively according to the user information.
The terminal device further includes:Peripheral Interface 303, RF (Radio Frequency, radio frequency) circuit 305, audio-frequency electric
Road 306, loudspeaker 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
It 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 include one or more signal processings and/or dedicated
It is realized in the combination of hardware, software or hardware and software including integrated circuit.
Just the terminal device provided in this embodiment for playing control for realizing audio is described in detail below, the end
End equipment takes the mobile phone as an example.
Memory 301, the memory 301 can be accessed by CPU302, Peripheral Interface 303 etc., and the memory 301 can
It 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 subsystem 309, the I/O subsystem 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 subsystem 309 may include 3091 He of display controller
For controlling one or more input controllers 3092 of 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 (push 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 subsystem 309 receives electric signal from touch screen 312 or sends out to touch screen 312
Electric signals.Touch screen 312 detects the contact on touch screen, and the contact that display controller 3091 will test is converted to and is shown
The interaction of user interface object on touch screen 312, i.e. realization human-computer interaction, the user interface being shown on touch screen 312
Object can be the icon of running game, the icon for being networked to corresponding network etc..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 circuit 305 is mainly used for establishing the communication of mobile phone Yu wireless network (i.e. network side), realizes mobile phone and wireless network
The data receiver of network and transmission.Such as transmitting-receiving short message, Email etc..Specifically, RF circuit 305 receives and sends RF letter
Number, RF signal is also referred to as electromagnetic signal, and RF circuit 305 converts electrical signals to electromagnetic signal or electromagnetic signal is converted to telecommunications
Number, and communicated by the electromagnetic signal with communication network and other equipment.RF circuit 305 may include for executing
The known circuit of these functions comprising but it is not limited to antenna system, RF transceiver, 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 loudspeaker 311.
Loudspeaker 311 is reduced to sound for mobile phone to be passed through RF circuit 305 from the received voice signal of wireless network
And the sound is played 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 audio broadcast mode.
It is any that the application can be performed in audio broadcast control device, storage medium and the terminal device provided in above-described embodiment
Audio play control method provided by embodiment has and executes the corresponding functional module of this method and beneficial effect.Not upper
The technical detail of detailed description in embodiment is stated, reference can be made to audio play control method provided by the application any embodiment.
Note that above are only the preferred embodiment and 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, be able to carry out for a person skilled in the art it is various it is apparent variation,
The protection scope readjusted and substituted without departing from the application.Therefore, although being carried out by above embodiments to the application
It is described in further detail, but the application is not limited only to above embodiments, in the case where not departing from the application design, also
It may include more other equivalent embodiments, and scope of the present application is determined by the scope of the appended claims.
Claims (11)
1. a kind of audio play control method, which is characterized in that including:
Identify the user information of the corresponding user of broadcast unit of playback equipment;Wherein, the playback equipment includes at least two
A broadcast unit;
The broadcast unit used is determined according to the user information;
The audio data that each broadcast unit used is played is controlled respectively according to the user information.
2. the method as described in claim 1, which is characterized in that identify the use of the corresponding user of the broadcast unit of playback equipment
Family information includes:
The biological information of corresponding user is obtained by the broadcast unit of playback equipment, and is believed according to the biological characteristic
Breath determines the user information of the user.
3. method according to claim 2, which is characterized in that obtain corresponding user by the broadcast unit of playback equipment
Biological information, and determine according to the biological information user information of the user, including:
The heart rate information and/or body temperature information of corresponding user are obtained by the broadcast unit of playback equipment, and according to described
Heart rate information and/or body temperature information determine the user information of the user.
4. method according to 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 the broadcast unit of playback equipment, and according to institute
The user information that biological information determines the user is stated, including:
The ear recognition information of the user is acquired by the ear information collecting device on receiver, and according to the ear
Identification information determines the user information of the user.
5. such as the described in any item methods of claim 2 to 4, which is characterized in that pass through the broadcast unit acquisition pair of playback equipment
After the biological information of the user answered, further include:
The identity information of the user is determined according to the biological information;
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 at least one the corresponding identity information of broadcast unit all corresponds to the same user;
Correspondingly, the audio data that each broadcast unit used is played is controlled according to the user information respectively, including:
For each broadcast unit group, the user information of the wherein corresponding user of broadcast unit of playback equipment, and root are determined
The audio data that the broadcast unit of the broadcast unit group is played is determined according to the user information.
6. such as the described in any item methods of Claims 1-4, which is characterized in that controlled respectively according to the user information each
The audio data that the broadcast unit used is played includes:
The relative position of each broadcast unit used and corresponding user is determined according to the user information;
Depending on that relative position with the quantity of the broadcast unit used, each broadcast unit used is controlled respectively
The audio data played.
7. method as claimed in claim 6, which is characterized in that depending on that relative position with the broadcast unit used
Quantity, control the audio data that each broadcast unit used is played respectively, including:
The quantity of sound channel is determined according to the quantity of the broadcast unit used;Wherein, the corresponding sound of each broadcast unit
Road;
The corresponding audio track data of each sound channel are determined according to the quantity and the relative position, and by the sound of each sound channel
Frequency channel data is sent to corresponding broadcast unit and plays out.
8. the method for claim 7, which is characterized in that if the quantity of the broadcast unit used is one,
Correspondingly, the corresponding audio track data of each sound channel are determined according to the relative position of broadcast unit and user, and will be each
The audio track data of sound channel are sent to corresponding broadcast unit and play out, including:
The audio track data for determining the corresponding sound channel of the broadcast unit are mixing audio data, by the mixing audio data
The broadcast unit used is sent to play out.
9. a kind of audio broadcast control device, which is characterized in that including:
Information identification module, for identification user information of the corresponding user of the broadcast unit of playback equipment;Wherein, described to broadcast
Putting equipment includes at least two broadcast units;
Broadcast unit determining module, for determining the broadcast unit used according to the user information;
Audio frequency control module, for controlling the audio that each broadcast unit used is played respectively according to the user information
Data.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor
Such as audio play control method of any of claims 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
Audio play control method described in one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810669660.7A CN108882112B (en) | 2018-06-26 | 2018-06-26 | Audio playing control method and device, storage medium and terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810669660.7A CN108882112B (en) | 2018-06-26 | 2018-06-26 | Audio playing control method and device, storage medium and terminal equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108882112A true CN108882112A (en) | 2018-11-23 |
CN108882112B CN108882112B (en) | 2021-04-06 |
Family
ID=64294821
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810669660.7A Active CN108882112B (en) | 2018-06-26 | 2018-06-26 | Audio playing control method and device, storage medium and terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108882112B (en) |
Cited By (2)
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 (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102547502A (en) * | 2010-12-17 | 2012-07-04 | 索尼爱立信移动通讯有限公司 | Headset, headset use control method and terminal |
CN105049999A (en) * | 2015-07-09 | 2015-11-11 | 广东欧珀移动通信有限公司 | Demonstration method of sound box subgroups, local server, mobile terminal and system |
CN105163220A (en) * | 2015-09-29 | 2015-12-16 | 努比亚技术有限公司 | Smart push method and earphone |
CN105491469A (en) * | 2014-09-15 | 2016-04-13 | Tcl集团股份有限公司 | Method and system for controlling audio output mode based on wearing earphone state |
CN107205198A (en) * | 2017-06-13 | 2017-09-26 | 北京小米移动软件有限公司 | The unlocking method and a device of microphone |
US20180103858A1 (en) * | 2015-03-12 | 2018-04-19 | Medicomp, Inc. | Earbud electrocardiogram monitor and associated systems and methods |
-
2018
- 2018-06-26 CN CN201810669660.7A patent/CN108882112B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102547502A (en) * | 2010-12-17 | 2012-07-04 | 索尼爱立信移动通讯有限公司 | Headset, headset use control method and terminal |
CN105491469A (en) * | 2014-09-15 | 2016-04-13 | Tcl集团股份有限公司 | Method and system for controlling audio output mode based on wearing earphone state |
US20180103858A1 (en) * | 2015-03-12 | 2018-04-19 | Medicomp, Inc. | Earbud electrocardiogram monitor and associated systems and methods |
CN105049999A (en) * | 2015-07-09 | 2015-11-11 | 广东欧珀移动通信有限公司 | Demonstration method of sound box subgroups, local server, mobile terminal and system |
CN105163220A (en) * | 2015-09-29 | 2015-12-16 | 努比亚技术有限公司 | Smart push method and earphone |
CN107205198A (en) * | 2017-06-13 | 2017-09-26 | 北京小米移动软件有限公司 | The unlocking method and a device of microphone |
Cited By (2)
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 |
---|---|
CN108882112B (en) | 2021-04-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107003969B (en) | Connection attribute for using electronic accessories to connect promotes the main equipment of positioning attachment | |
CN108710615B (en) | Translation method and related equipment | |
CN108886653B (en) | Earphone sound channel control method, related equipment and system | |
US9762317B2 (en) | Playing synchronized mutichannel media on a combination of devices | |
CN109040446B (en) | Call processing method and related product | |
CN108966067B (en) | Play control method and related product | |
CN107506171B (en) | Audio playing device and sound effect adjusting method thereof | |
CN108966080A (en) | volume adjusting method, device, storage medium and terminal device | |
CN106464996A (en) | Multifunctional headphone system for sports activities | |
US9462109B1 (en) | Methods, systems, and devices for transferring control of wireless communication devices | |
TW201820315A (en) | Improved audio headset device | |
CN109067965B (en) | Translation method, translation device, wearable device and storage medium | |
WO2018000764A1 (en) | Method and device for automatic audio channel matching, and headphone | |
CN114727212B (en) | Audio processing method and electronic equipment | |
CN108595003A (en) | Function control method and relevant device | |
CN106453838B (en) | Volume adjusting method and device | |
CN106686519B (en) | The method, apparatus and terminal of the stereo pairing of audio-frequence player device | |
CN108777827A (en) | Wireless headset, method for regulation of sound volume and Related product | |
US10114415B2 (en) | Apparatus and method for processing audio signals | |
CN106878915B (en) | Control method, device and the playback equipment and mobile terminal of playback equipment | |
CN109254752B (en) | 3D sound effect processing method and related product | |
CN108923810A (en) | Interpretation method and relevant device | |
CN108882112A (en) | Audio play control method, device, storage medium and terminal device | |
CN106451824A (en) | Bluetooth earphone charging method, Bluetooth earphone charging device and Bluetooth earphone | |
CN108632713B (en) | Volume 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 |