CN106371796A - Method and device for processing audio data, and terminal equipment - Google Patents
Method and device for processing audio data, and terminal equipment Download PDFInfo
- Publication number
- CN106371796A CN106371796A CN201610766238.4A CN201610766238A CN106371796A CN 106371796 A CN106371796 A CN 106371796A CN 201610766238 A CN201610766238 A CN 201610766238A CN 106371796 A CN106371796 A CN 106371796A
- Authority
- CN
- China
- Prior art keywords
- data
- audio
- ear
- frequence player
- player device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/162—Interface to dedicated audio devices, e.g. audio drivers, interface to CODECs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/165—Management of the audio stream, e.g. setting of volume, audio stream path
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- General Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stereophonic System (AREA)
Abstract
The embodiment of the invention provides a method and device for processing audio data, and terminal equipment, and relates to the technical field of data processing. The method comprises the following steps: receiving sensing data used for indicating a wearing position of audio playing equipment; confirming the wearing position information of the audio playing equipment according to the sensing data; and confirming a transmission channel of the audio data according to the wearing position information, and transmitting the audio data through the confirmed transmission channel. According to the embodiment of the invention, the operation load of a user is relieved, and the transmission mode of the audio data is more flexible.
Description
Technical field
The present embodiments relate to technical field of data processing, more particularly, to a kind of processing method of voice data, device
And terminal unit.
Background technology
Ear speaker device is the important accessory that people such as listen song, listen to the radio programme on the terminal device at the voice data, but any ear
Machine equipment is required for selecting to be worn on user's left and right ear according to the l (left ear identification) on ear speaker device and r (auris dextra mark),
Will pass through the left channel data that the ear speaker device being worn on left ear transmits voice data, by being worn on the ear speaker device of auris dextra
The right data of transmission voice data.
During realizing the present invention, inventor finds there is problem below in prior art: user is wearing ear
Need before machine equipment first to differentiate l and r on ear speaker device, increased the operating burden of user, and, terminal unit can only be according to
The ear speaker device transmission voice data of constant transmissions sound channel, is transmitted the left channel data of voice data, leads to by l ear speaker device
Cross r ear speaker device transmit voice data right data, transmission means single it is impossible to be adjusted according to user's request.
Content of the invention
Embodiments provide a kind of processing method of voice data, device and terminal unit, existed with solving user
Before wearing ear speaker device, need first to differentiate l and r of ear speaker device, cause user operation burden big, and terminal unit can only
Ear speaker device according to constant transmissions sound channel transmits voice data, the single problem of transmission means.
A kind of one side according to embodiments of the present invention, there is provided processing method of voice data, comprising:
Receive the sensing data of the wearing position for indicating audio-frequence player device;
Determine the wearing position information of described audio-frequence player device according to described sensing data;
According to described wearing position information, determine the transmission sound channel of voice data, and the described transmission sound channel by determining
Transmit described voice data.
A kind of another aspect according to embodiments of the present invention, there is provided processing meanss of voice data, comprising:
Data reception module, for receiving the sensing data of the wearing position for indicating audio-frequence player device;
Position determination module, for determining the wearing position information of described audio-frequence player device according to described sensing data;
Sound channel determining module, for according to described wearing position information, determining the transmission sound channel of voice data, and by really
Fixed voice data described in described transmission channel transfer.
Another aspect according to embodiments of the present invention, additionally provides a kind of terminal unit, including the place of above-mentioned voice data
Reason device.
A kind of processing method of voice data, device and the terminal unit providing according to embodiments of the present invention, receives first
For indicating the sensing data of the wearing position of audio-frequence player device;Then the pendant of audio-frequence player device is determined according to sensing data
Wear positional information;Further according to wearing position information, determine the transmission sound channel of voice data, and the transmission channel transfer by determining
Voice data.For example, receive the sensing data for indicating ear speaker device wearing position from ear speaker device, according to sensing data
Determine the concrete wearing position of ear speaker device, that is, ear speaker device is worn on left ear position or the right ear position of user of user,
Further according to the wearing position of ear speaker device, determine the transmission sound channel of voice data, the ear speaker device being worn on left ear position determines
For left transmission sound channel, the ear speaker device being worn on right ear position is defined as right transmission sound channel, and passes through the left and right transmission sound determining
Road transmits the left and right acoustic channels data of voice data.The earphone of ear speaker device and corresponding auris dextra that user need not differentiate corresponding left ear sets
Standby, alleviate the operating burden of user.And, determine that ear speaker device is worn on left ear or the right side of user according to sensing data
Ear, the left channel data of voice data is transmitted to the ear speaker device being worn on left ear, the right data of voice data is passed
Transport to the ear speaker device being worn on auris dextra, the transmission means of voice data is more flexible.
Brief description
Fig. 1 is a kind of flow chart of according to embodiments of the present invention one processing method of voice data;
Fig. 2 is a kind of flow chart of according to embodiments of the present invention two processing method of voice data;
Fig. 3 is a kind of flow chart of according to embodiments of the present invention three processing method of voice data;
Fig. 4 is a kind of structured flowchart of according to embodiments of the present invention four processing meanss of voice data;
Fig. 5 is a kind of structured flowchart of according to embodiments of the present invention five processing meanss of voice data;
Fig. 6 is a kind of structural representation of according to embodiments of the present invention six terminal unit.
Specific embodiment
(in some accompanying drawings, identical label represents identical element) and embodiment below in conjunction with the accompanying drawings, implements to the present invention
The specific embodiment of example is described in further detail.Following examples are used for the present invention is described, but are not limited to the present invention
Scope.
It will be understood by those skilled in the art that the term such as " first ", " second " in the embodiment of the present invention is only used for distinguishing
Different step, equipment or module etc., neither represent any particular technology implication, also do not indicate that the inevitable logic between them is suitable
Sequence.
Embodiment one
The flow chart that Fig. 1 shows a kind of according to embodiments of the present invention one processing method of voice data.
The processing method of the voice data in the present embodiment can be realized by arbitrarily suitable terminal unit, such as intelligent handss
Machine, panel computer etc., but not limited to this, the device of the processing function that other possesses similar voice data all can refer to the present embodiment
Realize the processing method of voice data, the embodiment of the present invention is not restricted to this, the present embodiment is carried out only taking terminal unit as a example
Explanation.
With reference to Fig. 1, the processing method of the voice data of the present embodiment comprises the steps:
S100, receive the sensing data of wearing position for indicating audio-frequence player device.
Sensing data can from audio-frequence player device or other there is the equipment of data inducing function, the present embodiment
In, derived from by sensing data and illustrate as a example audio-frequence player device.
Sensor unit can be configured with audio-frequence player device in the present embodiment, for example, infrared proximity transducer, leads to
Cross sensor unit to sense and obtain sensing data.
S102, determine the wearing position information of audio-frequence player device according to sensing data.
Because sensing data indicates the wearing position of audio-frequence player device, therefore, it can determine audio frequency according to sensing data
The wearing position information of playback equipment.
Wearing position in the present embodiment may be considered the particular location on the body being worn on user, for example, be worn on
The left ear position of user or right ear position.
S104, according to wearing position information, determine the transmission sound channel of voice data, and the transmission channel transfer by determining
Voice data.
Wearing position information according to audio-frequence player device determines the transmission of voice data corresponding with audio-frequence player device
Sound channel, the transmission sound channel of voice data can be divided into left transmission sound channel, right transmission sound channel, stereo transmission sound channel etc..
For example, certain audio-frequence player device is defined as left transmission sound channel, then the left channel data of voice data is passed through a left side
Transmission sound channel is transmitted.
A kind of processing method of the voice data providing according to embodiments of the present invention, receives first for indicating audio frequency broadcasting
The sensing data of the wearing position of equipment;Then the wearing position information of audio-frequence player device is determined according to sensing data;Root again
According to wearing position information, determine the transmission sound channel of voice data, and the transmission channel transfer voice data by determining.For example,
Receive the sensing data for indicating ear speaker device wearing position from ear speaker device, ear speaker device is determined according to sensing data
Concrete wearing position, that is, ear speaker device be worn on left ear position or the right ear position of user of user, further according to ear speaker device
Wearing position, determine the transmission sound channel of voice data, the ear speaker device being worn on left ear position is defined as left transmission sound channel, wear
The ear speaker device being worn over right ear position is defined as right transmission sound channel, and transmits channel transfer voice data by the left and right determining
Left and right acoustic channels data.User need not differentiate the ear speaker device of corresponding left ear and the ear speaker device of corresponding auris dextra, alleviates user's
Operating burden.And, determine that ear speaker device is worn on left ear or the auris dextra of user according to sensing data, by a left side for voice data
Channel data transmits to the ear speaker device being worn on left ear, and the right data of voice data is transmitted to the ear being worn on auris dextra
Machine equipment, the transmission means of voice data is more flexible.
Embodiment two
The flow chart that Fig. 2 shows a kind of according to embodiments of the present invention two processing method of voice data.
The processing method of the voice data in the present embodiment can be realized by arbitrarily suitable terminal unit, such as intelligent handss
Machine, panel computer etc., but not limited to this, the device of the processing function that other possesses similar voice data all can refer to the present embodiment
Realize the processing method of voice data, the embodiment of the present invention is not restricted to this, the present embodiment is carried out only taking terminal unit as a example
Explanation.
The present embodiment, on the basis of above-described embodiment, emphasizes the difference with above-described embodiment, and something in common is permissible
With reference to the introduction in above-described embodiment and explanation.
With reference to Fig. 2, the processing method of the voice data of the present embodiment comprises the steps:
S200, receive the sensing data of wearing position for indicating audio-frequence player device from audio-frequence player device.
Audio-frequence player device in the present embodiment can be ear speaker device, including wired ear speaker device, wireless headphone device
Deng the present embodiment is not limited to the particular type of ear speaker device and model.
In a kind of optional embodiment, in the ear speaker device in the present embodiment equipped with infrared proximity transducer or
Thermal imaging system, after ear speaker device is worn on the ear of user, obtains sensing data, the present embodiment by infrared proximity transducer
In sensing data can include ear stricture of vagina data, specific ear stricture of vagina data can include at least one of: ear internal structure
Data, ear blob data, ear wrinkle data, ear folding line streakline data etc..
Ear speaker device in the present embodiment can (lighting interface be one by usb interface or lighting interface
Plant 8 stitch interfaces) it is attached with terminal unit, the present embodiment does not do to the connecting interface between ear speaker device and terminal unit
Concrete restriction.
S202, sensing data is carried out with feature identification obtain bio information, audio-frequence player device is determined according to bio information
Wearing position information.
In this step, feature identification is carried out to sensing data and obtains bio information, can be using to sensing data formation
Discontinuous sensing data block carries out the technological means that feature identification obtains bio information.Wherein, specific discontinuous sensing
Data block can be remembered from sensing data acceptance of the bid.
In a kind of optional embodiment, principle component analysis or zernike square scheduling algorithm in the present embodiment, can be adopted
Feature identification is carried out to discontinuous sensing data block, the specific algorithm that the present embodiment is adopted to feature identification is not limited.
Bio information in the present embodiment can be ear stricture of vagina information, and the ear stricture of vagina information of each user has uniqueness, that is, not
Ear stricture of vagina information with user is different, and, the ear stricture of vagina information of the ear stricture of vagina information of the left ear of same user and auris dextra also not phase
With.Can accurately determine that user wears the position of audio-frequence player device such as ear speaker device by ear stricture of vagina information.
The wearing position information of audio-frequence player device in this step, is determined according to bio information, specifically can be according to biology
Information determines that the wearing position information of audio-frequence player device is to be worn on the positional information of the left ear of user or be worn on the user right side
The positional information of ear.Ear stricture of vagina information due to each ear has uniqueness, therefore can be determined and ear stricture of vagina according to ear stricture of vagina information
The left ear that the corresponding ear speaker device of information is specifically worn on user is still worn on the auris dextra of user.
S204, according to wearing position information, determine the transmission sound channel of voice data, and the transmission channel transfer by determining
Voice data.
Audio-frequence player device in the present embodiment can be the audio-frequence player device of two broadcasting branch roads, or can be one
Individual play branch road audio-frequence player device, that is, the audio-frequence player device in the present embodiment can be two broadcasting branch roads earphone set
Standby, the such as common ear speaker device dividing l and r branch, or can be the ear speaker device of a broadcasting branch road, such as only one of which be divided
The Bluetooth earphone equipment propped up.
(1) audio-frequence player device is the audio-frequence player device of two broadcasting branch roads.
When the audio-frequence player device that audio-frequence player device is two broadcasting branch roads, above-mentioned s200 is from two broadcasting branch roads
Audio-frequence player device receives two parts of sensing datas of the wearing position of the audio-frequence player device for indicating two broadcasting branch roads.On
State s202 feature identification is carried out respectively to two parts of sensing datas and obtain two parts of bio informations, determine two according to two parts of bio informations
Play two parts of wearing position information of the audio-frequence player device of branch road.
In this step, wearing position information is to be worn on the corresponding broadcasting branch road of positional information of the left ear of user
Audio-frequence player device is defined as the left transmission sound channel of voice data, and wearing position information is to be worn on the position letter of user's auris dextra
The corresponding audio-frequence player device that another plays branch road of breath is defined as the right transmission sound channel of voice data.For example, ear speaker device
The wearing position information of a broadcasting branch road a indicate that this broadcasting branch road a is worn on the left ear of user, this broadcasting branch road a is determined
Left transmission sound channel for voice data;The wearing position information that another plays branch road b indicates that this another broadcasting branch road b wears
In user's auris dextra, by this, another plays the right transmission sound channel that branch road b is defined as voice data.
By the left channel data of left transmission channel transfer voice data, by the right side of right transmission channel transfer voice data
Channel data.
(2) audio-frequence player device is the audio-frequence player device of a broadcasting branch road.
When the audio-frequence player device that audio-frequence player device is a broadcasting branch road, above-mentioned s200 is from a broadcasting branch road
Audio-frequence player device receives a sensing data of the wearing position of the audio-frequence player device for indicating a broadcasting branch road.On
State s202 feature identification is carried out to a sensing data and obtain a bio information, a broadcasting is determined according to a bio information
A wearing position information of the audio-frequence player device of branch road.
In this step, wearing position information is to be worn on the corresponding audio frequency playing branch road of positional information of the left ear of user
Playback equipment, or wearing position information be worn on user's auris dextra positional information corresponding play branch road audio frequency play set
The standby stereo transmission sound channel being defined as voice data.For example, ear speaker device only one of which plays branch road c, and no matter this broadcasting is propped up
The wearing position information of road c indicates that this broadcasting branch road c is worn on left ear or the auris dextra of user, all determines this broadcasting branch road c
For stereo transmission sound channel.
Left and right acoustic channels data by stereo transmission channel transfer voice data.
A kind of processing method of the voice data providing according to embodiments of the present invention, receives first for indicating audio frequency broadcasting
The sensing data of the wearing position of equipment;Then the wearing position information of audio-frequence player device is determined according to sensing data;Root again
According to wearing position information, determine the transmission sound channel of voice data, and the transmission channel transfer voice data by determining.For example,
Receive the sensing data for indicating ear speaker device wearing position from ear speaker device, ear speaker device is determined according to sensing data
Concrete wearing position, that is, ear speaker device be worn on left ear position or the right ear position of user of user, further according to ear speaker device
Wearing position, determine the transmission sound channel of voice data, the ear speaker device being worn on left ear position is defined as left transmission sound channel, wear
The ear speaker device being worn over right ear position is defined as right transmission sound channel, and transmits channel transfer voice data by the left and right determining
Left and right acoustic channels data.User need not differentiate the ear speaker device of corresponding left ear and the ear speaker device of corresponding auris dextra, alleviates user's
Operating burden.And, determine that ear speaker device is worn on left ear or the auris dextra of user according to sensing data, by a left side for voice data
Channel data transmits to the ear speaker device being worn on left ear, and the right data of voice data is transmitted to the ear being worn on auris dextra
Machine equipment, the transmission means of voice data is more flexible.
When the audio-frequence player device that the audio-frequence player device that user wears is two broadcasting branch roads, that is, user wears in left ear
Wear a broadcasting branch road of audio-frequence player device, user, will when auris dextra wears another broadcasting branch road of audio-frequence player device
Be worn on left ear plays the left transmission sound channel that branch road is defined as voice data, and the broadcasting branch road being worn on auris dextra is defined as sound
The right transmission sound channel of frequency evidence, by the left channel data of voice data by left transmission channel transfer, by the right sound of voice data
Track data is by right transmission channel transfer.
When the audio-frequence player device that the audio-frequence player device that user wears is a broadcasting branch road, that is, user in left ear or
When person's auris dextra wears the only one broadcasting branch road of audio-frequence player device, the broadcasting branch road that will be worn on left ear or auris dextra determines
For the stereo transmission sound channel of voice data, the left and right acoustic channels data of voice data is passed through stereo transmission channel transfer.
Embodiment three
The flow chart that Fig. 3 shows a kind of according to embodiments of the present invention three processing method of voice data.
The processing method of the voice data in the present embodiment can be by arbitrarily suitable terminal unit and audio-frequence player device
Realize, wherein, terminal unit such as smart mobile phone, panel computer etc., audio-frequence player device such as ear speaker device etc., but not limited to this,
The device that other possesses the processing function of similar voice data all can refer to the processing method that the present embodiment realizes voice data, this
Inventive embodiments are not restricted to this, and the present embodiment only enters taking the ear speaker device of terminal unit and two broadcasting branch roads of inclusion as a example
Row explanation.
The present embodiment, on the basis of above-described embodiment, emphasizes the difference with above-described embodiment, and something in common is permissible
With reference to the introduction in above-described embodiment and explanation.
With reference to Fig. 3, the processing method of the voice data of the present embodiment comprises the steps:
S300, ear speaker device obtain ear stricture of vagina data, and by ear stricture of vagina data transfer to terminal unit.
In the present embodiment, ear speaker device can be specifically as follows infrared proximity transducer or heat become equipped with sensor
As instrument, using infrared proximity transducer or thermal imaging system, detection is carried out to the ear of user and obtain ear stricture of vagina data.
Left ear or auris dextra that s302, terminal unit are user according to the wearing position that ear stricture of vagina data determines ear speaker device.
If the ear stricture of vagina data of ear speaker device broadcasting branch road d is the ear stricture of vagina data of the left ear of user, terminal unit is true
The wearing position of fixed this broadcasting branch road d is the left ear of user;If the ear stricture of vagina data that another of ear speaker device plays branch road e is use
The ear stricture of vagina data of family auris dextra, then terminal unit determine this broadcasting branch road e wearing position be user auris dextra.
S304, terminal unit, according to the wearing position of ear speaker device, determine the transmission sound channel of voice data, and by determining
Transmission channel transfer voice data.
The broadcasting branch road being worn on the left ear of user is defined as the left transmission sound channel of voice data by terminal unit, will wear
It is defined as the right transmission sound channel of voice data in the broadcasting branch road of the auris dextra of user.The left channel data of voice data is passed through to wear
It is worn over the broadcasting branch road transmission of the left ear of user, by the right data of voice data by being worn on the broadcasting branch road of user's auris dextra
Transmission.
A kind of processing method of the voice data providing according to embodiments of the present invention, ear speaker device passes through the infrared of outfit and connects
Nearly sensor or thermal imaging system detect to the ear of user, obtain the ear stricture of vagina data of user, and by ear stricture of vagina data transfer extremely
Terminal unit.According to ear stricture of vagina data, terminal unit determines that ear speaker device is specifically worn on left ear position or the right side of user of user
Ear position.The ear speaker device being worn on left ear position is defined as transmit the left transmission sound channel of the left channel data of voice data,
The ear speaker device being worn on right ear position is defined as transmit the right transmission sound channel of the right data of voice data.Achieve use
Family, before wearing ear speaker device, need not be differentiated the left and right mark of ear speaker device, alleviate the operating burden of user.Meanwhile, eventually
According to the wearing position of ear speaker device, end equipment can determine that ear speaker device transmits the left channel data of voice data or right sound
Track data, is that user wears ear speaker device and provides convenience.
Example IV
Fig. 4 shows a kind of structured flowchart of according to embodiments of the present invention four processing meanss of voice data.
The processing meanss of the voice data in the present embodiment include: data reception module 400, are used for indicating sound for receiving
The sensing data of the wearing position of frequency playback equipment;Position determination module 402, sets for determining that audio frequency is play according to sensing data
Standby wearing position information;Sound channel determining module 404, for according to wearing position information, determining the transmission sound channel of voice data,
And the transmission channel transfer voice data by determining.
A kind of processing meanss of the voice data providing according to embodiments of the present invention, receive first for indicating audio frequency broadcasting
The sensing data of the wearing position of equipment;Then the wearing position information of audio-frequence player device is determined according to sensing data;Root again
According to wearing position information, determine the transmission sound channel of voice data, and the transmission channel transfer voice data by determining.For example,
Receive the sensing data for indicating ear speaker device wearing position from ear speaker device, ear speaker device is determined according to sensing data
Concrete wearing position, that is, ear speaker device be worn on left ear position or the right ear position of user of user, further according to ear speaker device
Wearing position, determine the transmission sound channel of voice data, the ear speaker device being worn on left ear position is defined as left transmission sound channel, wear
The ear speaker device being worn over right ear position is defined as right transmission sound channel, and transmits channel transfer voice data by the left and right determining
Left and right acoustic channels data.User need not differentiate the ear speaker device of corresponding left ear and the ear speaker device of corresponding auris dextra, alleviates user's
Operating burden.And, determine that ear speaker device is worn on left ear or the auris dextra of user according to sensing data, by a left side for voice data
Channel data transmits to the ear speaker device being worn on left ear, and the right data of voice data is transmitted to the ear being worn on auris dextra
Machine equipment, the transmission means of voice data is more flexible.
Embodiment five
Fig. 5 shows a kind of structured flowchart of according to embodiments of the present invention five processing meanss of voice data.
The processing meanss of the voice data in the present embodiment include: data reception module 500, are used for indicating sound for receiving
The sensing data of the wearing position of frequency playback equipment;Position determination module 502, sets for determining that audio frequency is play according to sensing data
Standby wearing position information;Sound channel determining module 504, for according to wearing position information, determining the transmission sound channel of voice data,
And the transmission channel transfer voice data by determining.
Alternatively, position determination module 502 includes: identification module 5020, obtains for carrying out feature identification to sensing data
To bio information;Determining module 5022, for determining the wearing position information of audio-frequence player device according to bio information.
Alternatively, identification module 5020, the discontinuous sensing data block for being formed to sensing data carries out feature knowledge
Do not obtain bio information.
Optionally it is determined that module 5022, the wearing position information for determining audio-frequence player device according to bio information is
It is worn on the positional information of the left ear of user or the positional information being worn on user's auris dextra.
Alternatively, sound channel determining module 504 includes: transmission sound channel determining module 5040, for when audio-frequence player device being
During the audio-frequence player device of two broadcasting branch roads, wearing position information is to be worn on the positional information corresponding of the left ear of user
The individual audio-frequence player device playing branch road is defined as the left transmission sound channel of voice data, and wearing position information is to be worn on user
The corresponding audio-frequence player device that another plays branch road of positional information of auris dextra is defined as the right transmission sound channel of voice data;When
When audio-frequence player device is the audio-frequence player device of a broadcasting branch road, wearing position information is to be worn on the position of the left ear of user
Confidence ceases the corresponding audio-frequence player device playing branch road, or wearing position information is to be worn on the positional information of user's auris dextra
The corresponding audio-frequence player device playing branch road is defined as the stereo transmission sound channel of voice data;Data transmission module 5042,
For when the audio-frequence player device that audio-frequence player device is two broadcasting branch roads, by left transmission channel transfer voice data
Left channel data, by the right data of right transmission channel transfer voice data;When audio-frequence player device is a broadcasting
During the audio-frequence player device on road, by the left and right acoustic channels data of stereo transmission channel transfer voice data.
Alternatively, audio-frequence player device is ear speaker device, and sensing data includes ear stricture of vagina data, described ear stricture of vagina data include with
At least one lower: ear internal structure data, ear blob data, ear wrinkle data, ear folding line streakline data.
A kind of processing meanss of the voice data providing according to embodiments of the present invention, receive first for indicating audio frequency broadcasting
The sensing data of the wearing position of equipment;Then the wearing position information of audio-frequence player device is determined according to sensing data;Root again
According to wearing position information, determine the transmission sound channel of voice data, and the transmission channel transfer voice data by determining.For example,
Receive the sensing data for indicating ear speaker device wearing position from ear speaker device, ear speaker device is determined according to sensing data
Concrete wearing position, that is, ear speaker device be worn on left ear position or the right ear position of user of user, further according to ear speaker device
Wearing position, determine the transmission sound channel of voice data, the ear speaker device being worn on left ear position is defined as left transmission sound channel, wear
The ear speaker device being worn over right ear position is defined as right transmission sound channel, and transmits channel transfer voice data by the left and right determining
Left and right acoustic channels data.User need not differentiate the ear speaker device of corresponding left ear and the ear speaker device of corresponding auris dextra, alleviates user's
Operating burden.And, determine that ear speaker device is worn on left ear or the auris dextra of user according to sensing data, by a left side for voice data
Channel data transmits to the ear speaker device being worn on left ear, and the right data of voice data is transmitted to the ear being worn on auris dextra
Machine equipment, the transmission means of voice data is more flexible.
When the audio-frequence player device that the audio-frequence player device that user wears is two broadcasting branch roads, that is, user wears in left ear
Wear a broadcasting branch road of audio-frequence player device, user, will when auris dextra wears another broadcasting branch road of audio-frequence player device
Be worn on left ear plays the left transmission sound channel that branch road is defined as voice data, and the broadcasting branch road being worn on auris dextra is defined as sound
The right transmission sound channel of frequency evidence, by the left channel data of voice data by left transmission channel transfer, by the right sound of voice data
Track data is by right transmission channel transfer.
When the audio-frequence player device that the audio-frequence player device that user wears is a broadcasting branch road, that is, user in left ear or
When person's auris dextra wears the only one broadcasting branch road of audio-frequence player device, the broadcasting branch road that will be worn on left ear or auris dextra determines
For the stereo transmission sound channel of voice data, the left and right acoustic channels data of voice data is passed through stereo transmission channel transfer.
Additionally, the embodiment of the present invention additionally provides a kind of terminal unit, this terminal unit includes appointing in above-described embodiment
Anticipate a kind of processing meanss of voice data.
Embodiment six
Fig. 6 is the structural representation of another terminal unit provided in an embodiment of the present invention, and the specific embodiment of the invention is simultaneously
Implementing of terminal unit is not limited.
As shown in fig. 6, this terminal unit may include that processor (processor) 600, communication interface
(communications interface) 602, memorizer (memory) 604 and communication bus 606.
Wherein: processor 600, communication interface 602 and memorizer 604 complete mutual leading to by communication bus 606
Letter.
Communication interface 602, for the net element communication between terminal unit and audio-frequence player device.
Processor 600, for configuration processor 6041, specifically can execute the correlation step in said method embodiment.
Specifically, program 6041 can include program code, and this program code includes computer-managed instruction.
Processor 600 is probably a central processing unit cpu, or specific integrated circuit asic (application
Specific integrated circuit), or be arranged to implement the one or more integrated electricity of the embodiment of the present invention
Road.
Memorizer 604, is used for depositing program 6041.Memorizer 604 may comprise high speed ram memorizer it is also possible to also wrap
Include nonvolatile memory (non-volatile memory), for example, at least one disk memory.
Program 6041 specifically can be used for so that processor 600 executes following operation: receives and sets for indicating that audio frequency is play
The sensing data of standby wearing position;Determine the wearing position information of audio-frequence player device according to sensing data;According to wearing position
Confidence ceases, and determines the transmission sound channel of voice data, and the transmission channel transfer voice data by determining.
In a kind of optional embodiment, program 6041 specifically can be used for so that processor 600 is according to sensing number
According to determine audio-frequence player device wearing position information when, feature identification is carried out to sensing data and obtains bio information;According to life
Thing information determines the wearing position information of audio-frequence player device.
In a kind of optional embodiment, program 6041 specifically can be used for so that processor 600 is to sensing data
When carrying out feature identification and obtaining bio information, the discontinuous sensing data block that sensing data is formed carries out feature identification and obtains
Bio information.
In a kind of optional embodiment, program 6041 specifically can be used for so that processor 600 is according to biological letter
When breath determines the wearing position information of audio-frequence player device, determine the wearing position information of audio-frequence player device according to bio information
For being worn on the positional information of the left ear of user or the positional information being worn on user's auris dextra.
In a kind of optional embodiment, program 6041 specifically can be used for so that processor 600 wears position in basis
Confidence ceases, and determines the transmission sound channel of voice data, and during by the transmission channel transfer voice data of determination, plays when audio frequency and set
During standby audio-frequence player device for two broadcasting branch roads, wearing position information is that the positional information being worn on the left ear of user corresponds to
The audio-frequence player device of a broadcasting branch road be defined as the left transmission sound channel of voice data, wearing position information is to be worn on
The corresponding audio-frequence player device that another plays branch road of positional information of user's auris dextra is defined as the right transmission sound of voice data
Road;By the left channel data of left transmission channel transfer voice data, by the R channel of right transmission channel transfer voice data
Data;When the audio-frequence player device that audio-frequence player device is a broadcasting branch road, wearing position information is to be worn on user
The corresponding audio-frequence player device playing branch road of the positional information of left ear, or wearing position information is to be worn on user's auris dextra
The corresponding audio-frequence player device playing branch road of positional information is defined as the stereo transmission sound channel of voice data;By stereo
The left and right acoustic channels data of transmission channel transfer voice data.
In a kind of optional embodiment, audio-frequence player device is ear speaker device, and sensing data includes ear stricture of vagina data, ear
Stricture of vagina data includes at least one of: ear internal structure data, ear blob data, ear wrinkle data, ear folding line stricture of vagina
Line number evidence.
In program 6041, implementing in the corresponding steps that may refer in above-described embodiment and unit of each step corresponds to
Description, will not be described here.Those skilled in the art can be understood that, for convenience and simplicity of description, above-mentioned
The equipment of description and the specific work process of module, may be referred to the corresponding process description in preceding method embodiment, here is not
Repeat again.
A kind of terminal unit providing according to embodiments of the present invention, receives first for indicating wearing of audio-frequence player device
The sensing data of position;Then the wearing position information of audio-frequence player device is determined according to sensing data;Further according to wearing position
Information, determines the transmission sound channel of voice data, and the transmission channel transfer voice data by determining.For example, from ear speaker device
Receive the sensing data for indicating ear speaker device wearing position, specifically wear position according to what sensing data determined ear speaker device
Put, that is, ear speaker device is worn on left ear position or the right ear position of user of user, further according to the wearing position of ear speaker device,
Determine the transmission sound channel of voice data, the ear speaker device being worn on left ear position is defined as left transmission sound channel, is worn on auris dextra position
The ear speaker device put is defined as right transmission sound channel, and transmits the left and right acoustic channels number of channel transfer voice data by the left and right determining
According to.User need not differentiate the ear speaker device of corresponding left ear and the ear speaker device of corresponding auris dextra, alleviates the operating burden of user.And
And, determine that ear speaker device is worn on left ear or the auris dextra of user according to sensing data, the left channel data of voice data is passed
Transport to the ear speaker device being worn on left ear, the right data of voice data is transmitted to the ear speaker device being worn on auris dextra, sound
The transmission of frequency evidence is more flexible.
When the audio-frequence player device that the audio-frequence player device that user wears is two broadcasting branch roads, that is, user wears in left ear
Wear a broadcasting branch road of audio-frequence player device, user, will when auris dextra wears another broadcasting branch road of audio-frequence player device
Be worn on left ear plays the left transmission sound channel that branch road is defined as voice data, and the broadcasting branch road being worn on auris dextra is defined as sound
The right transmission sound channel of frequency evidence, by the left channel data of voice data by left transmission channel transfer, by the right sound of voice data
Track data is by right transmission channel transfer.
When the audio-frequence player device that the audio-frequence player device that user wears is a broadcasting branch road, that is, user in left ear or
When person's auris dextra wears the only one broadcasting branch road of audio-frequence player device, the broadcasting branch road that will be worn on left ear or auris dextra determines
For the stereo transmission sound channel of voice data, the left and right acoustic channels data of voice data is passed through stereo transmission channel transfer.
It may be noted that according to the needs implemented, all parts/step described in the embodiment of the present invention can be split as more
The part operation of two or more components/steps or components/steps also can be combined into new part/step by multi-part/step
Suddenly, to realize the purpose of the embodiment of the present invention.
Above-mentioned method according to embodiments of the present invention can be realized in hardware, firmware, or is implemented as being storable in remembering
Software in recording medium (such as cd rom, ram, floppy disk, hard disk or magneto-optic disk) or computer code, or it is implemented through net
The original storage that network is downloaded and will be stored in local recording medium in long-range recording medium or nonvolatile machine readable media
In computer code, thus method described here can be stored in using general purpose computer, application specific processor or can compile
Such software processes in the recording medium of journey or specialized hardware (such as asic or fpga).It is appreciated that computer, process
(for example, device, microprocessor controller or programmable hardware include can storing or receive the storage assembly of software or computer code
Ram, rom, flash memory etc.), when described software or computer code are by computer, processor or hardware access and when executing, realize
Processing method described here.Additionally, when general purpose computer accesses the code of the process being shown in which for realization, code
General purpose computer is converted to the special-purpose computer for executing the process being shown in which by execution.
Those of ordinary skill in the art are it is to be appreciated that combine the list of each example of the embodiments described herein description
Unit and method and step, being capable of being implemented in combination in electronic hardware or computer software and electronic hardware.These functions are actually
To be executed with hardware or software mode, the application-specific depending on technical scheme and design constraint.Professional and technical personnel
Each specific application can be used different methods to realize described function, but this realization is it is not considered that exceed
The scope of the embodiment of the present invention.
Embodiment of above is merely to illustrate the embodiment of the present invention, and the not restriction to the embodiment of the present invention, relevant skill
The those of ordinary skill in art field, in the case of the spirit and scope without departing from the embodiment of the present invention, can also make various
Change and modification, therefore all equivalent technical schemes fall within the category of the embodiment of the present invention, the patent of the embodiment of the present invention
Protection domain should be defined by the claims.
Claims (13)
1. a kind of processing method of voice data, comprising:
Receive the sensing data of the wearing position for indicating audio-frequence player device;
Determine the wearing position information of described audio-frequence player device according to described sensing data;
According to described wearing position information, determine the transmission sound channel of voice data, and the described transmission channel transfer by determining
Described voice data.
2. method according to claim 1, wherein, determines wearing of described audio-frequence player device according to described sensing data
Positional information includes:
Feature identification is carried out to described sensing data and obtains bio information;
Determine the wearing position information of described audio-frequence player device according to described bio information.
3. method according to claim 2, wherein, carries out feature identification to described sensing data and obtains bio information bag
Include:
The discontinuous sensing data block that described sensing data is formed carries out feature identification and obtains bio information.
4. according to the method in claim 2 or 3, wherein, described audio-frequence player device is determined according to described bio information
Wearing position information includes:
It is to be worn on the position of the left ear of user according to the wearing position information that described bio information determines described audio-frequence player device
Information or the positional information being worn on user's auris dextra.
5. method according to claim 4, wherein, according to described wearing position information, determines the transmission sound of voice data
Road, and included by the voice data described in described transmission channel transfer determining:
When the audio-frequence player device that described audio-frequence player device is two broadcasting branch roads, wearing position information is to be worn on use
The audio-frequence player device of the corresponding broadcasting branch road of positional information of the left ear in family is defined as the left transmission sound of described voice data
Road, the audio-frequence player device that wearing position information is positional information another broadcasting branch road corresponding being worn on user's auris dextra
It is defined as the right transmission sound channel of described voice data;
By the left channel data of voice data described in described left transmission channel transfer, by described in described right transmission channel transfer
The right data of voice data;
When the audio-frequence player device that described audio-frequence player device is a broadcasting branch road, wearing position information is to be worn on use
The corresponding audio-frequence player device playing branch road of positional information of the left ear in family, or wearing position information is for being worn on user's auris dextra
The corresponding audio-frequence player device playing branch road of positional information be defined as the stereo transmission sound channel of described voice data;
Left and right acoustic channels data by voice data described in described stereo transmission channel transfer.
6. method according to claim 1, wherein, described audio-frequence player device is ear speaker device, described sensing data bag
Include ear stricture of vagina data, described ear stricture of vagina data includes at least one of: ear internal structure data, ear blob data, ear wrinkle
Stricture of vagina data, ear folding line streakline data.
7. a kind of processing meanss of voice data, comprising:
Data reception module, for receiving the sensing data of the wearing position for indicating audio-frequence player device;
Position determination module, for determining the wearing position information of described audio-frequence player device according to described sensing data;
Sound channel determining module, for according to described wearing position information, determining the transmission sound channel of voice data, and by determination
Voice data described in described transmission channel transfer.
8. device according to claim 7, wherein, described position determination module includes:
Identification module, obtains bio information for carrying out feature identification to described sensing data;
Determining module, for determining the wearing position information of described audio-frequence player device according to described bio information.
9. device according to claim 8, wherein, described identification module, do not connect for formed to described sensing data
Continuous sensing data block carries out feature identification and obtains bio information.
10. device according to claim 8 or claim 9, wherein, described determining module, for determining according to described bio information
The wearing position information of described audio-frequence player device is to be worn on the positional information of the left ear of user or be worn on user's auris dextra
Positional information.
11. devices according to claim 10, wherein, described sound channel determining module includes:
Transmission sound channel determining module, for when the audio-frequence player device that described audio-frequence player device is two broadcasting branch roads, will
Wearing position information is that the audio-frequence player device of the corresponding broadcasting branch road of positional information being worn on the left ear of user is defined as
The left transmission sound channel of described voice data, by wearing position information be worn on user's auris dextra positional information corresponding another
The audio-frequence player device playing branch road is defined as the right transmission sound channel of described voice data;When described audio-frequence player device is one
During the audio-frequence player device of broadcasting branch road, wearing position information is that corresponding broadcasting of positional information being worn on the left ear of user is propped up
The audio-frequence player device on road, or the sound that wearing position information is the positional information corresponding broadcasting branch road being worn on user's auris dextra
Frequency playback equipment is defined as the stereo transmission sound channel of described voice data;
Data transmission module, for when the audio-frequence player device that described audio-frequence player device is two broadcasting branch roads, by institute
State the left channel data of voice data described in left transmission channel transfer, by voice data described in described right transmission channel transfer
Right data;When the audio-frequence player device that described audio-frequence player device is a broadcasting branch road, by described stereo biography
The left and right acoustic channels data of voice data described in defeated channel transfer.
12. devices according to claim 7, wherein, described audio-frequence player device is ear speaker device, described sensing data bag
Include ear stricture of vagina data, described ear stricture of vagina data includes at least one of: ear internal structure data, ear blob data, ear wrinkle
Stricture of vagina data, ear folding line streakline data.
A kind of 13. terminal units, including the processing meanss of the voice data described in any one of the claims 7-12.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610766238.4A CN106371796A (en) | 2016-08-30 | 2016-08-30 | Method and device for processing audio data, and terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610766238.4A CN106371796A (en) | 2016-08-30 | 2016-08-30 | Method and device for processing audio data, and terminal equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106371796A true CN106371796A (en) | 2017-02-01 |
Family
ID=57901377
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610766238.4A Pending CN106371796A (en) | 2016-08-30 | 2016-08-30 | Method and device for processing audio data, and terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106371796A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108537148A (en) * | 2018-03-26 | 2018-09-14 | 广东欧珀移动通信有限公司 | The acquisition of electronic equipment use information, analysis method and device, storage medium, electronic equipment |
-
2016
- 2016-08-30 CN CN201610766238.4A patent/CN106371796A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108537148A (en) * | 2018-03-26 | 2018-09-14 | 广东欧珀移动通信有限公司 | The acquisition of electronic equipment use information, analysis method and device, storage medium, electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107306369B (en) | Portable sound devices and method for controlling the portable sound devices | |
CN107277754A (en) | The method and Bluetooth peripheral of a kind of bluetooth connection | |
EP2201441B1 (en) | Identifying mobile devices | |
US8498439B2 (en) | Headset for user specific audio service and method for user specific audio service using the same | |
CN105122771B (en) | For providing the method and apparatus of service in bluetooth equipment | |
KR20140146366A (en) | Method for communication using wearable device and wearable device enabling the method | |
CN103336695B (en) | Start the method for application program, hand-hold electronic device and vehicle systems | |
US10178473B2 (en) | Collection and analysis of muted audio | |
CN109684249A (en) | Connection attribute for using electronic accessories to connect promotes the main equipment of positioning attachment | |
WO2015100210A1 (en) | Extending user authentication across a trust group of smart devices | |
CN104052795B (en) | Method and apparatus for the seamless application portability across multiple environment | |
CN103945253B (en) | Method for controlling volume and equipment, control method for playing multimedia and equipment | |
JP2007166538A5 (en) | ||
CN103986490B (en) | The system and method that arbitration carries out the audio-source of streaming by Mobile solution | |
CN104967734B (en) | Information switching method and system | |
CN109151671A (en) | Apparatus for processing audio, audio-frequency processing method and computer program product | |
CN105792136A (en) | Method for implementing surround sound using a plurality of vehicles | |
CN107592339A (en) | A kind of music based on intelligent terminal recommends method and music commending system | |
CN105691405A (en) | Vehicle for recognizing driver using mobile device and control method ther | |
CN108513196A (en) | A kind of wireless headset and its matching method | |
CN106371796A (en) | Method and device for processing audio data, and terminal equipment | |
JP2010074745A5 (en) | ||
JP6261311B2 (en) | COMMUNICATION SYSTEM, ELECTRONIC DEVICE, COMMUNICATION METHOD, AND COMMUNICATION PROGRAM | |
JP6276975B2 (en) | Information processing apparatus and information processing method | |
JP6406882B2 (en) | Electronic device, external device connection method and connection program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20170201 |
|
WD01 | Invention patent application deemed withdrawn after publication |