CN107124674B - A kind of audio-frequency inputting method of bluetooth headset, device and bluetooth headset - Google Patents
A kind of audio-frequency inputting method of bluetooth headset, device and bluetooth headset Download PDFInfo
- Publication number
- CN107124674B CN107124674B CN201710470457.2A CN201710470457A CN107124674B CN 107124674 B CN107124674 B CN 107124674B CN 201710470457 A CN201710470457 A CN 201710470457A CN 107124674 B CN107124674 B CN 107124674B
- Authority
- CN
- China
- Prior art keywords
- audio signal
- channel audio
- earphone
- frame number
- bluetooth headset
- 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.)
- Active
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
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R2420/00—Details of connection covered by H04R, not provided for in its groups
- H04R2420/03—Connection 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 headset, device and bluetooth headsets, the bluetooth headset includes main earphone and from earphone, the described method includes: main earphone receives the audio signal of sound source, audio signal is separated into the first channel audio signal and second sound channel audio signal;Second sound channel audio signal is sent to from earphone using near-field communication technology and carries out audio output;It is controlled after the first channel audio signal caches certain frame number according to the caching frame number obtained in advance and carries out audio output, wherein, the caching frame number obtained in advance is to be sent to according to second sound channel audio signal from the time of earphone to obtain, or, it is sent to according to the second sound channel audio signal obtained in advance from the time of earphone control the first channel audio signal delay and carries out audio output after a certain period of time, reach the technical effect for realizing left and right bluetooth headset synchronism output audio, promotes user experience.
Description
Technical field
The present invention relates to computer control fields, and in particular to a kind of audio-frequency inputting method of bluetooth headset, device and indigo plant
Tooth earphone.
Background technique
Currently, bluetooth headset mainly utilizes Bluetooth Communication Technology to realize the connection and driving of left ear earphone and source of sound, left ear
Earphone realizes the separation of left and right acoustic channels, and right channel sound is transferred to auris dextra earphone using near-field communication technology, solves tradition
The problem of bluetooth headset connection is unstable, choppy voice.And near-field communication technology has low-power consumption, to human body close friend and
The advantages that high reliability, so having obtained good promotion in performance using the wireless headset of " bluetooth+near-field communication technology ".
But this near-field communication technology cannot be transmitted directly based on I2S (Inter-IC Sound, also known as integrated circuit built-in audio
Bus, the bus use and believe along independent wire transmission clock and data dedicated for the data transmission between audio frequency apparatus
Number design, by by data and clock signal separation, avoid because the time difference induce distortion) voice communication agreement audio letter
Number (hereinafter referred I2S audio signal), needs that the I2S audio signal of Bluetooth transmission is encoded, transmitted and decoded, this mistake
Journey takes the regular hour, and the sound for causing left and right ear to be heard is asynchronous, influences user experience.
Traditional bluetooth headset is mainly by Bluetooth chip, MCU, near-field communication technology chip, audio decoder chip (codec)
It is formed with loudspeaker, Fig. 1 is the operation principle schematic diagram of conventional Bluetooth earphone.Wherein, Fig. 1 is to set left ear earphone as main equipment,
Auris dextra earphone is that the Bluetooth chip output that the sound source signal of mobile phone passes through left ear earphone is I2S audio signal, I2S sound from equipment
Voice signal is separated into L channel I2S audio signal and right channel I2S audio signal by MCU by frequency signal, wherein right channel
I2S audio signal is output to after near-field communication technology chip is decoded is output to the progress acoustic processing of audio decoder chip again,
L channel I2S audio signal is directly output to audio decoder chip and carries out acoustic processing.Specifically, right channel I2S audio signal
The near-field communication technology chip for being first output to left ear earphone carries out coding and forms the A2DP that can be transmitted with near-field communication technology
(Advanced Audio Distribution Profile, the agreement of Bluetooth audio frequency mode) audio signal, is then communicated to
The near-field communication technology chip of auris dextra earphone is decoded as I2S audio signal, then is output to audio decoder chip and carries out acoustic processing
The broadcasting that sound is carried out to the loudspeaker in auris dextra earphone is exported afterwards;And L channel I2S audio signal is directly output to audio decoder
Chip exports the broadcasting that sound is carried out to the loudspeaker in left ear earphone after carrying out acoustic processing.
Traditional bluetooth headset is output to the right side since the audio signal of right channel have passed through coding, transmission and decoding process again
The audio decoder chip of ear earphone, and the audio signal of L channel has been directly output to audio decoder chip by MCU, so two
For the audio signal of sound channel when being transferred to audio decoder chip there is the regular hour is poor, eventually leading to two earphones cannot be same
When export sound, influence user experience.
Summary of the invention
The present invention provides a kind of audio-frequency inputting method of bluetooth headset, device and bluetooth headsets, 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 headset, the bluetooth headset packet
Include main earphone and from earphone, which comprises
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;
It is controlled after first channel audio signal caches certain frame number according to the caching frame number obtained in advance and carries out audio
Output, wherein the caching frame number obtained in advance is that the time from earphone is sent to according to the second sound channel audio signal
It obtains, to 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 headset, the bluetooth headset are additionally provided
Including main earphone and from earphone, which comprises
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;
It is sent to according to the second sound channel audio signal obtained in advance from the time of earphone and controls first sound channel
Audio signal delay carries out audio output after a certain period of time, to realize that the first channel audio signal and second sound channel audio signal are same
Step.
According to another aspect of the present invention, a kind of audio output device of bluetooth headset, the bluetooth headset are provided
Including main earphone and from earphone, described device includes:
Audio receiving unit, for receiving the audio signal of sound source;
Audio separative unit, for the audio signal to be separated into the first channel audio signal and second sound channel audio letter
Number;
Second sound channel audio transmission unit, for being sent to the second sound channel audio signal using near-field communication technology
Audio output is carried out from earphone;
First channel audio cache unit, for controlling the first channel audio letter according to the caching frame number 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 be sent to it is described obtained from the time of earphone, to 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 headset, the bluetooth ear are additionally provided
Machine includes main earphone and from earphone, and described device includes:
Audio receiving unit, for receiving the audio signal of sound source;
Audio separative unit, for the audio signal to be separated into the first channel audio signal and second sound channel audio letter
Number;
Second sound channel audio transmission unit, for being sent to the second sound channel audio signal using near-field communication technology
Audio output is carried out from earphone;
First channel audio delay unit, for being sent to according to the second sound channel audio signal obtained in advance from ear
The time of machine controls the first channel audio signal delay and carries out audio output after a certain period of time, to realize the first channel audio
Signal is synchronous with second sound channel audio signal.
According to a further aspect of the invention, a kind of audio output device of bluetooth headset is provided, described device includes
Memory and processor pass through internal bus communication connection, the memory storage between the memory and the processor
There is the computer program that can be executed by the processor, the computer program can be realized when being executed by the processor
The method and step stated.
Another aspect according to the present invention, provides a kind of bluetooth headset, the bluetooth headset include main earphone and
It include the audio output device of above-mentioned bluetooth headset from earphone, in the main earphone.
The beneficial effects of the present invention are: technical solution of the present invention is in main earphone by the audio signal of received same sound source
After being separated into the first channel audio signal and second sound channel audio signal, using near-field communication technology by second sound channel audio signal
It is sent to and carries out audio output from earphone, and the first channel audio signal caching is controlled centainly according to the caching frame number obtained in advance
Audio output is carried out after frame number, is controlled alternatively, being sent to according to the second sound channel audio signal obtained in advance from the time of earphone
The delay of first channel audio signal carries out audio output after a certain period of time, so that the first channel audio signal and second sound channel audio
Signal exports simultaneously, has reached the technical effect for realizing the left and right loudspeaker synchronism output audio of bluetooth headset, promotes user experience.
The solution of the present invention is only needed according to the caching frame number obtained in advance or according to the delay time control first obtained in advance simultaneously
On the audio output opportunity of channel audio signal, it is synchronous with second sound channel audio signal to can be realized the first channel audio signal,
Resource is saved on software, while also reducing the complexity of software processing.In addition, the solution of the present invention is in near-field communication
Technology bandwidth allow under conditions of, sample rate can be improved so that the data cached frame number corresponding time more approach it is actual
Delay time td, improve the synchronous effect of left and right ear earphone.
Detailed description of the invention
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 headset of one embodiment of the invention;
Fig. 3 is a kind of operation principle schematic diagram of the audio-frequency inputting method of bluetooth headset of one embodiment of the invention;
Fig. 4 is the flow chart of the audio-frequency inputting method of another bluetooth headset of one embodiment of the invention;
Fig. 5 is the operation principle schematic diagram of the audio-frequency inputting method of another bluetooth headset of one embodiment of the invention;
Fig. 6 is a kind of illustrative view of functional configuration of the audio output device of bluetooth headset of one embodiment of the invention;
Fig. 7 is the illustrative view of functional configuration of the audio output device of another bluetooth headset of one embodiment of the invention;
Fig. 8 is the illustrative view of functional configuration of the audio output device of another bluetooth headset of one embodiment of the invention;
Fig. 9 is a kind of illustrative view of functional configuration of bluetooth headset of one embodiment of the invention.
Specific embodiment
Design concept of the invention is: in order to solve the problems, such as that the output of existing bluetooth headset or so earphone is nonsynchronous, mentioning
User experience is risen, inventor expects, controls the audio signal in main earphone and caches certain frame number or delay regular hour
Audio output is carried out again, so that principal and subordinate's earphone while output audio signal.
Embodiment one
Fig. 2 is a kind of flow chart of the audio-frequency inputting method of bluetooth headset of one embodiment of the invention, as shown in Fig. 2,
A kind of audio-frequency inputting method of bluetooth headset, bluetooth headset include main earphone and from earphone, and method includes:
Step S110, main earphone receive the audio signal of sound source, by audio signal be separated into the first channel audio 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.
Second sound channel audio signal is sent to from earphone using near-field communication technology and carries out audio output by step S120;
Step S130 is controlled after the first channel audio signal caches certain frame number according to the caching frame number obtained in advance and is carried out
Audio output, wherein the caching frame number obtained in advance is to be sent to according to second sound channel audio signal from the time of earphone to obtain,
To realize that the first channel audio signal is synchronous with second sound channel audio signal.
By method shown in Fig. 2 it is found that technical solution of the present invention divides the audio signal of same sound source in main earphone
After at the first channel audio signal and second sound channel audio signal, second sound channel audio signal is sent out using near-field communication technology
It send to during carrying out audio output from earphone, since the audio signal of second sound channel have passed through coding, transmission and decoding process
It is output to the audio decoder chip from earphone again, and the first channel audio signal is the audio decoder for being directly output to main earphone
Chip, there is the regular hour is poor when being transferred to audio decoder chip for the audio signal of two sound channels, it is therefore necessary to root
It is sent to according to second sound channel audio signal from the time of earphone and gets caching frame number in advance, according to the caching frame number obtained in advance
It controls after the first channel audio signal caches certain frame number and carries out audio output again, so that the first channel audio signal and the rising tone
Audio channel signal exports simultaneously, realizes the technical effect of the left and right loudspeaker synchronism output audio of bluetooth headset, promotes user experience.
The solution of the present invention, which only needs to control the first channel audio signal according to the caching frame number obtained in advance, simultaneously caches certain frame number
Carry out audio output again afterwards, it is synchronous with second sound channel audio signal to can be realized the first channel audio signal, saves on software
Resource has been saved, while having also reduced the complexity of software processing.In addition, the solution of the present invention permits in near-field communication technology bandwidth
Perhaps under conditions of, 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.
In order to enable technical solution of the present invention is clearer, below for a specific example to technical side of the invention
Case is explained.Fig. 3 is that a kind of working principle of the audio-frequency inputting method of bluetooth headset of one embodiment of the invention is shown
It is intended to, as shown in Figure 3, it is assumed that corresponding L channel is main earphone, and corresponding right channel is the Bluetooth chip of main earphone from earphone
It receives sound source (source of sound) signal and exports I2S audio signal, processor in the Bluetooth chip of main earphone is by I2S audio signal point
From at L channel I2S audio signal and right channel I2S audio signal, the right channel I that will be separated2S audio signal passes through near field
The communication technology is transmitted to from the audio decoder chip of earphone and carries out the L channel that exports after acoustic processing, while will separate
I2Storage region of the S audio signal in Bluetooth chip first carries out caching the audio decoder for being transmitted to main earphone after predetermined frame number again
Chip exports after carrying out acoustic processing.
In one embodiment of the invention, the first sound is controlled according to the caching frame number obtained in advance in above-mentioned steps S130
Progress audio output includes: after audio channel signal caches certain frame number
The left and right acoustic channels clock for obtaining audio signal, is denoted as TLR;And use near-field communication technology by second sound channel audio
Signal is sent to the time from earphone, is denoted as td。
According to formulaCalculate the caching frame number of left channel audio signal, wherein n is the slow of left channel audio signal
Deposit frame number;
Control left channel audio signal is cached according to caching frame number, judges to cache whether frame number reaches caching frame number,
If so, control left channel audio signal is exported, to realize bluetooth headset or so earphone synchronism output.
It should be noted that I2The left and right clock LRCLK of S audio signal is fixed value, by I2S audio signal is separated into
L channel I2S audio signal and right channel I2After S audio signal, L channel I2S audio signal and right channel I2S audio signal
Left and right clock LRCLK is still TLR.Near-field communication technology is to be compiled by near-field communication technology chip to I2S audio signal
Code, transmission, decoding are realized, wherein near-field communication technology chip encodes I2S audio signal, transmits, the decoded time
For fixed value.The transport protocol of near-field communication technology generallys use A2DP Bluetooth audio frequency mode agreement in the present embodiment.
Bluetooth audio frequency mode agreement A2DP is can to reach the fine definition of sound using the chip in earphone come stacked data.
Near-field communication technology transport protocol is not limited to A2DP agreement in practical applications, can also be according to actual needs using others
The communication of communication protocol realization principal and subordinate's earphone.
Embodiment two
Fig. 4 is the flow chart of the audio-frequency inputting method of another bluetooth headset of one embodiment of the invention, such as Fig. 4 institute
Show, a kind of audio-frequency inputting method of bluetooth headset, bluetooth headset includes main earphone and from earphone, and method includes:
Step S210, main earphone receive the audio signal of sound source, audio signal are separated into the first channel audio signal
With second sound channel audio signal;
Second sound channel audio signal is sent to from earphone using near-field communication technology and carries out audio output by step S220;
Step S230 is sent to from the time of earphone according to the second sound channel audio signal obtained in advance and controls the first sound channel
Audio signal delay carries out audio output after a certain period of time, to realize that the first channel audio signal and second sound channel audio signal are same
Step.
By method shown in Fig. 4 it is found that technical solution of the present invention divides the audio signal of same sound source in main earphone
After at the first channel audio signal and second sound channel audio signal, second sound channel audio signal is sent out using near-field communication technology
It send to during carrying out audio output from earphone, since the audio signal of second sound channel have passed through coding, transmission and decoding process
It is output to the audio decoder chip from earphone again, and the first channel audio signal is the audio decoder for being directly output to main earphone
Chip, there is the regular hour is poor when being transferred to audio decoder chip for the audio signal of two sound channels, it is therefore necessary to root
It is sent to according to the second sound channel audio signal obtained in advance from the time of earphone and controls one timing of the first channel audio signal delay
Between after carry out audio output again so that the first channel audio signal and second sound channel audio signal export simultaneously, realize bluetooth ear
The technical effect of the left and right loudspeaker synchronism output audio of machine promotes user experience.The solution of the present invention is only needed according to pre- simultaneously
The caching frame number first obtained controls after the first channel audio signal caches certain frame number and carries out audio output again, can be realized first
Channel audio signal is synchronous with second sound channel audio signal, and resource is saved on software, while also reducing software processing
Complexity.
In order to enable technical solution of the present invention is clearer, below for a specific example to technical side of the invention
Case is explained.Fig. 5 is the working principle of the audio-frequency inputting method of another bluetooth headset of one embodiment of the invention
Schematic diagram, as shown in fig. 5, it is assumed that it is main earphone that L channel is corresponding, corresponding right channel is the bluetooth core of main earphone from earphone
Piece receives the I of sound source (source of sound) output2S audio signal, processor in the Bluetooth chip of main earphone is by I2The separation of S audio signal
At L channel I2S audio signal and right channel I2S audio signal, the right channel I that will be separated2S audio signal is logical by near field
Letter technical transmission extremely carries out the L channel I2S that exports after acoustic processing, while will separate from the audio decoder chip of earphone
It is exported after being transmitted to the audio decoder chip progress acoustic processing of main earphone after audio signal elder generation delay predetermined time again.
In one embodiment of the invention, according to the second sound channel audio signal hair obtained in advance in above-mentioned steps S230
It send to from the delay of the first channel audio signal of the time of earphone control, progress audio output includes: after a certain period of time
It obtains and right channel audio signal is sent to using near-field communication technology by the time t from earphoned;Control is separated
L channel I2Storage region of the S audio signal in Bluetooth chip carries out storage and according to tdTo L channel I2S audio signal into
Line delay, and reaching time tdL channel I is carried out afterwards2The output of S audio signal.Specific delay judgement process is as follows, and judgement is prolonged
When the time whether reach td, if so, control left channel audio signal carries out audio output, to realize bluetooth headset or so earphone
Synchronism output, if it is not, then continuing to L channel I2S audio signal is delayed.
Embodiment three
Fig. 6 is a kind of illustrative view of functional configuration of the audio output device of bluetooth headset of one embodiment of the invention, such as
Shown in Fig. 6, device 300 includes:
Audio receiving unit 310, for receiving the audio signal of sound source;
Audio separative unit 320, for audio signal to be separated into the first channel audio signal and second sound channel audio letter
Number;
Second sound channel audio transmission unit 330, for being sent to second sound channel audio signal using near-field communication technology
Audio output is carried out from earphone;
First channel audio cache unit 340, for controlling the first channel audio letter according to the caching frame number obtained in advance
Audio output is carried out after number certain frame number of caching, wherein the caching frame number obtained in advance is sent out according to second sound channel audio signal
It send to from the time of earphone and obtains.
In one embodiment of the invention, still as shown in fig. 6, the first channel audio cache unit 340 includes:
Sound channel clock obtains module 341, for obtaining the left and right acoustic channels clock of audio signal;
Sending time obtains module 342, is sent to second sound channel audio signal using near-field communication technology for obtaining
From the time of earphone;
Frame number computing module 343 is cached, for according to formulaThe caching frame number of the first channel audio signal is calculated,
Wherein, n is the caching frame number of the first channel audio signal, tdFor second sound channel audio signal is sent using near-field communication technology
Extremely from the time of earphone, TLRFor the left and right acoustic channels clock of audio signal;
Buffer control module 344 is cached according to caching frame number for controlling the first channel audio signal, judges to cache
Whether frame number reaches caching frame number, if so, the first channel audio signal of control is exported.
It should be noted that in the present embodiment the audio output device 300 of claimed bluetooth headset the course of work
Corresponding identical as the realization step of each embodiment of method shown in Fig. 2, identical part repeats no more.
Example IV
Fig. 7 is the illustrative view of functional configuration of the audio output device of another bluetooth headset of one embodiment of the invention,
As shown in fig. 7, device includes:
Audio receiving unit 410, for receiving the audio signal of sound source;
Audio separative unit 420, for audio signal to be separated into the first channel audio signal and second sound channel audio letter
Number;
Second sound channel audio transmission unit 430, for being sent to second sound channel audio signal using near-field communication technology
Audio output is carried out from earphone;
First channel audio delay unit 440, for being sent to according to the second sound channel audio signal obtained in advance from ear
Time of machine controls the delay of the first channel audio signal and carries out audio output after a certain period of time, realize the first channel audio signal with
Second sound channel audio signal is synchronous.
In one embodiment of the invention, still as shown in fig. 7, the first channel audio delay unit packet 440 includes:
Sending time obtains module 441, is sent to second sound channel audio signal using near-field communication technology for obtaining
From the time of earphone;
Delays time to control module 442 is delayed according to the time for controlling the first channel audio signal, judges delay time
Whether is reached the time, if so, the first channel audio signal of control carries out audio output.
It should be noted that in the present embodiment the audio output device 400 of claimed bluetooth headset the course of work
Corresponding identical as the realization step of each embodiment of method shown in Fig. 4, identical part repeats no more.
Embodiment five
Fig. 8 is the illustrative view of functional configuration of the audio output device of another bluetooth headset of one embodiment of the invention,
As shown in figure 8, device 500 includes memory 510 and processor 520, by internal total between memory 510 and processor 520
530 communication connection of line, memory 510 are stored with the computer program that can be executed by processor 520, in a reality of the invention
It applies in example, what memory 510 stored is the computer program 511 of bluetooth headset audio output.Computer program 511 is by processor
520 can be realized method and step shown in Fig. 2 or realize method and step shown in Fig. 4 when executing.
In various embodiments, memory 510 can be memory or nonvolatile memory.It is wherein non-volatile to deposit
Reservoir may is that memory driver (such as hard disk drive), solid state hard disk, any kind of storage dish (such as CD, DVD),
Perhaps similar storage medium or their combination.Memory may is that RAM (Radom Access Memory, arbitrary access
Memory), volatile memory, nonvolatile memory, flash memory.Further, nonvolatile memory and memory can as machine
Storage medium is read, the computer program 511 of the control bluetooth headset audio output executed by processor 510 can be stored thereon.
It should be noted that in the present embodiment the audio output device 500 of claimed bluetooth headset the course of work
Corresponding identical as the realization step of Fig. 2 or each embodiment of method shown in Fig. 4, identical part repeats no more.
It should be noted that the processor in the present embodiment can integrate in Bluetooth chip, also can integrate near field
It transmits in chip, can also be replaced with the Digital Signal Processing dsp chip with processor function.
Embodiment six
Fig. 9 is a kind of illustrative view of functional configuration of bluetooth headset of one embodiment of the invention, as shown in figure 9, a kind of indigo plant
Tooth earphone, bluetooth headset include main earphone 601 and include above-described embodiment three, example IV from earphone 602, main earphone 601
Or the audio output device 500 of the bluetooth headset of embodiment five.The main earphone 601 of claimed bluetooth headset in the present embodiment
The course of work and the realization step of Fig. 2 or each embodiment of method shown in Fig. 4 it is corresponding identical, identical part is no longer superfluous
It states.In practical applications, the audio output device of bluetooth headset can also be assembled from earphone 602 according to actual needs.
In conclusion the audio signal of received same sound source is separated into the first channel audio in main earphone by technical solution of the present invention
After signal and second sound channel audio signal, using near-field communication technology by the second sound channel audio signal be sent to from earphone into
Row audio output, and controlled after first channel audio signal caches certain frame number and carried out according to the caching frame number obtained in advance
Audio output, alternatively, being sent to according to the second sound channel audio signal obtained in advance from the time of earphone control described the
The delay of one channel audio signal carries out audio output after a certain period of time, so that the first channel audio signal and second sound channel audio letter
It number exports simultaneously, has reached the technical effect for realizing the left and right loudspeaker synchronism output audio of bluetooth headset, promote user experience.Together
When the solution of the present invention only need according to the caching frame number that obtains in advance or according to delay time the first sound of control obtained in advance
On the audio output opportunity of audio channel signal, it is synchronous with second sound channel audio signal to can be realized the first channel audio signal, In
Resource is saved on software, while also reducing the complexity of software processing.In addition, the solution of the present invention is in near-field communication skill
Under conditions of art bandwidth allows, sample rate can be improved, so that the data cached frame number corresponding time more approaches actual prolong
When time td, improve the synchronous effect of left and right ear earphone.
It will be appreciated that though channel audio signal, but these may be described using term first and second in the present invention
Information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not departing from this
In the case where invention scope, left channel audio signal can be referred to as the first channel audio signal, and right channel audio signal can be with
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.
The above is merely preferred embodiments of the present invention, it is not intended to limit the scope of the present invention.It is all in this hair
Any modification, equivalent replacement, improvement and so within bright spirit and principle, are included within the scope of protection of the present invention.
Claims (4)
1. a kind of audio-frequency inputting method of bluetooth headset, the bluetooth headset includes main earphone and from earphone, which is characterized 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;
It is controlled after first channel audio signal caches certain frame number according to the caching frame number obtained in advance and carries out audio output,
Wherein, the caching frame number obtained in advance be sent to according to the second sound channel audio signal it is described obtained from the time of earphone,
Realize that the first channel audio signal is synchronous with second sound channel audio signal;
The caching frame number that the basis obtains in advance controls after first channel audio signal caches certain frame number and carries out audio
Output includes:
It obtains the left and right acoustic channels clock of the audio signal and uses near-field communication technology by the second sound channel audio signal
It is sent to the time from earphone;
According to formulaCalculate the caching frame number of first channel audio signal, wherein n is first channel audio
The caching frame number of signal, tdFor the second sound channel audio signal is sent to the time from earphone using near-field communication technology,
TLRFor the left and right acoustic channels clock of the audio signal;
It controls first channel audio signal to be cached according to the caching frame number, judges to cache whether frame number reaches described
Frame number is cached, if so, control first channel audio signal is exported.
2. a kind of audio output device of bluetooth headset, the bluetooth headset includes main earphone and from earphone, which is characterized in that institute
Stating device includes:
Audio receiving unit, for receiving the audio signal of sound source;
Audio separative unit, for the audio signal to be separated into the first channel audio signal and second sound channel audio signal;
Second sound channel audio transmission unit, for the second sound channel audio signal to be sent to from ear using near-field communication technology
Machine carries out audio output;
First channel audio cache unit, it is slow for controlling first channel audio signal according to the caching frame number obtained in advance
Audio output is carried out after depositing certain frame number, wherein the caching frame number obtained in advance is sent out according to the second sound channel audio signal
It send to described and is obtained from the time of earphone, realize that the first channel audio signal is synchronous with second sound channel audio signal;
The first channel audio cache unit includes:
Sound channel clock obtains module, for obtaining the left and right acoustic channels clock of the audio signal;
Sending time obtains module, and the second sound channel audio signal is sent 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,
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 it is sent to the time from earphone, TLRFor the left and right acoustic channels clock of the audio signal;
Buffer control module is cached for controlling first channel audio signal according to the caching frame number, and judgement is slow
Deposit whether frame number reaches the caching frame number, if so, control first channel audio signal is exported.
3. a kind of audio output device of bluetooth headset, which is characterized in that described device includes memory and processor, described to deposit
By internal bus communication connection between reservoir and the processor, the memory, which is stored with, to be executed by the processor
Computer program, the computer program can be realized method and step described in claim 1 when being executed by the processor.
4. a kind of bluetooth headset, the bluetooth headset includes main earphone and from earphone, which is characterized in that includes in the main earphone
The audio output device of bluetooth headset as claimed in claim 3.
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 CN107124674A (en) | 2017-09-01 |
CN107124674B true 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) |
Families Citing this family (21)
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 |
KR102585784B1 (en) | 2018-01-25 | 2023-10-06 | 삼성전자주식회사 | 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 |
CN108810860B (en) * | 2018-05-22 | 2022-05-17 | 维沃移动通信有限公司 | Audio transmission method, terminal equipment and main earphone |
CN108337074B (en) * | 2018-06-22 | 2018-09-11 | 恒玄科技(上海)有限公司 | The bluetooth headset wireless communications method of high reliability |
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 |
CN112913321B (en) * | 2018-12-07 | 2022-12-27 | 华为技术有限公司 | Method, equipment and system for carrying out call by using Bluetooth headset |
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 |
CN113223539B (en) * | 2020-01-20 | 2023-05-26 | 维沃移动通信有限公司 | Audio transmission method and electronic equipment |
CN111343620A (en) * | 2020-02-28 | 2020-06-26 | 捷开通讯(深圳)有限公司 | Multi-device audio playing correction method, device and terminal |
WO2021223243A1 (en) * | 2020-05-08 | 2021-11-11 | 深圳市汇顶科技股份有限公司 | Audio data transmission method and apparatus, chip, and electronic device |
CN111294783B (en) * | 2020-05-08 | 2020-09-04 | 深圳市汇顶科技股份有限公司 | Audio data transmission method, device, chip and electronic equipment |
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 |
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 |
CN115175159B (en) * | 2022-09-06 | 2023-01-13 | 荣耀终端有限公司 | Bluetooth headset playing method and equipment |
Citations (11)
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 |
-
2017
- 2017-06-20 CN CN201710470457.2A patent/CN107124674B/en active Active
Patent Citations (12)
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 |
Also Published As
Publication number | Publication date |
---|---|
CN107124674A (en) | 2017-09-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107124674B (en) | A kind of audio-frequency inputting method of bluetooth headset, device and bluetooth headset | |
CN108415685B (en) | Wireless Bluetooth headsets realize the method being precisely played simultaneously | |
KR101543193B1 (en) | Audio transfer using the bluetooth low energy standard | |
KR102569374B1 (en) | How to operate a Bluetooth device | |
CN106101901B (en) | A kind of earphone and its method for realizing three-dimensional voice output by near-field communication | |
CN102932567B (en) | Terminal and audio processing method | |
CN110460931A (en) | Method, bluetooth headset and the storage medium of call are realized based on bluetooth headset | |
CN105933811B (en) | A kind of earphone, corresponding audiogenic device and control method | |
CN107295434A (en) | TWS earphones and realize the vocal music of TWS earphones with the computer-readable recording medium broadcast | |
JP6824890B2 (en) | Intelligent switching between air conduction speakers and tissue conduction speakers | |
JP2012516506A (en) | Dynamic supply of audio processing power to devices | |
CN109413525B (en) | Encoding rate adjustment method, encoding rate adjustment device, electronic device, and storage medium | |
WO2021052293A1 (en) | Audio coding method and apparatus | |
US20230274748A1 (en) | Coding of multi-channel audio signals | |
CN104349241A (en) | Earphone and information processing method | |
CN116795753A (en) | Audio data transmission processing method and electronic equipment | |
CN109243473A (en) | A kind of voice data communication method and helmet | |
US11190556B2 (en) | Systems and methods for data management | |
CN109412624A (en) | A kind of voice data communication system and helmet | |
CN209710291U (en) | The earphone of In-Ear moving-coil and the mixing of dynamic iron | |
CN114501401A (en) | Audio transmission method and device, electronic equipment and readable storage medium | |
CN201854433U (en) | Mobile phone capable of outputting voice frequency by cooperation | |
WO2020062861A1 (en) | Voice playback control method and device for bluetooth speaker | |
US20230353920A1 (en) | Wireless headset and audio device | |
US20220386054A1 (en) | Spatial audio monauralization via data exchange |
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 |