CN108718361A - A kind of audio file play method and wirelessly answer equipment - Google Patents

A kind of audio file play method and wirelessly answer equipment Download PDF

Info

Publication number
CN108718361A
CN108718361A CN201810380894.XA CN201810380894A CN108718361A CN 108718361 A CN108718361 A CN 108718361A CN 201810380894 A CN201810380894 A CN 201810380894A CN 108718361 A CN108718361 A CN 108718361A
Authority
CN
China
Prior art keywords
earphone
audio
stream
data packet
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
CN201810380894.XA
Other languages
Chinese (zh)
Other versions
CN108718361B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810380894.XA priority Critical patent/CN108718361B/en
Publication of CN108718361A publication Critical patent/CN108718361A/en
Application granted granted Critical
Publication of CN108718361B publication Critical patent/CN108718361B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72442User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for playing music files
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • H04B5/70Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes
    • H04B5/72Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes for local intradevice communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R5/00Stereophonic arrangements
    • H04R5/033Headphones for stereophonic communication

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

Equipment is answered an embodiment of the present invention provides a kind of audio file play method and wirelessly, after audio file to be played is separated into right audio channel stream and left channel audio stream by the first earphone, right audio channel stream is sent to the second earphone;After second earphone receives right audio channel stream, the unloaded data packet for carrying audio stream play instruction code is generated, and unloaded data packet is sent to the first earphone;Unloaded data packet is sent to delay preset duration after the first earphone and plays right audio channel stream by the second earphone, with the first earphone synchronously playing audio frequency stream;First earphone plays left channel audio stream after recognizing audio stream play instruction code in the unloaded data packet received.Audio file provided in an embodiment of the present invention plays scheme so that the first earphone and the second earphone almost play simultaneously, to promote the stability and accuracy that audio sync plays between the first earphone of wireless headset and the second earphone.

Description

A kind of audio file play method and wirelessly answer equipment
Technical field
The present embodiments relate to fields of communication technology, more particularly to a kind of audio file play method and wirelessly answer Equipment.
Background technology
In traditional technology, ears wireless headset generally use bluetooth one drag two technology, wherein audio stream are logical from mobile terminal It after crossing Bluetooth RF technical transmission to main earphone, then is given from earphone by main earphone transmission, main earphone and there are audios between earphone Steaming transfer postpones, therefore the two can not synchronism output audio stream.
In order to solve the problems in the existing technology, at present by setting certain delay duration in main earphone, and Being inserted into will be transferred to from the packets of audio data of earphone, after earphone receives the packets of audio data with delay duration, Know the delay durations of audio stream plays by decoding, main earphone is delayed certain time audio stream plays with from earphone.
Existing audio file play method, since audio being streaming to from earphone needs from main earphone end by bluetooth Time be it is unfixed, when Bluetooth RF is unstable, poor signal when, cause transmission time longer, when transmission time is longer than When delay time so that main earphone and from earphone can not synchronously playing audio frequency file, if specially in order to meet this scene settings Longer delay time can cause the time integrally waited for lengthen, and influence audition experience.
Invention content
The embodiment of the present invention provides a kind of audio file play method and wirelessly answers equipment, in the prior art to solve Wireless headset can not synchronously playing audio frequency file the problem of.
In order to solve the above-mentioned technical problem, the invention is realized in this way:
In a first aspect, the embodiment of the present invention provides a kind of audio file play method, including:First earphone will wait broadcasting After playback frequency file is separated into right audio channel stream and left channel audio stream, and the right audio channel stream is sent to described Two earphones;After second earphone receives the right audio channel stream, the zero load for carrying audio stream play instruction code is generated Data packet, and the unloaded data packet is sent to first earphone;Second earphone sends the unloaded data packet Postpone preset duration after to the first earphone and play the right audio channel stream, with the first earphone synchronously playing audio frequency stream; First earphone plays the left side after recognizing the audio stream play instruction code in the unloaded data packet received Channel audio stream.
Second aspect, the embodiment of the present invention additionally provide it is a kind of wirelessly answer equipment, the wireless equipment of answering includes the One earphone and the second earphone, first earphone include programmable controller, the first Bluetooth RF module and the second broadcasting mould Block, second earphone include:Second Bluetooth RF module, the first playing module and the first codec;It is described programmable After audio file to be played is separated into right audio channel stream and left channel audio stream by controller, the first Bluetooth RF module The right audio channel stream is sent to second earphone;Second Bluetooth RF module of second earphone receives described After right audio channel stream, the codec generates the unloaded data packet for carrying audio stream play instruction code, and described second is blue The unloaded data packet is sent to first earphone by tooth radio-frequency module;First playing module is used for the unloaded data Packet is sent to delay preset duration after first earphone and plays the right audio channel stream, with first earphone synchronize broadcast Put audio stream;Second playing module, for recognizing the audio stream play instruction from the unloaded data packet received After code, the left channel audio stream is played.
In embodiments of the present invention, audio file to be played is separated by right audio channel stream and left sound by the first earphone After channel audio stream, right audio channel stream is sent to the second earphone;After second earphone receives right audio channel stream, generates and carry There is the unloaded data packet of audio stream play instruction code, and unloaded data packet is sent to the first earphone;The delay of second earphone is default Duration plays right audio channel stream;First earphone after recognizing audio stream play instruction code in the unloaded data packet received, Left channel audio stream is played, due to unloaded data packet very little, i.e. the first earphone receives time that unloaded data packet expends can be with It ignores, is equivalent to after the first earphone recognizes audio stream play instruction code, plays left channel audio stream immediately so that first Earphone and the second earphone almost play simultaneously, are played to promote audio sync between the first earphone of wireless headset and the second earphone Accuracy.
Description of the drawings
Fig. 1 is a kind of step flow chart of audio file play method of the embodiment of the present invention one;
Fig. 2 is a kind of step flow chart of audio file play method of the embodiment of the present invention two;
Fig. 3 is a kind of wireless structure diagram for answering equipment of the embodiment of the present invention three;
Fig. 4 is the structure diagram of the first Bluetooth RF module of the embodiment of the present invention three;
Fig. 5 is the structural schematic diagram of the second playing module of the embodiment of the present invention three.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without creative efforts Example, shall fall within the protection scope of the present invention.
Referring to Fig.1, a kind of step flow chart of audio file play method of the embodiment of the present invention one is shown.
Audio file play method provided in an embodiment of the present invention includes the following steps:
Step 101:After audio file to be played is separated into right audio channel stream and left channel audio stream by the first earphone, and Right audio channel stream is sent to the second earphone.
Wireless equipment of answering includes the first earphone and the second earphone, when needing to play audio file, receives mobile terminal Audio file to be played is carried out stereo separation, isolates left channel audio stream and right sound by the audio file to be played sent Right audio channel stream is sent to the second earphone by channel audio stream, the first earphone so that and the first earphone plays left channel audio stream, the Two earphones play right audio channel stream, generate stereosonic audio.
Step 102:After second earphone receives right audio channel stream, the zero load for carrying audio stream play instruction code is generated Data packet, and unloaded data packet is sent to the first earphone.
Second earphone autocoding generates unloaded data packet, and is inserted into audio stream broadcasting on the harbour of unloaded data packet and refers to Code is enabled, such as:Audio stream play instruction code may be configured as " GO ", and the second earphone will be inserted into the sky of audio stream play instruction code " GO " It carries data packet and is sent to the first earphone.
Step 103:Delay preset duration plays right channel sound after unloaded data packet is sent to the first earphone by the second earphone Frequency flow, with the first earphone synchronously playing audio frequency stream.
To ensure the first earphone and the second earphone synchronously playing audio frequency stream, when unloaded data packet is sent to by the second earphone After one earphone, the second earphone delay preset duration is needed to play right audio channel stream.Why postpone preset duration, is due to inciting somebody to action After unloaded data packet is sent to the first earphone, unloaded data packet is sent to the first earphone and needs to expend the time, moreover the After one earphone receives unloaded data packet, time-consuming be decoded to unloaded data packet is also needed to verify play instruction code, therefore, preset Duration can be the sum of above-mentioned two stage institute's elapsed time.
Step 104:First earphone plays left after recognizing audio stream play instruction code in the unloaded data packet received Channel audio stream.
It is not play left channel audio stream directly, but work as the first earphone and receive that first earphone, which receives left channel audio stream, To unloaded data packet, inspection is decoded to unloaded data packet, when recognizing audio stream play instruction code " GO ", the first earphone L channel mould audio stream is exported to the loudspeaker module of the first earphone and transforms into sound wave, to play left channel audio stream.
In embodiments of the present invention, audio file to be played is separated by right audio channel stream and left sound by the first earphone After channel audio stream, right audio channel stream is sent to the second earphone;After second earphone receives right audio channel stream, generates and carry There is the unloaded data packet of audio stream play instruction code, and unloaded data packet is sent to the first earphone;The delay of second earphone is default Duration plays right audio channel stream;First earphone after recognizing audio stream play instruction code in the unloaded data packet received, Left channel audio stream is played, due to unloaded data packet very little, i.e. the first earphone receives time that unloaded data packet expends can be with It ignores, is equivalent to after the first earphone recognizes audio stream play instruction code, plays left channel audio stream immediately so that first Earphone and the second earphone almost play simultaneously, are played to promote audio sync between the first earphone of wireless headset and the second earphone Accuracy.
With reference to Fig. 2, a kind of step flow chart of audio file play method of the embodiment of the present invention two is shown.
The embodiment of the present invention is based on wirelessly answering equipment, and radio receiver includes the first earphone and the second earphone, this hair The audio file play method that bright embodiment provides includes the following steps:
Step 201:First earphone receives the audio to be played that mobile terminal is transmitted based on Bluetooth audio frequency mode agreement File.
Wherein, the first earphone and the second earphone all include Bluetooth RF module.
When user listens stereo music using the music player of mobile terminal, mobile terminal MCU (Microcontroller Unit, micro-control unit) controls audio file to be played, and by CODEC, (COder/DECoder is compiled Decoder) decode again, encodes, compresses the stereo sound frequency file for forming sub-band coding format;Subband is compiled in MCU controls The audio file of code format is grouped, is packaged.Bluetooth RF module is to be based on for the communication of audio file in the present invention A2DP (Advanced Audio Distribution Profile, Bluetooth audio frequency mode agreement) agreement, thus need by Sub-band coding formatted audio files are grouped, are packaged as A2DP packets of audio data;Bluetooth in MCU control mobile terminals is penetrated A2DP packets of audio data is transferred to the Bluetooth RF module of the first earphone by frequency module.
Step 202:Audio file to be played is separated into right audio channel stream and left channel audio stream by the first earphone.
First earphone is the main earphone for wirelessly answering equipment, has audio file being separated into left channel audio stream and the right side The function of channel audio stream.Audio file to be played is separated into the concrete mode of left and right sound channels audio stream for the first earphone, With reference to the relevant technologies, this is not specifically limited in the embodiment of the present invention.
Step 203:Right audio channel stream is sent to the second earphone.
First earphone receives the A2DP packets of audio data of mobile terminal transmission by the Bluetooth RF module of the first earphone Afterwards, SOC (System on Chip, programmable controller) the controls CODEC of the first earphone solves A2DP packets of audio data Pressure, while SOC carries out stereo separation work to the sub-band coding format stereo sound frequency file after decompression, isolates L channel Audio stream, right audio channel stream, the embodiment of the present invention play left channel audio stream for the first earphone, and the second earphone plays right sound It is illustrated for channel audio stream.In actual use, the first earphone selects to play left channel audio stream and right sound with the second earphone Channel audio stream can voluntarily be matched according to actual conditions.
The left sound that the left channel audio stream that the SOC controls of first earphone are separated is formed after CODEC is decoded Road analog audio signal, the loud speaker submodule that will not be directly output to the first earphone transform into sound wave, the SOC of the first earphone After recognizing audio stream play instruction in the unloaded data packet that the second earphone is sent, left channel audio stream is sent to CODEC modules export.
The SOC of first earphone recompiles right audio channel stream, is compressed, and is packaged as right channel A2DP audios Data packet, the SOC of the first earphone control that right channel A2DP packets of audio data is transferred to by the first earphone Bluetooth RF module Two earphones.
Step 204:After second earphone receives right audio channel stream, the zero load for carrying audio stream play instruction code is generated Data packet, and unloaded data packet is sent to the first earphone.
Specifically, it after the second earphone receives the right audio channel stream, encodes and is packaged the unloaded data packet of generation;By sound Frequency stream broadcasting instruction code is inserted into the unloaded data packet;The unloaded data packet for carrying audio stream play instruction code is sent To first earphone.
After second earphone receives right channel A2DP packets of audio data by the Bluetooth RF module of the second earphone, the second ear The SOC controls CODEC modules of machine are decoded to form right channel analog audio signal to A2DP packets of audio data;Second ear simultaneously The SOC control CODEC modules of machine export right channel analog audio signal into line delay.
The SOC control CODEC module codings of second earphone compress and are packaged a unloaded data packet, and in unloaded data Audio stream play instruction code is inserted on the harbour of packet, such as:The audio stream play instruction code of the present invention is set as " GO ";Second ear The Bluetooth RF module that the SOC of machine controls the second earphone sends the unloaded data packet for being inserted into audio stream play instruction code " GO " It is received to the first earphone, so that the first earphone carries out music by audio stream play instruction code.
Step 205:Delay preset duration plays right channel sound after unloaded data packet is sent to the first earphone by the second earphone Frequency flow, with the first earphone synchronously playing audio frequency stream.
Wherein, preset duration can be:Second earphone by unloaded data packet be sent to that the first earphone consumed first when Long and the first earphone identifies the sum of the second duration that audio stream play instruction code is consumed from the unloaded data packet received.
Step 206:First earphone in the unloaded data packet received after recognizing audio stream play instruction code, by right sound Channel audio stream is sent to loud speaker submodule.
The present invention is based on BT4.0+EDR technical transmission zero load data packets, the theoretical transmission of data using Bluetooth RF module Rate 2mbps is equivalent to transmission 1bit data and needs 0.5us, and usually zero load data package size is 80bit, is inserted into audio stream and broadcasts The size for putting unloaded data packet after instruction code becomes 96bit, and corresponding transmission time needs 48us.
By in actual test, the unloaded data packet for carrying instruction code being carried out between the first earphone and the second earphone more Secondary transmission is tested, and can be simulated and be tested under different scenes, such as the scene etc. that bluetooth signal intensity is bad, base In multiple test, transmission time deviation is confirmed substantially in 10us, which will not have any impact to audio sync.
Step 207:Right audio channel circulation is turned to sound wave output by loud speaker submodule.
After first earphone receives the data packet of the second earphone transmission by the Bluetooth RF module of the first earphone, the first ear The CODEC modules that the SOC of machine controls the first earphone are decoded inspection to data packet, when recognizing instruction code " GO ", first The SOC controls CODEC modules of earphone export left channel analog audio signal and transform into sound wave to the loudspeaker module of left earphone.
In embodiments of the present invention, audio file to be played is separated by right audio channel stream and left sound by the first earphone After channel audio stream, right audio channel stream is sent to the second earphone;After second earphone receives right audio channel stream, generates and carry There is the unloaded data packet of audio stream play instruction code, and unloaded data packet is sent to the first earphone;The delay of second earphone is default Duration plays right audio channel stream;First earphone after recognizing audio stream play instruction code in the unloaded data packet received, Left channel audio stream is played, due to unloaded data packet very little, i.e. the first earphone receives time that unloaded data packet expends can be with It ignores, is equivalent to after the first earphone recognizes audio stream play instruction code, plays left channel audio stream immediately so that first Earphone and the second earphone almost play simultaneously, are played to promote audio sync between the first earphone of wireless headset and the second earphone Accuracy.The preset duration in addition, the second earphone is delayed so that the first earphone and the second earphone can almost be played simultaneously Effect promotes audition experience.
With reference to Fig. 3, a kind of wireless structure diagram for answering equipment of the embodiment of the present invention three is shown.
It is provided in an embodiment of the present invention wireless to answer equipment and include:The wireless equipment of answering includes 301 He of the first earphone Second earphone 302, first earphone 301 include programmable controller 3011, the first Bluetooth RF module 3012 and second Playing module 3013, second earphone 302 include:Second Bluetooth RF module 3021, the first playing module 3022 and One codec 3023:Audio file to be played is separated into right audio channel stream and L channel by the programmable controller 3011 After audio stream, the right audio channel stream is sent to second earphone by the first Bluetooth RF module 3012;Described After second Bluetooth RF module 3021 of two earphones receives the right audio channel stream, first codec 3023 generates The unloaded data packet of audio stream play instruction code is carried, the unloaded data packet is sent to by the second Bluetooth RF module First earphone;First playing module 3022, for postponing in advance after the unloaded data packet is sent to first earphone If duration plays the right audio channel stream, with the first earphone synchronously playing audio frequency stream;Second playing module 3013 is used In after recognizing the audio stream play instruction code in the unloaded data packet received, the left channel audio is played Stream.
Preferably, the preset duration is:The unloaded data packet is sent to first earphone by second earphone The first duration and first earphone consumed identifies that the audio stream play instruction code is disappeared from the unloaded data packet The sum of the second duration of consumption.
Preferably, as shown in figure 5, being the structure diagram of the second playing module, second playing module 3013 includes raising Sound device submodule 30131 and the second codec 30132:The programmable controller of first earphone is from the institute received It states after recognizing the audio stream play instruction code in unloaded data packet, second codec 30132 is by the right channel Audio streams are to the loud speaker submodule;Right audio channel circulation is turned to sound by the loud speaker submodule 30131 Wave exports.
Preferably, the structure diagram of the first Bluetooth RF module, the first Bluetooth RF module 3012 are illustrated in figure 4 Including:Receiving submodule 30121 is transmitted for receiving the mobile terminal based on Bluetooth audio frequency mode agreement to be played Audio file;Separation module 30122, for the audio file to be played to be separated into right audio channel stream and left channel audio Stream.
Preferably, second earphone 302 further includes that video render instruction code is inserted into module 3024;Second earphone After 302 the second Bluetooth RF module 3021 receives the right audio channel stream, first codec 3023 is specifically used Unloaded data packet is generated in encoding and being packaged;The video render instruction code is inserted into module 3024, is used for audio stream broadcasting Instruction code is inserted into the unloaded data packet;The second Bluetooth RF module 3021 is broadcast specifically for that will carry audio stream The unloaded data packet for putting instruction code is sent to first earphone.
Mobile terminal provided in an embodiment of the present invention can realize that mobile terminal is realized in the embodiment of the method for Fig. 1 to Fig. 2 Each process, to avoid repeating, which is not described herein again.
In embodiments of the present invention, audio file to be played is separated by right audio channel stream and left sound by the first earphone After channel audio stream, right audio channel stream is sent to the second earphone;After second earphone receives right audio channel stream, generates and carry There is the unloaded data packet of audio stream play instruction code, and unloaded data packet is sent to the first earphone;The delay of second earphone is default Duration plays right audio channel stream;First earphone after recognizing audio stream play instruction code in the unloaded data packet received, Left channel audio stream is played, due to unloaded data packet very little, i.e. the first earphone receives time that unloaded data packet expends can be with It ignores, is equivalent to after the first earphone recognizes audio stream play instruction code, plays left channel audio stream immediately so that first Earphone and the second earphone almost play simultaneously, are played to promote audio sync between the first earphone of wireless headset and the second earphone Accuracy.The preset duration in addition, the second earphone is delayed so that the first earphone and the second earphone can almost be played simultaneously Effect promotes audition experience.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with The difference of other embodiment, the same or similar parts between the embodiments can be referred to each other.For system embodiment For, since it is basically similar to the method embodiment, so description is fairly simple, referring to the portion of embodiment of the method in place of correlation It defends oneself bright.
Equipment is answered to a kind of audio file play method provided by the present invention and wirelessly above, has carried out detailed Jie It continues, principle and implementation of the present invention are described for specific case used herein, and the explanation of above example is only It is the method and its core concept for being used to help understand the present invention;Meanwhile for those of ordinary skill in the art, according to this hair Bright thought, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not manage Solution is limitation of the present invention.

Claims (10)

1. a kind of audio file play method, equipment is answered applied to wireless, it is described it is wireless answer equipment include the first earphone and Second earphone, which is characterized in that the method includes:
After audio file to be played is separated into right audio channel stream and left channel audio stream by first earphone, and by the right side Channel audio stream is sent to second earphone;
After second earphone receives the right audio channel stream, the unloaded data for carrying audio stream play instruction code are generated Packet, and the unloaded data packet is sent to first earphone;
Delay preset duration plays the right sound after the unloaded data packet is sent to first earphone by second earphone Channel audio stream, with the first earphone synchronously playing audio frequency stream;
First earphone plays institute after recognizing the audio stream play instruction code in the unloaded data packet received State left channel audio stream.
2. according to the method described in claim 1, it is characterized in that, the preset duration is:
The unloaded data packet is sent to the first duration and described first that first earphone is consumed by second earphone Earphone identifies the sum of the second duration that the audio stream play instruction code is consumed from the unloaded data packet.
3. according to the method described in claim 1, it is characterized in that, first earphone includes loud speaker submodule, described One earphone plays the L channel sound after recognizing the audio stream play instruction code in the unloaded data packet received The step of frequency flows, including:
First earphone, will be described after recognizing the audio stream play instruction code in the unloaded data packet received Right audio channel stream is sent to the loud speaker submodule;
Right audio channel circulation is turned to sound wave output by the loud speaker submodule.
4. according to the method described in claim 1, it is characterized in that, audio file to be played is separated into first earphone After right audio channel stream and left channel audio stream, before the step of right audio channel stream is sent to second earphone, The method further includes:
First earphone receives the audio file to be played that mobile terminal is transmitted based on Bluetooth audio frequency mode agreement;
The audio file to be played is separated into right audio channel stream and left channel audio stream.
5. according to the method described in claim 1, it is characterized in that, second earphone receives the right audio channel stream Afterwards, the unloaded data packet for carrying audio stream play instruction code is generated, and the unloaded data packet is sent to first ear The step of machine, including:
After second earphone receives the right audio channel stream, encodes and be packaged the unloaded data packet of generation;
Audio stream play instruction code is inserted into the unloaded data packet;
The unloaded data packet for carrying audio stream play instruction code is sent to first earphone.
6. a kind of wirelessly answering equipment, the wireless equipment of answering includes the first earphone and the second earphone, which is characterized in that described First earphone includes programmable controller, the first Bluetooth RF module and the second playing module, and second earphone includes:The Two Bluetooth RF modules, the first playing module and the first codec:
After audio file to be played is separated into right audio channel stream and left channel audio stream by the programmable controller, described The right audio channel stream is sent to second earphone by one Bluetooth RF module;
After second Bluetooth RF module of second earphone receives the right audio channel stream, the first codec life At the unloaded data packet for carrying audio stream play instruction code, the second Bluetooth RF module sends the unloaded data packet To first earphone;
First playing module postpones for the unloaded data packet to be sent to after first earphone described in preset duration broadcasting Right audio channel stream, with the first earphone synchronously playing audio frequency stream;
Second playing module, for after recognizing the audio stream play instruction code in the unloaded data packet received, Play the left channel audio stream.
7. according to claim 6 wirelessly answer equipment, which is characterized in that the preset duration is:
The unloaded data packet is sent to the first duration and described first that first earphone is consumed by second earphone Earphone identifies the sum of the second duration that the audio stream play instruction code is consumed from the unloaded data packet.
8. according to claim 6 wirelessly answer equipment, which is characterized in that second playing module includes loud speaker Module and the second codec:
The programmable controller of first earphone recognizes the audio stream from the unloaded data packet received After play instruction code, the right audio channel stream is sent to the loud speaker submodule by second codec;
Right audio channel circulation is turned to sound wave output by the loud speaker submodule.
9. according to claim 6 wirelessly answer equipment, which is characterized in that the first Bluetooth RF module includes:
Receiving submodule, the audio to be played text transmitted based on Bluetooth audio frequency mode agreement for receiving the mobile terminal Part;
Separation module, for the audio file to be played to be separated into right audio channel stream and left channel audio stream.
10. according to claim 6 wirelessly answer equipment, which is characterized in that second earphone further includes that video flowing is broadcast It puts instruction code and is inserted into module;
After second Bluetooth RF module of second earphone receives the right audio channel stream, the first encoding and decoding utensil Body is for encoding and being packaged the unloaded data packet of generation;
The video render instruction code is inserted into module, for audio stream play instruction code to be inserted into the unloaded data packet In;
The second Bluetooth RF module is specifically used for the unloaded data packet for carrying audio stream play instruction code being sent to institute State the first earphone.
CN201810380894.XA 2018-04-25 2018-04-25 Audio file playing method and wireless answering device Active CN108718361B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810380894.XA CN108718361B (en) 2018-04-25 2018-04-25 Audio file playing method and wireless answering device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810380894.XA CN108718361B (en) 2018-04-25 2018-04-25 Audio file playing method and wireless answering device

Publications (2)

Publication Number Publication Date
CN108718361A true CN108718361A (en) 2018-10-30
CN108718361B CN108718361B (en) 2021-03-02

Family

ID=63899203

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810380894.XA Active CN108718361B (en) 2018-04-25 2018-04-25 Audio file playing method and wireless answering device

Country Status (1)

Country Link
CN (1) CN108718361B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109817232A (en) * 2019-01-30 2019-05-28 维沃移动通信有限公司 A kind of transmission method, terminal device and apparatus for processing audio
CN112771890A (en) * 2018-12-07 2021-05-07 华为技术有限公司 Point-to-multipoint data transmission method and electronic equipment
CN113015057A (en) * 2021-03-16 2021-06-22 歌尔科技有限公司 Earphone and earphone system
CN113132440A (en) * 2019-12-31 2021-07-16 华为技术有限公司 Audio transmission method, audio transmission system and electronic equipment
CN113223539A (en) * 2020-01-20 2021-08-06 维沃移动通信有限公司 Audio transmission method and electronic equipment
CN114390404A (en) * 2020-10-16 2022-04-22 Oppo广东移动通信有限公司 Synchronous playing recovery method, wireless earphone, earphone and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003093950A2 (en) * 2002-05-06 2003-11-13 David Goldberg Localized audio networks and associated digital accessories
CN102456347A (en) * 2010-11-01 2012-05-16 喜讯无限(北京)科技有限责任公司 Realization system and method for split-type multi-channel synchronous play for multimedia file based on wireless transmission technology
CN105992040A (en) * 2015-02-15 2016-10-05 深圳市民展科技开发有限公司 Multichannel audio data transmitting method, audio data synchronization playing method and devices
CN106210312A (en) * 2016-07-11 2016-12-07 深圳天珑无线科技有限公司 A kind of played in stereo method based on mobile terminal, mobile terminal and system
CN107124674A (en) * 2017-06-20 2017-09-01 歌尔科技有限公司 A kind of audio-frequency inputting method of bluetooth earphone, device and bluetooth earphone
CN107333339A (en) * 2017-05-16 2017-11-07 恒玄科技(上海)有限公司 Audio data transmission method and double wireless headsets between a kind of pair of wireless headset

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003093950A2 (en) * 2002-05-06 2003-11-13 David Goldberg Localized audio networks and associated digital accessories
CN102456347A (en) * 2010-11-01 2012-05-16 喜讯无限(北京)科技有限责任公司 Realization system and method for split-type multi-channel synchronous play for multimedia file based on wireless transmission technology
CN105992040A (en) * 2015-02-15 2016-10-05 深圳市民展科技开发有限公司 Multichannel audio data transmitting method, audio data synchronization playing method and devices
CN106210312A (en) * 2016-07-11 2016-12-07 深圳天珑无线科技有限公司 A kind of played in stereo method based on mobile terminal, mobile terminal and system
CN107333339A (en) * 2017-05-16 2017-11-07 恒玄科技(上海)有限公司 Audio data transmission method and double wireless headsets between a kind of pair of wireless headset
CN107124674A (en) * 2017-06-20 2017-09-01 歌尔科技有限公司 A kind of audio-frequency inputting method of bluetooth earphone, device and bluetooth earphone

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112771890A (en) * 2018-12-07 2021-05-07 华为技术有限公司 Point-to-multipoint data transmission method and electronic equipment
CN114915880A (en) * 2018-12-07 2022-08-16 华为技术有限公司 Point-to-multipoint data transmission method and electronic equipment
CN109817232A (en) * 2019-01-30 2019-05-28 维沃移动通信有限公司 A kind of transmission method, terminal device and apparatus for processing audio
CN113132440A (en) * 2019-12-31 2021-07-16 华为技术有限公司 Audio transmission method, audio transmission system and electronic equipment
CN113223539A (en) * 2020-01-20 2021-08-06 维沃移动通信有限公司 Audio transmission method and electronic equipment
CN114390404A (en) * 2020-10-16 2022-04-22 Oppo广东移动通信有限公司 Synchronous playing recovery method, wireless earphone, earphone and storage medium
CN113015057A (en) * 2021-03-16 2021-06-22 歌尔科技有限公司 Earphone and earphone system

Also Published As

Publication number Publication date
CN108718361B (en) 2021-03-02

Similar Documents

Publication Publication Date Title
CN108718361A (en) A kind of audio file play method and wirelessly answer equipment
US10271152B1 (en) Synchronization of wireless headphones
CN102932567B (en) Terminal and audio processing method
CN111294783B (en) Audio data transmission method, device, chip and electronic equipment
CN101990743B (en) Discontinuous reception of bursts for voice calls
CN107295434A (en) TWS earphones and realize the vocal music of TWS earphones with the computer-readable recording medium broadcast
EP2921027A1 (en) Method and apparatus for generating a bluetooth low energy data packet comprising audio payload data.
CN103532936A (en) Bluetooth audio self-adaption transmission method
KR20230125103A (en) Method for operating a bluetooth device
CN112135285B (en) Real-time audio interaction method for multi-Bluetooth audio equipment
US8326609B2 (en) Method and apparatus for an audio signal processing
CN114982369A (en) Audio data transmission method, device, chip and electronic equipment
CN105704607A (en) Method and equipment for switching earphone modes
CN109412624A (en) A kind of voice data communication system and helmet
CN109243473A (en) A kind of voice data communication method and helmet
US20160140839A1 (en) Data/commands through audio channel
CN104066033A (en) Bluetooth sound box system and using method thereof
WO2015154460A1 (en) Audio data recording method and apparatus
CN106664487A (en) Signal processing apparatus and signal processing method
CN110662205B (en) Bluetooth-based audio transmission method, device, medium and equipment
CN105188157A (en) Audio playing method and audio terminal
CN106033982A (en) Method and device for realizing ultra wide band voice intercommunication and a terminal
CN217883813U (en) Bluetooth earphone system
CN112954527B (en) Wireless earphone, audio synchronization method, system, equipment and computer medium
CN216930326U (en) Portable wireless audio distribution device, equipment and wireless audio distribution system

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