CN107124674A - A kind of audio-frequency inputting method of bluetooth earphone, device and bluetooth earphone - Google Patents

A kind of audio-frequency inputting method of bluetooth earphone, device and bluetooth earphone Download PDF

Info

Publication number
CN107124674A
CN107124674A CN201710470457.2A CN201710470457A CN107124674A CN 107124674 A CN107124674 A CN 107124674A CN 201710470457 A CN201710470457 A CN 201710470457A CN 107124674 A CN107124674 A CN 107124674A
Authority
CN
China
Prior art keywords
audio signal
channel audio
earphone
sound
sound channel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710470457.2A
Other languages
Chinese (zh)
Other versions
CN107124674B (en
Inventor
周承胜
姜双弟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Goertek Techology Co Ltd
Original Assignee
Goertek Techology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN201710470457.2A priority Critical patent/CN107124674B/en
Publication of CN107124674A publication Critical patent/CN107124674A/en
Application granted granted Critical
Publication of CN107124674B publication Critical patent/CN107124674B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1041Mechanical or electronic switches, or control elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2420/00Details of connection covered by H04R, not provided for in its groups
    • H04R2420/03Connection circuits to selectively connect loudspeakers or headphones to amplifiers

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Headphones And Earphones (AREA)
  • Circuit For Audible Band Transducer (AREA)
  • Stereophonic System (AREA)

Abstract

The invention discloses a kind of audio-frequency inputting method of bluetooth earphone, device and bluetooth earphone, the bluetooth earphone includes main earphone and from earphone, and methods described includes:Main earphone receives the audio signal of sound source, and the audio signal is separated into the first channel audio signal and second sound channel audio signal;The second sound channel audio signal is sent to from earphone using near-field communication technology and carries out audio output;The first channel audio signal carries out audio output after caching certain frame number according to the caching frame numerical control system obtained in advance, wherein, the caching frame number obtained in advance is to be sent to the time from earphone to obtain according to the second sound channel audio signal, the technique effect for realizing left and right bluetooth earphone synchronism output audio has been reached, Consumer's Experience is lifted.

Description

A kind of audio-frequency inputting method of bluetooth earphone, device and bluetooth earphone
Technical field
The present invention relates to computer control field, and in particular to a kind of audio-frequency inputting method of bluetooth earphone, device and indigo plant Tooth earphone.
Background technology
At present, Bluetooth wireless earphone mainly realizes the connection and driving of left ear earphone and source of sound using Bluetooth Communication Technology, Left ear earphone realizes the separation of sound channel, and right channel sound is transferred into auris dextra earphone using near-field communication technology, tradition is solved Bluetooth earphone connection is unstable, the problem of choppy voice.And near-field communication technology has low-power consumption, it is friendly to human body and The advantages of high reliability, so having obtained lifting very in performance using the wireless headset of " bluetooth+near-field communication technology ".But It is that this near-field communication technology can not directly transmit audio signal (the hereinafter referred I2S audios based on I2S voice communication agreements Signal), it is necessary to the I2S audio signals to Bluetooth transmission will be encoded, transmitted and decoded, when this process takes certain Between, the sound for causing left and right ear to be heard is asynchronous, influences Consumer's Experience.
Traditional Bluetooth wireless earphone is main by Bluetooth chip, MCU, near-field communication technology chip, audio decoder chip (codec) constituted with loudspeaker, Fig. 1 is the operation principle schematic diagram of conventional Bluetooth earphone.Wherein, left ear earphone is main equipment, right Ear earphone is slave unit, and the sound source signal of mobile phone is output as I2S audio signals, I2S audios by the Bluetooth chip of left ear earphone Voice signal is separated into L channel I2S audio signals and R channel I2S audio signals, wherein R channel I2S by signal by MCU Audio signal is output to near-field communication technology chip and decoded, and L channel I2S audio signals are directly output to audio decoder core Piece carries out acoustic processing.Being output to the encoded formation of signal of near-field communication technology chip can be transmitted with near-field communication technology Audio signal, be transferred to the near-field communication technology chip of auris dextra earphone, be output to audio decoder chip signal transacting processing The broadcasting that sound is carried out to loudspeaker is exported afterwards.The near-field communication technology chip of auris dextra earphone receives the audio signal of R channel Afterwards, the signal is decoded, is changed into I2S audio signals, I2S audio signals pass through auris dextra after the processing of audio decoder chip Loudspeaker in earphone play sound.
Traditional Bluetooth wireless earphone is exported again because the audio signal of R channel have passed through coding, transmission and decoding process To the audio decoder chip of auris dextra earphone, and the audio signal of L channel has been directly output to audio decoder chip by MCU, so The sound of two sound channels has that the regular hour is poor when being transferred to audio decoder chip, and ultimately resulting in two earphones can not be same When export sound, influence Consumer's Experience.
The content of the invention
The invention provides a kind of audio-frequency inputting method of bluetooth earphone, device and bluetooth earphone, to solve existing indigo plant Tooth earphone or so earphone exports nonsynchronous problem.
According to an aspect of the invention, there is provided a kind of audio-frequency inputting method of bluetooth earphone, the bluetooth earphone bag Include main earphone and from earphone, methods described includes:
Main earphone receives the audio signal of sound source, and the audio signal is separated into the first channel audio signal and the rising tone Audio channel signal;
The second sound channel audio signal is sent to from earphone using near-field communication technology and carries out audio output;
The first channel audio signal carries out audio after caching certain frame number according to the caching frame numerical control system obtained in advance Output, wherein, the caching frame number obtained in advance is to be sent according to the second sound channel audio signal to the time from earphone Obtain, realize that the first channel audio signal is synchronous with second sound channel audio signal.
According to an aspect of the present invention, a kind of audio-frequency inputting method of bluetooth earphone, the bluetooth earphone are additionally provided Including main earphone and from earphone, methods described includes:
Main earphone receives the audio signal of sound source, and the audio signal is separated into the first channel audio signal and second Channel audio signal;
The second sound channel audio signal is sent to from earphone using near-field communication technology and carries out audio output;
The second sound channel audio signal according to obtaining in advance is sent to the first sound channel described in the time control from earphone Audio signal carries out audio output after delay certain time, realizes that the first channel audio signal and second sound channel audio signal are same Step.
There is provided a kind of audio output device of bluetooth earphone, the bluetooth earphone according to another aspect of the present invention Including main earphone and from earphone, described device includes:
Audio receiving unit, the audio signal for receiving sound source;
Audio separative element, for the audio signal to be separated into the first channel audio signal and second sound channel audio letter Number;
Second sound channel audio transmitting element, for using near-field communication technology by the second sound channel audio signal send to Audio output is carried out from earphone;
First channel audio buffer unit, for the first channel audio letter according to the caching frame numerical control system obtained in advance Audio output is carried out after number certain frame number of caching, wherein, the caching frame number obtained in advance is believed according to the second sound channel audio Number send to the time from earphone and to obtain, realize that the first channel audio signal is synchronous with second sound channel audio signal.
According to another aspect of the present invention, a kind of audio output device of bluetooth earphone, the bluetooth ear are additionally provided Machine includes main earphone and from earphone, and described device includes:
Audio receiving unit, the audio signal for receiving sound source;
Audio separative element, for the audio signal to be separated into the first channel audio signal and second sound channel audio letter Number;
Second sound channel audio transmitting element, for using near-field communication technology by the second sound channel audio signal send to Audio output is carried out from earphone;
First channel audio delay unit, for being sent according to the second sound channel audio signal that obtains in advance to from ear The first channel audio signal carries out audio output after delay certain time described in the time control of machine, realizes that the first channel audio is believed It is number synchronous with second sound channel audio signal.
According to a further aspect of the invention there is provided a kind of audio output device of bluetooth earphone, described device includes Memory and processor, are communicated by internal bus between the memory and the processor and connected, the memory storage Having be able to can be realized by the computer program of the computing device, the computer program during computing device The method and step stated.
According to the still a further aspect of the present invention there is provided a kind of bluetooth earphone, the bluetooth earphone include main earphone and From earphone, the main earphone includes the audio output device of above-mentioned bluetooth earphone.
The beneficial effects of the invention are as follows:The audio signal of reception is separated into by technical scheme by main earphone One channel audio signal and second sound channel audio signal, using near-field communication technology by the second sound channel audio signal send to Audio output is carried out from earphone, and the first channel audio signal caches a framing according to the caching frame numerical control system obtained in advance Audio output is carried out after number, or, sent according to the second sound channel audio signal obtained in advance to the time control from earphone Audio output is carried out after making the first channel audio signal delay certain time so that the first channel audio signal and the rising tone Audio channel signal is exported simultaneously, has reached the technique effect for realizing left and right bluetooth earphone synchronism output audio, lifts Consumer's Experience. Resource is saved on software simultaneously, while also reducing the complexity of software processing.In addition, in near-field communication technology bandwidth Under conditions of permission, sample rate can be improved so that the data cached frame number corresponding time more approaches actual delay time td, improve the synchronous effect of left and right ear earphone.
Brief description of the drawings
Fig. 1 is the operation principle schematic diagram of conventional Bluetooth earphone;
Fig. 2 is a kind of flow chart of the audio-frequency inputting method of bluetooth earphone of one embodiment of the invention;
Fig. 3 is a kind of operation principle schematic diagram of the audio-frequency inputting method of bluetooth earphone of one embodiment of the invention;
Fig. 4 is the flow chart of the audio-frequency inputting method of another bluetooth earphone of one embodiment of the invention;
Fig. 5 is the operation principle schematic diagram of the audio-frequency inputting method of another bluetooth earphone of one embodiment of the invention;
Fig. 6 is a kind of structural representation of the audio output device of bluetooth earphone of one embodiment of the invention;
Fig. 7 is the structural representation of the audio output device of another bluetooth earphone of one embodiment of the invention;
Fig. 8 is the structural representation of the audio output device of another bluetooth earphone of one embodiment of the invention;
Fig. 9 is a kind of structural representation of bluetooth earphone of one embodiment of the invention.
Embodiment
The present invention design concept be:Nonsynchronous problem is exported in order to solve existing bluetooth earphone or so earphone, is carried Rise Consumer's Experience.Control the certain frame number of the audio signal caching in main earphone or delay regular hour so that Zhu Conger Machine is while exports audio signal.
Embodiment one
Fig. 2 is a kind of flow chart of the audio-frequency inputting method of bluetooth earphone of one embodiment of the invention, as shown in Fig. 2 A kind of audio-frequency inputting method of bluetooth earphone, the bluetooth earphone includes main earphone and from earphone, and methods described includes:
In step s 110, main earphone receives the audio signal of sound source, and the audio signal is separated into the first sound channel sound Frequency signal and second sound channel audio signal;
In one embodiment of the invention, source of sound may come from mobile phone, can be from Bluetooth function Other audio-frequence player devices.
In the step s 120, the second sound channel audio signal is sent to from earphone using near-field communication technology and carries out sound Frequency is exported;
In step s 130, the first channel audio signal caches a framing according to the caching frame numerical control system obtained in advance Audio output is carried out after number, wherein, the caching frame number obtained in advance is to be sent according to the second sound channel audio signal to described Obtained from the time of earphone, realize that the first channel audio signal is synchronous with second sound channel audio signal.
By the method shown in Fig. 2, technical scheme receives the audio signal of sound source by main earphone, will The audio signal is separated into the first channel audio signal and second sound channel audio signal;Near-field communication technology is used simultaneously by institute State second sound channel audio signal send to from earphone carry out audio output;And according to the caching frame numerical control system obtained in advance One channel audio signal carries out audio output after caching certain frame number so that the first channel audio signal and second sound channel audio letter Export number simultaneously, reached the technique effect for realizing left and right bluetooth earphone synchronism output audio, lift Consumer's Experience.Simultaneously soft Resource is saved on part, while also reducing the complexity of software processing.In addition, the bar allowed in near-field communication technology bandwidth Under part, sample rate can be improved so that the data cached frame number corresponding time more approaches actual delay time td, improve left The synchronous effect of auris dextra earphone.
In order that obtaining, technical scheme is clearer, below technical side for a specific example to the present invention Case is explained.Fig. 3 is a kind of operation principle of the audio-frequency inputting method of bluetooth earphone of one embodiment of the invention Schematic diagram, as shown in Figure 3, it is assumed that corresponding L channel is main earphone, and corresponding R channel is the bluetooth core of main earphone from earphone Piece receives sound source (source of sound) signal and exports I2Processor in S audio signals, the Bluetooth chip of main earphone is by I2S audio signals It is separated into L channel I2S audio signals and R channel I2S audio signals, and by R channel I2S audio signals pass through near-field communication skill Art is transmitted to the audio decoder chip progress acoustic processing from earphone and exported.Simultaneously by the L channel I separated2S audios Storage region of the signal in Bluetooth chip is cached.
The left and right acoustic channels clock of the audio signal is obtained, T is designated asLR;And near-field communication technology is used by described second Channel audio signal was sent to the time from earphone, was designated as td
According to formulaThe caching frame number of the left channel audio signal is calculated, wherein, n is the left audio The caching frame number of signal;
Control the left channel audio signal to be cached according to the caching frame number, judge whether caching frame number reaches institute Caching frame number is stated, if so, then control left channel audio signal is exported, bluetooth earphone or so earphone synchronism output is realized.
It should be noted that I2The left and right clock LRCLK of S audio signals is fixed value, by I2S audio signals are separated into L channel I2S audio signals and R channel I2After S audio signals, L channel I2S audio signals and R channel I2S audio signals Left and right clock LRCLK is still TLR.Near-field communication technology is to be encoded, transmitted by near-field communication technology chip, decoding real Existing, wherein, the time that near-field communication technology chip is encoded, transmitted, decoded is fixed value.Near field leads in the present embodiment The host-host protocol of letter technology generally uses A2DP Bluetooth audio frequency mode agreements.Advanced Audio Distribution Profile (A2DP) Bluetooth audio frequencies mode is reached an agreement on, and A2DP is can to reach sound using the chip in earphone come stacked data The fine definition of sound.Near-field communication technology host-host protocol is not limited to A2DP agreements in actual applications, can also be according to reality Need the communication for using other communication protocols to realize principal and subordinate's earphone.
It will be appreciated that though channel audio signal, but these may be described using term first and second in the application Information should not necessarily be limited by these terms.These terms are only used for same type of information being distinguished from each other out.For example, not departing from this In the case of application range, left channel audio signal can be referred to as the first channel audio signal, and right channel audio signal can be with It is referred to as second sound channel audio signal.Similarly, main earphone can also be referred to as the first earphone, can also be referred to as from earphone Two earphones.
Embodiment two
Fig. 4 is the flow chart of the audio-frequency inputting method of another bluetooth earphone of one embodiment of the invention, such as Fig. 4 institutes Show, a kind of audio-frequency inputting method of bluetooth earphone, the bluetooth earphone includes main earphone and from earphone, and methods described includes:
In step s 110, main earphone receives the audio signal of sound source, and the audio signal is separated into the first sound channel Audio signal and second sound channel audio signal;
In the step s 120, the second sound channel audio signal is sent to from earphone using near-field communication technology and carries out sound Frequency is exported;
In step s 130, sent according to the second sound channel audio signal obtained in advance to the time control from earphone Audio output is carried out after the first channel audio signal delay certain time, the first channel audio signal and second sound channel is realized Audio signal is synchronous.
By the method shown in Fig. 4, technical scheme receives the audio signal of sound source by main earphone, will The audio signal is separated into the first channel audio signal and second sound channel audio signal;Near-field communication technology is used simultaneously by institute State second sound channel audio signal send to from earphone carry out audio output;And believed according to the second sound channel audio obtained in advance Number send to the first channel audio signal described in time control from earphone and to carry out audio output after delay certain time, reach The technique effect of left and right bluetooth earphone synchronism output audio is realized, Consumer's Experience is lifted.Resource is saved on software simultaneously, together When also reduce the complexity of software processing.
In order that obtaining, technical scheme is clearer, below technical side for a specific example to the present invention Case is explained.Fig. 5 is that the work of the audio-frequency inputting method of another bluetooth earphone of one embodiment of the invention is former Schematic diagram is managed, as shown in fig. 5, it is assumed that it is main earphone that L channel is corresponding, corresponding R channel is the bluetooth of main earphone from earphone Chip receives sound source (source of sound) signal and exports I2Processor in S audio signals, the Bluetooth chip of main earphone is by I2S audios are believed Number it is separated into L channel I2S audio signals and R channel I2S audio signals, and by R channel I2S audio signals pass through near-field communication Technical transmission is to the audio decoder chip progress acoustic processing from earphone and exports.Obtain simultaneously and use near-field communication technology by the right side Channel audio signal is sent to the time t from earphoned;Control the L channel I separated2S audio signals are in Bluetooth chip Storage region is stored and according to tdTo L channel I2S audio signals enter line delay, and are reaching time tdAfter carry out L channel I2The output of S audio signals.Specific delay judgement process is as follows, judges whether delay time reaches td, if so, then controlling left sound Audio channel signal carries out audio output, bluetooth earphone or so earphone synchronism output is realized, if it is not, then continuing to L channel I2S sounds Frequency signal enters line delay.
It will be appreciated that though channel audio signal, but these may be described using term first and second in the application Information should not necessarily be limited by these terms.These terms are only used for same type of information being distinguished from each other out.For example, not departing from this In the case of application range, left channel audio signal can be referred to as the first channel audio signal, and right channel audio signal can be with It is referred to as second sound channel audio signal.Similarly, main earphone can also be referred to as the first earphone, can also be referred to as from earphone Two earphones.
Embodiment three
Fig. 6 is a kind of structural representation of the audio output device of bluetooth earphone of one embodiment of the invention, such as Fig. 6 institutes Show, described device 300 includes:
Audio receiving unit 310, the audio signal for receiving sound source;
Audio separative element 320, for the audio signal to be separated into the first channel audio signal and second sound channel sound Frequency signal;
Second sound channel audio transmitting element 330, for being sent out the second sound channel audio signal using near-field communication technology Deliver to from earphone and carry out audio output;
First channel audio buffer unit 340, for the first sound channel sound according to the caching frame numerical control system obtained in advance Frequency signal carries out audio output after caching certain frame number, wherein, the caching frame number obtained in advance is according to the second sound channel sound Frequency signal sends to the time from earphone and obtained, and realizes that the first channel audio signal is synchronous with second sound channel audio signal.
In one embodiment of the invention, still as shown in fig. 6, the first channel audio buffer unit 340 includes:
Sound channel clock acquisition module 341, the left and right acoustic channels clock for obtaining the audio signal;
Time-obtaining module 342 is sent, the second sound channel audio signal is sent out using near-field communication technology for obtaining Deliver to the time from earphone;
Frame number computing module 343 is cached, for according to formulaCalculate the caching of first channel audio signal Frame number, wherein, n is the caching frame number of first channel audio signal, tdTo use near-field communication technology by the rising tone Audio channel signal was sent to the time from earphone, TLRFor the left and right acoustic channels clock of the audio signal;
Buffer control module 344, for controlling first channel audio signal to be cached according to the caching frame number, Judge whether caching frame number reaches the caching frame number, if so, then controlling first channel audio signal to be exported.
It should be noted that in the present embodiment the audio output device 300 of claimed bluetooth earphone the course of work Realize that step is corresponding identical with each embodiment of the method shown in Fig. 2, identical part is repeated no more.
Example IV
Fig. 7 is the structural representation of the audio output device of another bluetooth earphone of one embodiment of the invention, such as Fig. 7 Shown, described device includes:
Audio receiving unit 410, the audio signal for receiving sound source;
Audio separative element 420, for the audio signal to be separated into the first channel audio signal and second sound channel sound Frequency signal;
Second sound channel audio transmitting element 430, for being sent out the second sound channel audio signal using near-field communication technology Deliver to from earphone and carry out audio output;
First channel audio delay unit 440, for according to the second sound channel audio signal that obtains in advance send to The first channel audio signal carries out audio output after delay certain time described in time control from earphone, realizes the first sound channel sound Frequency signal is synchronous with second sound channel audio signal.
In one embodiment of the invention, still as shown in fig. 7, the first channel audio delay unit bag 440 includes:
Time-obtaining module 441 is sent, the second sound channel audio signal is sent out using near-field communication technology for obtaining Deliver to the time from earphone;
442 pieces of delays time to control mould, line delay is entered for controlling first channel audio signal according to the time, is judged Whether delay time reaches the time, if so, then controlling first channel audio signal to carry out audio output.
It should be noted that in the present embodiment the audio output device 300 of claimed bluetooth earphone the course of work Realize that step is corresponding identical with each embodiment of the method shown in Fig. 4, identical part is repeated no more.
Embodiment five
Fig. 8 is the structural representation of the audio output device of another bluetooth earphone of one embodiment of the invention, such as Fig. 8 Shown, described device 500 includes memory 510 and processor 520, passes through between the memory 510 and the processor 520 The communication connection of internal bus 530, the memory 510 is stored with the computer program that can be performed by the processor 520, In one embodiment of the present of invention, what memory 510 was stored is the computer program 511 of bluetooth earphone audio output.The meter Calculation machine program can realize method and step shown in Fig. 2 or realize Fig. 4 method and step when being performed by the processor 520.
In various embodiments, memory 510 can be internal memory or nonvolatile memory.It is wherein non-volatile to deposit Reservoir can be:Memory driver (such as hard disk drive), solid state hard disc, any kind of storage dish (such as CD, DVD), Either similar storage medium or combinations thereof.Internal memory can be:RAM (Radom Access Memory, arbitrary access Memory), volatile memory, nonvolatile memory, flash memory.Further, nonvolatile memory and internal memory can as machine Storage medium is read, the computer program 511 of the bluetooth earphone audio output performed by processor 510 can be stored thereon.
It should be noted that in the present embodiment the audio output device 500 of claimed bluetooth earphone the course of work Realize that step is corresponding identical with each embodiment of the method shown in Fig. 2 or Fig. 4, identical part is repeated no more.
It should be noted that the processor in the present embodiment can be integrated in Bluetooth chip, near field can also be integrated in Transmit in chip, can also be replaced with the Digital Signal Processing dsp chip with processor function.
Embodiment six
Fig. 9 is a kind of structural representation of bluetooth earphone of one embodiment of the invention, as shown in figure 9, a kind of bluetooth ear Machine, the bluetooth earphone includes main earphone 601 and from earphone 602, it is characterised in that the main earphone 601 is included such as Fig. 8 institutes The audio output device 500 of the bluetooth earphone shown.The main earphone 601 of claimed bluetooth earphone is worked in the present embodiment Journey realizes that step is corresponding identical with each embodiment of the method shown in Fig. 6 or Fig. 7, and identical part is repeated no more.In reality In the application of border, the audio output device 500 of bluetooth earphone can also be assembled from earphone 602 according to actual needs.
In summary, the audio signal of reception is separated into the first channel audio by technical scheme by main earphone Signal and second sound channel audio signal, the second sound channel audio signal is sent to from earphone carry out using near-field communication technology Audio output, and the first channel audio signal carries out sound after caching certain frame number according to the caching frame numerical control system obtained in advance Frequency is exported, or, sent according to the second sound channel audio signal obtained in advance to described in the time control from earphone first Channel audio signal carries out audio output after delay certain time so that the first channel audio signal and second sound channel audio signal Export simultaneously, reached the technique effect for realizing left and right bluetooth earphone synchronism output audio, lift Consumer's Experience.Simultaneously in software On save resource, while also reducing the complexity of software processing.In addition, the condition allowed in near-field communication technology bandwidth Under, sample rate can be improved so that the data cached frame number corresponding time more approaches actual delay time td, improve left and right The synchronous effect of ear earphone.
Presently preferred embodiments of the present invention is these are only, is not intended to limit the scope of the present invention.It is all in this hair Any modification, equivalent substitution and improvements made within bright spirit and principle etc., are all contained in protection scope of the present invention.

Claims (10)

1. a kind of audio-frequency inputting method of bluetooth earphone, the bluetooth earphone includes main earphone and from earphone, it is characterised in that institute The method of stating includes:
Main earphone receives the audio signal of sound source, and the audio signal is separated into the first channel audio signal and second sound channel sound Frequency signal;
The second sound channel audio signal is sent to from earphone using near-field communication technology and carries out audio output;
The first channel audio signal carries out audio output after caching certain frame number according to the caching frame numerical control system obtained in advance, Wherein, the caching frame number obtained in advance is to be sent to the time from earphone to obtain according to the second sound channel audio signal, Realize that the first channel audio signal is synchronous with second sound channel audio signal.
2. the method as described in claim 1, it is characterised in that first described in the caching frame numerical control system that the basis is obtained in advance Channel audio signal, which caches progress audio output after certain frame number, to be included:
Obtain the left and right acoustic channels clock of the audio signal and use near-field communication technology by the second sound channel audio signal Send to the time from earphone;
According to formulaThe caching frame number of first channel audio signal is calculated, wherein, n is first channel audio The caching frame number of signal, tdFor the second sound channel audio signal was sent to the time from earphone using near-field communication technology, TLRFor the left and right acoustic channels clock of the audio signal;
Control first channel audio signal to be cached according to the caching frame number, judge whether caching frame number reaches described Frame number is cached, if so, then controlling first channel audio signal to be exported.
3. a kind of audio-frequency inputting method of bluetooth earphone, the bluetooth earphone includes main earphone and from earphone, it is characterised in that institute The method of stating includes:
Main earphone receives the audio signal of sound source, and the audio signal is separated into the first channel audio signal and second sound channel Audio signal;
The second sound channel audio signal is sent to from earphone using near-field communication technology and carries out audio output;
The second sound channel audio signal according to obtaining in advance is sent to the first channel audio described in the time control from earphone Signal carries out audio output after delay certain time, realizes that the first channel audio signal is synchronous with second sound channel audio signal.
4. method as claimed in claim 3, it is characterised in that the second sound channel audio signal that the basis is obtained in advance Sending to the first channel audio signal delay certain time described in the time control from earphone progress audio output includes:
Obtain and sent the second sound channel audio signal to the time from earphone using near-field communication technology;
First channel audio signal is controlled to enter line delay according to the time, when judging whether delay time reaches described Between, if so, then controlling first channel audio signal to carry out audio output.
5. a kind of audio output device of bluetooth earphone, the bluetooth earphone includes main earphone and from earphone, it is characterised in that institute Stating device includes:
Audio receiving unit, the audio signal for receiving sound source;
Audio separative element, for the audio signal to be separated into the first channel audio signal and second sound channel audio signal;
Second sound channel audio transmitting element, for being sent the second sound channel audio signal to from ear using near-field communication technology Machine carries out audio output;
First channel audio buffer unit, delays for the first channel audio signal according to the caching frame numerical control system obtained in advance Deposit and audio output is carried out after certain frame number, wherein, the caching frame number obtained in advance is sent out according to the second sound channel audio signal The time acquisition from earphone is delivered to, realizes that the first channel audio signal is synchronous with second sound channel audio signal.
6. device as claimed in claim 5, it is characterised in that the first channel audio buffer unit includes:
Sound channel clock acquisition module, the left and right acoustic channels clock for obtaining the audio signal;
Time-obtaining module is sent, is sent the second sound channel audio signal to from ear using near-field communication technology for obtaining The time of machine;
Frame number computing module is cached, for according to formulaThe caching frame number of first channel audio signal is calculated, its In, n is the caching frame number of first channel audio signal, tdFor the second sound channel audio is believed using near-field communication technology Number send to from the time of earphone, TLRFor the left and right acoustic channels clock of the audio signal;
Buffer control module, for controlling first channel audio signal to be cached according to the caching frame number, judges slow Deposit whether frame number reaches the caching frame number, if so, then controlling first channel audio signal to be exported.
7. a kind of audio output device of bluetooth earphone, the bluetooth earphone includes main earphone and from earphone, it is characterised in that institute Stating device includes:
Audio receiving unit, the audio signal for receiving sound source;
Audio separative element, for the audio signal to be separated into the first channel audio signal and second sound channel audio signal;
Second sound channel audio transmitting element, for being sent the second sound channel audio signal to from ear using near-field communication technology Machine carries out audio output;
First channel audio delay unit, for being sent according to the second sound channel audio signal that obtains in advance to from earphone Described in time control the first channel audio signal delay certain time after carry out audio output, realize the first channel audio signal with Second sound channel audio signal is synchronous.
8. device as claimed in claim 7, it is characterised in that the first channel audio delay unit includes:
Time-obtaining module is sent, is sent the second sound channel audio signal to from ear using near-field communication technology for obtaining The time of machine;
Delays time to control module, enters line delay, when judging delay for controlling first channel audio signal according to the time Between whether reach the time, if so, then controlling first channel audio signal to carry out audio output.
9. a kind of audio output device of bluetooth earphone, it is characterised in that described device includes memory and processor, described to deposit Communicated and connected by internal bus between reservoir and the processor, the memory storage has can be by the computing device Computer program, the computer program can be realized that method described in claim 1 or 2 is walked during the computing device It is rapid or realize method and step described in claim 3 or 4.
10. a kind of bluetooth earphone, the bluetooth earphone includes main earphone and from earphone, it is characterised in that wrapped in the main earphone Include the audio output device of bluetooth earphone as claimed in claim 9.
CN201710470457.2A 2017-06-20 2017-06-20 A kind of audio-frequency inputting method of bluetooth headset, device and bluetooth headset Active CN107124674B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710470457.2A CN107124674B (en) 2017-06-20 2017-06-20 A kind of audio-frequency inputting method of bluetooth headset, device and bluetooth headset

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710470457.2A CN107124674B (en) 2017-06-20 2017-06-20 A kind of audio-frequency inputting method of bluetooth headset, device and bluetooth headset

Publications (2)

Publication Number Publication Date
CN107124674A true CN107124674A (en) 2017-09-01
CN107124674B CN107124674B (en) 2019-11-08

Family

ID=59719839

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710470457.2A Active CN107124674B (en) 2017-06-20 2017-06-20 A kind of audio-frequency inputting method of bluetooth headset, device and bluetooth headset

Country Status (1)

Country Link
CN (1) CN107124674B (en)

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107734378A (en) * 2017-10-31 2018-02-23 维沃移动通信有限公司 A kind of audio and video synchronization method, device and mobile terminal
CN108322854A (en) * 2018-02-05 2018-07-24 上海康斐信息技术有限公司 A kind of intelligent broadcast equipment and its connecting method and system
CN108337074A (en) * 2018-06-22 2018-07-27 恒玄科技(上海)有限公司 The bluetooth headset wireless communications method of high reliability
CN108718361A (en) * 2018-04-25 2018-10-30 维沃移动通信有限公司 A kind of audio file play method and wirelessly answer equipment
CN108810860A (en) * 2018-05-22 2018-11-13 维沃移动通信有限公司 A kind of audio frequency transmission method, terminal device and main earphone
CN109565773A (en) * 2018-11-05 2019-04-02 深圳市汇顶科技股份有限公司 Method of data synchronization, equipment and storage medium
CN110248285A (en) * 2019-06-18 2019-09-17 昆腾微电子股份有限公司 Multichannel audio equipment
WO2020107466A1 (en) * 2018-11-30 2020-06-04 华为技术有限公司 Point to multi-point data transmission method and device
WO2020113587A1 (en) * 2018-12-07 2020-06-11 华为技术有限公司 Method, device and system for calling using bluetooth earpiece
CN111294783A (en) * 2020-05-08 2020-06-16 深圳市汇顶科技股份有限公司 Audio data transmission method, device, chip and electronic equipment
WO2020118641A1 (en) * 2018-12-13 2020-06-18 华为技术有限公司 Microphone (mic) switching method and device
CN111343620A (en) * 2020-02-28 2020-06-26 捷开通讯(深圳)有限公司 Multi-device audio playing correction method, device and terminal
US10789190B2 (en) 2018-01-25 2020-09-29 Samsung Electronics Co., Ltd. Application processor supporting interrupt during audio playback, electronic device including the same and method of operating the same
CN112383864A (en) * 2020-09-29 2021-02-19 江苏清微智能科技有限公司 Wireless earphone data transmission system and method
CN112888062A (en) * 2021-03-16 2021-06-01 芯原微电子(成都)有限公司 Data synchronization method and device, electronic equipment and computer readable storage medium
CN113223539A (en) * 2020-01-20 2021-08-06 维沃移动通信有限公司 Audio transmission method and electronic equipment
CN113286219A (en) * 2021-05-14 2021-08-20 深圳市悦尔声学有限公司 Bluetooth earphone with recording function and recording method thereof
CN113296264A (en) * 2021-05-21 2021-08-24 歌尔股份有限公司 AR glasses
CN113573202A (en) * 2021-09-23 2021-10-29 深圳市外星人创新电子有限公司 Data transmission control method and system of Bluetooth headset
WO2021223243A1 (en) * 2020-05-08 2021-11-11 深圳市汇顶科技股份有限公司 Audio data transmission method and apparatus, chip, and electronic device
CN115175159A (en) * 2022-09-06 2022-10-11 荣耀终端有限公司 Bluetooth headset playing method and equipment

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101588531A (en) * 2008-05-23 2009-11-25 林碧芬 Wireless earphone device capable of outputting stereophonic sound and stereophonic sound outputting method thereof
WO2010054245A2 (en) * 2008-11-07 2010-05-14 Looxcie, Inc. Video recording camera headset
US7813822B1 (en) * 2000-10-05 2010-10-12 Hoffberg Steven M Intelligent electronic appliance system and method
US8369548B2 (en) * 2008-05-09 2013-02-05 Sure Best Limited Wireless headset device capable of providing balanced stereo and method thereof
US8654987B2 (en) * 2010-01-11 2014-02-18 Dennis Palma Audio player headset earhook apparatus and system thereof
CN105047209A (en) * 2015-08-13 2015-11-11 珠海市杰理科技有限公司 Bluetooth audio playing synchronization method and apparatus and Bluetooth audio playing apparatus
CN105072538A (en) * 2015-08-28 2015-11-18 深圳市冠旭电子有限公司 Stereo play system and stereo play method
EP3016407A1 (en) * 2014-10-28 2016-05-04 Oticon A/s A hearing system for estimating a feedback path of a hearing device
CN106060708A (en) * 2016-05-30 2016-10-26 努比亚技术有限公司 Terminal and method of playing audio
CN106101901A (en) * 2016-08-04 2016-11-09 惠州Tcl移动通信有限公司 A kind of earphone and method thereof being realized stereo output by near-field communication
CN106209130A (en) * 2016-07-26 2016-12-07 维沃移动通信有限公司 A kind of wireless headset and the method utilizing wireless headset output voice data

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7813822B1 (en) * 2000-10-05 2010-10-12 Hoffberg Steven M Intelligent electronic appliance system and method
US8369548B2 (en) * 2008-05-09 2013-02-05 Sure Best Limited Wireless headset device capable of providing balanced stereo and method thereof
CN101588531A (en) * 2008-05-23 2009-11-25 林碧芬 Wireless earphone device capable of outputting stereophonic sound and stereophonic sound outputting method thereof
WO2010054245A2 (en) * 2008-11-07 2010-05-14 Looxcie, Inc. Video recording camera headset
US8654987B2 (en) * 2010-01-11 2014-02-18 Dennis Palma Audio player headset earhook apparatus and system thereof
EP3016407A1 (en) * 2014-10-28 2016-05-04 Oticon A/s A hearing system for estimating a feedback path of a hearing device
US10009695B2 (en) * 2014-10-28 2018-06-26 Oticon A/S Hearing system for estimating a feedback path of a hearing device
CN105047209A (en) * 2015-08-13 2015-11-11 珠海市杰理科技有限公司 Bluetooth audio playing synchronization method and apparatus and Bluetooth audio playing apparatus
CN105072538A (en) * 2015-08-28 2015-11-18 深圳市冠旭电子有限公司 Stereo play system and stereo play method
CN106060708A (en) * 2016-05-30 2016-10-26 努比亚技术有限公司 Terminal and method of playing audio
CN106209130A (en) * 2016-07-26 2016-12-07 维沃移动通信有限公司 A kind of wireless headset and the method utilizing wireless headset output voice data
CN106101901A (en) * 2016-08-04 2016-11-09 惠州Tcl移动通信有限公司 A kind of earphone and method thereof being realized stereo output by near-field communication

Cited By (33)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107734378B (en) * 2017-10-31 2019-11-01 维沃移动通信有限公司 A kind of audio and video synchronization method, device and mobile terminal
CN107734378A (en) * 2017-10-31 2018-02-23 维沃移动通信有限公司 A kind of audio and video synchronization method, device and mobile terminal
US10789190B2 (en) 2018-01-25 2020-09-29 Samsung Electronics Co., Ltd. Application processor supporting interrupt during audio playback, electronic device including the same and method of operating the same
US11256638B2 (en) 2018-01-25 2022-02-22 Samsung Electronics Co., Ltd. Application processor supporting interrupt during audio playback, electronic device including the same and method of operating the same
CN108322854A (en) * 2018-02-05 2018-07-24 上海康斐信息技术有限公司 A kind of intelligent broadcast equipment and its connecting method and system
CN108718361B (en) * 2018-04-25 2021-03-02 维沃移动通信有限公司 Audio file playing method and wireless answering device
CN108718361A (en) * 2018-04-25 2018-10-30 维沃移动通信有限公司 A kind of audio file play method and wirelessly answer equipment
CN108810860A (en) * 2018-05-22 2018-11-13 维沃移动通信有限公司 A kind of audio frequency transmission method, terminal device and main earphone
CN108810860B (en) * 2018-05-22 2022-05-17 维沃移动通信有限公司 Audio transmission method, terminal equipment and main earphone
CN108337074A (en) * 2018-06-22 2018-07-27 恒玄科技(上海)有限公司 The bluetooth headset wireless communications method of high reliability
WO2020093204A1 (en) * 2018-11-05 2020-05-14 深圳市汇顶科技股份有限公司 Data synchronization method and device, and storage medium
US11129119B2 (en) 2018-11-05 2021-09-21 Shenzhen GOODIX Technology Co., Ltd. Data synchronization method, device and storage medium
CN109565773A (en) * 2018-11-05 2019-04-02 深圳市汇顶科技股份有限公司 Method of data synchronization, equipment and storage medium
WO2020107466A1 (en) * 2018-11-30 2020-06-04 华为技术有限公司 Point to multi-point data transmission method and device
CN112868244B (en) * 2018-11-30 2022-06-24 华为技术有限公司 Point-to-multipoint data transmission method and device
US11805350B2 (en) 2018-11-30 2023-10-31 Huawei Technologies Co., Ltd. Point-to-multipoint data transmission method and device
CN112868244A (en) * 2018-11-30 2021-05-28 华为技术有限公司 Point-to-multipoint data transmission method and device
WO2020113587A1 (en) * 2018-12-07 2020-06-11 华为技术有限公司 Method, device and system for calling using bluetooth earpiece
WO2020118641A1 (en) * 2018-12-13 2020-06-18 华为技术有限公司 Microphone (mic) switching method and device
CN110248285B (en) * 2019-06-18 2020-12-15 昆腾微电子股份有限公司 Multi-channel audio equipment
CN110248285A (en) * 2019-06-18 2019-09-17 昆腾微电子股份有限公司 Multichannel audio equipment
CN113223539A (en) * 2020-01-20 2021-08-06 维沃移动通信有限公司 Audio transmission method and electronic equipment
CN111343620A (en) * 2020-02-28 2020-06-26 捷开通讯(深圳)有限公司 Multi-device audio playing correction method, device and terminal
CN114982369A (en) * 2020-05-08 2022-08-30 深圳市汇顶科技股份有限公司 Audio data transmission method, device, chip and electronic equipment
CN111294783A (en) * 2020-05-08 2020-06-16 深圳市汇顶科技股份有限公司 Audio data transmission method, device, chip and electronic equipment
WO2021223243A1 (en) * 2020-05-08 2021-11-11 深圳市汇顶科技股份有限公司 Audio data transmission method and apparatus, chip, and electronic device
CN112383864A (en) * 2020-09-29 2021-02-19 江苏清微智能科技有限公司 Wireless earphone data transmission system and method
CN112888062B (en) * 2021-03-16 2023-01-31 芯原微电子(成都)有限公司 Data synchronization method and device, electronic equipment and computer readable storage medium
CN112888062A (en) * 2021-03-16 2021-06-01 芯原微电子(成都)有限公司 Data synchronization method and device, electronic equipment and computer readable storage medium
CN113286219A (en) * 2021-05-14 2021-08-20 深圳市悦尔声学有限公司 Bluetooth earphone with recording function and recording method thereof
CN113296264A (en) * 2021-05-21 2021-08-24 歌尔股份有限公司 AR glasses
CN113573202A (en) * 2021-09-23 2021-10-29 深圳市外星人创新电子有限公司 Data transmission control method and system of Bluetooth headset
CN115175159A (en) * 2022-09-06 2022-10-11 荣耀终端有限公司 Bluetooth headset playing method and equipment

Also Published As

Publication number Publication date
CN107124674B (en) 2019-11-08

Similar Documents

Publication Publication Date Title
CN107124674A (en) A kind of audio-frequency inputting method of bluetooth earphone, device and bluetooth earphone
JP7302006B2 (en) Methods for operating Bluetooth devices
WO2020063146A1 (en) Data transmission method and system, and bluetooth headphone
KR101543193B1 (en) Audio transfer using the bluetooth low energy standard
CN108886647A (en) Earphone noise-reduction method and device, main earphone, from earphone and earphone noise reduction system
CN106028208A (en) Wireless karaoke microphone headset
CN107295434A (en) TWS earphones and realize the vocal music of TWS earphones with the computer-readable recording medium broadcast
US9866947B2 (en) Dual-microphone headset and noise reduction processing method for audio signal in call
WO2021160040A1 (en) Audio transmission method and electronic device
WO2020182020A1 (en) Audio signal playback method and display device
CN110460931A (en) Method, bluetooth headset and the storage medium of call are realized based on bluetooth headset
CN105208189B (en) Audio-frequency processing method and mobile terminal
CN205946096U (en) Wireless K song microphone earphone
CN102932567A (en) Terminal and audio processing method
CN205142481U (en) Multichannel audio frequency hybrid processing ware
CN105187993B (en) A kind of three-dimension stereo Headphone device and restoring method
CN107171696A (en) Communication equipment connects the stereo implementation method of call of wireless headset
WO2020082710A1 (en) Voice interaction control method, apparatus and system for bluetooth speaker
CN202856964U (en) Audio playing system and multi-channel earphone with wireless voice integrated
CN111385780A (en) Bluetooth audio signal transmission method and device
CN110035346A (en) Communication means, device, bluetooth headset and the storage medium of bluetooth headset
CN201854433U (en) Mobile phone capable of outputting voice frequency by cooperation
CN209710291U (en) The earphone of In-Ear moving-coil and the mixing of dynamic iron
CN109360574B (en) Advanced audio coding/decoding method and system improved by wireless Bluetooth system
CN104954942A (en) Signal input device and method for echo cancellation

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant