Embodiment
For the ease of understanding the present invention, the present invention is described more fully below with reference to relevant drawings.In accompanying drawing
Give the better embodiment of the present invention.But the present invention can realize in many different forms, however it is not limited to herein
Described embodiment.On the contrary, the purpose for providing these embodiments is to make to understand more the disclosure
Add thorough and comprehensive.
It should be noted that when an element is considered as " connection " another element, it can be directly to separately
One element may be simultaneously present centering elements.Term as used herein "left", "right" and similar statement are
For illustrative purposes, it is unique embodiment to be not offered as.
Unless otherwise defined, all of technologies and scientific terms used here by the article is with belonging to technical field of the invention
The implication that technical staff is generally understood that is identical.Term used in the description of the invention herein is intended merely to description tool
The purpose of the embodiment of body, it is not intended that in the limitation present invention.Term as used herein "and/or" includes one or more
The arbitrary and all combination of related Listed Items.
Refering to Fig. 1, a kind of sound playing method, specifically may comprise steps of:
Step 102, multiple user profile that multiple sensors on audio playing device receive are received, wherein, Yong Huxin
Breath includes at least one in acoustic information, image information and biological information.
Sensor is the one or more sound transducers being provided with audio playing device, and sound transducer is used to obtain
The acoustic information of user, sound transducer can be microphone.When user sends sound, sound transducer obtains the sound of user
Message ceases.Sensor is the imaging sensor being provided with audio playing device, and the image information image for obtaining user passes
Sensor for example can be camera.When user is located in image pickup scope, imaging sensor obtains image information.Sound is played and set
It is standby can above include it is at least one in sound transducer and imaging sensor.In other embodiments, sensor is infrared
Sensor, the biological information such as thermal sensation for obtaining user etc. represents the information of characteristics of human body.
Step 104, customer location of the user relative to audio playing device is obtained using user profile.
Customer location can represent with angle or with coordinate value, can also represent in other ways.Customer location can be with
It is a specific numerical value or a scope.For example, user is located at 60 degree of directions of audio playing device, then user
Position can be identified as 60 °.Or during using audio playing device as the origin of coordinates, user is located at the position that coordinate value is (3,2),
Then customer location is (3,2).
In some embodiments, the acoustic information of the user between sound transducer can be obtained beforehand through experiment
The corresponding relation of volume and customer location, such as obtain the ratio pass corresponding with customer location between the difference or volume of volume
System.After getting the acoustic information that each sound transducer obtains, the position of user is obtained according to the volume of acoustic information.Specifically
, the magnitude relationships such as ratio between the difference or volume between each acoustic information can be calculated, then according to sound sensor
The corresponding relation of volume relation and customer location between device obtains customer location of the user relative to audio playing device.
For example, when acoustic information includes that the first acoustic information that the first sound transducer obtains and second sound sensor obtain
During two acoustic informations, the first acoustic information and the volume of second sound information are subtracted each other, closed after obtaining difference according to volume
System and the corresponding relation of customer location obtain customer location of the user relative to audio playing device.In another example work as acoustic information
, will during the second sound information that the first acoustic information and second sound sensor obtained including the first sound transducer obtains
Obtain the first acoustic information and the time of second sound information subtracts each other, obtain obtaining user relative to sound according to the time difference after difference
The customer location of sound playback equipment.For another example when acoustic information include the first sound transducer obtain the first acoustic information with
And second sound sensor obtain second sound information when, the first acoustic information and the phase phase of second sound information will be obtained
Subtract, obtain obtaining customer location of the user relative to audio playing device according to phase difference after difference.It should be understood that the time difference
It can be obtained with the corresponding relation and phase difference of customer location and the corresponding relation of customer location beforehand through experiment.
In some embodiments, user can be obtained relative to audio playing device according to the shooting angle of image information
Customer location.Imaging sensor can be one or more.Such as imaging sensor can be 360 degree of angle cameras, certainly
Camera can also be set on diverse location.
In some embodiments, the shooting angle of the volume and image information that can combine acoustic information obtains user
Position.For example, using the customer location obtained according to volume and the overlapping region of customer location that is obtained according to shooting angle as
Final customer location, or, by the customer location obtained according to volume with the customer location that is obtained according to shooting angle
Between position as final customer location.
Step 106, according to the position of customer location and sound playing unit on audio playing device obtain user with
The relative position of sound playing unit.
Relative position can be used positioned at the mark such as which side or angle.Such as sound playing unit be located on the left of user,
Right side, left back, right front, 60 degree of the one or more of direction represent.After customer location is obtained, with reference to sound playing unit
Position on audio playing device obtains the relative position of user and sound playing unit.For example, broadcast according to user and sound
Put the angular relationship of equipment and sound playing unit and the angular relationship of playback equipment determine user and sound playing unit
Relative position.Preferably, the relative position of user and sound playing unit can be divided into left positioned at user with customer-centric
Side or positioned at user right etc..
As shown in Fig. 2 user 10 is 40 degree relative to the position of audio playing device 20, the first sound playing unit 22 exists
Position on sound play device is 300 degree, and position of the second sound broadcast unit 24 on sound play device is 110 degree.
Therefore the first sound playing unit 22 can be obtained and be located at user right, second sound broadcast unit 24 is located on the left of user.
Step 108, the sound channel of sound playing unit is configured according to relative position.
Sound channel can include L channel, R channel.In certain embodiments can also include bass, high pitch and L channel,
The combination of R channel.For example, L channel and be bass.In one embodiment, sound can be configured according to relative position to play
The sound channel of unit or the volume that sound playing unit is configured according to relative position.Certainly, to reach more preferable audio, Ke Yigen
According to the sound channel and volume of relative position configuration sound playing unit, such as centered on customer location, work as sound playing unit
When on the left of user, the sound channel for configuring sound playing unit is the first sound channel, when sound playing unit is located at user right,
The sound channel for configuring sound playing unit is second sound channel, and the first sound channel is different from second sound channel.Such as first sound channel be L channel
When, second sound channel is R channel.
In certain embodiments, the volume of sound playing unit can also be configured according to relative position.For example, when user away from
When near from a distance from audio playing device, the volume of sound playing unit is reduced.Or reduce the sound near from user distance and play
The volume of unit, increase volume of sound playing unit near from user distance etc..
In one embodiment, the sound channel of all sound playing units can be configured, can also configuration section sound
The sound channel of sound broadcast unit.For example, before being configured according to relative position to the sound channel of sound playing unit, can also obtain
The symmetrical sound playing unit centered on customer location is taken, as target sound broadcast unit, then according to relative
Position configures to the sound channel of target sound broadcast unit.Channel configuration is made into one so that sound playing unit is loudspeaker as an example
Step explanation, such as centered on customer location, there are three loudspeaker in left side, there are three loudspeaker on right side, wherein first loudspeaker in left side
It is symmetrical with first loudspeaker on right side, second loudspeaker in left side and second loudspeaker on right side are symmetrical, then can be to left side
First loudspeaker and the sound channel of first loudspeaker on right side be adjusted, can also be to first loudspeaker in left side and right side
The sound channel of second loudspeaker of the sound channel of first loudspeaker, the second of left side loudspeaker and right side is all adjusted, it is possible to understand that
For first loudspeaker and the second loudspeaker in left side are as L channel loudspeaker, first loudspeaker on right side and the second loudspeaker conduct
R channel loudspeaker.
In some embodiments, as shown in figure 3, sound playing method can also include:
Step S302, obtain voiceprint or voice content in user profile.
After receiving acoustic information, the voice content obtained after the voiceprint in acoustic information or speech recognition is obtained
In.
Step S304, voiceprint or voice content are matched with the first default authentication information.
First default authentication information is pre-set, and the first default authentication information is including default voiceprint and in advance
It is if at least one in voice content.Voiceprint is matched with default voiceprint, in voice content and default voice
Appearance is matched, and when voiceprint all matches with one or two in voice content, then the match is successful, utilizes user's sound
The volume of message breath and/or the shooting angle of user images information obtain customer location of the user relative to audio playing device.
If it fails to match, the step of without obtaining the customer location relative to audio playing device.For example, default voice content can
Think " 15789 ", therefore, when receiving voice messaging, whether the content for identifying voice messaging is " 15789 ", if so, then saying
Bright the match is successful, and it is relative can to obtain user using the volume of user voice information and/or the shooting angle of user images information
In the customer location of audio playing device.If it is not, then it fails to match, continue the voice messaging of monitoring users.It is this to pass through sound
Line information and/or voice content are matched with default authentication information, and the side of customer location judgement is just carried out after the match is successful
Method, the reliability of configuration sound channel can be improved, avoid disturbing the influence of voice.
In some embodiments, as shown in figure 4, sound playing method can also include:
Step S402, obtain the biological information in the image information of user.
The posture of biological information including user's body and physical trait it is at least one, such as the posture of body can be hand
The posture that gesture or user show.Physical trait for example can be face characteristic.
Step S404, biological information is matched with the second default authentication information row.
Second default authentication information is pre-set, for being matched with biological information.Second pre- setting authentication letter
Breath includes at least one of the default posture of user's body and default physical trait, such as the posture of body can be to preset hand
The default posture that gesture or user show, it for example can be default face characteristic to preset physical trait.When default authentication information bag
When including default posture, the body gesture of the user got is matched with default posture.When default authentication information is included in advance
If during physical trait, the physical trait acquired is matched with default physical trait, when body gesture and physical trait
In one or both of which when all matching, then the match is successful, utilizes the volume of acoustic information or the shooting angle of image information
Degree obtains customer location of the user relative to audio playing device.If it fails to match, without obtaining playing relative to sound
The step of customer location of equipment.This biological information by user is matched with default authentication information, when the match is successful
The method for just carrying out customer location judgement afterwards, can improve the reliability of channel configuration, avoid the influence of other users.
As shown in Figure 5, there is provided a kind of sound play device, can apply to audio playing device, sound play device
Including:
Receiving module 502, for receiving multiple user profile of the reception of multiple sensors on audio playing device, its
In, user profile includes at least one in acoustic information, image information and biological information.
Customer location obtains module 504, for obtaining user of the user relative to audio playing device using user profile
Position.
Relative position obtains module 506, for according to customer location and sound playing unit in audio playing device
Position obtain the relative position of user and sound playing unit.
Channel configuration module 508, for configuring the sound channel of sound playing unit according to relative position, so that sound plays list
Member plays sound in sound channel.
In some embodiments, as shown in fig. 6, sound play device can also include:
Acoustic information acquisition module 602, obtain voiceprint or voice content in user profile.
Sound Match module 604, for voiceprint or voice content to be matched with the first default authentication information.
In some embodiments, as shown in fig. 7, sound play device can also include:
Biological information acquisition module 702, for obtaining the biological information in user images information.
Biological information matching module 704, for biological information to be matched with the second default authentication information row.
In some embodiments, as shown in Figure 8, there is provided a kind of audio playing device, including sensor 802, processing
Device 804:
Sensor 802 is used to obtain user profile, and sensor includes imaging sensor or multiple sound transducers, and sound passes
Sensor is used to obtain acoustic information, and imaging sensor is used to obtain image information.
Processor 804, the step of for performing tut player method, such as receive multiple on audio playing device
Multiple user profile that sensor receives, wherein, user profile is included in acoustic information, image information and biological information extremely
It is few one;Customer location of the user relative to audio playing device is obtained using user profile;According to customer location and sound
Position of the broadcast unit on audio playing device obtains the relative position of user and sound playing unit;Matched somebody with somebody according to relative position
Put the sound channel of sound playing unit.It will not be repeated here.
In certain embodiments, audio playing device can also include sound playing unit 806, for the sound channel in configuration
Upper broadcasting sound.
Refering to Fig. 9, audio playing device includes housing 20, and multiple sensors are uniformly arranged along housing 20 is circumferential.Such as Fig. 9 institutes
To show, first sensor 12, second sensor 14 and 3rd sensor 16 are circumferentially uniformly arranged on along housing on the C1 of first level face,
Preferably, first level face C1 is the most top surface of audio playing device.It should be noted that it is this along housing 20 is circumferentially disposed can
To be provided in same level or be circumferentially distributed on multiple horizontal planes.In present embodiment, sensor can be with
It is microphone.Accordingly, sound playing unit can be multiple that multiple sound playing units are uniformly arranged along housing 20 is circumferential.
In some concrete applications, sound playing unit can use the broadcasting of loudspeaker progress sound, as shown in figure 9, the first loudspeaker
212nd, the second loudspeaker 214 and the 3rd loudspeaker 216 are respectively positioned on the second horizontal plane C2;It should be understood that microphone and sound play
The quantity of unit is unrestricted or 6, no longer repeats one by one here.Certainly, first level face C1 and the second horizontal plane
C2 can be same level, i.e., microphone and sound playing unit are located at same level.
In some embodiments, when imaging sensor uses camera, in order to prevent camera is normally opened from wasting electricity, also
It is settable to use starter of the optical sensor as camera.When optical sensor detects mobile object, camera is opened.When
So, multiple optical sensors can be uniformly arranged in the circumference of housing 20, to be detected in each angle.
As shown in Figure 10, it is the cut-away view of some embodiment Computer equipment, the computer equipment, which passes through, is
System connection bus couple processor, non-volatile memory medium, built-in storage and network interface.Wherein, the computer equipment
Non-volatile memory medium can storage program area and computer program, when the computer program is performed, may be such that processor
Perform a kind of sound playing method.The processor of the computer equipment is used to provide calculating and control ability, and support computer is set
Standby operation.Computer program can be stored in the built-in storage, when the computer program is executed by processor, may be such that processing
Device performs a kind of sound playing method.The network interface of computer equipment is used to be communicated.Those skilled in the art can manage
Solve, the block diagram of the structure, the only part-structure related to application scheme that are shown in Figure 10, do not form to the application side
The restriction for the computer equipment that case is applied thereon, specific computer equipment can include more more or less than shown in figure
Part, either combine some parts or arranged with different parts.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with
The hardware of correlation is instructed to complete by computer program, the computer program can be stored in a computer-readable storage and be situated between
In matter, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, foregoing storage medium can be
The non-volatile memory mediums such as magnetic disc, CD, read-only memory (Read-Only Memory, ROM), or random storage note
Recall body (Random Access Memory, RAM) etc..
Embodiment described above only expresses several embodiments of the present invention, and its description is more specific and detailed, but not
Therefore the limitation to the scope of the claims of the present invention can be interpreted as.It should be pointed out that come for one of ordinary skill in the art
Say, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the protection of the present invention
Scope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.