Movatterモバイル変換


[0]ホーム

URL:


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
CN108718361BCN201810380894.XACN201810380894ACN108718361BCN 108718361 BCN108718361 BCN 108718361BCN 201810380894 ACN201810380894 ACN 201810380894ACN 108718361 BCN108718361 BCN 108718361B
Authority
CN
China
Prior art keywords
earphone
audio stream
data packet
channel audio
instruction code
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 LtdfiledCriticalVivo Mobile Communication Co Ltd
Priority to CN201810380894.XApriorityCriticalpatent/CN108718361B/en
Publication of CN108718361ApublicationCriticalpatent/CN108718361A/en
Application grantedgrantedCritical
Publication of CN108718361BpublicationCriticalpatent/CN108718361B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本发明实施例提供了一种音频文件播放方法及无线接听设备,第一耳机将待播放音频文件分离成右声道音频流和左声道音频流后,将右声道音频流发送至第二耳机;第二耳机接收到右声道音频流后,生成携带有音频流播放指令码的空载数据包,并将空载数据包发送至第一耳机;第二耳机将空载数据包发送至第一耳机后延迟预设时长播放右声道音频流,以与第一耳机同步播放音频流;第一耳机从接收到的空载数据包中识别到音频流播放指令码后,播放左声道音频流。本发明实施例提供的音频文件播放方案,使得第一耳机和第二耳机几乎同时播放,从而提升无线耳机第一耳机与第二耳机之间音频同步播放的稳定性和准确性。

Figure 201810380894

Embodiments of the present invention provide an audio file playing method and a wireless listening device. After a first earphone separates an audio file to be played into a right channel audio stream and a left channel audio stream, the right channel audio stream is sent to a second earphone. earphone; after the second earphone receives the audio stream of the right channel, it generates a no-load data packet carrying the audio stream playback instruction code, and sends the no-load data packet to the first earphone; the second earphone sends the no-load data packet to After the first earphone delays the playback of the right channel audio stream for a preset duration, the audio stream is played synchronously with the first earphone; after the first earphone recognizes the audio stream playback instruction code from the received empty data packet, the left channel is played. audio stream. The audio file playback solution provided by the embodiment of the present invention enables the first earphone and the second earphone to be played almost simultaneously, thereby improving the stability and accuracy of audio synchronization playback between the first earphone and the second earphone of the wireless earphone.

Figure 201810380894

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 afirst earphone 301 and asecond earphone 302, thefirst earphone 301 comprises aprogrammable controller 3011, a first bluetoothradio frequency module 3012 and asecond playing module 3013, and thesecond earphone 302 comprises: a second bluetoothradio frequency module 3021, afirst playing module 3022, and a first codec 3023: after theprogrammable controller 3011 separates an audio file to be played into a right channel audio stream and a left channel audio stream, the first bluetoothradio frequency module 3012 sends the right channel audio stream to the second headset; after the second bluetoothradio frequency module 3021 of the second earphone receives the right channel audio stream, thefirst 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; afirst 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; thesecond 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, thesecond playing module 3013 includes aspeaker 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, thesecond codec 30132 sends the right channel audio stream to the speaker sub-module; thespeaker 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 bluetoothradio frequency module 3012 includes: the receivingsubmodule 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; aseparating module 30122, configured to separate the audio file to be played into a right channel audio stream and a left channel audio stream.
Preferably, thesecond earphone 302 further comprises a video stream playing instructioncode inserting module 3024; after the second bluetoothradio frequency module 3021 of thesecond earphone 302 receives the right channel audio stream, thefirst codec 3023 is specifically configured to encode and package to generate an idle data packet; the video stream playing instructioncode inserting module 3024 is configured to insert an audio stream playing instruction code into the no-load data packet; the second bluetoothradio 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)

Translated fromChinese
1.一种音频文件播放方法,应用于无线接听设备,所述无线接听设备包括第一耳机和第二耳机,其特征在于,所述方法包括:1. A method for playing an audio file, applied to a wireless listening device, the wireless listening device comprising a first earphone and a second earphone, wherein the method comprises:所述第一耳机将待播放音频文件分离成右声道音频流和左声道音频流后,及将所述右声道音频流发送至所述第二耳机;After 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;所述第二耳机接收到所述右声道音频流后,生成携带有音频流播放指令码的空载数据包,并将所述空载数据包发送至所述第一耳机;After the second earphone receives the right channel audio stream, it generates an empty data packet carrying the audio stream playback instruction code, and sends the empty data packet to the first earphone;所述第二耳机将所述空载数据包发送至所述第一耳机后延迟预设时长播放所述右声道音频流,以与所述第一耳机同步播放音频流;After the second earphone sends the no-load data packet to the first earphone, delays playing the right channel audio stream for a preset duration, so as to play the audio stream synchronously with the first earphone;所述第一耳机从接收到的所述空载数据包中识别到所述音频流播放指令码后,播放所述左声道音频流;The first earphone plays the left channel audio stream after recognizing the audio stream playback instruction code from the received unloaded data packet;其中,所述第二耳机接收到所述右声道音频流后,生成携带有音频流播放指令码的空载数据包,并将所述空载数据包发送至所述第一耳机的步骤,包括:Wherein, after the second earphone receives the audio stream of the right channel, the step of generating an empty data packet carrying an audio stream playback instruction code, and sending the empty data packet to the first earphone, include:所述第二耳机接收到所述右声道音频流后,编码并打包生成空载数据包;After the second earphone receives the right channel audio stream, it encodes and packs it to generate an unloaded data packet;将音频流播放指令码插入至所述空载数据包中;inserting the audio stream playback instruction code into the unloaded data packet;将携带有音频流播放指令码的空载数据包发送至所述第一耳机。Send the no-load data packet carrying the audio stream playback instruction code to the first earphone.2.根据权利要求1所述的方法,其特征在于,所述预设时长为:2. The method according to claim 1, wherein the preset duration is:所述第二耳机将所述空载数据包发送至所述第一耳机所消耗的第一时长和所述第一耳机从所述空载数据包中识别所述音频流播放指令码所消耗的第二时长之和。The first duration consumed by the second headset sending the no-load data packet to the first headset and the time consumed by the first headset to identify the audio stream playback instruction code from the no-load data packet. The sum of the second duration.3.根据权利要求1所述的方法,其特征在于,所述第一耳机包括扬声器子模块,所述第一耳机从接收到的所述空载数据包中识别到所述音频流播放指令码后,播放所述左声道音频流的步骤,包括:3 . The method according to claim 1 , wherein the first earphone comprises a speaker sub-module, and the first earphone recognizes the audio stream playback instruction code from the received no-load data packet. 4 . Then, the steps of playing the left channel audio stream include:所述第一耳机从接收到的所述空载数据包中识别到所述音频流播放指令码后,将所述左声道音频流发送至所述扬声器子模块;After the first earphone recognizes the audio stream playback instruction code from the received unloaded data packet, it sends the left channel audio stream to the speaker sub-module;所述扬声器子模块将所述左声道音频流转化为声波输出。The speaker sub-module converts the left channel audio stream into a sound wave output.4.根据权利要求1所述的方法,其特征在于,在所述第一耳机将待播放音频文件分离成右声道音频流和左声道音频流后,将所述右声道音频流发送至所述第二耳机的步骤之前,所述方法还包括:4. The method according to claim 1, wherein after the first earphone separates the audio file to be played into a right channel audio stream and a left channel audio stream, the right channel audio stream is sent Before the step of the second earphone, the method further includes:所述第一耳机接收移动终端基于蓝牙音频传输模型协议传输的待播放音频文件;The first earphone receives the audio file to be played transmitted by the mobile terminal based on the Bluetooth audio transmission model protocol;将所述待播放音频文件分离成右声道音频流和左声道音频流。The audio file to be played is separated into a right channel audio stream and a left channel audio stream.5.一种无线接听设备,所述无线接听设备包括第一耳机和第二耳机,其特征在于,所述第一耳机包括可编程控制器、第一蓝牙射频模块以及第二播放模块,所述第二耳机包括:第二蓝牙射频模块、第一播放模块以及第一编解码器:5. A wireless listening device comprising a first earphone and a second earphone, wherein the first earphone comprises a programmable controller, a first Bluetooth radio frequency module and a second playback module, the The second headset includes: a second Bluetooth radio frequency module, a first playback module, and a first codec:所述可编程控制器将待播放音频文件分离成右声道音频流和左声道音频流后,所述第一蓝牙射频模块将所述右声道音频流发送至所述第二耳机;After the programmable controller separates the 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 the second Bluetooth radio frequency module of the second earphone receives the right channel audio stream, the first codec generates an unloaded data packet carrying the audio stream playback instruction code, and the second Bluetooth radio frequency module sending the no-load data packet to the first headset;第一播放模块,用于将所述空载数据包发送至所述第一耳机后延迟预设时长播放所述右声道音频流,以与所述第一耳机同步播放音频流;a first playback module, configured to play the right channel audio stream with a delay of a preset duration after the no-load data packet is sent to the first earphone, so as to play the audio stream synchronously with the first earphone;第二播放模块,用于从接收到的所述空载数据包中识别到所述音频流播放指令码后,播放所述左声道音频流;A second playback module, configured to play the left channel audio stream after recognizing the audio stream playback instruction code from the received unloaded data packet;其中,所述第二耳机还包括视频流播放指令码插入模块;Wherein, the second earphone also includes a video stream playback instruction code insertion module;所述第二耳机的第二蓝牙射频模块接收到所述右声道音频流后,所述第一编解码器具体用于编码并打包生成空载数据包;After the second Bluetooth radio frequency module of the second earphone receives the right channel audio stream, the first codec is specifically used for encoding and packaging to generate no-load data packets;所述视频流播放指令码插入模块,用于将音频流播放指令码插入至所述空载数据包中;The video stream playback instruction code insertion module is used to insert the audio stream playback instruction code into the unloaded data packet;所述第二蓝牙射频模块具体用于将携带有音频流播放指令码的空载数据包发送至所述第一耳机。The second Bluetooth radio frequency module is specifically configured to send the no-load data packet carrying the audio stream playback instruction code to the first earphone.6.根据权利要求5所述的无线接听设备,其特征在于,所述预设时长为:6. The wireless answering device according to claim 5, wherein the preset duration is:所述第二耳机将所述空载数据包发送至所述第一耳机所消耗的第一时长和所述第一耳机从所述空载数据包中识别所述音频流播放指令码所消耗的第二时长之和。The first duration consumed by the second headset sending the no-load data packet to the first headset and the time consumed by the first headset to identify the audio stream playback instruction code from the no-load data packet. The sum of the second duration.7.根据权利要求5所述的无线接听设备,其特征在于,所述第二播放模块包括扬声器子模块和第二编解码器:7. The wireless listening device according to claim 5, wherein the second playback module comprises a speaker sub-module and a second codec:所述第一耳机的所述可编程控制器从接收到的所述空载数据包中识别到所述音频流播放指令码后,所述第二编解码器将所述左声道音频流发送至所述扬声器子模块;After the programmable controller of the first earphone recognizes the audio stream playback instruction code from the received no-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 a sound wave output.8.根据权利要求5所述的无线接听设备,其特征在于,所述第一蓝牙射频模块包括:8. The wireless listening device according to claim 5, wherein the first Bluetooth radio frequency module comprises:接收子模块,用于接收移动终端基于蓝牙音频传输模型协议传输的待播放音频文件;a receiving sub-module for receiving the audio file to be played transmitted by the mobile terminal based on the Bluetooth audio transmission model protocol;分离模块,用于将所述待播放音频文件分离成右声道音频流和左声道音频流。A separation module, configured to separate the audio file to be played into a right channel audio stream and a left channel audio stream.
CN201810380894.XA2018-04-252018-04-25Audio file playing method and wireless answering deviceActiveCN108718361B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201810380894.XACN108718361B (en)2018-04-252018-04-25Audio file playing method and wireless answering device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201810380894.XACN108718361B (en)2018-04-252018-04-25Audio file playing method and wireless answering device

Publications (2)

Publication NumberPublication Date
CN108718361A CN108718361A (en)2018-10-30
CN108718361Btrue CN108718361B (en)2021-03-02

Family

ID=63899203

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201810380894.XAActiveCN108718361B (en)2018-04-252018-04-25Audio file playing method and wireless answering device

Country Status (1)

CountryLink
CN (1)CN108718361B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
EP3879848B1 (en)*2018-12-072025-08-27Huawei Technologies Co., Ltd.Point-to-multipoint data transmission method, and electronic device
CN109817232A (en)*2019-01-302019-05-28维沃移动通信有限公司 A transmission method, terminal equipment and audio processing device
CN113132440B (en)*2019-12-312023-04-18华为技术有限公司Audio transmission method, audio transmission system and electronic equipment
CN113223539B (en)*2020-01-202023-05-26维沃移动通信有限公司Audio transmission method and electronic equipment
CN114390404B (en)*2020-10-162024-08-27Oppo广东移动通信有限公司 Synchronous playback recovery method, wireless earphone, earphone and storage medium
CN113015057A (en)*2021-03-162021-06-22歌尔科技有限公司Earphone and earphone system

Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2003093950A3 (en)*2002-05-062004-01-22David GoldbergLocalized audio networks and associated digital accessories
CN102456347A (en)*2010-11-012012-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-152016-10-05深圳市民展科技开发有限公司Multichannel audio data transmitting method, audio data synchronization playing method and devices
CN106210312A (en)*2016-07-112016-12-07深圳天珑无线科技有限公司A kind of played in stereo method based on mobile terminal, mobile terminal and system
CN107124674A (en)*2017-06-202017-09-01歌尔科技有限公司A kind of audio-frequency inputting method of bluetooth earphone, device and bluetooth earphone
CN107333339A (en)*2017-05-162017-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 numberPriority datePublication dateAssigneeTitle
WO2003093950A3 (en)*2002-05-062004-01-22David GoldbergLocalized audio networks and associated digital accessories
CN102456347A (en)*2010-11-012012-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-152016-10-05深圳市民展科技开发有限公司Multichannel audio data transmitting method, audio data synchronization playing method and devices
CN106210312A (en)*2016-07-112016-12-07深圳天珑无线科技有限公司A kind of played in stereo method based on mobile terminal, mobile terminal and system
CN107333339A (en)*2017-05-162017-11-07恒玄科技(上海)有限公司Audio data transmission method and double wireless headsets between a kind of pair of wireless headset
CN107124674A (en)*2017-06-202017-09-01歌尔科技有限公司A kind of audio-frequency inputting method of bluetooth earphone, device and bluetooth earphone

Also Published As

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

Similar Documents

PublicationPublication DateTitle
CN108718361B (en)Audio file playing method and wireless answering device
JP7638329B2 (en) Method for operating a bluetooth device - Patents.com
CN108337595B (en)Bluetooth headset realizes the method being precisely played simultaneously
US11109138B2 (en)Data transmission method and system, and bluetooth headphone
CN111294783B (en)Audio data transmission method, device, chip and electronic equipment
KR20220035133A (en) Adaptive audio processing method, apparatus, computer program and recording medium thereof in wireless communication system
CN103795950A (en)Television audio signal processing device
CN108847248A (en)Bluetooth equipment audio-frequency processing method, system, readable storage medium storing program for executing and bluetooth equipment
CN111313984B (en)Testing device and method for various audio codes of Bluetooth headset
WO2016026427A1 (en)Karaoke realization method and system
CN115273869A (en) Audio data transmission method, device, chip, electronic device and storage medium
CN104992711B (en)A kind of LAN cluster duplex voice communication method based on mobile terminal
CN115499814A (en)Bluetooth equipment system
CN115567086B (en)Audio transmission device, audio playing device and audio transmission and synchronization system
CN115910082A (en) Encoding method, device, equipment and storage medium of audio data
CN106033982B (en)A kind of method, apparatus and terminal for realizing ultra wide band voice intercommunication
WO2024001398A1 (en)Audio data transmission method and apparatus, and chip, electronic device and storage medium
WO2020232631A1 (en)Voice frequency division transmission method, source terminal, playback terminal, source terminal circuit and playback terminal circuit
JP4218456B2 (en) Call device, call method, and call system
US20220038818A1 (en)Optimized Audio Forwarding
CN110662205B (en)Bluetooth-based audio transmission method, device, medium and equipment
CN218332560U (en)USB sound card signal transmission system
CN112216290A (en)Audio data transmission method and device and playing equipment
CN113490268B (en) Audio data wireless transmission method and system
WO2019047239A1 (en)Smart terminal and audio data multichannel transmission method therefor

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp