CN106101901A - A kind of earphone and method thereof being realized stereo output by near-field communication - Google Patents
A kind of earphone and method thereof being realized stereo output by near-field communication Download PDFInfo
- Publication number
- CN106101901A CN106101901A CN201610632459.2A CN201610632459A CN106101901A CN 106101901 A CN106101901 A CN 106101901A CN 201610632459 A CN201610632459 A CN 201610632459A CN 106101901 A CN106101901 A CN 106101901A
- Authority
- CN
- China
- Prior art keywords
- earplug
- data
- channel data
- module
- earphone
- 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
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/10—Earpieces; Attachments therefor ; Earphones; Monophonic headphones
- H04R1/1041—Mechanical or electronic switches, or control elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Computer Networks & Wireless Communication (AREA)
- Headphones And Earphones (AREA)
- Circuit For Audible Band Transducer (AREA)
Abstract
The invention discloses a kind of earphone and method thereof being realized stereo output by near-field communication, earphone includes the first earplug and the second earplug;Described first earplug receives the digital signal of audio frequency and is converted to second channel data and first passage data, and first passage data are played out by the first earplug, are transferred to the second earplug after being adjusted the sample rate of second channel data according to NFMI communications protocol;Described second earplug is play after recovering the sample rate of second channel data.The problem that bluetooth communication agreement can not realize high speed audio transmission is solved by NFMI communications protocol transmission data, data loss can not had to the full extent by adjusting sample rate, ensure the quality of sound, it is possible not only to reach the wireless sound answering two sound channels, additionally it is possible to reach lossless broadcasting.
Description
Technical field
The present invention relates to Audio Processing and wireless communication technique field, in particular one is realized by near-field communication
The earphone of stereo output and method thereof.
Background technology
Current social development is increasingly faster, Internet technology and more and more higher with the combination degree of electronic technology;Intelligence
Change, the requirement of hommization more and more higher.Consumer-elcetronics devices (such as mobile phone) uses popularization degree increasingly with its portable advantage
Height, the mobile incidental function of consumption electronic product covers life and produces, and multimedia function is also to use in consumer-elcetronics devices
Family uses most a kind of application.How to improve user's using effect and user has experienced and is required for considering into each producer
Problem.Audio frequency and video are system designs, and a lot of producers are only limited on the basis of oneself this product use better device,
The accessory of flower higher costs improves listens reward impression, improves tonequality;And the various indexs improving audio-frequency test are all back end design
Extremely complex system engineering.
At present, the most more functions by audio setting are placed on multimedia terminal equipment.Traditional earphone is the most very
Many, everybody designs at the i.e. earphone face shaping of earphone ID() improve in upper, sense of hearing and optimize, occur in that a lot of high-quality
Earphone.Wireless Bluetooth headsets can only realize single pass transmission, as wanted to realize stereo output, with regard to handy line by two at present
Earplug couples together or realizes stereo by a pair bluetooth.So can increase cost, and bluetooth communication agreement can not
Realizing the transmission of high speed audio, thus will be unable to realize the output of high-quality sound, using effect can not be with wired HIFI
(High-Fidelity, high-fidelity) earphone is compared.But, it is comparatively laborious that wired earphone wears arrangement, and earphone cord is easy to be wound around
Earphone is caused to damage.
Thus prior art could be improved and improve.
Summary of the invention
In place of above-mentioned the deficiencies in the prior art, it is an object of the invention to provide a kind of vertical by near-field communication realization
The earphone of body sound output and method thereof, to solve the problem that existing wireless headset can not realize stereo output.
A kind of earphone being realized stereo output by near-field communication, it includes the first earplug and the second earplug;
Described first earplug receives the digital signal of audio frequency and is converted to second channel data and first passage data, the first earplug
First passage data are played out, is transferred to after the sample rate of second channel data being adjusted according to NFMI communications protocol
Second earplug;Described second earplug is play after recovering the sample rate of second channel data.
In the described earphone being realized stereo output by near-field communication, described first earplug include transceiver module,
One internal memory, the first power module, processing module and the first speaker;
Described transceiver module receives the digital signal of audio frequency and unpacks acquisition clear data;Clear data described in first memory storage;Place
Reason module obtains clear data from the first internal memory and is separated into second channel data and first passage data, to first passage data
Transmit after carrying out digital-to-analogue conversion and play to the first speaker, also second channel data are transmitted to transceiver module;Transceiver module root
The second earplug it is transferred to after the sample rate of second channel data being adjusted according to NFMI communications protocol;First electric power source pair of module institute
State transceiver module, the first internal memory, processing module and the first power speakers.
In the described earphone being realized stereo output by near-field communication, described transceiver module includes that the first transmitting-receiving controls
Unit, first transceiver and bluetooth unit;
Described bluetooth unit receives the digital signal of audio frequency and unpacks acquisition clear data, will protect in clear data transmission to the first internal memory
Deposit;First transmitting-receiving control unit second channel data are adjusted to the sample rate of communications protocol consistent after be transferred to the first transmitting-receiving
Device;Second sound channel data are sent to the second earplug according to NFMI communications protocol by first transceiver.
In the described earphone being realized stereo output by near-field communication, described processing module includes that a MCU controls
Unit, the first dsp processor and the first audio frequency DAC unit;
Described first MCU control unit sends to read to instruct and obtains clear data from the first internal memory and be transferred to a DSP process
Device;Clear data is carried out separating acquisition second channel data and first passage data by the first dsp processor;Oneth MCU controls single
First passage data are transferred to the first audio frequency DAC unit by unit, and second channel data are transferred to the first transmitting-receiving control unit;The
One audio frequency DAC unit is play by the first speaker after first passage data carry out digital-to-analogue conversion.
In the described earphone being realized stereo output by near-field communication, described second earplug include receiver module,
Two internal memories, second source module, control module and the second speaker;
Described receiver module receives the second channel data that the first earplug sends, and transmits and deposit to the second internal memory after recovering sample rate
Storage;Control module is transmitted after obtaining second channel data from the second internal memory and carrying out resampling, digital-to-analogue conversion to second and is raised one's voice
Device is play;Second source module is to described receiver module, the second internal memory, control module and the second power speakers.
In the described earphone being realized stereo output by near-field communication, described receiver module includes that the second transmitting-receiving controls
Unit and second transceiver;
Described second transceiver receives the second channel data that the first earplug sends;Second transmitting-receiving control unit is to second channel number
According to carrying out data resampling to recover sample rate, and transmit to the second internal memory storage.
In the described earphone being realized stereo output by near-field communication, described control module includes that the 2nd MCU controls
Unit, the second dsp processor and the second audio frequency DAC unit;
Described second MCU control unit sends to read to instruct and reads second channel data from the second internal memory and be transferred to second
Dsp processor;Second dsp processor carries out data resampling and transmits to the second audio frequency DAC unit second channel data;The
Two audio frequency DAC unit transmit after the second channel data after resampling are carried out digital-to-analogue conversion to the second speaker broadcasting.
In the described earphone being realized stereo output by near-field communication, described first earplug is right earplug, and first leads to
Track data is right channel data, and the second earplug is left earplug, and second channel data are left channel data.
In the described earphone being realized stereo output by near-field communication, described first earplug is left earplug, and first leads to
Track data is left channel data, and the second earplug is right earplug, and second channel data are right channel data.
A kind of transmission method using the described earphone being realized stereo output by near-field communication, comprising:
Step A, the first earplug receive the digital signal of audio frequency and are converted to second channel data and first passage data;
First passage data are played out by step B, the first earplug, according to the sampling to second channel data of the NFMI communications protocol
Rate is transferred to the second earplug after being adjusted;
Step C, the second earplug are play after recovering the sample rate of second channel data.
Compared to prior art, the earphone and the method thereof that are realized stereo output by near-field communication that the present invention provides,
Earphone includes the first earplug and the second earplug;Described first earplug receives the digital signal of audio frequency and is converted to second channel data
With first passage data, first passage data are played out by the first earplug, according to NFMI communications protocol to second channel data
Sample rate be adjusted after be transferred to the second earplug;After the sample rate of second channel data is recovered by described second earplug
Play.Solve bluetooth communication agreement by NFMI communications protocol transmission data and can not realize the problem of high speed audio transmission,
Data loss can not had to the full extent by adjusting sample rate, it is ensured that the quality of sound, be possible not only to reach wireless
Answer the sound of two sound channels, additionally it is possible to reach lossless broadcasting.
Accompanying drawing explanation
Fig. 1 is that existing near field magnetic induction technology compares figure with the energy efficiency of RF.
Fig. 2 is the schematic diagram that existing near field magnetic induction technology and RF pass through tissue transmitting signal.
Fig. 3 is the structural frames of the earpiece application embodiment being realized stereo output by near-field communication that the present invention provides
Figure.
Fig. 4 is the structural frames of the first earplug in the earphone being realized stereo output by near-field communication that the present invention provides
Figure.
Fig. 5 is the structural frames of the second earplug in the earphone being realized stereo output by near-field communication that the present invention provides
Figure.
Fig. 6 be in the earphone being realized stereo output by near-field communication that the present invention provides first transmitting-receiving control unit and
The structured flowchart of the second transmitting-receiving control unit.
Fig. 7 is that the cell phone platform that the present invention provides transmits audio frequency to the schematic diagram of the first earplug by bluetooth module.
Fig. 8 is the schematic diagram of the A2DP that the present invention provides.
Fig. 9 is the method flow diagram being realized stereo output by near-field communication that the present invention provides.
Detailed description of the invention
The present invention provides a kind of earphone and method thereof being realized stereo output by near-field communication, utilizes NFMI(near field
Induction technology) technology, the stereo output of wireless headset can not only be realized, moreover it is possible to really reach the requirement of HD Audio output.
For making the purpose of the present invention, technical scheme and advantage clearer, clear and definite, the present invention is entered by the embodiment that develops simultaneously referring to the drawings
One step describes in detail.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not used to limit this
Bright.
The present embodiment first illustrates NFMI(near field magnetic induction technology) technology.NFMI can allow and carry out non-connecing between electronic equipment
Touch Point-to-Point Data Transmission, develops from contact-free formula RF identification (RFID), by grace intelligence Pu quasiconductor, Nokia and rope
Buddhist nun develops jointly.NFMI belongs to the radiotechnics of short distance high frequency, realizes radio communication by magnetic field induction mode, work
In the reference carrier frequency of 10MHz to 14 MHz, effective operation distance is the shortest, only 20cm.Radio transmitted power is only
1.62mW(running voltage 1.2V, operating current 1.35mA), the radiation injury to human body is the least, can be used for the ears such as sonifer mutual
Pass the communications field.Its transmission speed has three kinds, is 106 Kbit/s, 212 Kbit/s or 424 Kbit/s, this reality respectively
The transmission speed executing example use is 596 kbit/s.It is widely used in various RFID smart card (mass transit card, bank card, employee
Card, access card, member card etc.) and smart machine between Point-to-Point Data Transmission.Owing to its communication distance is short, low in energy consumption, one
Secondary and a machine link, so safety is the highest, be conducive to avoiding the credit card etc. stolen when concluding the business.And BLE
(Bluetooh Low Energy) in-plant bluetooth of this low-power consumption is compared, and NFMI power consumption is lower, and apart from shorter, connection sets
Time of putting is the shortest a lot, has good prospects.It is used for optimizing radio area network as super low-power consumption communication IC, uses near
Magnetic induction technology be provided that more close communication data in the range of each user.
When stereosonic voice data delivers to two single earplugs, if by common bluetooth A2DP(Advanced
Audio Distribution Profile, Bluetooth audio frequency mode is reached an agreement on) mode is impossible;Because bluetooth
Only support point-to-point communication.If the voice data of high-quality being delivered to another one earplug from an earplug, by 2.4Ghz RF
(radio frequency) scheme also is difficult to accomplish stable transmission;Because most signal all can be systemically absorbed.And the present embodiment is made
Near field magnetic induction technology can be friendly carry out ear to ear communication, and the interference that produces of bodily tissue and spherical magnetic field,
Can reduce the interference of other equipment, distance also can make signal intensity reduce, and reduces interference level, therefore increases robustness, permissible
Increase secure private.
In shorter distance, the magnetic induction technology energy efficiency than RF near field is higher, as it is shown in figure 1, r represents distance,
When having exceeded the distance of 0.5 meter, the decline of near field magnetic induction technology is the most severe.This ensures that there privacy and safety.
And in the case of low signal strength, NFMI can be propagated by tissue, RF then by human body or only can not export
The lowest signal, as in figure 2 it is shown, TX represents that transmission, RX represent reception.
Referring to Fig. 3, what the present invention provided realize the earphone of stereo output by near-field communication includes the first earplug 10
With the second earplug 20.First earplug 10 is main control device, and the second earplug 20 is standby for additionally arranging.Described first earplug 10 receives audio frequency
Digital signal is also converted to second channel data and first passage data, plays out first passage data, leads to according to NFMI
News agreement is transferred to the second earplug 20 after being adjusted the sample rate of second channel data.Second earplug 20 is to second channel number
According to sample rate recover after play.
Seeing also Fig. 4, described first earplug 10 includes transceiver module the 110, first internal memory the 120, first power module
130, processing module the 140, first speaker 150 and voice input module 160.Described transceiver module 110 is for receiving audio frequency
Digital signal also unpacks acquisition clear data.First internal memory 120 is used for storing described clear data.Processing module 140 is from the first internal memory
Obtain clear data in 120 and be separated into second channel data and first passage data, first passage data are carried out digital-to-analogue conversion
Rear transmission is play to the first speaker 150, is sent to the after the transmission of second channel data is carried out resampling to transceiver module 110
Two earplugs 20.First power module 130 is to described transceiver module the 110, first internal memory 120, processing module 140 and the first speaker
150 power supplies.
It is to be appreciated that described first earplug 10 also includes voice input module 160, it is Mike's voice module, uses
In gathering call voice, it is prior art, is not described further.Voice input module 160 is supplied by the first power module 130
Electricity.
Wherein, described transceiver module 110 includes the first transmitting-receiving control unit 111, first transceiver 112 and bluetooth unit
113.Described bluetooth unit 113 receives the digital signal of audio frequency and unpacks acquisition clear data (raw data is also initial data),
Clear data transmission to the first internal memory 120 will be preserved.Bluetooth unit 113 mainly leads to mobile terminal (such as mobile phone) carries out data
News, receive its digital signal sent.Described first transmitting-receiving control unit 111 is for carrying out resampling to second channel data
It is transferred to first transceiver 112 after (will second channel data be adjusted to consistent with the sample rate of communications protocol).First transmitting-receiving
Device 112 uses NFMI communications protocol that second sound channel data are sent to the second earplug 20.First transceiver 112 and the second earplug 20
Between use NFMI technology carry out data transmission.
In the present embodiment, digital signal, i.e. DAB of based on audio frequency by compression or are carried out by host-host protocol
During transmission, when reading or be transferred to receiving terminal, first pass through identification file head to obtain the phase of this digital signal
Close content (such as information such as form, sample rate, stereo or monophonics), by this related content, decoder is carried out during decoding
Configuration.But need not file header during decoding, therefore, what bluetooth unit 113 obtained after unpacking is only clear data.
Due to NFMI communications protocol based on data communication on the basis of, and data transmission bauds is 596kbps.Cause
This, before first transceiver 112 sends second sound channel data, need by the first transmitting-receiving control unit 111 second channel number
According to carrying out resampling.Because the sample rate major part of second channel data is all without more than 384kbps at present, so leading to second
Even if track data is adjusted to consistent second channel data and the sampling of communications protocol with the sample rate of communications protocol by resampling
Rate is identical and is 596kbps.Second channel data after resampling are sent by first transceiver 112 again.
Described processing module 140 includes that first MCU control unit the 141, first dsp processor 142 and the first audio frequency DAC is mono-
Unit 143.Described first MCU control unit 141 sends to read to instruct and obtains clear data from the first internal memory 120 and be transferred to first
Dsp processor 142.Owing to the digital signal of the audio frequency of mobile phone transmission has carried out MIX(mixing) process and resampling process (this
Two process are prior art.Corresponding encoder all can carry out mixing operation, particularly to multiple signals.Resampling be for
The operation speech data of compression being reduced into its original sample rate as far as possible and carry out.), this digital signal is
One passage and second channel compression after data, the clear data being therefore saved in the first internal memory 120 be two channel datas (i.e.
Second earplug and the first earplug need the audio mix of broadcasting together).Now need by the first dsp processor 142 pure
Data carry out separating and obtain second channel data and first passage data and be transferred to the first MCU control unit 141 and carry out point
Send out.First passage data are transferred to the first audio frequency DAC unit 143 by the first MCU control unit 141, second channel data are passed
It is defeated by the first transmitting-receiving control unit 111.First passage data are carried out after digital-to-analogue conversion by the by the first audio frequency DAC unit 143
One speaker 150 is play.
It is to be appreciated that described processing module 140 also includes existing first audio ADC unit 144, it is defeated by voice
The analogue signal entering the call voice that module 160 gathers is converted into the digital signal of correspondence and is transferred to the first MCU control unit
Send after process to the broadcasting of the other side's earphone, it is achieved that existing voice collecting transfer function.
See also Fig. 5, described second earplug 20 includes receiver module the 210, second internal memory 220, second source module
230, control module 240 and the second speaker 250.Described receiver module 210 is for receiving the second channel that the first earplug sends
Data also carry out resampling to recover sample rate, are then transmit in the second internal memory 220 storage.Due to this communication data speed very
Hurry up, and fast after the most most of lossless source of sound maximum sample rate (384kbps), so could will not go out to the full extent
Existing data loss, it is ensured that the quality of sound, it is possible not only to reach the wireless sound answering two sound channels, and can reach
Lossless broadcasting.Control module 240 passes after obtaining second channel data from the second internal memory 220 and carrying out resampling, digital-to-analogue conversion
Transport to the second speaker 250 play.Second source module 230 is to described receiver module the 210, second internal memory 220, control module
240 and second speaker 250 power.
Described receiver module 210 includes the second transmitting-receiving control unit 211 and second transceiver 212.Second transceiver 212 with
By NFMI technical transmission data between first transceiver 112, second transceiver 212 receive that first transceiver 112 sends the
Two channel datas.Second transmitting-receiving control unit 211 carries out data resampling to second channel data, to revert to original sampling
Rate.Wherein, described second transmitting-receiving control unit 211 also controls the duty of second transceiver 212.
Described control module 240 includes that second MCU control unit the 241, second dsp processor 242 and the second audio frequency DAC is mono-
Unit 243.Described second MCU control unit 241 sends to read to instruct and reads second channel data from the second internal memory 220 and transmit
To the second dsp processor 242.Second dsp processor 242 carries out the algorithm process of data resampling to second channel data and passes
Transport to the second audio frequency DAC unit 243.Second audio frequency DAC unit 243 carries out digital-to-analogue conversion to the second channel data after resampling
Rear transmission is play to the second speaker 250.Wherein, the second MCU control unit 241 also controls the power supply of second source module 230
State, i.e. judges that the second dsp processor 242 sends different control commands with the duty of the second audio frequency DAC unit 243 and enters
Row power management.
In the present embodiment, dsp processor (including the first dsp processor 142 and the second dsp processor 242) has three
Duty, i.e. deep sleep, duty and holding state.Owing to dsp processor and MCU control unit (include 141
With 241) it is connected, when opening the on and off switch of earplug system, MCU control unit can carry out power-on initialization operation, leads to simultaneously
Cross I2C and send instruction transmission power-up initializing order and the operation of loading firmware.It is fixed that MCU control unit starts task simultaneously
Time device be used for real-time judge whether have data need process;Have, enter duty, provide different current/voltages and join
Put the computing needs meeting high load capacity;The most then enter holding state.When time-out is (after i.e. reaching the timing of task timer
Still no data input), whole earphone system all can enter deep sleep, and dsp processor also can come in and go out this pattern accordingly, from
And reach the effect of power management.
With earphone and mobile communication, as a example by playing the music on mobile phone, described first earplug 10 and the tool of the second earplug 20
Body running principle is:
First pass through bluetooth unit 113 and set up communication with mobile phone.When mobile phone to play music, by Bluetooth protocol by the numeral of audio frequency
Signal is delivered to the bluetooth unit 113 of the first earplug 10 and is received.After digital signal is unpacked acquisition clear data by bluetooth unit 113
Transmit and preserve to the first internal memory 120.First MCU control unit 141 sends and reads instruction acquisition cardinar number from the first internal memory 120
According to and be transferred to the first dsp processor 142.First dsp processor 142 clear data is carried out separate algorithm (for prior art,
Corresponding with the algorithm that MIX processes) process, the second channel data obtained and the transmission of first passage data are controlled to a MCU
Unit 141 processed is distributed.First passage data are transferred to the first audio frequency DAC unit 143 and enter by the first MCU control unit 141
Played back by the first speaker 150 after row digital-to-analogue conversion.Second channel data are transferred to the first transmitting-receiving control unit 111 weight
It is sent to the second transceiver 212 of the second earplug 20 after sampling, again by first transceiver 112.
The second transceiver 212 of described second earplug 20 receive resampling after second channel data be transferred to the second transmitting-receiving
Control unit 211.Second transmitting-receiving control unit 211 carries out data resampling to second channel data, reverts to original sampling
Rate also transmits to the second internal memory 220 storage.Second MCU control unit 241 reads second channel data from the second internal memory 220
And transmit to the second dsp processor 242 and carry out the algorithm process of data resampling.Second channel data transmission after process is to the
Two audio frequency DAC unit 243 are played back by the second speaker 250 after carrying out digital-to-analogue conversion.
In the present embodiment, described first transmitting-receiving control unit 111 is identical with the structure of the second transmitting-receiving control unit 211, as
Shown in Fig. 6 dotted line frame, including magnetic induction controller, audio sample controller, delay controller, sectors code modem, the
Three dsp processors and I2S(audio-frequency bus).Magnetic induction controller is used for receiving transceiver (i.e. first transceiver or the second transmitting-receiving
Device, LA and LB represents width and the length of antenna in transceiver respectively) data transmitted.Audio sample controller is used for carrying out weight
Sampling is arranged.Delay controller is used for regulating delay time, optimizes speed and the time of transmission data.Sectors code modem
For gathering the data to corresponding wave band (i.e. the reference carrier frequency of NFMI technology).3rd dsp processor is used for heavily adopting
Sample and SRC algorithm (prior art) process.I2S connects storage management apparatus (i.e. internal memory).
(English in figure is to write according to the term of android, possesses certain mark to see also Fig. 7 and Fig. 8
Parasexuality and versatility, it is not necessary to make Chinese into or the translator of Chinese of correspondence is provided, those skilled in the art all know its implication).
In the present embodiment, it is as follows to the flow process of the first earplug that cell phone platform transmits audio frequency by bluetooth module:
In android system, application program can only see this interface of AudioSystem.AudioFlinger is a realization
Class, is mainly used in audio frequency routing and the audio mixing of PCM data bag and resampling, and PCM data bag is sent to bottom.
AudioFlinger is only one of which entity in all processes, and other processes are if desired for accessing by Binder interprocess communication
Mode conducts interviews.AudioHardware is one layer of hardware abstraction layer, the main transmitting-receiving being responsible for voice data and control.
AudioFlinger can regard actual hardware as.When audio path is arranged to A2DP, (i.e. blue by Bluetooth module
Tooth unit) transceiving data, hi-fi music can be heard by I tech clip S.AudioAccessory is mainly used in thing
The monitoring of part, and these events are sent to AudioFlinger carry out resetting of audio path.When Bluetooth stereo ear
After machine coupling, AudioAccessory can obtain corresponding information (monitoring the event of HCI layer) from kernel, then sound
Frequently path is configured to A2DP pattern, and such voice data the most only can be sent in the middle of bluetooth earphone, if necessary, it is also possible to arrange
The audio decoder chip of speaker proceeds to resting state.
When there being voice data to play, owing to the Open Source Code of SBC audio compression can only compress the number of 512bytes size
According to.Therefore, AudioHardware sends 4096Bytes every time, then these 4096 bytes is divided into N number of
The fritter of 512Bytes, puts in the middle of a queue.113Bytes is become after SBC compresses.Another one thread can be every
The secondary bag having compressed SBC encapsulates again, is packaged into the A2DP packet of a standard, the most again such A2DP
Packet moves in the middle of transmit queue.Last set good software timer, postbacks at set intervals and send one
A2DPpacket(bag).This time interval is the recommendation returned during SBC coding.
It is to be appreciated that time delay during Bluetooth data reception, sound can be caused to play asynchronous, common blue-teeth data passes
Just there are data after postponing 130ms in transmission protocol.And the NFMI technology that the present embodiment uses is in the communication of blue-tooth stereo earphone
On have inborn advantage, it postpones i.e. to may occur in which after 18ms data, is acoustically to synchronize when therefore sound is play.
In the present embodiment, described first earplug is right earplug, and first passage data are right channel data, and the first speaker is
Right speaker;Second earplug is left earplug, and second channel data are left channel data, and the second speaker is left speaker.At tool
When body is implemented, described first earplug is alternatively left earplug, and first passage data are left channel data, and the first speaker is to raise one's voice in a left side
Device;Second earplug is right earplug, and second channel data are right channel data, and the second speaker is right speaker.Herein to this not
It is construed as limiting.
Based on the above-mentioned earphone being realized stereo output by near-field communication, the present invention also provides for a kind of logical by near field
The method proving to be true after interrogation the most stereo output, sees also Fig. 9, and described method includes:
S100, the first earplug receive the digital signal of audio frequency and are converted to second channel data and first passage data;
First passage data are played out by S200, the first earplug, according to the sampling to second channel data of the NFMI communications protocol
Rate is transferred to the second earplug after being adjusted;
S300, the second earplug are play after recovering the sample rate of second channel data.Concrete grammar please refer to said apparatus
Embodiment.
In sum, the earphone and the method thereof that are realized stereo output by near-field communication of the present invention, at two earplugs
Between utilize NFMI transmission to substitute Bluetooth transmission, adjust sample rate according to NFMI communications protocol during transmission second channel data
Make both consistent, before playing second channel data, recover former sample rate;It is achieved thereby that the transmission of high-speed lossless voice data,
And accomplish farthest to synchronize in time delay;It addition, connect mobile phone and other platforms still by bluetooth approach, can be
The earphone making output wireless stereo based on NFMI technology to a greater extent mates with common consumption electronic product.
It should be appreciated that the application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can
To be improved according to the above description or to convert, all these modifications and variations all should belong to the guarantor of claims of the present invention
Protect scope.
Claims (10)
1. the earphone being realized stereo output by near-field communication, it is characterised in that include the first earplug and the second earplug;
Described first earplug receives the digital signal of audio frequency and is converted to second channel data and first passage data, the first earplug
First passage data are played out, is transferred to after the sample rate of second channel data being adjusted according to NFMI communications protocol
Second earplug;Described second earplug is play after recovering the sample rate of second channel data.
The earphone being realized stereo output by near-field communication the most according to claim 1, it is characterised in that described first
Earplug includes transceiver module, the first internal memory, the first power module, processing module and the first speaker;
Described transceiver module receives the digital signal of audio frequency and unpacks acquisition clear data;Clear data described in first memory storage;Place
Reason module obtains clear data from the first internal memory and is separated into second channel data and first passage data, to first passage data
Transmit after carrying out digital-to-analogue conversion and play to the first speaker, also second channel data are transmitted to transceiver module;Transceiver module root
The second earplug it is transferred to after the sample rate of second channel data being adjusted according to NFMI communications protocol;First electric power source pair of module institute
State transceiver module, the first internal memory, processing module and the first power speakers.
The earphone being realized stereo output by near-field communication the most according to claim 2, it is characterised in that described transmitting-receiving
Module includes the first transmitting-receiving control unit, first transceiver and bluetooth unit;
Described bluetooth unit receives the digital signal of audio frequency and unpacks acquisition clear data, will protect in clear data transmission to the first internal memory
Deposit;First transmitting-receiving control unit second channel data are adjusted to the sample rate of communications protocol consistent after be transferred to the first transmitting-receiving
Device;Second sound channel data are sent to the second earplug according to NFMI communications protocol by first transceiver.
The earphone being realized stereo output by near-field communication the most according to claim 3, it is characterised in that described process
Module includes the first MCU control unit, the first dsp processor and the first audio frequency DAC unit;
Described first MCU control unit sends to read to instruct and obtains clear data from the first internal memory and be transferred to a DSP process
Device;Clear data is carried out separating acquisition second channel data and first passage data by the first dsp processor;Oneth MCU controls single
First passage data are transferred to the first audio frequency DAC unit by unit, and second channel data are transferred to the first transmitting-receiving control unit;The
One audio frequency DAC unit is play by the first speaker after first passage data carry out digital-to-analogue conversion.
The earphone being realized stereo output by near-field communication the most according to claim 1, it is characterised in that described second
Earplug includes receiver module, the second internal memory, second source module, control module and the second speaker;
Described receiver module receives the second channel data that the first earplug sends, and transmits and deposit to the second internal memory after recovering sample rate
Storage;Control module is transmitted after obtaining second channel data from the second internal memory and carrying out resampling, digital-to-analogue conversion to second and is raised one's voice
Device is play;Second source module is to described receiver module, the second internal memory, control module and the second power speakers.
The earphone being realized stereo output by near-field communication the most according to claim 5, it is characterised in that described reception
Module includes the second transmitting-receiving control unit and second transceiver;
Described second transceiver receives the second channel data that the first earplug sends;Second transmitting-receiving control unit is to second channel number
According to carrying out data resampling to recover sample rate, and transmit to the second internal memory storage.
The earphone being realized stereo output by near-field communication the most according to claim 6, it is characterised in that described control
Module includes the second MCU control unit, the second dsp processor and the second audio frequency DAC unit;
Described second MCU control unit sends to read to instruct and reads second channel data from the second internal memory and be transferred to second
Dsp processor;Second dsp processor carries out data resampling and transmits to the second audio frequency DAC unit second channel data;The
Two audio frequency DAC unit transmit after the second channel data after resampling are carried out digital-to-analogue conversion to the second speaker broadcasting.
The earphone being realized stereo output by near-field communication the most according to claim 1, it is characterised in that described first
Earplug is right earplug, and first passage data are right channel data, and the second earplug is left earplug, and second channel data are left port number
According to.
The earphone being realized stereo output by near-field communication the most according to claim 1, it is characterised in that described first
Earplug is left earplug, and first passage data are left channel data, and the second earplug is right earplug, and second channel data are right port number
According to.
10. using a transmission method for the earphone being realized stereo output by near-field communication described in claim 1, it is special
Levy and be, including:
Step A, the first earplug receive the digital signal of audio frequency and are converted to second channel data and first passage data;
First passage data are played out by step B, the first earplug, according to the sampling to second channel data of the NFMI communications protocol
Rate is transferred to the second earplug after being adjusted;
Step C, the second earplug are play after recovering the sample rate of second channel data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610632459.2A CN106101901B (en) | 2016-08-04 | 2016-08-04 | A kind of earphone and its method for realizing three-dimensional voice output by near-field communication |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610632459.2A CN106101901B (en) | 2016-08-04 | 2016-08-04 | A kind of earphone and its method for realizing three-dimensional voice output by near-field communication |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106101901A true CN106101901A (en) | 2016-11-09 |
CN106101901B CN106101901B (en) | 2019-06-04 |
Family
ID=57454741
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610632459.2A Active CN106101901B (en) | 2016-08-04 | 2016-08-04 | A kind of earphone and its method for realizing three-dimensional voice output by near-field communication |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106101901B (en) |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106792326A (en) * | 2017-04-07 | 2017-05-31 | 广州黑格智能科技有限公司 | A kind of earphone and earphone system |
CN106921908A (en) * | 2017-03-24 | 2017-07-04 | 成都市极米科技有限公司 | A kind of Baffle Box of Bluetooth method and system |
CN107071615A (en) * | 2017-04-07 | 2017-08-18 | 广州黑格智能科技有限公司 | A kind of earphone and earphone system |
CN107124674A (en) * | 2017-06-20 | 2017-09-01 | 歌尔科技有限公司 | A kind of audio-frequency inputting method of bluetooth earphone, device and bluetooth earphone |
CN107205192A (en) * | 2017-07-28 | 2017-09-26 | 广州黑格智能科技有限公司 | A kind of audio frequency playing method of ears wireless headset and ears wireless headset |
CN107318062A (en) * | 2017-05-11 | 2017-11-03 | 恒玄科技(上海)有限公司 | A kind of low-power consumption one drag two bluetooth earphone |
CN108777854A (en) * | 2018-05-25 | 2018-11-09 | 恒玄科技(上海)有限公司 | A kind of wireless headset realization stereosonic system and method for high-quality transmission |
CN109688513A (en) * | 2018-11-19 | 2019-04-26 | 恒玄科技(上海)有限公司 | Wireless active noise reduction earphone and double active noise reduction earphone communicating data processing methods |
CN110191389A (en) * | 2019-06-25 | 2019-08-30 | 歌尔股份有限公司 | Mulit-point Connection method, apparatus, bluetooth headset and the TWS earphone of wireless headset |
CN110381492A (en) * | 2019-07-30 | 2019-10-25 | 上海富芮坤微电子有限公司 | The implementation method of bluetooth headset ears call |
CN111385621A (en) * | 2020-03-18 | 2020-07-07 | 海信视像科技股份有限公司 | Display device and Bluetooth audio transmission method |
US10715898B2 (en) | 2017-05-11 | 2020-07-14 | Bestechnic (Shanghai) Co., Ltd. | Dual-band wireless headphones |
CN111989938A (en) * | 2018-04-19 | 2020-11-24 | 高通股份有限公司 | Reliable wireless communication with a source using relay communication |
CN112383864A (en) * | 2020-09-29 | 2021-02-19 | 江苏清微智能科技有限公司 | Wireless earphone data transmission system and method |
CN113015057A (en) * | 2021-03-16 | 2021-06-22 | 歌尔科技有限公司 | Earphone and earphone system |
CN113488062A (en) * | 2020-03-16 | 2021-10-08 | 维沃移动通信有限公司 | Audio transmission method and electronic equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101637012A (en) * | 2007-03-14 | 2010-01-27 | 高通股份有限公司 | Headset having wirelessly linked earpieces |
CN102780953A (en) * | 2011-05-06 | 2012-11-14 | 奥迪康有限公司 | Receiver and method for retrieving an information signal from a magnetic induction signal |
US20140029777A1 (en) * | 2012-07-27 | 2014-01-30 | Algor Korea Co., Ltd. | Wireless in-the-ear type hearing aid system having remote control function and control method thereof |
-
2016
- 2016-08-04 CN CN201610632459.2A patent/CN106101901B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101637012A (en) * | 2007-03-14 | 2010-01-27 | 高通股份有限公司 | Headset having wirelessly linked earpieces |
CN102780953A (en) * | 2011-05-06 | 2012-11-14 | 奥迪康有限公司 | Receiver and method for retrieving an information signal from a magnetic induction signal |
US20140029777A1 (en) * | 2012-07-27 | 2014-01-30 | Algor Korea Co., Ltd. | Wireless in-the-ear type hearing aid system having remote control function and control method thereof |
Cited By (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106921908A (en) * | 2017-03-24 | 2017-07-04 | 成都市极米科技有限公司 | A kind of Baffle Box of Bluetooth method and system |
CN107071615A (en) * | 2017-04-07 | 2017-08-18 | 广州黑格智能科技有限公司 | A kind of earphone and earphone system |
CN106792326A (en) * | 2017-04-07 | 2017-05-31 | 广州黑格智能科技有限公司 | A kind of earphone and earphone system |
CN107318062B (en) * | 2017-05-11 | 2019-10-11 | 恒玄科技(上海)有限公司 | A kind of low-power consumption one drag two bluetooth headset |
US10715898B2 (en) | 2017-05-11 | 2020-07-14 | Bestechnic (Shanghai) Co., Ltd. | Dual-band wireless headphones |
CN107318062A (en) * | 2017-05-11 | 2017-11-03 | 恒玄科技(上海)有限公司 | A kind of low-power consumption one drag two bluetooth earphone |
CN107124674A (en) * | 2017-06-20 | 2017-09-01 | 歌尔科技有限公司 | A kind of audio-frequency inputting method of bluetooth earphone, device and bluetooth earphone |
CN107124674B (en) * | 2017-06-20 | 2019-11-08 | 歌尔科技有限公司 | A kind of audio-frequency inputting method of bluetooth headset, device and bluetooth headset |
CN107205192B (en) * | 2017-07-28 | 2019-10-11 | 广州黑格智能科技有限公司 | A kind of audio frequency playing method of ears wireless headset and ears wireless headset |
CN107205192A (en) * | 2017-07-28 | 2017-09-26 | 广州黑格智能科技有限公司 | A kind of audio frequency playing method of ears wireless headset and ears wireless headset |
CN111989938A (en) * | 2018-04-19 | 2020-11-24 | 高通股份有限公司 | Reliable wireless communication with a source using relay communication |
US11622404B2 (en) | 2018-04-19 | 2023-04-04 | Qualcomm Incorporated | Reliable wireless communication with a source using relayed communication |
CN108777854A (en) * | 2018-05-25 | 2018-11-09 | 恒玄科技(上海)有限公司 | A kind of wireless headset realization stereosonic system and method for high-quality transmission |
CN109688513A (en) * | 2018-11-19 | 2019-04-26 | 恒玄科技(上海)有限公司 | Wireless active noise reduction earphone and double active noise reduction earphone communicating data processing methods |
CN110191389A (en) * | 2019-06-25 | 2019-08-30 | 歌尔股份有限公司 | Mulit-point Connection method, apparatus, bluetooth headset and the TWS earphone of wireless headset |
CN110381492A (en) * | 2019-07-30 | 2019-10-25 | 上海富芮坤微电子有限公司 | The implementation method of bluetooth headset ears call |
CN113488062A (en) * | 2020-03-16 | 2021-10-08 | 维沃移动通信有限公司 | Audio transmission method and electronic equipment |
CN111385621A (en) * | 2020-03-18 | 2020-07-07 | 海信视像科技股份有限公司 | Display device and Bluetooth audio transmission method |
CN111385621B (en) * | 2020-03-18 | 2022-08-02 | 海信视像科技股份有限公司 | Display device and Bluetooth audio transmission method |
CN112383864A (en) * | 2020-09-29 | 2021-02-19 | 江苏清微智能科技有限公司 | Wireless earphone data transmission system and method |
CN113015057A (en) * | 2021-03-16 | 2021-06-22 | 歌尔科技有限公司 | Earphone and earphone system |
Also Published As
Publication number | Publication date |
---|---|
CN106101901B (en) | 2019-06-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106101901B (en) | A kind of earphone and its method for realizing three-dimensional voice output by near-field communication | |
CN107205192B (en) | A kind of audio frequency playing method of ears wireless headset and ears wireless headset | |
US11350486B2 (en) | Wireless communication method for earphones, master earphone, slave earphone, earphone system | |
CN107318062B (en) | A kind of low-power consumption one drag two bluetooth headset | |
WO2020133112A1 (en) | Method for automatically switching bluetooth audio encoding method and electronic apparatus | |
WO2020107466A1 (en) | Point to multi-point data transmission method and device | |
CN101645717B (en) | Method and terminal for sharing audio information by multiple users by utilizing Bluetooth headsets | |
WO2020124611A1 (en) | Rate control method and device | |
CN203261458U (en) | Two-microphone denoising-type Bluetooth earphone and vehicle therewith | |
CN205725981U (en) | A kind of mobile phone possessing digital-to-analogue intercom function | |
CN203180922U (en) | Wireless earphone system based on near field electromagnetic induction | |
CN204425599U (en) | A kind of earphone based on bone conduction technology | |
CN201957216U (en) | Bluetooth earphone with sound recording function | |
CN208273200U (en) | A kind of bone-conduction device of microphone external | |
CN105933816A (en) | Wireless headset, playing method and device of wireless headset, headset data line and playing equipment | |
CN1997241A (en) | Nose bone conduction communication transfer and peripheral device | |
CN201657051U (en) | Mobile phone with Bluetooth earphone | |
CN211791968U (en) | TWS earphone | |
CN212086427U (en) | High sampling rate bluetooth voice transmission system | |
CN209806070U (en) | Wearable directional sound system | |
CN207832304U (en) | A kind of intelligent electronic-scale with bluetooth | |
CN203039855U (en) | Wireless earphone | |
CN2901757Y (en) | Nasal bone conductive communication transmission and peripheral device | |
CN210958744U (en) | TWS earphone | |
CN216253195U (en) | Earphone capable of interacting with cloud platform |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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 |