CN111385775A - Wireless transmission system and method thereof - Google Patents
Wireless transmission system and method thereof Download PDFInfo
- Publication number
- CN111385775A CN111385775A CN201811620998.XA CN201811620998A CN111385775A CN 111385775 A CN111385775 A CN 111385775A CN 201811620998 A CN201811620998 A CN 201811620998A CN 111385775 A CN111385775 A CN 111385775A
- Authority
- CN
- China
- Prior art keywords
- bluetooth
- compressed data
- buffer
- mobile phone
- 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.)
- Pending
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 74
- 238000000034 method Methods 0.000 title claims abstract description 40
- 238000004891 communication Methods 0.000 claims abstract description 23
- 230000006837 decompression Effects 0.000 claims description 32
- 230000005236 sound signal Effects 0.000 claims description 17
- 230000009471 action Effects 0.000 claims description 9
- 238000013144 data compression Methods 0.000 claims description 6
- 238000004904 shortening Methods 0.000 abstract description 7
- 239000000284 extract Substances 0.000 abstract description 2
- 238000010295 mobile communication Methods 0.000 description 5
- 238000002360 preparation method Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000004044 response Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 238000004519 manufacturing process Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/06—Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
A wireless transmission system and its method, apply to the bluetooth wireless communication environment, the mobile phone will transmit several compressed data more than user App broadcast speed in user App broadcast initial stage, in order to can set up the compressed data of many for reading in the buffer rapidly; then, the Bluetooth message receiving device reads a plurality of compressed data from the buffer area, decompresses the data and outputs sound, extracts the compressed data from the buffer area and decompresses the sound without filling the compressed data in the buffer area, but only receives a plurality of packets to start playing according to the setting without filling the compressed data in the buffer area, thereby effectively shortening the start playing time of App of a user.
Description
Technical Field
The present invention relates to a transmission system and method thereof, and more particularly, to a wireless transmission system and method thereof applied to a bluetooth wireless communication environment, which can reduce the delay time between a mobile phone transmitting audio data to a bluetooth audio receiving device to make a sound through a bluetooth audio transmission model protocol A2DP connection.
Background
For the conventional bluetooth audio device (e.g., mobile phone) to process audio data, the Android mobile phone generally uses the bluetooth audio transmission model protocol A2DP to connect and transmit the audio data to the bluetooth audio receiving device (e.g., earphone) with a delay time of 150 plus 200ms, so that the user can still use the bluetooth audio receiving device (e.g., earphone) to listen to music, but will feel out of synchronization when watching a movie or playing a game, and the sound response is slow.
The mode of transmitting the audio data by the mobile phone is to divide blocks at regular time and quantity and transmit the blocks to the earphone according to the audio playing speed.
Because the audio data is transmitted wirelessly, packet errors and losses caused by interference or equipment movement are certainly encountered, and the earphone cannot receive the audio data and stops the sound. To reduce the probability of sound interruption, the headphone end will store the received audio data in a buffer (jitter buffer) first, and will not start to extract the audio data from the buffer and decode the output sound until the buffer has a predetermined size, for example, 150 ms. The size of this block of buffer occupies a large part of the total delay time, reducing the buffer and optimizing its application can effectively reduce the delay, and the size of the buffer cannot be too small to easily break the tone.
Taiwan public/announcement number I395442 "communication technology in dual protocol environment" discloses a communication device in an environment where interference from a signal associated with one communication protocol may hinder reception of a signal associated with another communication protocol, comprising: a first communication system for transmitting and/or receiving signals according to a first protocol; a second communication system for transmitting and receiving signals according to a second protocol, the second protocol having the capability of enabling a receiver to indicate to a transmitter that it is in an unresponsive state, whereby when the transmitter is in the unresponsive state, it is inhibited from transmitting data to the receiver; a signal activity detector for detecting activity in the first protocol signal; and a control unit responsive to the signal activity detector for causing the second communication system to indicate that it is in an unresponsive state.
Taiwan publication/announcement No. I246265 "bluetooth device and combined bluetooth sound device" discloses a bluetooth device, which is suitable for being coupled to a sound device so that a user can timely receive an incoming call received by a mobile communication device while listening to a sound signal provided by the sound device, and is suitable for being coupled to a stereo headset microphone and a sound device and for receiving and transmitting signals to and from a mobile communication device. The Bluetooth device mainly comprises a female jack, a Bluetooth transceiver and an audio input end. The female jack is used for coupling the stereo earphone microphone. The Bluetooth transceiver is coupled to the female jack and is used for receiving and transmitting signals provided by the mobile communication device. The audio input terminal is coupled to the female jack and is used for being coupled to the audio device. When the Bluetooth transceiver receives an incoming call signal provided by the mobile communication device, the sound signal transmitted to the microphone of the stereo headset is switched to the sound signal provided by the mobile communication device. In addition, the Bluetooth device can also be directly used as a Bluetooth earphone after a microphone and a loudspeaker are additionally arranged.
Taiwan publication/announcement number I572155 "multifunctional bluetooth device and bluetooth connection method thereof" is a multifunctional bluetooth device, which can be connected to an electronic device via different service discovery protocols, so that the multifunctional bluetooth device has multiple functions, and the bluetooth device stores multiple service discovery protocols and can be connected to other electronic devices having bluetooth interfaces via one of the stored service discovery protocols. The multifunctional Bluetooth device can be connected with the electronic device through a first service discovery protocol, and transmits sound signals with the connected electronic device through Bluetooth. In addition, the multifunctional Bluetooth device can also be connected with the electronic device through a second service discovery protocol, and transmits a control signal to the connected electronic device through Bluetooth so as to control the electronic device to execute a specific function.
Taiwan public/announcement number I5638 859 "sharing method of bluetooth audio packet" is a sharing method of bluetooth audio packet, which enables a plurality of bluetooth sound generating devices to receive and play audio packets transmitted by an electronic device; the sharing method mainly comprises an electronic device, a first Bluetooth sound generating device and at least one second Bluetooth sound generating device. The electronic device and the first Bluetooth sound production device establish Bluetooth connection between the electronic device and the first Bluetooth sound production device through Bluetooth connection data, wherein the first Bluetooth sound production device can receive audio packets transmitted by the electronic device and can broadcast the Bluetooth connection data. The second Bluetooth sounding device is adjacent to the electronic device and the first Bluetooth sounding device and can receive Bluetooth connection data broadcasted by the first Bluetooth sounding device. The second Bluetooth sound generating device can receive or share the audio packets sent by the electronic device through the Bluetooth connection data, so that the plurality of Bluetooth sound generating devices can receive and play the audio packets sent by the electronic device.
Taiwan publication/announcement No. I56806 "bluetooth device and method for controlling bluetooth device or wireless device" provides a method for controlling bluetooth device to save energy, comprising: establishing a Bluetooth link; controlling the Bluetooth device to enter an interception mode; processing the listening anchor point after wake-up preparation and before sleep preparation; and processing a wake-up operation between the wake-up preparation and the sleep preparation. The wake-up operation is a bluetooth operation, a Bluetooth Low Energy (BLE) operation, or a Wi-Fi operation. Accordingly, a bluetooth device and a method of controlling a wireless device are also provided. The number of times of awakening/sleeping preparation can be reduced as much as possible, so that the power consumption of the Bluetooth device is effectively reduced.
Taiwan publication/announcement No. I449381 "communication method and bluetooth device" are a communication method and a bluetooth device that can optimize usage efficiency of bluetooth slots (slots) in a scatternet (scatternet), wherein the communication method is used for a bluetooth device in a scatternet, and the scatternet includes a first piconet and a second piconet. The communication method comprises the following steps: transmitting data to a peer device in the first piconet; determining whether buffered data is to be transmitted to the peer device in the first piconet to produce a determination; and allocating slots in the first piconet and the second piconet according to the determination result. The communication method provided can increase or optimize the use efficiency of the bluetooth slot in the bluetooth device.
Therefore, how to solve the problem, for the bluetooth audio device (e.g., mobile phone) to process audio data, how to reduce the delay time between the mobile phone transmitting the audio data to the bluetooth audio receiving device (e.g., earphone) to make sound through the bluetooth audio transmission model protocol A2DP connection; how to shorten the delay time (generally 150 plus 200ms) for transmitting audio data to a bluetooth audio receiving device (e.g., an earphone) by a mobile phone (adopting a bluetooth audio transmission model protocol A2DP connection), so that a user cannot feel audio and video asynchronism when watching a film or playing a game by using the bluetooth audio receiving device (e.g., the earphone), and the sound response is not slow; in addition, the earphone does not need to wait until the buffer (the received audio data) is stored to a predetermined size, for example, 150ms, and then starts to extract the audio data from the buffer and decode the output sound, and the buffer can be reduced and the application thereof can be optimized, so that the delay can be effectively reduced; in other words, the above problems are to be solved.
Disclosure of Invention
The main objective of the present invention is to provide a wireless transmission system and method thereof, which is applied in the bluetooth wireless communication environment, when the wireless transmission system of the present invention is used to perform the wireless transmission method, firstly, the connection action is performed, the bluetooth audio signal receiving device establishes the bluetooth audio transmission model protocol A2DP connection with the mobile phone; then, data compression and transmission are carried out, the Bluetooth A2DP function module in the mobile phone receives the audio data from the user App, and compresses the audio data in a PCM (Pulse-code modulation) coding mode, and the compressed data is transmitted to the Bluetooth audio receiving device through the connection of a Bluetooth audio transmission model protocol A2DP of the mobile phone; then, the Bluetooth message receiving device receives at least one piece of compressed data transmitted by the mobile phone and puts the compressed data into a buffer (jitterbuffer), and at the beginning of the play of the user App, the mobile phone can transmit a plurality of pieces of compressed data with the speed higher than the play speed of the user App, so that a plurality of pieces of compressed data which can be read can be quickly established in the buffer; then, carry on the decompression action, in the decompression processing module in the message receiving arrangement of bluetooth, will read many compressed data by the buffer, output the sound after decompressing, here, while decompressing the action, decompress the module and needn't wait for buffer compressed data to fill up to carry on and withdraw the compressed data from the buffer, decompress and output the sound, but does not need to wait for buffer compressed data to fill up according to presuming, can broadcast as long as receive several packets, can shorten user App broadcast time effectively.
It is another objective of the present invention to provide a wireless transmission system and method thereof, which can be applied in a bluetooth wireless communication environment to reduce the delay time between the mobile phone transmitting audio data to a bluetooth audio receiving device (e.g., a headset) via a bluetooth audio transmission model protocol A2DP connection; in addition, the delay time (generally 150 plus 200ms) for transmitting the audio data to the bluetooth audio receiving device (e.g., earphone) by the mobile phone (using the bluetooth audio transmission model protocol A2DP connection) is shortened, so that the user will not feel asynchronous audio and video when watching a movie or playing a game by using the bluetooth audio receiving device (e.g., earphone), and the sound response will not be slow.
It is another object of the present invention to provide a wireless transmission system and method thereof, which can be applied in a bluetooth wireless communication environment, wherein the earphone does not need to wait until the buffer (received audio data) is stored to a predetermined size, for example, 150ms, before beginning to extract the audio data from the buffer and decode the output sound, so as to reduce the buffer and optimize the application thereof, thereby effectively reducing the delay.
In accordance with the above-mentioned objectives, the present invention provides a wireless transmission system, which is applied in a bluetooth wireless communication environment, and the wireless transmission system comprises a bluetooth A2DP function module and a decompression processing module.
The bluetooth A2DP function module, the bluetooth audio signal receiving device and the mobile phone establish a bluetooth audio transmission model protocol A2DP connection, the bluetooth A2DP function module in the mobile phone receives the audio data from the user App, compresses the audio data in a PCM (Pulse-code modulation) coding mode, compresses the compressed data, and transmits the compressed data to the bluetooth audio signal receiving device through the bluetooth audio transmission model protocol A2DP connection of the mobile phone.
The bluetooth message receiving device receives at least one piece of compressed data transmitted from the mobile phone and puts the compressed data into a buffer (jitter buffer) of the mobile phone, wherein the mobile phone can transmit a plurality of pieces of compressed data with a speed higher than the playing speed of a user App at the initial playing stage of the user App so as to quickly establish a plurality of pieces of compressed data which can be read in the buffer; in addition, the decompression processing module in the Bluetooth message receiving device reads a plurality of compressed data from the buffer area, decompresses the data and outputs sound, and when decompressing, the decompression module extracts the compressed data from the buffer area and decompresses the sound without waiting for the compressed data in the buffer area to be filled up, but can play the data as long as receiving a plurality of packets according to the setting, thereby effectively shortening the play-up time of the user App.
When the wireless transmission system of the present invention is used to perform the wireless transmission method, firstly, the connection operation is performed, and the bluetooth audio signal receiving device establishes a bluetooth audio transmission model protocol A2DP connection with the mobile phone.
Then, data compression and transmission are performed, the bluetooth A2DP function module in the mobile phone receives the audio data from the user App, compresses the audio data in a PCM (Pulse-Code Modulation) encoding manner, and transmits the compressed data to the bluetooth audio receiving device through a connection of a bluetooth audio transmission model protocol A2DP of the mobile phone.
Then, the Bluetooth message receiving device receives at least one piece of compressed data from the mobile phone and puts the compressed data into a buffer (jitter buffer), and at the beginning of the App playing, the mobile phone can transmit a plurality of pieces of compressed data with a speed higher than the playing speed of the App so as to quickly establish a plurality of pieces of compressed data which can be read in the buffer.
Then, carry on the decompression action, in the decompression processing module in the message receiving arrangement of bluetooth, will read many compressed data by the buffer, output the sound after decompressing, here, while decompressing the action, decompress the module and needn't wait for buffer compressed data to fill up to carry on and withdraw the compressed data from the buffer, decompress and output the sound, but does not need to wait for buffer compressed data to fill up according to presuming, can broadcast as long as receive several packets, can shorten user App broadcast time effectively.
For those skilled in the art to understand the objects, features and advantages of the present invention, the following detailed description of the present invention is provided in conjunction with the accompanying drawings, wherein:
drawings
Fig. 1 is a system diagram illustrating the system architecture and operation of a wireless transmission system according to the present invention;
fig. 2 is a flowchart illustrating steps of a method for wireless communication using the wireless transmission system of fig. 1 according to the present invention;
fig. 3 is a diagram illustrating an embodiment of a wireless transmission system and operation thereof according to the present invention; and
fig. 4 is a flowchart illustrating a process of performing a wireless communication method using the embodiment of the wireless transmission system of fig. 3.
Description of reference numerals:
1 Wireless transmission system
2 bluetooth A2DP function module
3 decompression processing module
4 mobile phone
5 Bluetooth audio signal receiving device
101102103104 step
201202203204 step
Detailed Description
Fig. 1 is a system diagram illustrating the system architecture and operation of a wireless transmission system according to the present invention. As shown in fig. 1, the wireless transmission system 1 includes a bluetooth A2DP function module 2, and a decompression processing module 3.
The bluetooth A2DP function module 2, the bluetooth audio signal receiving device and the mobile phone establish a bluetooth audio transmission model protocol A2DP connection, the bluetooth A2DP function module 2 in the mobile phone receives the audio data from the user App, compresses the audio data in a PCM (Pulse-Code Modulation) coding mode, compresses the compressed data, and transmits the compressed data to the bluetooth audio signal receiving device through the bluetooth audio transmission model protocol A2DP connection of the mobile phone.
The decompression processing module 3, bluetooth message receiving arrangement receive from mobile phone at least one compressed data that come, and put into its buffer (jitter buffer), here, mobile phone at user App broadcast initial stage, will transmit more compressed data than user App broadcast speed, in order to can set up the compressed data of many for reading in the buffer rapidly; in addition, the decompression processing module 3 in the bluetooth audio receiving device reads a plurality of compressed data from the buffer area, decompresses the data and outputs sound, and when decompressing, the decompression module 3 does not need to wait for the buffer area to be filled with the compressed data to extract the compressed data from the buffer area and decompress and output sound, but does not need to wait for the buffer area to be filled with the compressed data according to the setting, and can play the data as long as receiving a plurality of packets, thereby effectively shortening the play starting time of the user App.
Fig. 2 is a flowchart illustrating steps of a method for performing wireless transmission by using the wireless transmission system of fig. 1 according to the present invention. As shown in fig. 2, first, in step 101, a connection is made, and the bluetooth audio receiving apparatus establishes a bluetooth audio transmission model protocol A2DP connection with the mobile phone, and then proceeds to step 102.
In step 102, data compression and transmission are performed; the bluetooth A2DP function module 2 in the mobile phone receives the audio data from the user App, compresses the audio data in a PCM (Pulse-Code Modulation) encoding manner, and transmits the compressed data to the bluetooth audio receiving device through a connection of a bluetooth audio transmission model protocol A2DP of the mobile phone, and then proceeds to step 103.
In step 103, perform a receiving operation; the bluetooth message receiving device receives at least one piece of compressed data from the mobile phone and puts the compressed data into a buffer (jitter buffer), and here, the mobile phone will transmit several pieces of compressed data with a speed higher than the playing speed of the user App at the beginning of the playing of the user App, so that a plurality of pieces of compressed data can be quickly established in the buffer for reading, and then the process goes to step 104.
In step 104, perform decompression; in the decompression processing module 3 of the Bluetooth message receiving device, a plurality of compressed data are read by the buffer area, and the sound is output after decompression, when the decompression is carried out, the decompression module does not need to wait for the buffer area compressed data to be filled up to extract the compressed data from the buffer area and decompress and output the sound, but does not need to wait for the buffer area compressed data to be filled up according to setting, and the user App can start playing as long as receiving a plurality of packets, thereby effectively shortening the starting time of the user App.
Fig. 3 is a diagram illustrating an embodiment of a wireless transmission system and operation thereof according to the present invention. As shown in fig. 3, the wireless transmission system 1 includes a bluetooth A2DP function module 2, and a decompression processing module 3.
The bluetooth A2DP function module 2 and the bluetooth audio signal receiving device 5, such as an earphone, are connected to the mobile phone 4, such as an Android mobile phone, to establish a bluetooth audio transmission model protocol A2DP connection, the bluetooth A2DP function module 2 in the mobile phone 4 receives the audio data from the user App, compresses the audio data in a PCM (Pulse-Code Modulation) encoding manner, and transmits the compressed data to the bluetooth audio signal receiving device 5 through the bluetooth audio transmission model protocol A2DP connection of the mobile phone 4.
The decompression processing module 3, bluetooth message receiving arrangement 5, for example, the earphone, receive the compressed data of at least one stroke from mobile phone 4, and put into its buffer (jitter buffer), here, mobile phone 4 will transmit the compressed data of several strokes more than user App broadcast speed in user App broadcast initial stage, so as to can set up the compressed data of many strokes that can be read in the buffer rapidly; in addition, the decompression processing module 3 in the bluetooth audio receiving device 5 reads a plurality of compressed data from the buffer area, decompresses the data and outputs sound, and when decompressing, the decompression module 3 does not need to wait for the buffer area to be filled with the compressed data to extract the compressed data from the buffer area and decompress and output sound, but does not need to wait for the buffer area to be filled with the compressed data according to the setting, and can play the data as long as receiving a plurality of packets, thereby effectively shortening the play starting time of the user App.
In this embodiment, for example, taking the buffer size of the bluetooth audio receiving device 5 (e.g., a headset) as 60ms, if the mobile phone 4 transmits 10ms more audio data every 20ms in the initial broadcasting stage, which is equal to 30ms audio data every 20ms, after 6 times (10 × 6 ═ 60), the buffer of the bluetooth audio receiving device 5 (e.g., a headset) can be filled; the mobile phone 4 transmits the audio data greater than the playing time to the bluetooth audio receiving device 5 (e.g., an earphone) at the beginning of playing, and the extra data is the buffer size of the bluetooth audio receiving device 5 (e.g., an earphone), for example, 60 ms.
Furthermore, the bluetooth audio receiving device 5 (e.g., a headset) does not need to wait for the existing buffer (e.g., 150ms) to be filled, taking the size of the buffer as 60ms as an example, if the mobile phone 4 transmits more data than the playing speed at the beginning of the playing, e.g., 10ms more audio data is transmitted every 20ms, which is equal to 30ms more audio data is transmitted every 20ms, after 6 times (10 × 6 ═ 60), the bluetooth audio receiving device 5 (e.g., a headset) can quickly establish the buffer (60ms) and can be filled, in other words, the playing can be started as long as several packets are received, which can effectively shorten the playing start time.
In the present embodiment, the buffer size of the bluetooth audio receiving device 5 (e.g., an earphone) is 60ms, however, the buffer size can be set according to actual requirements, in other words, the buffer size in the present invention is not limited to 60ms, and the buffer size is set according to other set values, which are the same and similar to those described in the present embodiment, so that the details are not repeated herein.
Fig. 4 is a flowchart illustrating a process of performing a wireless transmission method using the embodiment of the wireless transmission system shown in fig. 3. As shown in fig. 4, first, in step 201, a connection is made, and the bluetooth audio receiving apparatus 5 establishes a bluetooth audio transmission model protocol A2DP connection with the mobile phone 4, and then proceeds to step 202.
In step 202, data compression and transmission are performed; the bluetooth A2DP function module 2 in the mobile phone 4 receives the audio data from the user App, compresses the audio data in a PCM (Pulse-Code Modulation) encoding manner, and transmits the compressed data to the bluetooth audio receiving device 5 through a connection of a bluetooth audio transmission model protocol A2DP of the mobile phone 4, and then proceeds to step 203.
In step 203, perform a receiving operation; the bluetooth audio receiving device 5 receives at least one set of compressed data from the mobile phone 4 and puts the compressed data into a buffer (jitter buffer), where the mobile phone 4 transmits a plurality of sets of compressed data with a playing speed higher than that of the user App at the beginning of the App playing of the user, so as to quickly establish a plurality of sets of compressed data for reading in the buffer, and then proceeds to step 204.
In step 204, perform a decompression operation; the decompression processing module 3 in the Bluetooth message receiving device 5 reads a plurality of compressed data from the buffer area, decompresses the data and outputs sound, and when decompressing, the decompression module 3 does not need to wait for the buffer area to be filled with the compressed data to extract the compressed data from the buffer area and decompress and output sound, but does not need to wait for the buffer area to be filled with the compressed data according to the setting, and can play the data as long as receiving a plurality of packets, thereby effectively shortening the play-on time of the user App.
In this embodiment, for example, taking the buffer size of the bluetooth audio receiving device 5 (e.g., a headset) as 60ms, if the mobile phone 4 transmits 10ms more audio data every 20ms in the initial broadcasting stage, which is equal to 30ms audio data every 20ms, after 6 times (10 × 6 ═ 60), the buffer of the bluetooth audio receiving device 5 (e.g., a headset) can be filled; the mobile phone 4 transmits the audio data greater than the playing time to the bluetooth audio receiving device 5 (e.g., an earphone) at the beginning of playing, and the extra data is the buffer size of the bluetooth audio receiving device 5 (e.g., an earphone), for example, 60 ms.
Furthermore, the bluetooth audio receiving device 5 (e.g., a headset) does not need to wait for the existing buffer (e.g., 150ms) to be filled, taking the size of the buffer as 60ms as an example, if the mobile phone 4 transmits more data than the playing speed at the beginning of the playing, e.g., 10ms more audio data is transmitted every 20ms, which is equal to 30ms more audio data is transmitted every 20ms, after 6 times (10 × 6 ═ 60), the bluetooth audio receiving device 5 (e.g., a headset) can quickly establish the buffer (60ms) and can be filled, in other words, the playing can be started as long as several packets are received, which can effectively shorten the playing start time.
In the present embodiment, the buffer size of the bluetooth audio receiving device 5 (e.g., an earphone) is 60ms, however, the buffer size can be set according to actual requirements, in other words, the buffer size in the present invention is not limited to 60ms, and the buffer size is set according to other set values, which are the same and similar to those described in the present embodiment, so that the details are not repeated herein.
With the above embodiments, we can obtain a wireless transmission system and method thereof of the present invention, which are applied in the bluetooth wireless communication environment, when the wireless transmission system of the present invention is used to perform the wireless transmission method, first, a connection action is performed, and a bluetooth audio signal receiving device establishes a bluetooth audio transmission model protocol A2DP connection with a mobile phone; then, data compression and transmission are carried out, the Bluetooth A2DP function module in the mobile phone receives the audio data from the user App, and compresses the audio data in a PCM (Pulse-Code Modulation) coding mode, and the compressed data is transmitted to the Bluetooth audio receiving device through the connection of a Bluetooth audio transmission model protocol A2DP of the mobile phone; then, the Bluetooth message receiving device receives at least one piece of compressed data transmitted by the mobile phone and puts the compressed data into a buffer (jitter buffer) of the mobile phone, and at the beginning of the playback of the user App, the mobile phone can transmit a plurality of pieces of compressed data with the playing speed higher than that of the user App, so that a plurality of pieces of compressed data which can be read can be quickly established in the buffer; then, carry on the decompression action, in the decompression processing module in the message receiving arrangement of bluetooth, will read many compressed data by the buffer, output the sound after decompressing, here, while decompressing the action, decompress the module and needn't wait for buffer compressed data to fill up to carry on and withdraw the compressed data from the buffer, decompress and output the sound, but does not need to wait for buffer compressed data to fill up according to presuming, can broadcast as long as receive several packets, can shorten user App broadcast time effectively. The wireless transmission system and the method thereof of the invention have the following advantages:
1. when the decompression is carried out, the decompression module does not need to wait for the compressed data in the buffer area to be filled up to extract the compressed data from the buffer area and decompress and output the sound, but does not need to wait for the compressed data in the buffer area to be filled up according to the setting, and can play the data as long as receiving a plurality of packets, thereby effectively shortening the play-up time of the App of a user.
2. The delay time between the mobile phone transmitting the audio data to the Bluetooth audio receiving device (such as an earphone) through the Bluetooth audio transmission model protocol A2DP connection can be reduced; in addition, the delay time (generally 150 plus 200ms) for transmitting the audio data to the bluetooth audio receiving device (e.g., earphone) by the mobile phone (using the bluetooth audio transmission model protocol A2DP connection) is shortened, so that the user will not feel asynchronous audio and video when watching a movie or playing a game by using the bluetooth audio receiving device (e.g., earphone), and the sound response will not be slow.
3. The headphone does not need to wait until the buffer (the received audio data) is stored to a predetermined size, for example, 150ms, and then starts to extract the audio data from the buffer and decode the output sound, so that the buffer can be reduced and the application thereof can be optimized, thereby effectively reducing the delay.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention; it is intended that all such equivalent changes and modifications be included within the scope of the present disclosure as defined by the appended claims.
Claims (10)
1. A wireless transmission method, applied in a Bluetooth wireless communication environment, comprising the following procedures:
performing a connecting operation; the Bluetooth audio signal receiving device establishes a Bluetooth audio transmission model protocol A2DP connection with the mobile phone;
performing data compression and transmission action; the mobile phone compresses the audio data of the user App in a PCM coding mode, and the compressed data is transmitted to the Bluetooth audio receiving device through the connection of the Bluetooth audio transmission model protocol A2DP of the mobile phone;
receiving the compressed data from the mobile phone and putting the compressed data into a buffer zone; and
and decompressing to read several compressed data from the buffer and decompress to output sound.
2. The wireless transmission method according to claim 1, wherein during the receiving operation, the mobile phone transmits a number of compressed data at a speed higher than the playing speed of the user App at the beginning of the user App playing so as to quickly establish a number of compressed data in the buffer for reading.
3. The wireless transmission method according to claim 1, wherein the decompressing does not need to wait for the buffer to be full to extract the compressed data from the buffer and output the sound after decompressing, but can start playing only after receiving several packets according to the configuration without waiting for the buffer to be full.
4. The wireless transmission method according to claim 1, wherein the bluetooth audio receiving device is an earphone.
5. The wireless transmission method according to claim 1, wherein the mobile phone is an Android mobile phone.
6. A wireless transmission system for use in a bluetooth wireless communication environment, comprising:
a bluetooth A2DP function module, after the bluetooth audio signal receiving device establishes a bluetooth audio transmission model protocol A2DP connection with the mobile phone, the bluetooth A2DP function module in the mobile phone receives the audio data from the user App, compresses the audio data in a PCM coding mode, compresses the compressed data, and transmits the compressed data to the bluetooth audio signal receiving device through the bluetooth audio transmission model protocol A2DP connection of the mobile phone; and
the decompression processing module, the bluetooth message receiving device receives the compressed data of at least one stroke from the mobile phone and puts into its buffer; the decompression processing module in the Bluetooth message receiving device reads a plurality of compressed data from the buffer area and outputs sound after decompression.
7. The system of claim 6, wherein the mobile phone transmits a number of compressed data at an initial playback time of the user App, so as to quickly create a number of compressed data in the buffer for reading.
8. The wireless transmission system of claim 6 wherein the compressed data is extracted from the buffer without waiting for the buffer to fill up, and the sound is output after decompression, but can be played only after receiving several packets without waiting for the buffer to fill up, depending on the configuration.
9. The wireless transmission system of claim 6, wherein the bluetooth audio receiving device is a headset.
10. The wireless transmission system of claim 6, wherein the mobile phone is an Android mobile phone.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811620998.XA CN111385775A (en) | 2018-12-28 | 2018-12-28 | Wireless transmission system and method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811620998.XA CN111385775A (en) | 2018-12-28 | 2018-12-28 | Wireless transmission system and method thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111385775A true CN111385775A (en) | 2020-07-07 |
Family
ID=71220458
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811620998.XA Pending CN111385775A (en) | 2018-12-28 | 2018-12-28 | Wireless transmission system and method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111385775A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070049196A1 (en) * | 2005-08-30 | 2007-03-01 | Jason Hillyard | Method and system for optimized architecture for bluetooth streaming audio applications |
CN104065401A (en) * | 2014-06-25 | 2014-09-24 | 青岛歌尔声学科技有限公司 | Voice transmission method based on HID bluetooth module and HID bluetooth voice communication device |
WO2016050298A1 (en) * | 2014-10-01 | 2016-04-07 | Binauric SE | Audio terminal |
US10158259B1 (en) * | 2015-09-16 | 2018-12-18 | Energous Corporation | Systems and methods for identifying receivers in a transmission field by transmitting exploratory power waves towards different segments of a transmission field |
-
2018
- 2018-12-28 CN CN201811620998.XA patent/CN111385775A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070049196A1 (en) * | 2005-08-30 | 2007-03-01 | Jason Hillyard | Method and system for optimized architecture for bluetooth streaming audio applications |
CN104065401A (en) * | 2014-06-25 | 2014-09-24 | 青岛歌尔声学科技有限公司 | Voice transmission method based on HID bluetooth module and HID bluetooth voice communication device |
WO2016050298A1 (en) * | 2014-10-01 | 2016-04-07 | Binauric SE | Audio terminal |
US10158259B1 (en) * | 2015-09-16 | 2018-12-18 | Energous Corporation | Systems and methods for identifying receivers in a transmission field by transmitting exploratory power waves towards different segments of a transmission field |
Non-Patent Citations (1)
Title |
---|
王尧等: "蓝牙高质量音频传输的两种实现方式及其应用", 《铁路计算机应用》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3629561B1 (en) | Data transmission method and system, and bluetooth headphone | |
CN111294783B (en) | Audio data transmission method, device, chip and electronic equipment | |
US10820098B2 (en) | Wireless microphone system, control method and audio-video conference system | |
CN109089330B (en) | Audio data transmission method and terminal | |
KR20200139198A (en) | Earphone wireless communication method, master earphone, slave earphone and earphone system | |
CN106936987B (en) | Method and device capable of identifying voice source of Bluetooth headset | |
US8977202B2 (en) | Communication apparatus having a unit to determine whether a profile is operating | |
CN111132111B (en) | BLE-based audio sharing method, system and computer readable storage medium | |
JP2009089392A (en) | Apparatus having mobile terminal as input/output device of computer, system thereof, and method | |
WO2014090040A1 (en) | Method of using a mobile device as a microphone, method of audio playback, and related device and system | |
CN114982369A (en) | Audio data transmission method, device, chip and electronic equipment | |
CN111436046A (en) | Bluetooth-based audio data providing method and device, charging equipment and system | |
CN110166988B (en) | Wireless communication system and method thereof | |
CN114258003A (en) | Audio playing control method, system, device and storage medium | |
CN114466099B (en) | Control method and device of Bluetooth equipment and storage medium | |
CN115174538A (en) | Data transmission method and device, electronic equipment and computer readable medium | |
CN106656274B (en) | Voice transmission system | |
US20140163971A1 (en) | Method of using a mobile device as a microphone, method of audio playback, and related device and system | |
CN115022766B (en) | Audio data playing method and equipment | |
CN113316129B (en) | Method for acquiring coding and decoding capabilities in Bluetooth device and electronic device | |
TWI700953B (en) | A wireless transmission system and method | |
CN111385775A (en) | Wireless transmission system and method thereof | |
CN116321084A (en) | Bluetooth communication method, bluetooth communication device, electronic equipment and computer readable medium | |
CN110662205B (en) | Bluetooth-based audio transmission method, device, medium and equipment | |
CN114205699A (en) | Wireless headset, method of controlling wireless headset, and storage medium |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200707 |
|
RJ01 | Rejection of invention patent application after publication |