CN110166988B - Wireless communication system and method thereof - Google Patents

Wireless communication system and method thereof Download PDF

Info

Publication number
CN110166988B
CN110166988B CN201810150436.7A CN201810150436A CN110166988B CN 110166988 B CN110166988 B CN 110166988B CN 201810150436 A CN201810150436 A CN 201810150436A CN 110166988 B CN110166988 B CN 110166988B
Authority
CN
China
Prior art keywords
bluetooth
bluetooth device
master
slave
piconet
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
CN201810150436.7A
Other languages
Chinese (zh)
Other versions
CN110166988A (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.)
Shengwei Advanced Technology Co ltd
Original Assignee
Shengwei Advanced Technology 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 Shengwei Advanced Technology Co ltd filed Critical Shengwei Advanced Technology Co ltd
Priority to CN201810150436.7A priority Critical patent/CN110166988B/en
Publication of CN110166988A publication Critical patent/CN110166988A/en
Application granted granted Critical
Publication of CN110166988B publication Critical patent/CN110166988B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

When the wireless communication system is used for carrying out a wireless communication method process, firstly, a master Bluetooth device of a master control end of a virtual Bluetooth device formed by the wireless communication system and slave Bluetooth devices of one or a plurality of controlled ends are paired to form a Bluetooth first microgrid and establish a first connection; then, the master Bluetooth device of the master control end of the virtual Bluetooth device and more than one slave Bluetooth devices of the controlled end use the same Bluetooth device address to join a Bluetooth second microgrid of a Bluetooth device and establish a second connection; furthermore, the master bluetooth device of the master end establishes a bluetooth audio transmission protocol A2DP connection with the bluetooth device through the bluetooth second piconet and receives audio data, and at least more than one slave bluetooth devices of the controlled end use the same bluetooth device address as the master bluetooth device and receive the same audio data as the master bluetooth device receives.

Description

Wireless communication system and method thereof
Technical Field
The present invention relates to a communication system and method thereof, and more particularly, to a wireless communication system and method thereof applied to a bluetooth wireless communication environment, wherein audio data transmission and playback are performed after a bluetooth first piconet (piconet1) is formed and a first Link (Link1) is established and a bluetooth second piconet (piconet2) is formed and a second Link (Link2) is established.
Background
For existing bluetooth audio devices (e.g., mobile phones) to process audio data, currently, real Wireless Stereo (TWS) supporting a bluetooth headset with independent ears, such as a CSR microprocessor, the bluetooth audio transport protocol A2DP audio data is transferred by a forwarding method, and the audio data of the mobile phone is transferred to a data buffer of one (master) headset and then transferred to another (slave) headset, so as to achieve the function of playing the audio data simultaneously by the left and right ears. However, this transmission method occupies the limited bandwidth of bluetooth because the audio data is transmitted twice in the air, and the one-side (master) earphone needs a larger buffer area during the transmission process, which also increases the delay time of playing. In addition, in the transfer process, the master earphone may need to decompress the audio data to the slave earphone after the audio data is decoded, which not only consumes computing resources, but also reduces the sound quality due to repeated compression.
Disclosed in U.S. patent publication/publication No. US 8768252B2 "Un-heated Wireless Audio System," is that (slave) earphone SNK (Audio receiver) -2 obtains information of connection with mobile phone SRC (Audio source) from (master) earphone SNK-1, locks RF frequency used by mobile phone bluetooth, and obtains Audio data transmitted by mobile phone to (master) earphone SNK-1 by way of monitoring (SNOOP), thereby achieving the function of simultaneous playing of left and right ears. As for the lost packet in the monitoring process, the slave earphone SNK-2 sends the notification ACK/NACK to the (master) earphone SNK-1 through another bluetooth connection between the two ears, and the master earphone SNK-1 forwards the notification ACK/NACK to the mobile phone SRC, and the mobile phone SRC retransmits the lost packet.
However, in the process of forwarding the notification, the (master) headset SNK-1 must wait for the notification sent by the (slave) headset SNK-2, if the notification is missed by the SNK-1, the SNK-1 cannot notify the mobile phone SRC that the audio packet has been successfully received, and the mobile phone SRC will actively resend the packet, thereby reducing the efficiency of transmitting audio data by the mobile phone SRC. Furthermore, since the (master) headset SNK-1 must maintain two BT connections with the mobile phone SRC and the (slave) headset SNK-2, the operation burden is larger than that of the (slave) headset SNK-2, and the power consumption is also larger, so that the battery life of the (master) headset SNK-1 is shorter and the (slave) headset SNK-2 is not matched.
Taiwan public/announcement number I395442 "communication technology in dual protocol environment" is a communication technology in an environment where interference from a signal associated with one communication protocol may hinder reception of a signal associated with another communication protocol, and discloses a communication apparatus 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 I246265 "bluetooth device and combined bluetooth audio device" discloses a bluetooth device, which is suitable for being coupled to an audio device so that a user can timely receive an incoming call received by a mobile communication device while listening to an audio signal provided by the audio device, and is suitable for being coupled to a stereo headset microphone and an audio device and for receiving and transmitting signals from and to 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 audio signal transmitted to the stereo headset microphone is switched to the audio 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 through 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 through 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 audio 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/public number I5638 ″ "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 number I56806 "bluetooth device and method of controlling bluetooth device or wireless device" provides a method of controlling bluetooth device to save power, 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/bulletin No. I449381 "communication method and bluetooth apparatus" is a communication method and bluetooth apparatus for optimizing the use efficiency of bluetooth slots (slots) in a scatternet (scatternet), wherein the communication method is used for a bluetooth apparatus in a scatternet, and the scatternet comprises 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 is that for processing audio data by a bluetooth audio device (e.g., a mobile phone), most of the audio data is directly transmitted to earphones on both sides by the mobile phone, which cannot reduce the bandwidth waste; the limited bandwidth of bluetooth cannot be effectively utilized, so that the conventional method cannot transmit audio data with higher quality under the same bandwidth; the (main) earphone needs a larger buffer area, and the delay time of playing cannot be reduced; the (main) earphone can not be connected with the mobile phone end by adopting the standard A2DP, the mobile phone end needs to be modified, and the compatibility problem needs to be considered; audio data omitted by the slave earphone cannot request the master earphone to resend, and the master earphone cannot only transmit monaural audio data to the slave earphone, so that the Bluetooth bandwidth cannot be saved; the master earphone can not support a plurality of slave earphones, and the master role and the slave role of the Bluetooth device can not be switched at any time, such as timing rotation, or different function switching according to music or conversation; in other words, the above problems are to be solved.
Disclosure of Invention
When the wireless communication system of the present invention is used to perform a wireless communication method process in a bluetooth wireless communication environment, first, an operation of forming a bluetooth first piconet (piconet1) and establishing a first Link (Link1) is performed, and a first bluetooth device and one or more second bluetooth devices of the wireless communication system are paired to form a bluetooth first piconet (piconet1) and establish a first Link (Link1), and the first bluetooth device and the one or more second bluetooth devices of the wireless communication system are externally formed as a virtual bluetooth device; then, forming a bluetooth second piconet (piconet2) and establishing a second Link (Link2), wherein the virtual bluetooth Device and a bluetooth Device, such as a mobile phone, form the bluetooth second piconet (piconet2) therebetween and establish the second Link (Link2), and the bluetooth second piconet (piconet2) of the first bluetooth Device and the one or more second bluetooth devices of the wireless communication system are added to the bluetooth Device, such as the mobile phone, by using the same bluetooth Device address BD _ addr (bluetooth Device address); further, the master Bluetooth device of the master control terminal (master) of the virtual Bluetooth device in the Bluetooth first piconet will pass through the Bluetooth second piconet, and establish a connection with the mobile phone according to the Bluetooth audio transmission protocol A2DP and receive audio data according to the Bluetooth audio transmission protocol A2DP, at least more than one slave bluetooth device of the slave (slave) of the virtual bluetooth device in the bluetooth first piconet uses the same bluetooth device address BD _ ADDR as the master bluetooth device, thus, the same Bluetooth Audio Transmission protocol A2DP audio data as received by the master Bluetooth device may be received, therefore, the master Bluetooth device and at least one slave Bluetooth device can play music at the same time, and packet data lost in the receiving process of at least one slave Bluetooth device in the Bluetooth first microgrid can require the master Bluetooth device to retransmit the packet data instead of the mobile phone.
Another objective of the present invention is to provide a wireless communication system and method thereof, which are applied in a bluetooth wireless communication environment, when audio data is transmitted from a bluetooth device, such as a mobile phone, to the wireless communication system of the present invention for wireless communication, most of the audio data is directly transmitted from the mobile phone to the first bluetooth device and one or more second bluetooth devices of the wireless communication system through a bluetooth second piconet, so as to reduce the wasted bandwidth; in addition, since the packet data lost during the receiving process of at least one slave bluetooth device in the bluetooth first piconet is required to be retransmitted by the master bluetooth device rather than by the bluetooth device, such as a mobile phone, the limited bandwidth of bluetooth can be effectively utilized, and therefore, higher-quality audio data can be transmitted using the same bandwidth than in the conventional manner.
Another objective of the present invention is to provide a wireless communication system and method thereof, which is applied in a bluetooth wireless communication environment, in a bluetooth first piconet, a main bluetooth device at a master control end does not need a large buffer area, so that the delay time of playing can be reduced; in addition, the main Bluetooth device is connected with the mobile phone end by adopting a standard Bluetooth audio transmission protocol A2DP, and the mobile phone end does not need to be modified and has no compatibility problem.
Another objective of the present invention is to provide a wireless communication system and method thereof, which is applied in a bluetooth wireless communication environment, in a bluetooth first piconet, audio data missed by more than one slave bluetooth device of a controlled end can request the master bluetooth device of a master end, and the master bluetooth device of the master end can transmit only monaural audio data to the more than one slave bluetooth device of the controlled end, so as to save bluetooth bandwidth.
Another objective of the present invention is to provide a wireless communication system and method thereof, which is applied in a bluetooth wireless communication environment, wherein the master bluetooth device as a master control end and one or more slave bluetooth devices as controlled ends can switch their bluetooth master role and slave role at any time, such as rotating at regular time or switching according to different functions of music or communication; in other words, in the wireless communication system of the present invention, in the first bluetooth piconet, when the first bluetooth device is a master bluetooth device of a master (master), the one or more second bluetooth devices are controlled terminals, and when any one of the one or more second bluetooth devices is a master bluetooth device of the master, the first bluetooth device is a slave bluetooth device of the controlled terminals, and the other one of the one or more second bluetooth devices except the any one of the one or more second bluetooth devices can also be slave bluetooth devices of the controlled terminals, that is, the master and slave roles are determined according to the connection status and are not limited to specific devices.
In accordance with the above-mentioned objectives, the present invention provides a wireless communication system, which is applied in a bluetooth wireless communication environment, the wireless communication system comprises a first bluetooth device and at least one second bluetooth device.
The first bluetooth device and the more than one second bluetooth devices are paired to form a bluetooth first piconet (piconet1), a first Link (Link1) is established between the first bluetooth device and the more than one second bluetooth devices, and the wireless communication system comprising the first bluetooth device and the more than one second bluetooth devices is externally formed into a virtual bluetooth device.
Here, a bluetooth second piconet (piconet2) is formed between the virtual bluetooth device and a bluetooth device, such as a mobile phone, and a second Link (Link2) is established; forming a second bluetooth piconet (piconet2) with the mobile phone for the wireless communication system of the virtual bluetooth device, and establishing a second Link (Link2) of an Audio connection of a bluetooth Audio transmission protocol A2DP (Advanced Audio Distribution Profile); in the bluetooth first piconet, the first bluetooth Device of the wireless communication system and the one or more second bluetooth devices will be joined to the bluetooth second piconet (piconet2) of the handset using the same bluetooth Device address BD _ addr (bluetooth Device address), wherein in the bluetooth first piconet, when the first bluetooth Device is the master bluetooth Device of the master (master), the one or more second bluetooth devices will be slave bluetooth devices of the slave (slave), however, this master and slave role depends on the connection status of the bluetooth first piconet, in other words, in the bluetooth first piconet, when any one of the one or more second bluetooth devices is the master bluetooth Device of the master, the first bluetooth Device is the slave bluetooth Device of the slave, and in other than any one of the one or more second bluetooth devices, the other second bluetooth devices are also slave bluetooth devices of the slave, that is, the master role and the slave role are not limited to a specific device depending on the connection status.
When audio data is transmitted through the bluetooth second piconet, the virtual bluetooth device and the bluetooth device, such as a mobile phone, so as to enable music playing, a first bluetooth device of the wireless communication system (virtual bluetooth device) in the bluetooth first piconet, and one or more of the second bluetooth devices, such as a master bluetooth device (e.g., a first bluetooth device), after establishing a second Link (Link2) of the bluetooth audio transmission protocol A2DP with the mobile phone, the master bluetooth device (e.g., the first bluetooth device) that is the master (master) in the bluetooth first piconet establishes a bluetooth audio transmission protocol A2DP connection with the mobile phone through the bluetooth second piconet and receives the bluetooth audio transmission protocol A2DP audio data, and one or more slave bluetooth devices (e.g., the one or more second bluetooth devices) of the slave (slave) in the bluetooth first piconet, since the same bluetooth device address BD _ ADDR is used as the master bluetooth device, it is also possible to receive the same bluetooth audio transmission protocol A2DP audio data as the master bluetooth device, so as to achieve the function of the wireless communication system as a virtual bluetooth device, and at least more than one slave bluetooth device can play music at the same time, and in addition, packet data lost during reception by more than one slave bluetooth device (e.g., the more than one second bluetooth device) of the slave (slave) in the bluetooth first piconet is requested to the master bluetooth device (e.g., the first bluetooth device) of the master (master) through the first Link (Link1), provided by the master bluetooth device (e.g., the first bluetooth device) of the master (master) rather than being retransmitted by the mobile phone, and the master bluetooth device (e.g., the first bluetooth device) may only transmit monaural audio data to more than one slave bluetooth devices (e.g., the more than one second bluetooth devices) of the slave (slave), in other words, packet data lost during reception by more than one slave bluetooth devices (e.g., the more than one second bluetooth devices) of the slave (slave) in the bluetooth first piconet may require retransmission by the master bluetooth device (e.g., the first bluetooth device) of the master (master) in the bluetooth first piconet, without requiring retransmission by the handset of the bluetooth second piconet of packet data of audio data, and only by the master bluetooth device (e.g., the first bluetooth device) of the master (master); in addition, the master bluetooth device (e.g., the first bluetooth device) of the master (master) and one or more slave bluetooth devices (e.g., the one or more second bluetooth devices) of the slave (slave) in the bluetooth first piconet may receive complete audio data and decode and play the audio data; and only the master bluetooth device (e.g., the first bluetooth device) of the master control end (master) in the first bluetooth piconet can transmit packet data to the mobile phone in the second bluetooth piconet, however, the master role and the slave role of the bluetooth device can be switched at any time, for example, the master role and the slave role are switched in turn at regular time, or the master role and the slave role are switched according to different functions of music or conversation.
When the wireless communication system of the present invention is used to perform the wireless communication method process, first, the operations of forming the bluetooth first piconet (piconet1) and establishing the first Link (Link1) are performed, the first bluetooth device and the at least one second bluetooth device of the wireless communication system are paired to form the bluetooth first piconet (piconet1) and establish the first Link (Link1), and the first bluetooth device and the at least one second bluetooth device of the wireless communication system are externally formed into a virtual bluetooth device.
Then, the operations of forming the bluetooth second piconet (piconet2) and establishing the second Link (Link2) are performed, the virtual bluetooth Device forms the bluetooth second piconet (piconet2) with a bluetooth Device, such as a mobile phone, and establishes the second Link (Link2), and the first bluetooth Device and the one or more second bluetooth devices of the wireless communication system join the bluetooth second piconet (piconet2) of the mobile phone by using the same bluetooth Device address BD _ addr (bluetooth Device address).
Further, performing audio data transmission and music playing operations, the master bluetooth device (the first bluetooth device or one of the more than one second bluetooth devices) at the master (master) of the virtual bluetooth device in the bluetooth first piconet establishing a bluetooth audio transmission protocol A2DP connection with the handset through the bluetooth second piconet and receiving the bluetooth audio transmission protocol A2DP audio data, and at least one of the more than one slave bluetooth devices at the slave (slave) of the virtual bluetooth device in the bluetooth first piconet using the same bluetooth device address BD _ ADDR as the master bluetooth device and thus receiving the same bluetooth audio transmission protocol A2DP audio data as the master bluetooth device received, so that the master bluetooth device and the at least one slave bluetooth device can play music simultaneously, and at least one of the more than one slave bluetooth devices in the bluetooth first piconet losing data during receiving, the master bluetooth device may be required to be resent instead of being resent by the handset.
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 communication system according to the present invention;
FIG. 2 is a flowchart illustrating steps of a method for wireless communication using the wireless communication system of FIG. 1 in accordance with the present invention;
FIG. 3 is a diagram illustrating an embodiment of a wireless communication system and operation of the system according to the present invention;
FIG. 4 is a flowchart illustrating a process for performing a wireless communication method using one embodiment of the wireless communication system of FIG. 3;
FIG. 5 is a diagram illustrating a network architecture of a wireless communication system and a handset according to the embodiment of FIG. 3; and
fig. 6 is a diagram illustrating a lost packet recovery procedure from the bluetooth device according to an embodiment of the wireless communication system shown in fig. 3.
Description of reference numerals:
1 radio communication system
2 first bluetooth device
3 second Bluetooth device
4 virtual bluetooth device
5 Bluetooth device
11 bluetooth first piconet
12 Bluetooth second piconet
101102103 step
201202203 step
P1 Bluetooth first piconet
P2 Bluetooth second microgrid
Detailed Description
Fig. 1 is a system diagram illustrating the system architecture and operation of a wireless communication system according to the present invention. As shown in fig. 1, the wireless communication system 1 includes a first bluetooth device 2 and more than one second bluetooth devices 3.
A first bluetooth device 2 and one or more second bluetooth devices 3, the first bluetooth device 2 and the one or more second bluetooth devices 3 are paired to form a bluetooth first piconet (piconet1), and a first Link (Link1) is established between the first bluetooth device 2 and the one or more second bluetooth devices 3, and the wireless communication system 1 including the first bluetooth device 2 and the one or more second bluetooth devices 3 is externally formed as a virtual bluetooth device 4.
Here, the virtual bluetooth device 4 forms a bluetooth second piconet (piconet2) with a bluetooth device 5 (e.g., a mobile phone 5), and establishes a second Link (Link 2); the wireless communication system 1 for the virtual bluetooth device 4 will form a bluetooth second piconet (piconet2) with the bluetooth device 5 and establish a second Link (Link2) of the bluetooth Audio transmission protocol A2DP (Advanced Audio Distribution Profile) Audio connection.
The first bluetooth Device 2 and the one or more second bluetooth devices 3 of the wireless communication system 1 in the bluetooth first piconet use the same bluetooth Device address BD _ addr (bluetooth Device address) to be added to the bluetooth second piconet (piconet2) of the bluetooth Device 5, wherein in the bluetooth first piconet, when the first bluetooth Device 2 is a master bluetooth Device of a master (master), the one or more second bluetooth devices 3 are slave bluetooth devices of a slave (slave), however, the master and slave roles depend on the connection status of the bluetooth first piconet.
In other words, in the wireless communication system 1 of the present invention, when any one of the one or more second bluetooth devices 3 is the master bluetooth device of the master, the first bluetooth device 2 is the slave bluetooth device of the controlled end, and the other ones of the one or more second bluetooth devices 3 except for the one are also slave bluetooth devices of the controlled end in the bluetooth first piconet, that is, the master/slave roles are not limited to specific devices depending on the connection status.
When the virtual bluetooth apparatus 4 (the wireless communication system 1) and the bluetooth apparatus 5 perform audio data (mono or stereo) transmission via the bluetooth second piconet to enable music playing, the first bluetooth apparatus 2 of the wireless communication system 1 (the virtual bluetooth apparatus 4) in the bluetooth first piconet, and one of the more than one second bluetooth apparatus 3, which is the master (master) (e.g., the first bluetooth apparatus 2), receive the bluetooth audio transmission protocol A2DP audio data after establishing the second Link (Link2) of the bluetooth audio transmission protocol A2DP with the bluetooth apparatus 5, and the more than one slave bluetooth apparatuses (e.g., the more than one second bluetooth apparatus 3) of the slave (slave) in the bluetooth first piconet, using the same bluetooth apparatus address BD _ ADDR as the master bluetooth apparatus, thus, may also receive the bluetooth audio transmission protocol A2DP audio data received by the master bluetooth apparatus, thus, the master Bluetooth device 2 and at least one slave Bluetooth device 3 of the wireless communication system 1, which are the virtual Bluetooth devices 4, can play music at the same time.
More than one slave bluetooth devices (e.g., the more than one second bluetooth devices 3) of the slave (slave) in the bluetooth first piconet receive the lost packet data, and send a request to the master bluetooth device (e.g., the first bluetooth device 2) of the master (master) through the first Link (Link1), the request is provided by the master bluetooth device (e.g., the first bluetooth device 2) of the master (master) rather than being retransmitted by the bluetooth device 5, and the master bluetooth device (e.g., the first bluetooth device 2) of the master (master) can only transmit monaural audio data to the more than one slave bluetooth devices (e.g., the more than one second bluetooth devices 3) of the slave (slave). In other words, the packet data lost during the receiving process of the more than one slave bluetooth device (e.g., the more than one second bluetooth device 3) at the slave (slave) in the bluetooth first piconet may require the master bluetooth device (e.g., the first bluetooth device 2) at the master (master) in the bluetooth first piconet to retransmit the packet data of the audio data without requiring the bluetooth device 5 in the bluetooth second piconet to retransmit the packet data, and only the master bluetooth device (e.g., the first bluetooth device 2) at the master (master) may retransmit the packet data.
In addition, the master bluetooth device (e.g., the first bluetooth device 2) of the master (master) and one or more slave bluetooth devices (e.g., the one or more second bluetooth devices 3) of the slave (slave) in the bluetooth first piconet may receive complete audio data and decode and play the audio data; and only the master bluetooth device (e.g., the first bluetooth device 2) of the master (master) in the first bluetooth piconet can transmit packet data to the bluetooth device 5 in the second bluetooth piconet, however, the master and slave roles of the bluetooth devices can be switched at any time, for example, by timing in turns, or by different functions of music or communication.
In practical implementation, the first bluetooth device 2 and the at least one second bluetooth device 3 of the wireless communication system 1 may be both bluetooth headsets, or the first bluetooth device 2 and the at least one second bluetooth device 3 may be electronic devices with bluetooth communication functions, depending on practical implementation conditions.
In addition, further regarding the network architecture of the wireless communication system 1 and the bluetooth device 5:
1. the first bluetooth device 2, which is the master bluetooth device, and the one or more second bluetooth devices 3, which are slave bluetooth devices, establish a bluetooth first piconet in which the first bluetooth device 2, which is the master bluetooth device, is the master of the bluetooth first piconet and the one or more second bluetooth devices 3, which are slave bluetooth devices, are slave of the bluetooth first piconet.
2. A bi-directional Link1 is established between the first bluetooth device 2, which is a master bluetooth device, and one or more second bluetooth devices 3, which are slave bluetooth devices, to exchange data/command/ACK (data/command/notification); the wireless communication system 1 forms a single virtual bluetooth device 4, and the first bluetooth device 2 and one or more second bluetooth devices 3 have the same bluetooth device address BD _ ADDR (e.g., BD _ ADDR 1).
In other words, the first bluetooth device 2 and the more than one second bluetooth devices 3 establish the bluetooth first piconet, the first bluetooth device 2 is the master bluetooth device master, the more than one second bluetooth devices 3 are the slave bluetooth devices slave, a bidirectional Link first connection (Link1) is established between the first bluetooth device 2 and the more than one second bluetooth devices 3 to exchange data/command/ACK, and a single virtual bluetooth device 4 is externally formed and uses the bluetooth device address BD _ ADDR (e.g., BD _ ADDR 1).
3. The virtual bluetooth device 4 is added to the bluetooth second piconet 12 of the bluetooth device 5 (e.g., cell phone 5), wherein the bluetooth device 5, which is the master bluetooth device, uses another bluetooth device address (e.g., BD _ ADDR2) different from the bluetooth device addresses BD _ ADDR (e.g., BD _ ADDR1) of the first bluetooth device 2 and the one or more second bluetooth devices 3 for the bluetooth second piconet, and the first bluetooth device 2 and the second bluetooth device 3, which are slave bluetooth devices, are both slave bluetooth devices of the second piconet 12 (P2).
The virtual bluetooth device 4 establishes a bi-directional Link2 with the bluetooth device 5 (e.g., the mobile phone 5) to receive audio data transmitted by the bluetooth device 5 (e.g., the mobile phone 5).
4. As for the first bluetooth device 2, in the bluetooth first piconet, the first bluetooth device 2 is the master bluetooth device master; however, in the bluetooth second piconet, the first bluetooth device 2 is a slave bluetooth device slave and has a bluetooth device address (e.g., BD _ ADDR 1).
For more than one second bluetooth device 3, in the bluetooth first piconet 11, the first bluetooth device 2 is the master bluetooth device master and the second bluetooth device 3 is the slave bluetooth device slave; in addition, in the bluetooth second piconet, more than one second bluetooth device 3 is slave and has a bluetooth device address (e.g., BD _ ADDR1), i.e., in the bluetooth second piconet, both the first bluetooth device 2 and the second bluetooth device 3 are slave and have the same bluetooth device address (e.g., BD _ ADDR 1).
With respect to the bluetooth device 5 (e.g., the mobile phone 5), in the bluetooth second piconet, the bluetooth device 5 (e.g., the mobile phone 5) is the master bluetooth device master and has a bluetooth device address (e.g., BD _ ADDR2), and the first bluetooth device 2 and the one or more second bluetooth devices 3 are all slave bluetooth devices slave and have the same bluetooth device address (e.g., BD _ ADDR 1).
In other words, the virtual bluetooth device 4 joins the bluetooth second piconet of the bluetooth device 5 (e.g., the mobile phone 5), wherein the first bluetooth device 2 and the one or more second bluetooth devices 3 are slave bluetooth devices, and the virtual bluetooth device 4 establishes a bi-directional connection second Link (Link2) with the bluetooth device 5 (e.g., the mobile phone 5) to receive the audio data transmitted by the bluetooth device 5 (e.g., the mobile phone 5).
Fig. 2 is a flowchart illustrating steps of a method for wireless communication using the wireless communication system of fig. 1 according to the present invention. As shown in fig. 2, first, in step 101, the operations of forming a bluetooth first piconet (piconet1) and establishing a first Link (Link1) are performed; the first bluetooth device 2 and the one or more second bluetooth devices 3 of the wireless communication system 1 are paired with each other to form a bluetooth first piconet (piconet1) and establish a first Link1, and the first bluetooth device 2 and the one or more second bluetooth devices 3 of the wireless communication system 1 are externally formed as a virtual bluetooth device 4 and the process proceeds to step 102.
In step 102, forming a bluetooth second piconet (piconet2) and establishing a second Link (Link 2); the virtual bluetooth apparatus 4 and the bluetooth apparatus 5 (e.g., the mobile phone 5) form a bluetooth second piconet (piconet2) therebetween and establish a second Link (Link2), and the first bluetooth apparatus 2 and the one or more second bluetooth apparatuses 3 of the wireless communication system 1 join the bluetooth second piconet (piconet2) of the bluetooth apparatus 5 (e.g., the mobile phone 5) using the same bluetooth apparatus address BD _ addr (bluetooth Device address), and then proceed to step 103.
In step 103, performing audio data transmission and music playing; the master bluetooth device (the first bluetooth device 2 and one of the more than one second bluetooth devices 3) of the master (master) of the virtual bluetooth device 4 in the first bluetooth piconet establishes a bluetooth audio transmission protocol A2DP connection with the bluetooth device 5 (e.g., the handset 5) through the second bluetooth piconet and receives bluetooth audio transmission protocol A2DP audio data (mono or stereo), and at least one of the more than one slave bluetooth devices of the slave (slave) of the virtual bluetooth device 4 in the first bluetooth piconet also receives the same bluetooth device address BD _ ADDR as the master bluetooth device, so that the master bluetooth device and the at least one slave bluetooth device can play music simultaneously, and at least one of the more than one slave bluetooth devices in the first bluetooth piconet loses bluetooth packet data during reception, the master bluetooth device may be required to be resent instead of being resent by the bluetooth device 5 (e.g., the handset 5).
In other words, when the wireless communication system is used to perform the wireless communication method:
1. a plurality of bluetooth devices (a first bluetooth device 2 and one or more second bluetooth devices 3) are pre-paired to form a bluetooth first piconet and establish a wired first link.
2. One of the bluetooth devices (the first bluetooth device 2 and the one or more second bluetooth devices 3) in the bluetooth first piconet and the bluetooth device 5 (e.g., the mobile phone 5) form a bluetooth second piconet and establish A2DP audio connection second link, such that the bluetooth device is referred to as a master bluetooth device of the master in the bluetooth first piconet, the other bluetooth devices in the bluetooth first piconet are referred to as slave bluetooth devices of the controlled end, and the master role and the slave role are determined according to the connection state and are not limited to specific devices; here, only the master bluetooth device can transmit packets to the bluetooth device 5 (e.g., the mobile phone 5), and the master and slave roles of the bluetooth device can be switched at any time, for example, periodically and alternately, or different functions can be switched according to music or conversation.
3. The master bluetooth device at the master in the first bluetooth piconet transfers connection information of the second bluetooth piconet, such as the BD _ ADDR and connection password of the bluetooth device 5 (e.g., the mobile phone 5) to the slave bluetooth device (other bluetooth devices) at the controlled end in the first bluetooth piconet through the first connection.
4. The slave bluetooth device of the controlled end in the first piconet adds the same BD _ ADDR to the second bluetooth piconet according to the connection information.
5. The slave bluetooth device of the controlled peer in the first piconet receives audio data that is sent by the connected bluetooth device 5 (e.g., the handset 5) in the second connection to the master bluetooth device of the master peer in the first piconet.
6. The packet data missed by the slave bluetooth device of the controlled end in the first piconet is requested to the master bluetooth device of the master end in the first piconet through the wired first link, and is provided by the master bluetooth device rather than by the bluetooth device 5 (e.g., the mobile phone 5); alternatively, the master bluetooth device may transmit only mono audio data to the slave bluetooth device.
7. According to the above steps, a plurality of bluetooth devices in the bluetooth first piconet (the first bluetooth device 2 and the one or more second bluetooth devices 3) can receive the complete audio data, decode the audio data and broadcast the decoded audio data.
Fig. 3 is a diagram illustrating an embodiment of a wireless communication system and operation thereof according to the present invention. As shown in fig. 3, the wireless communication system 1 includes a first bluetooth device 2 and a second bluetooth device 3, wherein the first bluetooth device 2 and the second bluetooth device 3 are bluetooth headsets, and in the embodiment, the bluetooth device 5 is a mobile phone 5).
A first bluetooth device 2 and a second bluetooth device 3, the first bluetooth device 2 and the second bluetooth device 3 are paired to form a bluetooth first piconet (piconet1)11, and a first Link (Link1) is established between the first bluetooth device 2 and the second bluetooth device 3, and the wireless communication system 1 including the first bluetooth device 2 and the second bluetooth device 3 is externally formed as a virtual bluetooth device 4.
Here, a bluetooth second piconet (piconet2)12 is formed between the virtual bluetooth device 4 and the mobile phone 5, and a second Link2 is established; the wireless communication system 1 for the virtual bluetooth device 4 will form a bluetooth second piconet (piconet2) with the handset 5 and establish a second Link (Link2) of an Audio connection of the bluetooth Audio transmission protocol A2DP (Advanced Audio Distribution Profile).
The first bluetooth Device 2 and the second bluetooth Device 3 in the wireless communication system 1 in the bluetooth first piconet 11 will use the same bluetooth Device address BD _ addr (bluetooth Device address) to be added to the bluetooth second piconet (piconet2)12 of the mobile phone 5, wherein in the bluetooth first piconet 11, when the first bluetooth Device 2 is the master bluetooth Device of the master (master), the second bluetooth Device 3 is the slave bluetooth Device of the slave (slave), however, the master and slave roles depend on the connection status of the bluetooth first piconet 11.
In other words, in the wireless communication system 1 of the present invention, in the bluetooth first piconet 11, when the second bluetooth device 3 is the master bluetooth device of the master, the first bluetooth device 2 is the slave bluetooth device of the controlled end, i.e., the master and slave roles are not limited to specific devices depending on the connection status.
When the virtual bluetooth apparatus 4 (the wireless communication system 1) and the handset 5 perform audio data (mono or stereo) transmission through the second bluetooth piconet 12 to enable music playing, the first bluetooth apparatus 2 of the wireless communication system 1 (the virtual bluetooth apparatus 4) in the first bluetooth piconet 11 is a master bluetooth apparatus of a master (master), after establishing a second Link (Link2) of a bluetooth audio transmission protocol A2DP with the handset 5, the master bluetooth apparatus (the first bluetooth apparatus 2) of the first bluetooth piconet 11, which is a master, establishes a bluetooth audio transmission protocol A2DP with the handset 5 through the second bluetooth apparatus 12 and receives the bluetooth audio transmission protocol A2DP audio data, and the second bluetooth apparatus 3 of the slave bluetooth apparatus, which is a slave, of the first bluetooth piconet 11, uses the same bluetooth apparatus BD _ ADDR as the master bluetooth apparatus, therefore, it is also possible to receive the audio data of the bluetooth audio transmission protocol A2DP identical to that received by the master bluetooth device, so that the master bluetooth device 2 of the wireless communication system 1, which is the virtual bluetooth device 4, and at least one or more slave bluetooth devices 3 can play music at the same time.
In addition, the packet data lost during the receiving process of the second bluetooth device 3 which is the slave bluetooth device at the slave end (slave) in the bluetooth first piconet 11 is requested to the first bluetooth device 2 which is the master bluetooth device at the master end (master) through the first Link (Link1), the first bluetooth device 2 which is the master bluetooth device at the master end (master) is provided instead of being retransmitted by the handset 5, and the first bluetooth device 2 which is the master bluetooth device at the master end (master) can transmit only the monaural audio data to the second bluetooth device 3 which is the slave bluetooth device at the slave end (slave), in other words, the packet data lost during the receiving process of the second bluetooth device 3 which is the slave end (slave) at the master end (slave) in the bluetooth first piconet 11 can be requested to retransmit the first bluetooth device 2 which is the master end (master) in the first piconet 11, the handset 5 in the second piconet 12 is not required to retransmit the packetized data of the audio data, but only the first bluetooth device 2, which is the master bluetooth device, at the master (master).
In addition, the first bluetooth device 2 of the master bluetooth device, which is a master terminal (master), and the second bluetooth device 3 of the slave bluetooth device, which is a slave terminal (slave), in the first bluetooth piconet 11 may receive complete audio data, decode the audio data and broadcast the decoded audio data; and, only the first bluetooth device 2 of the master bluetooth device, which is the master (master) in the first bluetooth piconet 11, can transmit packet data to the mobile phone 5 in the second bluetooth piconet 12, however, the master and slave roles of the bluetooth devices can be switched at any time, for example, by turning at regular time or by switching different functions according to music or communication.
In the embodiment, although the bluetooth device 5 is a mobile phone 5, the bluetooth device 5 is similar to the electronic device with bluetooth communication function in the embodiment in the same manner, and therefore, the detailed description thereof is omitted.
In the embodiment, although the first bluetooth device 2 is a bluetooth headset and the second bluetooth device 3 is only a single bluetooth headset, the same and similar principles as those described in the embodiment are applied to the case where the first bluetooth device 2 is a bluetooth headset and the second bluetooth devices 3 are a plurality of bluetooth headsets, and therefore, the detailed description thereof is omitted here.
In addition, the first bluetooth device 2 and the second bluetooth device 3 are the same as the electronic devices with bluetooth communication functions and similar to those described in this embodiment, and therefore, the details thereof are not repeated herein.
Fig. 4 is a flowchart illustrating a process of performing a wireless communication method using the embodiment of the wireless communication system shown in fig. 3. As shown in fig. 4, first, in step 201, the operations of forming the bluetooth first piconet (piconet1) 12 and establishing the first Link (Link1) are performed; the first bluetooth device 2 and the second bluetooth device 3 of the wireless communication system 1 are paired with each other to form a bluetooth first piconet (piconet1)11 and establish a first Link1, and the wireless communication system 1 is externally formed as a virtual bluetooth device 4 and proceeds to step 202.
In step 202, forming a bluetooth second piconet (piconet2)12 and establishing a second Link 2; the bluetooth second piconet (piconet2)12 is formed between the virtual bluetooth Device 4 (wireless communication system 1) and the mobile phone 5, and a second Link (Link2) is established, and the first bluetooth Device 2 and the second bluetooth Device 3 of the virtual bluetooth Device 4 (wireless communication system 1) will join the bluetooth second piconet (piconet2)12 of the mobile phone 5 using the same bluetooth Device address BD _ addr (bluetooth Device address), and the process proceeds to step 203.
Here, at step 202, a bluetooth second piconet (piconet2)12 is formed between the virtual bluetooth Device 4 and a mobile phone 5, and a second Link (Link2) is established, where the wireless communication system 1 for the virtual bluetooth Device 4 will form a bluetooth second piconet (piconet2)12 with the mobile phone 5 and establish a second Link (Link2) of a bluetooth Audio transmission protocol A2DP (Advanced Audio Distribution Profile) Audio connection, wherein the first bluetooth Device 2 and the second bluetooth Device 3 of the wireless communication system 1 will join the bluetooth second piconet (piconet 32) 12 of the mobile phone 5 using the same bluetooth Device address BD _ addr (bluetooth Device address), wherein, in the bluetooth first piconet 11, the first bluetooth Device 2 may be a master bluetooth Device on a master side (master), and the second bluetooth Device 3 may be a slave bluetooth slave Device 2 on a slave side (slave), however, the master role and the slave role depend on the connection status of the bluetooth first piconet 11, that is, when the second bluetooth device 3 in the bluetooth first piconet 11 is the master bluetooth device of the master, the first bluetooth device 2 is the slave bluetooth device of the slave (slave), i.e., the master role and the slave role are not limited to specific devices depending on the connection status.
In step 203, performing audio data transmission and music playing; the master bluetooth device, which is the master of the virtual bluetooth device 4 in the bluetooth first ss 11, establishes a bluetooth audio transmission protocol A2DP connection with the mobile phone 5 through the bluetooth second ss 12 and receives bluetooth audio transmission protocol A2DP audio data (mono or stereo), and the second bluetooth device 3, which is the slave bluetooth device of the slave bluetooth device (slave) in the bluetooth first ss 11, receives the same bluetooth audio transmission protocol A2DP audio data as the master bluetooth device because it uses the same bluetooth device address BD _ ADDR as the master bluetooth device, so that the master bluetooth device and the slave bluetooth device can play music at the same time; in addition, for the packet data lost in the receiving process of the second Bluetooth device 3 of the slave Bluetooth device, a request is sent to the first bluetooth device 2 of the master bluetooth device, which is the master (master), over a wired first Link (Link1), provided by the first bluetooth device 2 of the master bluetooth device, which is the master, the first bluetooth device 2 of the master (master) being the master bluetooth device can only transmit the monaural audio data to the second bluetooth device 3 of the slave (slave) being the slave bluetooth device, i.e. the packet data lost during the receiving process of the second bluetooth device 3 of the slave (slave) being the slave bluetooth device, the first bluetooth device 2 that is the master bluetooth device of the master (master) may be required to retransmit, instead of requiring the handset 5 to retransmit the packet data of the audio data, the first bluetooth device 2 of the master bluetooth device (master) can retransmit the packet data.
Fig. 5 is a schematic diagram illustrating a network architecture of a wireless communication system and a mobile phone according to an embodiment of the invention shown in fig. 3. As shown in fig. 5, the first bluetooth device 2, which is the master bluetooth device, establishes the bluetooth first piconet 11 with the second bluetooth device 3, which is the slave bluetooth device (P1), wherein the first bluetooth device 2, which is the master bluetooth first piconet 11(P1) and the second bluetooth device 3, which is the slave bluetooth device, is the slave bluetooth first piconet 11 (P1).
A bidirectional Link1 is established between the first bluetooth device 2 as the master bluetooth device and the two bluetooth devices as the second bluetooth device 3 as the slave bluetooth device to exchange data/command/ACK; moreover, the wireless communication system 1 forms a single virtual bluetooth device 4, and the first bluetooth device 2 and the second bluetooth device 3 have the same bluetooth device address BD _ ADDR 1.
In other words, the first bluetooth device 2 and the second bluetooth device 3 establish the bluetooth first piconet 11(P1), the first bluetooth device 2 is the master bluetooth device master, the second bluetooth device 3 is the slave bluetooth device slave, a bidirectional connection first connection (Link1) is established between the first bluetooth device 2 and the second bluetooth device 3 to exchange data/command/ACK, and a single virtual bluetooth device 4 is externally formed and uses the bluetooth device address BD _ ADDR 1.
The virtual bluetooth device 4 is added to the bluetooth second piconet 12(P2) of the mobile phone 5, wherein the mobile phone 5, which is the master bluetooth device, uses the bluetooth device address BD _ ADDR2 for the master of the bluetooth second piconet 12(P2), and the first bluetooth device 2 and the second bluetooth device 3, which are slave bluetooth devices, are both slave of the bluetooth second piconet 12 (P2).
The virtual bluetooth device 4 establishes a bidirectional Link2 with the mobile phone 5 to receive the audio data transmitted by the mobile phone 5.
As for the first bluetooth device 2, in the bluetooth first piconet 11(P1), the first bluetooth device 2 is the master bluetooth device master; however, in the second bluetooth piconet 12(P2), the first bluetooth device 2 is a slave bluetooth device slave and has a bluetooth device address of BD _ ADDR 1.
As for the second bluetooth device 3, in the bluetooth first piconet 11(P1), the first bluetooth device 2 is the master bluetooth device master and the second bluetooth device 3 is the slave bluetooth device slave; in the second bluetooth piconet 12(P2), the second bluetooth device 3 is the slave bluetooth device slave and has a bluetooth device address of BD _ ADDR1, i.e., in the second bluetooth piconet 12(P2), both the first bluetooth device 2 and the second bluetooth device 3 have a slave bluetooth device slave and the same bluetooth device address of BD _ ADDR 1.
In the case of the mobile phone 5, in the bluetooth second piconet 12(P2), the mobile phone 5 is the master bluetooth device master and has a bluetooth device address of BD _ ADDR2, and both the first bluetooth device 2 and the second bluetooth device 3 are slave bluetooth devices slave and have the same bluetooth device address of BD _ ADDR 1.
In other words, the virtual bluetooth device 4 joins the bluetooth second piconet 12 of the mobile phone 5 (P2), wherein the first bluetooth device 2 and the second bluetooth device 3 are both slave bluetooth devices, and the virtual bluetooth device 4 establishes a bi-directional connection second Link (Link2) with the mobile phone 5 to receive the audio data transmitted by the mobile phone 5.
Fig. 6 is a diagram illustrating a lost packet recovery procedure from the bluetooth device according to an embodiment of the wireless communication system shown in fig. 3. As shown in fig. 6, the handset 5 transmits an audio packet N, wherein the audio packet N contains audio data of two channels CH1 and CH 2.
In the bluetooth second piconet 12(P2), the mobile phone 5 is the master bluetooth device master and has a bluetooth device address BD _ ADDR2, and the mobile phone 5 views the virtual bluetooth device 4 as a whole, and the virtual bluetooth device 4 is the slave bluetooth device slave and has a bluetooth device address BD _ ADDR 1.
In other words, for the first bluetooth device 2 and the second bluetooth device 3 of the virtual bluetooth device 4, the mobile phone 5 regards both the first bluetooth device 2 and the second bluetooth device 3 as slave bluetooth devices and has the same bluetooth device address BD _ ADDR 1.
Since the mobile phone 5 (master bluetooth device master and having the bluetooth device address BD _ ADDR2) regards the virtual bluetooth devices 4 (first bluetooth device 2 and second bluetooth device 3) as a whole (slave bluetooth device slave has the bluetooth device address BD _ ADDR1), in the bluetooth second piconet 12(P2), the audio data transmitted by the mobile phone 5 is obtained from the first bluetooth device 2 of the bluetooth device slave, and the audio data transmitted by the mobile phone 5 is obtained from the second bluetooth device 3 of the bluetooth device slave.
When the second bluetooth device 3 loses the audio packet N of the audio data of the channel CH1, that is, when the second bluetooth device 3 of the bluetooth device slave loses the audio packet N (SNK-2lost packet N) of the channel CH1 transmitted by the mobile phone 5, the second bluetooth device 3 does not need to issue a request for resending the audio packet N to the mobile phone 5; in contrast, the second bluetooth device 3, which is a slave bluetooth device in the bluetooth first piconet 11(P1), only needs to issue a request packet N (request packet N) to the first bluetooth device 2, which is a master bluetooth device in the bluetooth first piconet 11(P1), through the first Link (Link 1).
After the first bluetooth device 2, which is the master bluetooth device in the bluetooth first piconet 11(P1), receives the request packet N, the first bluetooth device 2 transmits the audio packet N ' of the channel CH1 to the second bluetooth device 3 through the first Link (Link1), where the audio packet N ' of the channel CH1 is the data of the audio packet N of the channel CH1 stored in the data buffer of the first bluetooth device 2, and thus the audio packet N of the channel CH1 required by the second bluetooth device 3 is the audio packet N '.
In other words, in the bluetooth first piconet 11(P1), the first bluetooth device 2, which is the master bluetooth device, transmits the audio packet N 'to the second bluetooth device 3, which is the slave bluetooth device, via the first Link (Link1), wherein the audio packet N' may include only the mono audio data CH1 required by the second bluetooth device 3, or the dual-channel audio data CH1, CH2, depending on the actual demand condition.
In summary of the above embodiments, when the wireless communication system of the present invention is used in a bluetooth wireless communication environment to perform a wireless communication method, first, an operation of forming a bluetooth first piconet (piconet1) and establishing a first Link (Link1) is performed, and a first bluetooth device and one or more second bluetooth devices of the wireless communication system are paired to form a bluetooth first piconet (piconet1) and establish a first Link (Link1), and the first bluetooth device and the one or more second bluetooth devices of the wireless communication system are externally formed into a virtual bluetooth device; then, forming a bluetooth second piconet (piconet2) and establishing a second Link (Link2), wherein the virtual bluetooth Device forms the bluetooth second piconet (piconet2) with the mobile phone and establishes the second Link (Link2), and the first bluetooth Device and the one or more second bluetooth devices of the wireless communication system join the bluetooth second piconet (piconet2) of the mobile phone by using the same bluetooth Device address BD _ addr (bluetooth Device address); further, the master Bluetooth device of the master control terminal (master) of the virtual Bluetooth device in the Bluetooth first piconet will pass through the Bluetooth second piconet, and establish a connection with the mobile phone according to the Bluetooth audio transmission protocol A2DP and receive audio data according to the Bluetooth audio transmission protocol A2DP, at least more than one slave bluetooth device of the slave (slave) of the virtual bluetooth device in the bluetooth first piconet uses the same bluetooth device address BD _ ADDR as the master bluetooth device, thus, the same Bluetooth audio transmission A2DP audio data as received by the master Bluetooth device may also be received, therefore, the master Bluetooth device and at least one slave Bluetooth device can play music at the same time, and packet data lost in the receiving process of at least one slave Bluetooth device in the Bluetooth first microgrid can be required to be retransmitted by the master Bluetooth device instead of the mobile phone. The wireless communication system and the method thereof of the invention have the following advantages:
1. forming a first Bluetooth piconet (piconet1) and establishing a first Link (Link1), wherein a first Bluetooth device and more than one second Bluetooth devices of the wireless communication system are paired to form a first Bluetooth piconet (piconet1) and establish the first Link (Link1), and the wireless communication system is formed as a virtual Bluetooth device to the outside; then, forming a bluetooth second piconet (piconet2) and establishing a second Link (Link2), wherein the virtual bluetooth Device forms the bluetooth second piconet (piconet2) with the mobile phone and establishes the second Link (Link2), the first bluetooth Device of the wireless communication system and the one or more second bluetooth devices add the bluetooth second piconet (piconet2) of the mobile phone by using the same bluetooth Device address BD _ addr (bluetooth Device address); furthermore, the audio data transmission and music playing actions are performed, one of the first bluetooth device and the one or more second bluetooth devices is a master bluetooth device of a master (master) and establishes a bluetooth audio transmission protocol A2DP connection with the mobile phone to play music, and at least one or more slave bluetooth devices of the first bluetooth device and the one or more second bluetooth devices, which are slave (slave), can also receive the same bluetooth audio transmission protocol A2DP audio data because they use the same bluetooth device address BD _ ADDR, so that the master bluetooth device and the at least one or more slave bluetooth devices can play music at the same time, and packet data lost in the receiving process of the at least one or more slave bluetooth devices can require the master bluetooth device to resend the packet data.
2. When the audio data is transmitted from the mobile phone to the wireless communication system of the invention for carrying out the wireless communication method, most of the audio data is directly transmitted to the first Bluetooth device and the more than one second Bluetooth devices of the wireless communication system by the mobile phone end, thereby reducing the waste of bandwidth; in addition, since the limited bandwidth of bluetooth can be effectively utilized, higher quality audio data can be transmitted than the conventional method using the same bandwidth.
3. The main Bluetooth device of the main control end does not need a larger buffer area, so that the delay time of playing can be reduced; in addition, the main Bluetooth device is connected with the mobile phone end by adopting a standard Bluetooth audio transmission protocol A2DP, and the mobile phone end does not need to be modified and has no compatibility problem.
4. The audio data missed by more than one slave bluetooth device of the controlled end can request the master bluetooth device of the master control end, and the master bluetooth device of the master control end can only transmit single-channel audio data to the more than one slave bluetooth device of the controlled end, so that the bluetooth bandwidth is saved.
5. The master Bluetooth device as the master control end and the slave Bluetooth devices as the controlled end can be switched between master and slave roles of the Bluetooth devices at any time, such as timing rotation, or switching according to different functions of music or conversation; in other words, in the wireless communication system of the present invention, when any one of the more than one second bluetooth devices is the master bluetooth device of the master, the first bluetooth device is the slave bluetooth device of the controlled end, and the other ones of the more than one second bluetooth devices except the any one of the more than one second bluetooth devices can also be the slave bluetooth devices of the controlled end, that is, the master-slave role is not limited to a specific device depending on the connection status.
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; other equivalent changes or modifications which do not depart from the spirit of the invention are intended to be included within the scope of the appended claims.

Claims (10)

1. A wireless communication method is applied to a Bluetooth wireless communication environment and comprises the following procedures:
performing actions of forming a first Bluetooth microgrid and establishing a first connection; the master Bluetooth device of the master control end of a virtual Bluetooth device and more than one slave Bluetooth devices of the controlled end are paired to form the first Bluetooth micro-grid and establish the first connection;
performing actions of forming a second Bluetooth microgrid and establishing a second connection; the virtual bluetooth device and a bluetooth device form the bluetooth second ss and establish the second connection, wherein the master bluetooth device of the master end of the virtual bluetooth device and the one or more slave bluetooth devices of the controlled end use the same bluetooth device address to join the bluetooth second ss of the bluetooth device and establish the second connection; and
carrying out audio data transmission and music playing actions; the master bluetooth device of the master of the virtual bluetooth device in the bluetooth first piconet will pass through the bluetooth second piconet, establishing a Bluetooth audio protocol A2DP connection with the Bluetooth device of the Bluetooth second piconet and receiving audio data of the Bluetooth audio protocol A2DP, at least more than one slave bluetooth device of the controlled end of the virtual bluetooth device in the bluetooth first piconet uses the same bluetooth device address as the master bluetooth device of the master end of the virtual bluetooth device in the bluetooth first piconet, and the master bluetooth device that is the same as the master of the virtual bluetooth device in the bluetooth first piconet receives the audio data of the bluetooth audio transport protocol A2DP, the master bluetooth device of the virtual bluetooth device in the first bluetooth piconet and the at least one slave bluetooth device can play music simultaneously.
2. The method of claim 1, wherein the packet data lost during reception by the at least one slave Bluetooth device in the first Bluetooth piconet is required to be retransmitted by the master Bluetooth device in the first Bluetooth piconet rather than by the Bluetooth device in the second Bluetooth piconet.
3. The wireless communication method as claimed in claim 1 or 2, wherein the virtual bluetooth device is a wireless communication system, the wireless communication system includes a first bluetooth device and one or more second bluetooth devices, the master bluetooth device of the master is the first bluetooth device, and the one or more slave bluetooth devices of the controlled end are the one or more second bluetooth devices.
4. The wireless communication method as claimed in claim 1 or 2, wherein the virtual bluetooth device is a wireless communication system, the wireless communication system includes a first bluetooth device and one or more second bluetooth devices, any one of the one or more second bluetooth devices is the master bluetooth device of the master, the first bluetooth device is a slave bluetooth device of the controlled end, and the other one of the one or more second bluetooth devices except the any one is the slave bluetooth device of the controlled end.
5. The wireless communication method according to claim 1 or 2, wherein the virtual bluetooth device is a wireless communication system, the wireless communication system comprises a first bluetooth device and one or more second bluetooth devices, and the first bluetooth device and the one or more second bluetooth devices are both earphones.
6. A wireless communication system, for use in a Bluetooth wireless communication environment, comprising:
a first Bluetooth device; and
one or more second bluetooth devices;
the first Bluetooth device and the more than one second Bluetooth devices are paired with each other to form a first Bluetooth micro-grid and establish a first connection, and the wireless communication system is externally formed into a virtual Bluetooth device;
when any one of the more than one second bluetooth devices of the virtual bluetooth device in the bluetooth first piconet is the master bluetooth device of the master end, the first bluetooth device is the slave bluetooth device of the slave end, and other second bluetooth devices except for the any one of the more than one second bluetooth devices are also slave bluetooth devices of the slave end;
the master bluetooth device of the master control end of the virtual bluetooth device and the more than one slave bluetooth devices of the controlled end use the same bluetooth device address to join the bluetooth second piconet of the bluetooth device and establish the second connection; and
wherein the master Bluetooth device of the master of the virtual Bluetooth device in the Bluetooth first piconet will pass through the Bluetooth second piconet, establishing a Bluetooth audio protocol A2DP connection with the Bluetooth device of the Bluetooth second piconet and receiving audio data of the Bluetooth audio protocol A2DP, at least more than one slave bluetooth device of the controlled end of the virtual bluetooth device in the bluetooth first piconet uses the same bluetooth device address as the master bluetooth device of the master end of the virtual bluetooth device in the bluetooth first piconet, and the audio data identical to the bluetooth audio protocol A2DP of the master of the virtual bluetooth device in the bluetooth first piconet is received, the master bluetooth device of the virtual bluetooth device in the first bluetooth piconet and the at least one slave bluetooth device can play music simultaneously.
7. The wireless communication system of claim 6 wherein the packet data lost during reception by the at least one slave Bluetooth device in the first Bluetooth piconet is required to be retransmitted by the master Bluetooth device in the first Bluetooth piconet rather than by the Bluetooth device in the second Bluetooth piconet.
8. The wireless communication system as claimed in claim 6 or 7, wherein the master bluetooth device of the master is the first bluetooth device, and the one or more slave bluetooth devices of the controlled end are the one or more second bluetooth devices.
9. The wireless communication system as claimed in claim 6 or 7, wherein any one of the one or more second bluetooth devices is the master bluetooth device of the master, the first bluetooth device is a slave bluetooth device of the controlled end, and the other ones of the one or more second bluetooth devices except the any one are slave bluetooth devices of the controlled end.
10. The wireless communication system of claim 6 or 7, wherein the first Bluetooth device and the one or more second Bluetooth devices are all headsets.
CN201810150436.7A 2018-02-13 2018-02-13 Wireless communication system and method thereof Active CN110166988B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810150436.7A CN110166988B (en) 2018-02-13 2018-02-13 Wireless communication system and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810150436.7A CN110166988B (en) 2018-02-13 2018-02-13 Wireless communication system and method thereof

Publications (2)

Publication Number Publication Date
CN110166988A CN110166988A (en) 2019-08-23
CN110166988B true CN110166988B (en) 2022-03-11

Family

ID=67635335

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810150436.7A Active CN110166988B (en) 2018-02-13 2018-02-13 Wireless communication system and method thereof

Country Status (1)

Country Link
CN (1) CN110166988B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI774637B (en) * 2019-10-03 2022-08-11 瑞昱半導體股份有限公司 Auxiliary bluetooth circuit of multi-member bluetooth device capable of dynamically switching operation mode
CN111556476B (en) * 2020-04-17 2021-01-19 炬力(珠海)微电子有限公司 Data transmission method between Bluetooth TWS (two way communication) devices and Bluetooth TWS devices
CN111669741A (en) * 2020-06-17 2020-09-15 深圳市欧思数码科技有限公司 Signal sharing connection method based on Bluetooth communication
CN115175159B (en) * 2022-09-06 2023-01-13 荣耀终端有限公司 Bluetooth headset playing method and equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103270707A (en) * 2010-09-07 2013-08-28 Bc卡有限公司 Method and system for bluetooth communication
CN104883656A (en) * 2015-04-23 2015-09-02 惠州Tcl移动通信有限公司 Method for establishing steady state piconet based on bluetooth and system for establishing steady state piconet based on bluetooth

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE60234573D1 (en) * 2001-01-30 2010-01-14 Broadcom Corp Method for adding a new device to a wireless network
US8768252B2 (en) * 2010-09-02 2014-07-01 Apple Inc. Un-tethered wireless audio system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103270707A (en) * 2010-09-07 2013-08-28 Bc卡有限公司 Method and system for bluetooth communication
CN104883656A (en) * 2015-04-23 2015-09-02 惠州Tcl移动通信有限公司 Method for establishing steady state piconet based on bluetooth and system for establishing steady state piconet based on bluetooth

Also Published As

Publication number Publication date
CN110166988A (en) 2019-08-23

Similar Documents

Publication Publication Date Title
US11451906B2 (en) Operation mode switch of wireless headphones
US11070917B2 (en) Un-tethered wireless audio system
US10412481B1 (en) Operation mode switch of wireless headphones
CN112313977B (en) Low latency audio streaming with communication coexistence
CN110166988B (en) Wireless communication system and method thereof
CN112437369B (en) Audio data transmission method and system, TWS earphone pair, chip and medium
CN111436043B (en) Communication method, device, equipment and system of dual-wireless Bluetooth communication network
EP3923608B1 (en) Data transmission method between tws bluetooth devices and tws bluetooth device therefor
CN114982369A (en) Audio data transmission method, device, chip and electronic equipment
US20240063981A1 (en) Uplink management for true wireless earbuds
WO2023179159A1 (en) Communication chip, bluetooth communication devices and data transmission method
WO2024039545A1 (en) Uplink management for true wireless earbuds
CN114079898B (en) Audio data communication method, device, equipment and system in double-transmission mode
TWI710225B (en) Controller of wireless bluetooth device and method
US20220417637A1 (en) Method and system for wireless transmission of audio data
CN116033404B (en) Multi-path Bluetooth-linked hybrid communication system and method
TW201935990A (en) Wireless communication system and method thereof
CN114079896B (en) Method, device, equipment and system for error correction of packet loss data in double-transmission mode
WO2022134734A1 (en) Wireless communication method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant