CN108718361B - Audio file playing method and wireless answering device - Google Patents

Audio file playing method and wireless answering device Download PDF

Info

Publication number
CN108718361B
CN108718361B CN201810380894.XA CN201810380894A CN108718361B CN 108718361 B CN108718361 B CN 108718361B CN 201810380894 A CN201810380894 A CN 201810380894A CN 108718361 B CN108718361 B CN 108718361B
Authority
CN
China
Prior art keywords
earphone
audio stream
data packet
load data
channel audio
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
Application number
CN201810380894.XA
Other languages
Chinese (zh)
Other versions
CN108718361A (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

Images

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

The embodiment of the invention provides an audio file playing method and wireless answering equipment.A first earphone separates an audio file to be played into a right channel audio stream and a left channel audio stream, and then sends the right channel audio stream to a second earphone; after receiving the right channel audio stream, the second earphone generates a no-load data packet carrying an audio stream playing instruction code and sends the no-load data packet to the first earphone; the second earphone sends the no-load data packet to the first earphone and then plays the right channel audio stream by delaying a preset time length so as to play the audio stream synchronously with the first earphone; and after the first earphone identifies the audio stream playing instruction code from the received idle load data packet, playing the audio stream of the left channel. According to the audio file playing scheme provided by the embodiment of the invention, the first earphone and the second earphone are played almost simultaneously, so that the stability and the accuracy of audio synchronous playing between the first earphone and the second earphone of the wireless earphone are improved.

Description

Audio file playing method and wireless answering device
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to an audio file playing method and wireless answering equipment.
Background
In the conventional technology, a bluetooth one-to-two technology is generally adopted for a binaural wireless headset, wherein an audio stream is transmitted from a mobile terminal to a master headset through a bluetooth radio frequency technology and then transmitted to a slave headset by the master headset, and an audio stream transmission delay exists between the master headset and the slave headset, so that the master headset and the slave headset cannot synchronously output the audio stream.
In order to solve the problems in the prior art, currently, a certain delay time is set in a master earphone and inserted into an audio data packet to be transmitted to a slave earphone, the slave earphone receives the audio data packet with the delay time, then the delay time for playing an audio stream is obtained through decoding, and the master earphone and the slave earphone both delay the audio stream for a certain time.
In the existing audio file playing method, the time required for transmitting an audio stream from a master earphone end to a slave earphone through Bluetooth is not fixed, so that the transmission time is long when the Bluetooth radio frequency is unstable and the signal is not good, the master earphone and the slave earphone cannot synchronously play audio files when the transmission time is longer than the delay time, and if the longer delay time is specially set to meet the scene, the overall waiting time is prolonged, and the listening experience is influenced.
Disclosure of Invention
The embodiment of the invention provides an audio file playing method and wireless answering equipment, and aims to solve the problem that a wireless earphone in the prior art cannot play audio files synchronously.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides an audio file playing method, including: the first earphone separates an audio file to be played into a right channel audio stream and a left channel audio stream, and sends the right channel audio stream to the second earphone; after receiving the right channel audio stream, the second earphone generates a no-load data packet carrying an audio stream playing instruction code, and sends the no-load data packet to the first earphone; the second earphone sends the no-load data packet to the first earphone and then plays the right channel audio stream by delaying a preset time length so as to play the audio stream synchronously with the first earphone; and after the first earphone identifies the audio stream playing instruction code from the received idle load data packet, playing the left channel audio stream.
In a second aspect, an embodiment of the present invention further provides a wireless answering device, where the wireless answering device includes a first earphone and a second earphone, the first earphone includes a programmable controller, a first bluetooth radio frequency module, and a second playing module, and the second earphone includes: the second Bluetooth radio frequency module, the first playing module and the first coder-decoder; after the programmable controller separates an audio file to be played into a right channel audio stream and a left channel audio stream, the first Bluetooth radio frequency module sends the right channel audio stream to the second earphone; after a second Bluetooth radio frequency module of the second earphone receives the right channel audio stream, the codec generates a no-load data packet carrying an audio stream playing instruction code, and the second Bluetooth radio frequency module sends the no-load data packet to the first earphone; the first playing module is used for delaying the preset time length to play the right channel audio stream after the no-load data packet is sent to the first earphone so as to synchronously play the audio stream with the first earphone; and the second playing module is used for playing the left channel audio stream after the audio stream playing instruction code is identified from the received no-load data packet.
In the embodiment of the invention, after an audio file to be played is separated into a right channel audio stream and a left channel audio stream through a first earphone, the right channel audio stream is sent to a second earphone; after receiving the right channel audio stream, the second earphone generates a no-load data packet carrying an audio stream playing instruction code and sends the no-load data packet to the first earphone; the second earphone delays the preset time length to play the right sound channel audio stream; after the first earphone identifies the audio stream playing instruction code from the received no-load data packet, the left channel audio stream is played, because the no-load data packet is very small, namely the time consumed by the first earphone for receiving the no-load data packet can be ignored, which is equivalent to that after the first earphone identifies the audio stream playing instruction code, the left channel audio stream is immediately played, so that the first earphone and the second earphone almost simultaneously play, and the audio synchronous playing accuracy between the first earphone and the second earphone of the wireless earphone is improved.
Drawings
Fig. 1 is a flowchart illustrating steps of an audio file playing method according to a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating steps of a method for playing an audio file according to a second embodiment of the present invention;
fig. 3 is a block diagram of a wireless receiving device according to a third embodiment of the present invention;
fig. 4 is a block diagram of a first bluetooth radio frequency module according to a third embodiment of the present invention;
fig. 5 is a schematic structural diagram of a second playing module according to a third embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a flowchart illustrating steps of an audio file playing method according to a first embodiment of the present invention is shown.
The audio file playing method provided by the embodiment of the invention comprises the following steps:
step 101: the first earphone separates the audio file to be played into a right channel audio stream and a left channel audio stream, and sends the right channel audio stream to the second earphone.
The wireless answering device comprises a first earphone and a second earphone, when an audio file needs to be played, the audio file to be played sent by the mobile terminal is received, stereo separation is carried out on the audio file to be played, a left channel audio stream and a right channel audio stream are separated, the right channel audio stream is sent to the second earphone by the first earphone, the left channel audio stream is played by the first earphone, the right channel audio stream is played by the second earphone, and stereo sound effect is generated.
Step 102: and after receiving the right channel audio stream, the second earphone generates a no-load data packet carrying an audio stream playing instruction code and sends the no-load data packet to the first earphone.
The second earphone automatically encodes to generate an idle data packet, and inserts an audio stream playing instruction code into a dock of the idle data packet, for example: the audio stream playing instruction code can be set to be 'GO', and the second earphone sends the no-load data packet inserted with the audio stream playing instruction code 'GO' to the first earphone.
Step 103: and the second earphone sends the no-load data packet to the first earphone and then plays the right channel audio stream by delaying the preset time length so as to play the audio stream synchronously with the first earphone.
In order to ensure that the first earphone and the second earphone synchronously play the audio stream, after the second earphone sends the no-load data packet to the first earphone, the second earphone is required to delay the playing of the right channel audio stream for a preset time. The reason that the preset time length is delayed is that time is consumed for sending the no-load data packet to the first earphone after the no-load data packet is sent to the first earphone, and time is consumed for decoding, checking and playing the instruction code on the no-load data packet after the no-load data packet is received by the first earphone, so that the preset time length can be the sum of the time consumed in the two stages.
Step 104: and after the first earphone identifies the audio stream playing instruction code from the received idle load data packet, playing the audio stream of the left channel.
The first earphone receives the left channel audio stream, the left channel audio stream is not directly played, when the first earphone receives an idle load data packet, the idle load data packet is decoded and checked, and when an audio stream playing instruction code 'GO' is identified, the first earphone outputs the left channel mode audio stream to a loudspeaker module of the first earphone to be converted into sound waves, so that the left channel audio stream is played.
In the embodiment of the invention, after an audio file to be played is separated into a right channel audio stream and a left channel audio stream through a first earphone, the right channel audio stream is sent to a second earphone; after receiving the right channel audio stream, the second earphone generates a no-load data packet carrying an audio stream playing instruction code and sends the no-load data packet to the first earphone; the second earphone delays the preset time length to play the right sound channel audio stream; after the first earphone identifies the audio stream playing instruction code from the received no-load data packet, the left channel audio stream is played, because the no-load data packet is very small, namely the time consumed by the first earphone for receiving the no-load data packet can be ignored, which is equivalent to that after the first earphone identifies the audio stream playing instruction code, the left channel audio stream is immediately played, so that the first earphone and the second earphone almost simultaneously play, and the audio synchronous playing accuracy between the first earphone and the second earphone of the wireless earphone is improved.
Referring to fig. 2, a flowchart illustrating steps of an audio file playing method according to a second embodiment of the present invention is shown.
The embodiment of the invention is based on wireless answering equipment, the wireless receiving equipment comprises a first earphone and a second earphone, and the audio file playing method provided by the embodiment of the invention comprises the following steps:
step 201: and the first earphone receives the audio file to be played transmitted by the mobile terminal based on the Bluetooth audio transmission model protocol.
Wherein, first earphone and second earphone all contain bluetooth radio frequency module.
When a user listens to stereo music by using a music player of the mobile terminal, a mobile terminal MCU (Microcontroller Unit) controls an audio file to be played to be re-decoded, encoded and compressed by a CODEC (COder/DECoder) to form a stereo audio file in a sub-band encoding format; and the MCU controls the audio files in the sub-band coding format to be grouped and packaged. The communication of the Bluetooth radio frequency module to the Audio files is based on an A2DP (Advanced Audio Distribution Profile, Bluetooth Audio transmission model protocol) protocol, so that the Audio files in the sub-band coding format need to be grouped and packaged into an A2DP Audio data packet; the MCU controls a Bluetooth radio frequency module in the mobile terminal to transmit the A2DP audio data packet to the Bluetooth radio frequency module of the first earphone.
Step 202: the first headphone separates an audio file to be played into a right channel audio stream and a left channel audio stream.
The first earphone is a main earphone of the wireless answering device and has the function of separating an audio file into a left channel audio stream and a right channel audio stream. For a specific manner of separating the audio file to be played into the left and right channel audio streams by the first headphone, reference may be made to related technologies, which is not specifically limited in the embodiment of the present invention.
Step 203: the right channel audio stream is sent to a second headphone.
After a first earphone receives an A2DP audio data packet sent by a mobile terminal through a bluetooth radio frequency module of the first earphone, an SOC (System on Chip) of the first earphone controls a CODEC to decompress the A2DP audio data packet, and the SOC performs stereo separation work on a sub-band coding format stereo audio file after decompression to separate a left channel audio stream and a right channel audio stream. In practical use, the first earphone and the second earphone can be matched according to practical conditions by selecting to play the left channel audio stream and the right channel audio stream.
The SOC of the first earphone controls the separated left channel audio stream to be decoded by the CODEC to form a left channel analog audio signal, the left channel analog audio signal cannot be directly output to a loudspeaker submodule of the first earphone to be converted into sound waves, and the SOC of the first earphone sends the left channel audio stream to the CODEC module to be output after an audio stream playing instruction is identified from a no-load data packet sent by the second earphone.
The SOC of the first earphone recodes and compresses the right channel audio stream and packages the right channel audio stream into a right channel A2DP audio data packet, and the SOC of the first earphone controls the second earphone which transmits the right channel A2DP audio data packet to the first earphone Bluetooth radio frequency module.
Step 204: and after receiving the right channel audio stream, the second earphone generates a no-load data packet carrying an audio stream playing instruction code and sends the no-load data packet to the first earphone.
Specifically, after receiving the right channel audio stream, the second earphone encodes and packages the right channel audio stream to generate a no-load data packet; inserting an audio stream playing instruction code into the no-load data packet; and sending the no-load data packet carrying the audio stream playing instruction code to the first earphone.
After the second earphone receives the audio data packet of the right channel A2DP through the Bluetooth radio frequency module of the second earphone, the SOC control CODEC module of the second earphone decodes the audio data packet of the A2DP to form a right channel analog audio signal; and simultaneously, the SOC control CODEC module of the second earphone carries out delay output on the right channel analog audio signal.
The SOC control CODEC module of the second headphone encodes, compresses and packetizes an empty data packet, and inserts an audio stream playback command code into a dock of the empty data packet, for example: the audio stream playing instruction code of the invention is set as 'GO'; the SOC of the second earphone controls a Bluetooth radio frequency module of the second earphone to send a no-load data packet inserted with an audio stream playing instruction code 'GO' to the first earphone for receiving, so that the first earphone plays music through the audio stream playing instruction code.
Step 205: and the second earphone sends the no-load data packet to the first earphone and then plays the right channel audio stream by delaying the preset time length so as to play the audio stream synchronously with the first earphone.
Wherein, the preset duration can be: and the sum of a first time length consumed by the second earphone for sending the idle-load data packet to the first earphone and a second time length consumed by the first earphone for identifying the audio stream playing instruction code from the received idle-load data packet.
Step 206: and after the first earphone identifies the audio stream playing instruction code from the received no-load data packet, the audio stream of the right channel is sent to the loudspeaker sub-module.
The invention adopts the Bluetooth radio frequency module to transmit the no-load data packet based on the BT4.0+ EDR technology, the theoretical transmission rate of the data is 2mbps, which is equivalent to 0.5us for transmitting 1bit data, the size of the no-load data packet is usually 80 bits, the size of the no-load data packet is changed into 96 bits after the audio stream playing instruction code is inserted, and the corresponding transmission time needs 48 us.
In actual test, the idle-load data packet carrying the instruction code is subjected to multiple transmission tests between the first earphone and the second earphone, and tests under different scenes can be simulated, such as scenes with poor Bluetooth signal strength and the like.
Step 207: the speaker sub-module converts the right channel audio stream into sound waves for output.
After the first earphone receives a data packet sent by the second earphone through the Bluetooth radio frequency module of the first earphone, the SOC of the first earphone controls the CODEC module of the first earphone to decode and check the data packet, and when a command code 'GO' is identified, the SOC of the first earphone controls the CODEC module to output a left sound channel analog audio signal to convert the left sound channel analog audio signal into sound waves for the loudspeaker module of the left earphone.
In the embodiment of the invention, after an audio file to be played is separated into a right channel audio stream and a left channel audio stream through a first earphone, the right channel audio stream is sent to a second earphone; after receiving the right channel audio stream, the second earphone generates a no-load data packet carrying an audio stream playing instruction code and sends the no-load data packet to the first earphone; the second earphone delays the preset time length to play the right sound channel audio stream; after the first earphone identifies the audio stream playing instruction code from the received no-load data packet, the left channel audio stream is played, because the no-load data packet is very small, namely the time consumed by the first earphone for receiving the no-load data packet can be ignored, which is equivalent to that after the first earphone identifies the audio stream playing instruction code, the left channel audio stream is immediately played, so that the first earphone and the second earphone almost simultaneously play, and the audio synchronous playing accuracy between the first earphone and the second earphone of the wireless earphone is improved. In addition, the second earphone is delayed for a preset time, so that the first earphone and the second earphone can almost achieve the effect of synchronous playing, and listening experience is improved.
Referring to fig. 3, a block diagram of a wireless listening device according to a third embodiment of the present invention is shown.
The wireless answering equipment provided by the embodiment of the invention comprises: the wireless listening device comprises a first earphone 301 and a second earphone 302, the first earphone 301 comprises a programmable controller 3011, a first bluetooth radio frequency module 3012 and a second playing module 3013, and the second earphone 302 comprises: a second bluetooth radio frequency module 3021, a first playing module 3022, and a first codec 3023: after the programmable controller 3011 separates an audio file to be played into a right channel audio stream and a left channel audio stream, the first bluetooth radio frequency module 3012 sends the right channel audio stream to the second headset; after the second bluetooth radio frequency module 3021 of the second earphone receives the right channel audio stream, the first codec 3023 generates an empty load data packet carrying an audio stream playing instruction code, and the second bluetooth radio frequency module sends the empty load data packet to the first earphone; a first playing module 3022, configured to delay playing the right channel audio stream for a preset time after sending the no-load data packet to the first earphone, so as to play the audio stream synchronously with the first earphone; the second playing module 3013 is configured to play the left audio stream after identifying the audio stream playing instruction code from the received idle data packet.
Preferably, the preset time period is as follows: and the second earphone sends the no-load data packet to the first earphone, and the sum of a first time length consumed by the first earphone for identifying the audio stream playing instruction code from the no-load data packet.
Preferably, as shown in fig. 5, the second playing module 3013 includes a speaker sub-module 30131 and a second codec 30132: after the programmable controller of the first headphone identifies the audio stream playing instruction code from the received idle-load data packet, the second codec 30132 sends the right channel audio stream to the speaker sub-module; the speaker sub-module 30131 converts the right channel audio stream into acoustic output.
Preferably, as shown in fig. 4, it is a block diagram of a first bluetooth radio frequency module, where the first bluetooth radio frequency module 3012 includes: the receiving submodule 30121 is configured to receive an audio file to be played, which is transmitted by the mobile terminal based on a bluetooth audio transmission model protocol; a separating module 30122, configured to separate the audio file to be played into a right channel audio stream and a left channel audio stream.
Preferably, the second earphone 302 further comprises a video stream playing instruction code inserting module 3024; after the second bluetooth radio frequency module 3021 of the second earphone 302 receives the right channel audio stream, the first codec 3023 is specifically configured to encode and package to generate an idle data packet; the video stream playing instruction code inserting module 3024 is configured to insert an audio stream playing instruction code into the no-load data packet; the second bluetooth radio frequency module 3021 is specifically configured to send a no-load data packet carrying an audio stream playing instruction code to the first earphone.
The mobile terminal provided in the embodiment of the present invention can implement each process implemented by the mobile terminal in the method embodiments of fig. 1 to fig. 2, and is not described herein again to avoid repetition.
In the embodiment of the invention, after an audio file to be played is separated into a right channel audio stream and a left channel audio stream through a first earphone, the right channel audio stream is sent to a second earphone; after receiving the right channel audio stream, the second earphone generates a no-load data packet carrying an audio stream playing instruction code and sends the no-load data packet to the first earphone; the second earphone delays the preset time length to play the right sound channel audio stream; after the first earphone identifies the audio stream playing instruction code from the received no-load data packet, the left channel audio stream is played, because the no-load data packet is very small, namely the time consumed by the first earphone for receiving the no-load data packet can be ignored, which is equivalent to that after the first earphone identifies the audio stream playing instruction code, the left channel audio stream is immediately played, so that the first earphone and the second earphone almost simultaneously play, and the audio synchronous playing accuracy between the first earphone and the second earphone of the wireless earphone is improved. In addition, the second earphone is delayed for a preset time, so that the first earphone and the second earphone can almost achieve the effect of synchronous playing, and listening experience is improved.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the system embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The audio file playing method and the wireless answering device provided by the invention are introduced in detail, specific examples are applied in the text to explain the principle and the implementation mode of the invention, and the description of the embodiments is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (8)

1. An audio file playing method is applied to wireless answering equipment, the wireless answering equipment comprises a first earphone and a second earphone, and the method is characterized by comprising the following steps:
the first earphone separates an audio file to be played into a right channel audio stream and a left channel audio stream, and sends the right channel audio stream to the second earphone;
after receiving the right channel audio stream, the second earphone generates a no-load data packet carrying an audio stream playing instruction code, and sends the no-load data packet to the first earphone;
the second earphone sends the no-load data packet to the first earphone and then plays the right channel audio stream by delaying a preset time length so as to play the audio stream synchronously with the first earphone;
the first earphone plays the audio stream of the left channel after recognizing the audio stream playing instruction code from the received no-load data packet;
after receiving the right channel audio stream, the second earphone generates a no-load data packet carrying an audio stream playing instruction code, and sends the no-load data packet to the first earphone, including:
after receiving the right channel audio stream, the second earphone encodes and packages the right channel audio stream to generate a no-load data packet;
inserting an audio stream playing instruction code into the no-load data packet;
and sending the no-load data packet carrying the audio stream playing instruction code to the first earphone.
2. The method of claim 1, wherein the preset duration is:
and the second earphone sends the no-load data packet to the first earphone, and the sum of a first time length consumed by the first earphone for identifying the audio stream playing instruction code from the no-load data packet.
3. The method of claim 1, wherein the first headphone includes a speaker sub-module, and the step of playing the left channel audio stream after the first headphone identifies the audio stream playing command code from the received idle data packet comprises:
after the first earphone identifies the audio stream playing instruction code from the received no-load data packet, the first earphone sends the left channel audio stream to the loudspeaker sub-module;
the speaker sub-module converts the left channel audio stream into sound waves for output.
4. The method of claim 1, wherein prior to the step of sending the right channel audio stream to the second headphone after the first headphone separates the audio file to be played into a right channel audio stream and a left channel audio stream, the method further comprises:
the first earphone receives an audio file to be played, which is transmitted by the mobile terminal based on a Bluetooth audio transmission model protocol;
and separating the audio file to be played into a right channel audio stream and a left channel audio stream.
5. A wireless answering device comprises a first earphone and a second earphone, wherein the first earphone comprises a programmable controller, a first Bluetooth radio frequency module and a second playing module, and the second earphone comprises: second bluetooth radio frequency module, first broadcast module and first codec:
after the programmable controller separates an audio file to be played into a right channel audio stream and a left channel audio stream, the first Bluetooth radio frequency module sends the right channel audio stream to the second earphone;
after a second Bluetooth radio frequency module of the second earphone receives the right channel audio stream, the first codec generates a no-load data packet carrying an audio stream playing instruction code, and the second Bluetooth radio frequency module sends the no-load data packet to the first earphone;
the first playing module is used for delaying the preset time length to play the right channel audio stream after the no-load data packet is sent to the first earphone so as to synchronously play the audio stream with the first earphone;
the second playing module is used for playing the left channel audio stream after the audio stream playing instruction code is identified from the received no-load data packet;
the second earphone also comprises a video stream playing instruction code inserting module;
after the second bluetooth radio frequency module of the second earphone receives the right channel audio stream, the first codec is specifically configured to encode and package the right channel audio stream to generate a no-load data packet;
the video stream playing instruction code inserting module is used for inserting an audio stream playing instruction code into the no-load data packet;
the second bluetooth radio frequency module is specifically configured to send a no-load data packet carrying an audio stream playing instruction code to the first headset.
6. The wireless answering device according to claim 5, wherein the preset duration is:
and the second earphone sends the no-load data packet to the first earphone, and the sum of a first time length consumed by the first earphone for identifying the audio stream playing instruction code from the no-load data packet.
7. The wireless listening device of claim 5 wherein the second playback module comprises a speaker sub-module and a second codec:
after the programmable controller of the first earphone identifies the audio stream playing instruction code from the received idle-load data packet, the second codec sends the left channel audio stream to the speaker submodule;
the speaker sub-module converts the left channel audio stream into sound waves for output.
8. The wireless listening device of claim 5, wherein the first bluetooth radio frequency module comprises:
the receiving submodule is used for receiving the audio file to be played, which is transmitted by the mobile terminal based on the Bluetooth audio transmission model protocol;
and the separation module is used for separating the audio file to be played into a right channel audio stream and a left channel audio stream.
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 CN108718361A (en) 2018-10-30
CN108718361B true 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)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3879848A4 (en) * 2018-12-07 2021-11-24 Huawei Technologies Co., Ltd. Point-to-multipoint data transmission method, and electronic device
CN109817232A (en) * 2019-01-30 2019-05-28 维沃移动通信有限公司 A kind of transmission method, terminal device and apparatus for processing audio
CN113132440B (en) * 2019-12-31 2023-04-18 华为技术有限公司 Audio transmission method, audio transmission system and electronic equipment
CN113223539B (en) * 2020-01-20 2023-05-26 维沃移动通信有限公司 Audio transmission method and electronic equipment
CN114390404B (en) * 2020-10-16 2024-08-27 Oppo广东移动通信有限公司 Synchronous play recovery method, wireless earphone, earphone and storage medium
CN113015057A (en) * 2021-03-16 2021-06-22 歌尔科技有限公司 Earphone and earphone system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003093950A3 (en) * 2002-05-06 2004-01-22 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
WO2003093950A3 (en) * 2002-05-06 2004-01-22 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

Also Published As

Publication number Publication date
CN108718361A (en) 2018-10-30

Similar Documents

Publication Publication Date Title
CN108718361B (en) Audio file playing method and wireless answering device
CN108337595B (en) Bluetooth headset realizes the method being precisely played simultaneously
US11109138B2 (en) Data transmission method and system, and bluetooth headphone
KR102569374B1 (en) How to operate a Bluetooth device
CN100556043C (en) Crew-served method and system between at least two equipment in the network enabled
JP5268952B2 (en) Apparatus and method for transmitting a sequence of data packets and decoder and apparatus for decoding a sequence of data packets
CN112135285B (en) Real-time audio interaction method for multi-Bluetooth audio equipment
CN108847248B (en) Bluetooth device audio processing method, system, readable storage medium and Bluetooth device
CN111313984B (en) Testing device and method for various audio codes of Bluetooth headset
US8326609B2 (en) Method and apparatus for an audio signal processing
KR20220035133A (en) Adaptive audio processing method, apparatus, computer program and recording medium thereof in wireless communication system
US20180035246A1 (en) Transmitting audio over a wireless link
CN105407225A (en) Data transmission method and Bluetooth equipment
WO2024016758A1 (en) Audio data transmission method and apparatus, chip, electronic device, and storage medium
WO2024001398A1 (en) Audio data transmission method and apparatus, and chip, electronic device and storage medium
WO2024001138A1 (en) Apparatus and method for transmitting audio data, and electronic device
WO2020232631A1 (en) Voice frequency division transmission method, source terminal, playback terminal, source terminal circuit and playback terminal circuit
US11696075B2 (en) Optimized audio forwarding
US9398620B1 (en) Simultaneous voice and audio traffic between two devices on a wireless personal-area network
CN110662205B (en) Bluetooth-based audio transmission method, device, medium and equipment
CN112423197A (en) Method and device for realizing multipath Bluetooth audio output
CN112216290A (en) Audio data transmission method and device and playing equipment
CN218332560U (en) USB sound card signal transmission system
CN105188157A (en) Audio playing method and audio terminal
WO2019047239A1 (en) Smart terminal and audio data multichannel transmission method therefor

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