CN110166988A - A kind of wireless communication system and its method - Google Patents
A kind of wireless communication system and its method Download PDFInfo
- Publication number
- CN110166988A CN110166988A CN201810150436.7A CN201810150436A CN110166988A CN 110166988 A CN110166988 A CN 110166988A CN 201810150436 A CN201810150436 A CN 201810150436A CN 110166988 A CN110166988 A CN 110166988A
- Authority
- CN
- China
- Prior art keywords
- blue
- tooth device
- bluetooth
- microgrid
- tooth
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
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
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/11—Allocation or use of connection identifiers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
Abstract
A kind of wireless communication system and its method, applied in Bluetooth wireless communication environment, when using wireless communication system of the invention to carry out wireless communication method flow, first, by wireless communication system be formed by the main control end of virtual bluetooth device main blue-tooth device and one or several controlled terminals slave blue-tooth device between, formed after mutually matching and the first microgrid of bluetooth and establish the first connection;Then, the more than one of the main blue-tooth device and controlled terminal of the main control end of virtual bluetooth device is added the second microgrid of bluetooth of a blue-tooth device using identical blue-tooth device address from blue-tooth device and establishes the second connection;In turn, the main blue-tooth device of main control end, the second microgrid of bluetooth will be passed through, Bluetooth audio frequency transfer protocol A2DP line is established with the blue-tooth device and receives audio data, the slave blue-tooth device of at least more than one of controlled terminal, identical blue-tooth device address is used with main blue-tooth device, and receives and is identical to the received audio data of main blue-tooth device institute.
Description
Technical field
The present invention relates to communication system and its methods, in more detail, are related to a kind of applied to Bluetooth wireless communication environment
Wireless communication system and its method, in formed the first microgrid of bluetooth (piconet 1) and establish the first connection (Link 1), with
And formed and the second microgrid of bluetooth (piconet 2) and established after the second connection (Link 2), will carry out audio data transmission with
It plays.
Background technique
For existing Bluetooth audio frequency device (for example, mobile phone) handles audio data, the independent indigo plant of ears is supported at present
The true wireless stereo (True Wireless Stereo, TWS) of tooth earphone such as CSR microprocessor, Bluetooth audio frequency transmission association
The transmission for determining A2DP audio data is using the method for transferring (Forward), and the audio data of mobile phone is first transmitted on one side (master)
The data buffer zone of earphone, then it is transferred to another side (from) earphone, thus the function of reaching left and right ear while playing.So, this
Kind of transmission mode can occupy the limited bandwidth of bluetooth because audio data can transmit secondary in the sky, and during transferring on one side
(master) earphone needs a larger buffer area, can also lengthen the delay time of broadcasting.In addition during transferring, main earphone may be needed
It after audio data is unlocked, then re-compresses to from earphone, not only expends calculation resources, also reduce sound because of repeated compression
Matter.
In U.S. Patent Publication/notification number US 8768252B2 " Un-tethered Wireless Audio System "
Disclosed is (from) earphone SNK (audio receiver) -2 is obtained and mobile phone SRC (audio-source) line by (master) earphone SNK-1
Information and after locking the RF frequency that Bluetooth of mobile phone uses, mobile phone is obtained by way of monitoring (SNOOP) and sends (master) ear to
The audio data of machine SNK-1, thus the function of reaching left and right ear while playing.As for the package lost in snoop procedure, (from)
Earphone SNK-2 sends notice ACK/NACK by blue tooth connection other between two ears and gives (master) earphone SNK-1, (master) earphone SNK-
Notice ACK/NACK is transferred to mobile phone SRC again by 1, and the package of the loss is resend by mobile phone SRC.
So, it forwards in notification procedure, (master) earphone SNK-1 has to wait for the notice of (from) earphone SNK-2 transmission, if SNK-
1 omits the notice, then SNK-1 can not notify mobile phone SRC to have successfully received audio package, and mobile phone SRC can actively resend the package
And reduce the efficiency of mobile phone transmission audio data.Furthermore because (master) earphone SNK-1 must be maintained and mobile phone SRC and (from)
Two BT lines of earphone SNK-2, computational burden ratio (from) earphone SNK-2 is big, and power consumption is also larger, causes (master) earphone SNK-
1 service time of battery is shorter to be mismatched with (from) earphone SNK-2.
Taiwan discloses/and notification number I395442 " communication technology in double agreement environment " is to come from and a communication protocol phase
The signal interference of pass can hinder to receive the communication technology in the environment of signal relevant to another communication protocol, be open a kind of
Communication device, it includes: to emit and/or receive one first communication system of signal according to one first agreement;To basis
One second agreement emits and receives one second communication system of signal, which, which has, enables a receiver to a transmitter
Point out that it is in an ability for being not responding to state and just forbids it to this whereby when the transmitter, which is in this, is not responding to state
Receiver emits data;The movable activity detector in signal to detect first agreement;And in response to
The activity detector and to make second communication system point out that it is in a control unit for being not responding to state.
Taiwan discloses/and notification number I246265 " blue-tooth device and combined type bluetooth audio device " is to provide a kind of bluetooth to fill
It sets, is adapted to couple to an audio device, so that user is when listening to audio signal provided by audio device, remain to connect in due course
Listen the incoming call that mobile communications device is obtained, be to disclose a kind of blue-tooth device, be suitable for couple to a stereophone microphone and
One audio device, and it is suitable for carrying out a mobile communications device transmitting-receiving of signal.This blue-tooth device mainly include a base jack,
One bluetooth transceiver and a sound source input end.Base jack is to couple stereophone microphone.Bluetooth transceiver coupling
To base jack, and to receive and dispatch signal provided by mobile communications device.Sound source input end is coupled to base jack, and to
It is coupled to audio device.Wherein, when bluetooth transceiver receives incoming telephone signal provided by mobile communications device, it is sent to solid
The audio signal of sound ear microphone is to be switched to audio signal provided by mobile communications device.In addition, above-mentioned blue-tooth device
It, can also be directly as bluetooth headset after adding microphone and loudspeaker.
Taiwan discloses/and notification number I572155 " Multifunctional Bluetooth device and its blue tooth connection method " is a kind of multi-functional indigo plant
Tooth device, can by different service discoveries reach an agreement on and wiring electronic devices so that Multifunctional Bluetooth device have multiple functions,
Blue-tooth device stores multiple service discovery agreements, and the service discovery that can be stored by one of them is reached an agreement on and other are with bluetooth
The wiring electronic devices of interface.Multifunctional Bluetooth device can find agreement and wiring electronic devices by first service, and pass through
The transmission of the electronic device of bluetooth and line progress audio signal.Furthermore Multifunctional Bluetooth device can also be found by second service
It reaches an agreement on and the wiring electronic devices, and control signal is sent to the electronic device of line by bluetooth, to control electronic device
Execute specific function.
Taiwan discloses/notification number I563859 " sharing method of Bluetooth audio frequency package " be a kind of Bluetooth audio frequency package point
Method is enjoyed, multiple bluetooth sounding devices may make to receive and play the audio package that electronic device is transmitted;Sharing method, mainly
Including an electronic device, one first bluetooth sounding device and at least one second bluetooth sounding device.Electronic device and the first bluetooth
Sounding device establishes blue tooth connection between the two by a blue tooth connection data, wherein the first bluetooth sounding device can receive electricity
The audio package of sub-device transmission, and blue tooth connection data can be broadcasted.Second bluetooth sounding device nearby electron device and first
Bluetooth sounding device, and can receive the blue tooth connection data of the first bluetooth sounding device broadcast.Second bluetooth sounding device can lead to
It crosses blue tooth connection data receiver or shares the audio package that electronic device is sent, multiple bluetooth sounding devices may make to receive whereby
And play the audio package that electronic device is transmitted.
Taiwan discloses/notification number I563806 " method of bluetooth equipment and control bluetooth equipment or wireless device " offer
A kind of energy-efficient method of control bluetooth equipment, comprising: establish linking bluetooth;It controls the bluetooth equipment entrance and listens to mode;?
It wakes up after preparing and anchor point is listened in the pre-treatment of sleep preparation;And between the wake-up prepares and the sleep prepares
Manage wake operation.The wake operation is Bluetooth operation, Bluetooth Low Energy BLE operation or Wi-Fi operation.Correspondingly, it additionally provides
A kind of method of bluetooth equipment and control wireless device.The number that wake-up/sleep prepares can lack as much as possible, therefore effectively drop
The low kwh loss of bluetooth equipment.
Taiwan discloses/and notification number I449381 " communication means and blue-tooth device " is that can make a scattered net (scatternet)
In bluetooth slot (slot) the optimized communication means of service efficiency and blue-tooth device, wherein the communication means be used for one
The blue-tooth device in net is dissipated, it includes the first microgrid and the second microgrid that this, which dissipates net,.This communication means includes: transferring data to this
A peer device in first microgrid;Judge whether there is buffered data be intended to the peer device being transferred in first microgrid with
Generate a judging result;And slot in first microgrid and second microgrid is distributed according to the judgment result.It is provided
Communication means can increase or optimize the service efficiency of bluetooth slot in blue-tooth device.
So how can solve, it is most of at present for Bluetooth audio frequency device (for example, mobile phone) handles audio data
Audio data be all the earphone that both sides are transmitted directly to by mobile phone terminal, and waste bandwidth can not be reduced;Indigo plant can not be efficiently used
The limited bandwidth of tooth, therefore traditional approach can not transmit the audio data of higher quality under using identical bandwidth;(master) earphone
Biggish buffer area is needed, the delay time of broadcasting can not be reduced;(master) earphone can not be connected using the A2DP of standard with mobile phone terminal
Line, mobile phone terminal must make an amendment, it is necessary to consider consistency problem;Main earphone weight can not be requested from the omitted audio data of earphone
It send, and main earphone can not only transmission monaural audio data be given from earphone, and bluetooth bandwidth can not be saved;Main earphone can not support more
It is a from earphone, and, blue-tooth device principal and subordinate role can not switch at any time, for example, timing in turn, according to music or call different function
Switching;In other words, above various described, it is problem to be solved.
Summary of the invention
The main object of the present invention is to be to provide a kind of wireless communication system and its method, is that be applied to bluetooth wireless
In communication environment, when using wireless communication system of the invention to carry out wireless communication method flow, firstly, carrying out forming bluetooth
First microgrid (piconet 1) and the movement for establishing the first connection (Link 1), the first blue-tooth device of wireless communication system,
The first microgrid of bluetooth (piconet1) is formed and between more than one second blue-tooth device, after mutually matching and establishes the
One connection (Link 1), and the first blue-tooth device of wireless communication system and more than one second blue-tooth device externally will
Be formed as a virtual bluetooth device;Then, it carries out forming the second microgrid of bluetooth (piconet 2) and establishes the second connection (Link
2) movement, virtual bluetooth device and a blue-tooth device, such as mobile phone, between form the second microgrid of bluetooth (piconet 2), simultaneously
It establishes the second connection (Link 2), the first blue-tooth device of wireless communication system and more than one second blue-tooth device, it will
Blue-tooth device is added using identical blue-tooth device address BD_ADDR (Bluetooth Device Address), such as hand
Machine, the second microgrid of bluetooth (piconet2);In turn, progress audio data transmission, music act, in the first microgrid of bluetooth
Virtual bluetooth device main control end (master) main blue-tooth device, will be established with mobile phone blue by the second microgrid of bluetooth
Tooth audio transmission agreement A2DP line simultaneously receives Bluetooth audio frequency transfer protocol A2DP audio data, and in the first microgrid of bluetooth
The slave blue-tooth device of at least more than one of the controlled terminal (slave) of virtual bluetooth device is identical because using with main blue-tooth device
Blue-tooth device address BD_ADDR, thus, can also receive and be identical to the received Bluetooth audio frequency transfer protocol of main blue-tooth device institute
A2DP audio data, so that music can be played simultaneously by reaching the slave blue-tooth device of main blue-tooth device and at least more than one,
In addition, the packet data lost in receive process of the slave blue-tooth device more than at least one of first microgrid of bluetooth can be with
It is required that main blue-tooth device, which is resend and is not, to be resend by mobile phone.
A further object of the present invention is to be to provide a kind of wireless communication system and its method, is that be applied to bluetooth wireless
In communication environment, in audio data from a blue-tooth device, such as mobile phone, is sent to wireless communication system of the invention to carry out
When wireless communications method, most audio data is all to be transmitted directly to channel radio by the second microgrid of bluetooth by mobile phone terminal
First blue-tooth device of letter system and more than one second blue-tooth device, and waste bandwidth can be reduced;In addition, due in indigo plant
The packet data that slave blue-tooth device more than at least one of first microgrid of tooth is lost in receive process is to require main indigo plant
Tooth device resend and not be by blue-tooth device, such as mobile phone, to resend, thus, the limited frequency of bluetooth can be efficiently used
Width, therefore can be than the audio data of traditional approach transmission higher quality under using identical bandwidth.
Another object of the present invention is to be to provide a kind of wireless communication system and its method, is that be applied to bluetooth wireless
In communication environment, in the first microgrid of bluetooth, the main blue-tooth device of main control end does not need biggish buffer area, thus, it can reduce
The delay time of broadcasting;In addition, main blue-tooth device using the Bluetooth audio frequency transfer protocol A2DP of standard with mobile phone terminal line, and mobile phone
End need not make any modification, also without consistency problem.
Another object of the present invention is to be to provide a kind of wireless communication system and its method, is that be applied to bluetooth wireless
In communication environment, in the first microgrid of bluetooth, the more than one audio data omitted from blue-tooth device of controlled terminal can be with
It is requested to the main blue-tooth device of main control end, and the main blue-tooth device of main control end can only transmit monaural audio data to controlled terminal
This is more than one from blue-tooth device, to save bluetooth bandwidth, in other words, the main blue-tooth device of main control end can support multiple
From blue-tooth device and the main blue-tooth device and blue-tooth device of effective use main control end, such as the limited bandwidth of bluetooth of mobile phone terminal.
A further object of the present invention is to be to provide a kind of wireless communication system and its method, is that be applied to bluetooth wireless
In communication environment, be main control end main blue-tooth device be controlled terminal the more than one bluetooth between blue-tooth device
Device principal and subordinate role can switch at any time, such as timing is in turn, or according to music or call different function switching;In other words, Yu Ben
In the wireless communication system of invention, in the first microgrid of bluetooth, the first blue-tooth device is that the main bluetooth of main control end (master) fills
When setting, then more than one second blue-tooth device is controlled terminal, in addition, therein any when more than one second blue-tooth device
For main control end main blue-tooth device when, then the first blue-tooth device be then controlled terminal slave blue-tooth device and this more than one
Other second blue-tooth devices other than this is any in two blue-tooth devices can also be the slave blue-tooth device of controlled terminal, also that is,
Principal and subordinate role is not limited to specific device depending on connection state.
According to above-described purpose, the present invention provides a kind of wireless communication system, is to be applied to Bluetooth wireless communication ring
In border, which is comprising one first blue-tooth device and more than one second blue-tooth device.
One first blue-tooth device and more than one second blue-tooth device, first blue-tooth device and this with
On the second blue-tooth device between, after mutually matching formed the first microgrid of bluetooth (piconet1), and in first blue-tooth device,
And establish the first connection (Link 1) between more than one second blue-tooth device, and include first blue-tooth device, with
And the wireless communication system of more than one second blue-tooth device is externally formed into a virtual bluetooth device.
Here, the virtual bluetooth device and a blue-tooth device, such as mobile phone, between form the second microgrid of bluetooth (piconet
2) and the second connection (Link 2) is established;Bluetooth will be formed with mobile phone for the wireless communication system of the virtual bluetooth device
Two microgrids (piconet 2), and establish Bluetooth audio frequency transfer protocol A2DP (Advanced Audio Distribution
Profile) the second connection (Link 2) of audio connection;First indigo plant of the wireless communication system in the first microgrid of bluetooth
Tooth device and more than one second blue-tooth device will use identical blue-tooth device address BD_ADDR (Bluetooth
Device Address) and the second microgrid of bluetooth (piconet2) of the mobile phone is added, wherein in the first microgrid of bluetooth, when
First blue-tooth device is the main blue-tooth device of main control end (master), then more than one second blue-tooth device will be controlled
The slave blue-tooth device of (slave) is held, so, this principal and subordinate role is depending on the connection state of the first microgrid of bluetooth, in other words, this hair
Bright wireless communication system, in the first microgrid of bluetooth, when more than one second blue-tooth device it is therein it is any based on
When controlling the main blue-tooth device at end, which is then the slave blue-tooth device of controlled terminal and more than one second indigo plant
Other second blue-tooth devices other than this is any in tooth device are also the slave blue-tooth device of controlled terminal, also that is, principal and subordinate angle
Color is not limited to specific device depending on connection state.
By the second microgrid of bluetooth, virtual bluetooth device and blue-tooth device, such as mobile phone, carry out audio data transmission, with
When just can be carried out music, the first blue-tooth device of the wireless communication system (virtual bluetooth device) in the first microgrid of bluetooth,
And one of more than one second blue-tooth device is the main blue-tooth device of main control end (master) (for example, first is blue
Tooth device), after the second connection (Link 2) for establishing Bluetooth audio frequency transfer protocol A2DP with mobile phone, in the first microgrid of bluetooth
It is that the main blue-tooth device (for example, first blue-tooth device) of main control end (master) is built by the second microgrid of bluetooth with mobile phone
Vertical Bluetooth audio frequency transfer protocol A2DP line simultaneously receives Bluetooth audio frequency transfer protocol A2DP audio data, and the first microgrid of bluetooth
In controlled terminal (slave) it is more than one from blue-tooth device (for example, more than one second blue-tooth device), because with master
Blue-tooth device uses identical blue-tooth device address BD_ADDR, thus, it can also receive that be identical to main blue-tooth device institute received
Bluetooth audio frequency transfer protocol A2DP audio data, to be reached for the main bluetooth dress of the wireless communication system of virtual bluetooth device
It sets and the slave blue-tooth device of at least more than one can play the function of music simultaneously, in addition, controlled in the first microgrid of bluetooth
Hold the more than one from blue-tooth device (for example, the more than one second blue-tooth device) institute in receive process of (slave)
The packet data of loss, by line first link (Link 1) to main control end (master) the main blue-tooth device (for example, the
One blue-tooth device) request is issued, simultaneously by main blue-tooth device (for example, first blue-tooth device) offer of main control end (master)
Non- is to be resend by mobile phone, and the main blue-tooth device (for example, first blue-tooth device) of main control end (master) can only transmit
Monaural audio data to controlled terminal (slave) it is more than one from blue-tooth device (for example, more than one second bluetooth
Device), in other words, controlled terminal (slave) in the first microgrid of bluetooth it is more than one from blue-tooth device (for example, this one
A the second above blue-tooth device) packet data lost in receive process it may require that the master control in the first microgrid of bluetooth
The main blue-tooth device (for example, first blue-tooth device) at end (master) resends, without the hand required in the second microgrid of bluetooth
Machine resends the packet data of audio data, and only by the main blue-tooth device of main control end (master) (for example, the first bluetooth fills
Set) it resends;In addition, the main blue-tooth device of the main control end (master) in the first microgrid of bluetooth is (for example, the first bluetooth fills
Set) and controlled terminal (slave) is more than one equal from blue-tooth device (for example, more than one second blue-tooth device)
Complete audio data can be received and broadcasted after decoding;And the main control end (master) only in the first microgrid of bluetooth should
Main blue-tooth device (for example, first blue-tooth device) can transmit packet data to the mobile phone in the second microgrid of bluetooth, and so, bluetooth fills
Setting principal and subordinate role can switch at any time, such as timing is in turn, or according to music or call different function switching.
When using wireless communication system of the invention to carry out wireless communication method flow, firstly, carrying out forming bluetooth
One microgrid (piconet 1) and the movement for establishing the first connection (Link 1), the first blue-tooth device of wireless communication system, with
The first microgrid of bluetooth (piconet1) is formed and between more than one second blue-tooth device, after mutually matching and establishes first
Link (Link 1), and the first blue-tooth device of wireless communication system and more than one second blue-tooth device are externally by shape
As a virtual bluetooth device.
Then, it carries out forming the second microgrid of bluetooth (piconet 2) and establishes the movement of the second connection (Link 2), it is empty
Quasi- blue-tooth device and a blue-tooth device, such as mobile phone, between formation the second microgrid of bluetooth (piconet 2) and establish the second company
It ties (Link 2), the first blue-tooth device of wireless communication system and more than one second blue-tooth device will use identical
Blue-tooth device address BD_ADDR (Bluetooth Device Address) and the second microgrid of bluetooth that mobile phone is added
(piconet2)。
In turn, audio data transmission, music movement, the master control of the virtual bluetooth device in the first microgrid of bluetooth are carried out
The main blue-tooth device (one of the first blue-tooth device and more than one second blue-tooth device) of (master) is held, it will
By the second microgrid of bluetooth, and Bluetooth audio frequency transfer protocol A2DP line is established with mobile phone and receives Bluetooth audio frequency transfer protocol
A2DP audio data, and at least more than one of the controlled terminal (slave) of the virtual bluetooth device in the first microgrid of bluetooth from
Blue-tooth device, because using identical blue-tooth device address BD_ADDR with main blue-tooth device, thus, it can also receive and be identical to leading
The received Bluetooth audio frequency transfer protocol A2DP audio data of blue-tooth device institute, thus reach main blue-tooth device and at least one
Above slave blue-tooth device can play music simultaneously, in addition, the slave blue-tooth device more than at least one of first microgrid of bluetooth
The packet data lost in receive process, main blue-tooth device can be required, which to be resend and be not, to be resend by mobile phone.
The purpose of the present invention, feature and technical effect are understood to make to be familiar with this those skilled in the art, hereby pass through following specific realities
Example is applied, and cooperates appended attached drawing, such as rear to elaborate of the present invention:
Detailed description of the invention
Fig. 1 is a system schematic, to show the system architecture and operation that illustrate wireless communication system of the invention
Situation;
Fig. 2 is a flow chart, to show that explanation is wireless to carry out using wireless communication system of the invention as shown in figure 1
The process step of communication means;
Fig. 3 is a schematic diagram, to show the embodiment and operation feelings that illustrate wireless communication system of the invention
Shape;
Fig. 4 is a flow chart, to show explanation using the embodiment such as the wireless communication system of the invention in Fig. 3
To carry out wireless communication a process step of method;
Fig. 5 is a schematic diagram, to show explanation such as an embodiment and hand for the wireless communication system of the invention in Fig. 3
The network architecture of machine;And
Fig. 6 is a schematic diagram, to show of the invention wireless communication system of the explanation such as in Fig. 3 an embodiment from
Blue-tooth device loses package recovery process.
Description of symbols:
1 wireless communication system
2 first blue-tooth devices
3 second blue-tooth devices
4 virtual bluetooth devices
5 blue-tooth devices
11 the first microgrids of bluetooth
12 the second microgrids of bluetooth
101 102 103 steps
201 202 203 steps
The first microgrid of P1 bluetooth
2 the second microgrid of bluetooth of P
Specific embodiment
Fig. 1 is a system schematic, to show the system architecture and operation that illustrate wireless communication system of the invention
Situation.As shown in Figure 1, which is comprising one first blue-tooth device 2 and more than one second indigo plant
Tooth device 3.
One first blue-tooth device 2 and more than one second blue-tooth device 3, first blue-tooth device 2 and this one
Between a the second above blue-tooth device 3, the first microgrid of bluetooth (piconet1) is formed after mutually matching, and in first bluetooth
The first connection (Link 1) is established between device 2 and more than one second blue-tooth device 3, and includes first bluetooth
The wireless communication system 1 of device 2 and more than one second blue-tooth device 3 is externally formed into virtual bluetooth dress
Set 4.
Here, forming the second microgrid of bluetooth between the virtual bluetooth device 4 and a blue-tooth device 5 (for example, mobile phone 5)
(piconet 2) and establish the second connection (Link 2);It will be with bluetooth for the wireless communication system 1 of the virtual bluetooth device 4
Device 5 forms the second microgrid of bluetooth (piconet 2), and establishes Bluetooth audio frequency transfer protocol A2DP (Advanced Audio
Distribution Profile) audio connection second connection (Link 2).
First blue-tooth device 2 of the wireless communication system 1 in the first microgrid of bluetooth and this more than one
Two blue-tooth devices 3 will use identical blue-tooth device address BD_ADDR (Bluetooth Device Address) and be added and be somebody's turn to do
The second microgrid of bluetooth (piconet2) of blue-tooth device 5, wherein in the first microgrid of bluetooth, based on first blue-tooth device 2
The main blue-tooth device of end (master) is controlled, which then fills for the slave bluetooth of controlled terminal (slave)
It sets, so, this principal and subordinate role is depending on the connection state of the first microgrid of bluetooth.
In other words, in wireless communication system 1 of the invention, in the first microgrid of bluetooth, when more than one second indigo plant
When wherein any main blue-tooth device for main control end of tooth device 3, which is then filled for the slave bluetooth of controlled terminal
It sets and other second blue-tooth devices 3 other than this is any in more than one second blue-tooth device 3 is also controlled terminal
Slave blue-tooth device, also that is, principal and subordinate role is not limited to specific device depending on connection state.
By the second microgrid of bluetooth, virtual bluetooth device 4 (wireless communication system 1) and blue-tooth device 5 carry out audio data
(monophonic or stereo) transmission, to can be carried out music when, the wireless communication system 1 in the first microgrid of bluetooth is (virtual
Blue-tooth device 4) the first blue-tooth device 2 and one of more than one second blue-tooth device 3 be main control end
(master) main blue-tooth device (for example, first blue-tooth device 2) is establishing Bluetooth audio frequency transfer protocol with blue-tooth device 5
After the second connection (Link 2) of A2DP, and Bluetooth audio frequency transfer protocol A2DP audio data is received, and the first microgrid of bluetooth
In controlled terminal (slave) it is more than one from blue-tooth device (for example, more than one second blue-tooth device 3), because with
Main blue-tooth device uses identical blue-tooth device address BD_ADDR, thus, it can also receive and be identical to main blue-tooth device and received
Bluetooth audio frequency transfer protocol A2DP audio data, to be reached for the main bluetooth of the wireless communication system 1 of virtual bluetooth device 4
Device 2 and the slave blue-tooth device 3 of at least more than one can play the function of music simultaneously.
Controlled terminal (slave) in the first microgrid of bluetooth it is more than one from blue-tooth device (for example, this more than one
The second blue-tooth device 3) packet data lost in receive process, (Link 1) is linked to main control end by line first
(master) the main blue-tooth device (for example, first blue-tooth device 2) issues request, by the main bluetooth of main control end (master)
Device (for example, first blue-tooth device 2) provides and is not resend by blue-tooth device 5, and master of main control end (master)
Blue-tooth device (for example, first blue-tooth device 2) can only transmit monaural audio data to more than one of controlled terminal (slave)
Slave blue-tooth device (for example, more than one second blue-tooth device 3).In other words, the controlled terminal in the first microgrid of bluetooth
(slave) more than one is lost in receive process from blue-tooth device (for example, more than one second blue-tooth device 3)
The packet data of mistake it may require that the main blue-tooth device of the main control end (master) in the first microgrid of bluetooth is (for example, the first bluetooth
Device 2) it resends, without the packet data for requiring the blue-tooth device 5 in the second microgrid of bluetooth to resend audio data, and only by leading
The main blue-tooth device (for example, first blue-tooth device 2) of control end (master) resends.
In addition, the main blue-tooth device of the main control end (master) in the first microgrid of bluetooth is (for example, the first blue-tooth device
2) and controlled terminal (slave) it is more than one equal from blue-tooth device (for example, more than one second blue-tooth device 3)
Complete audio data can be received and broadcasted after decoding;And the main control end (master) only in the first microgrid of bluetooth should
Main blue-tooth device (for example, first blue-tooth device 2) can transmit packet data to the blue-tooth device 5 in the second microgrid of bluetooth, so,
Blue-tooth device principal and subordinate role can switch at any time, such as timing is in turn, or according to music or call different function switching.
When actual embodiment, first blue-tooth device 2 of the wireless communication system 1 and more than one second indigo plant
Tooth device 3 can be bluetooth headset, or, first blue-tooth device 2 and more than one second blue-tooth device 3 can be
Electronic device with function of Bluetooth communication is held depending on actual implementation.
In addition, further for the network architecture of wireless communication system 1 and blue-tooth device 5:
1. be main blue-tooth device the first blue-tooth device 2 with for from more than one second blue-tooth device 3 of blue-tooth device
Establish the first microgrid of bluetooth, wherein be the master of the first microgrid of bluetooth for the first blue-tooth device 2 of main blue-tooth device, and be
It is then the slave of the first microgrid of bluetooth from more than one second blue-tooth device 3 of blue-tooth device.
2. be main blue-tooth device the first blue-tooth device 2 with for from more than one second blue-tooth device 3 of blue-tooth device
Between can establish a two-way line Link1 to exchange data/command/ACK (data-/ command/notice);And wireless communication system
System 1 externally then forms single virtual bluetooth device 4, and the first blue-tooth device 2 have with more than one second blue-tooth device 3 it is identical
Blue-tooth device address BD_ADDR (for example, BD_ADDR1).
In other words, the first blue-tooth device 2 establishes the first microgrid of bluetooth with more than one second blue-tooth device 3, and first is blue
Tooth device 2 is main blue-tooth device master, and more than one second blue-tooth device 3 is from blue-tooth device slave, the first bluetooth
A two-way line first can be established between device 2 and more than one second blue-tooth device 3 links (Link1) to exchange data/
Command/ACK, and single virtual bluetooth device 4 is externally then formed, and using blue-tooth device address BD_ADDR (for example, BD_
ADDR1)。
3. the second microgrid of bluetooth 12 that blue-tooth device 5 (for example, mobile phone 5) is added in virtual bluetooth device 4, wherein based on it is blue
The blue-tooth device 5 of tooth device is that the master of the second microgrid of bluetooth is used and is different from the first blue-tooth device 2 and more than one the
Another blue-tooth device address of the blue-tooth device address BD_ADDR (for example, BD_ADDR1) of two blue-tooth devices 3 is (for example, BD_
It ADDR2), be from the first blue-tooth device 2 of blue-tooth device and the second blue-tooth device 3 is then the second microgrid 12 (P2)
slave。
Virtual bluetooth device 4 and blue-tooth device 5 (for example, mobile phone 5) establish a two-way line Link2, to receive bluetooth dress
Set the audio data of 5 (for example, mobile phones 5) transmission.
4. in the first microgrid of bluetooth, the first blue-tooth device 2 is main blue-tooth device for the first blue-tooth device 2
master;So, in the second microgrid of bluetooth, the first blue-tooth device 2 is from blue-tooth device slave and to have blue-tooth device address
(for example, BD_ADDR1).
It is blue based on the first blue-tooth device 2 in the first microgrid of bluetooth 11 for more than one second blue-tooth device 3
Tooth device master and the second blue-tooth device 3 are from blue-tooth device slave;In addition, in the second microgrid of bluetooth, it is more than one
Second blue-tooth device 3 is from blue-tooth device slave and to have blue-tooth device address (for example, BD_ADDR1), in other words, Yu Lan
In the second microgrid of tooth, either for the first blue-tooth device 2 or the second blue-tooth device 3, both for from blue-tooth device
Slave and blue-tooth device address having the same (for example, BD_ADDR1).
For blue-tooth device 5 (for example, mobile phone 5), in the second microgrid of bluetooth, blue-tooth device 5 (for example, mobile phone 5) is
Main blue-tooth device master and there is blue-tooth device address (for example, BD_ADDR2), and the first blue-tooth device 2 and one with
On the second blue-tooth device 3 be from blue-tooth device slave and blue-tooth device address having the same (for example, BD_ADDR1).
In other words, second microgrid of bluetooth of blue-tooth device 5 (for example, mobile phone 5) is added in virtual bluetooth device 4, wherein first
Blue-tooth device 2 and more than one second blue-tooth device 3 are from blue-tooth device, virtual bluetooth device 4 and blue-tooth device 5
(for example, mobile phone 5) establishes a two-way line second and links (Link2), to receive the sound of blue-tooth device 5 (for example, mobile phone 5) transmission
Frequency evidence.
Fig. 2 is a flow chart, to show that explanation is wireless to carry out using wireless communication system of the invention as shown in figure 1
The process step of communication means.As shown in Figure 2, it firstly, in step 101, carries out forming the first microgrid of bluetooth (piconet
1) and the movement of the first connection (Link 1) is established;First blue-tooth device 2 of wireless communication system 1 and more than one
The first microgrid of bluetooth (piconet1) is formed between two blue-tooth devices 3, after mutually matching and is established the first connection (Link 1),
And the first blue-tooth device 2 and more than one second blue-tooth device 3 of wireless communication system 1 are externally formed into one virtually
Blue-tooth device 4, and enter step 102.
In step 102, carries out forming the second microgrid of bluetooth (piconet 2) and establish the dynamic of the second connection (Link 2)
Make;The second microgrid of bluetooth (piconet 2) is formed between virtual bluetooth device 4 and blue-tooth device 5 (for example, mobile phone 5) and is established
Second connection (Link 2), the first blue-tooth device 2 and more than one second blue-tooth device 3 of wireless communication system 1 will
Be added using identical blue-tooth device address BD_ADDR (Bluetooth Device Address) blue-tooth device 5 (for example,
Mobile phone 5) the second microgrid of bluetooth (piconet2), and enter step 103.
In step 103, audio data transmission, music movement are carried out;Virtual bluetooth device 4 in the first microgrid of bluetooth
The main blue-tooth device of main control end (master) (the first blue-tooth device 2 and more than one second blue-tooth device 3 are wherein
One of), Bluetooth audio frequency transfer protocol A2DP will be established with blue-tooth device 5 (for example, mobile phone 5) and connected by the second microgrid of bluetooth
Line simultaneously receives Bluetooth audio frequency transfer protocol A2DP audio data (monophonic or stereo), and virtual in the first microgrid of bluetooth
The slave blue-tooth device of at least more than one of the controlled terminal (slave) of blue-tooth device 4, because using identical indigo plant with main blue-tooth device
Tooth device address BD_ADDR, thus, it can also receive and be identical to the main received Bluetooth audio frequency transfer protocol A2DP of blue-tooth device institute
Audio data, so that music can be played simultaneously by reaching the slave blue-tooth device of main blue-tooth device and at least more than one, in addition, in
The packet data that slave blue-tooth device more than at least one of first microgrid of bluetooth is lost in receive process, can require
Main blue-tooth device, which is resend and is not, to be resend by blue-tooth device 5 (for example, mobile phone 5).
In other words, when using wireless communication system carrying out wireless communication method:
Shape is matched in advance between a blue-tooth device (the first blue-tooth device 2 and more than one second blue-tooth device 3) more than 1.
At the first microgrid of bluetooth and establish the connection of line first.
2. multiple blue-tooth devices (the first blue-tooth device 2 and more than one second bluetooth in the first microgrid of bluetooth
Device 3) one of blue-tooth device and blue-tooth device 5 (for example, mobile phone 5) formed and second microgrid of bluetooth and establish A2DP audio
Line second links, then this blue-tooth device is known as the main blue-tooth device of the main control end in the first microgrid of bluetooth, the first microgrid of bluetooth
In other blue-tooth devices then be known as controlled terminal slave blue-tooth device, principal and subordinate role is not limited to specific depending on connection state
Device;Here, only main blue-tooth device, which can transmit package, gives blue-tooth device 5 (for example, mobile phone 5), blue-tooth device principal and subordinate role
It can switch at any time, such as timing is in turn, or according to music or call different function switching.
3. the main blue-tooth device of the main control end in the first microgrid of bluetooth is linked by line first by the second microgrid of bluetooth
Link information, such as the BD_ADDR and line password of blue-tooth device 5 (for example, mobile phone 5), send in the first microgrid of bluetooth
The slave blue-tooth device (other blue-tooth devices) of controlled terminal.
4. bluetooth is added according to link information, with identical BD_ADDR in the slave blue-tooth device of the controlled terminal in the first microgrid
Second microgrid.
5. the slave blue-tooth device of the controlled terminal in the first microgrid receive line second connection in blue-tooth device 5 (for example, mobile phone
5) audio data of the main blue-tooth device of the main control end in the first microgrid is given.
6. the packet data that the slave blue-tooth device of the controlled terminal in the first microgrid is omitted is linked by line first to
The main blue-tooth device of main control end in one microgrid issues request, and being provided by main blue-tooth device and be not is by 5 (example of blue-tooth device
Such as, mobile phone 5) it provides;In addition, main blue-tooth device can only transmission monaural audio data be given from blue-tooth device.
7. according to above-mentioned steps, the first microgrid of bluetooth (the first blue-tooth device 2 and more than one second blue-tooth device 3)
In multiple blue-tooth devices can receive complete audio data and decode after broadcast.
Fig. 3 is a schematic diagram, to show the embodiment and operation feelings that illustrate wireless communication system of the invention
Shape.As shown in Figure 3, the wireless communication system 1 be comprising one first blue-tooth device 2 and one second blue-tooth device 3,
This, first blue-tooth device 2 and second blue-tooth device 3 are bluetooth headset, and in this present embodiment, blue-tooth device 5 is on the other hand
Machine 5).
One first blue-tooth device 2 and one second blue-tooth device 3, first blue-tooth device 2 and second bluetooth dress
Set between 3, after mutually matching formed the first microgrid of bluetooth (piconet1) 11, and in first blue-tooth device 2 and this second
The first connection (Link 1) is established between blue-tooth device 3, and includes first blue-tooth device 2 and second blue-tooth device 3
The wireless communication system 1 is externally formed into a virtual bluetooth device 4.
Here, forming the second microgrid of bluetooth (piconet 2) 12 between the virtual bluetooth device 4 and mobile phone 5 and establishing the
Two connections (Link 2);For the wireless communication system 1 of the virtual bluetooth device 4 the second microgrid of bluetooth will be formed with mobile phone 5
(piconet 2), and establish Bluetooth audio frequency transfer protocol A2DP (Advanced Audio Distribution Profile) sound
Second connection (Link 2) of frequency line.
First blue-tooth device 2 of the wireless communication system 1 in the first microgrid of bluetooth 11 and second bluetooth dress
3 are set, will use identical blue-tooth device address BD_ADDR (Bluetooth Device Address) that the indigo plant of the mobile phone 5 is added
The second microgrid of tooth (piconet2) 12, wherein in the first microgrid of bluetooth 11, when first blue-tooth device 2 is main control end
(master) main blue-tooth device, second blue-tooth device 3 are then the slave blue-tooth device of controlled terminal (slave), so, this principal and subordinate
Role is depending on the connection state of the first microgrid of bluetooth 11.
In other words, in wireless communication system 1 of the invention, in the first microgrid of bluetooth 11, when second blue-tooth device 3 is
When the main blue-tooth device of main control end, which is then the slave blue-tooth device of controlled terminal, also that is, principal and subordinate role Yi Lian
Specific device is not limited to depending on linear state.
By the second microgrid of bluetooth 12, virtual bluetooth device 4 (wireless communication system 1) and mobile phone 5 carry out audio data (list
Sound channel is stereo) transmission, to can be carried out music when, the wireless communication system 1 in the first microgrid of bluetooth 11 is (virtual blue
Tooth device 4) first blue-tooth device 2 be main control end (master) main blue-tooth device, with mobile phone 5 establishing Bluetooth audio frequency pass
It is the main bluetooth of main control end (master) in the first microgrid of bluetooth 11 after the second connection (Link 2) of defeated agreement A2DP
Device (the first blue-tooth device 2) establishes Bluetooth audio frequency transfer protocol A2DP line, simultaneously by the second microgrid of bluetooth 12 and mobile phone 5
Bluetooth audio frequency transfer protocol A2DP audio data is received, and being somebody's turn to do from bluetooth for controlled terminal (slave) in the first microgrid of bluetooth 11
Second blue-tooth device 3 of device, because using identical blue-tooth device address BD_ADDR with the main blue-tooth device, thus, it can also
It is identical to the received Bluetooth audio frequency transfer protocol A2DP audio data of main blue-tooth device institute to receive, to be reached for virtual bluetooth
The main blue-tooth device 2 of the wireless communication system 1 of device 4 and the slave blue-tooth device 3 of at least more than one can play music simultaneously
Function.
In addition, the controlled terminal (slave) in the first microgrid of bluetooth 11 is second bluetooth dress from blue-tooth device
3 packet datas lost in receive process are set, linking (Link 1) to main control end (master) by line first is
First blue-tooth device 2 of the main blue-tooth device issues request, by main control end (master) be the main blue-tooth device this
One blue-tooth device 2 provide and not be resend by mobile phone 5, and main control end (master) be the main blue-tooth device this first
It is second bluetooth from blue-tooth device that blue-tooth device 2, which can only transmit monaural audio data to controlled terminal (slave),
Device 3, in other words, second blue-tooth device 3 of the controlled terminal (slave) in the first microgrid of bluetooth 11 institute in receive process
The packet data of loss it may require that first blue-tooth device 2 of the main control end (master) in the first microgrid of bluetooth 11 is resend, nothing
The mobile phone 5 in the second microgrid of bluetooth 12 need be asked to resend the packet data of audio data, and only by main control end (master)
It is resend for first blue-tooth device 2 of the main blue-tooth device.
In addition, in the first microgrid of bluetooth 11 for main control end (master) the main blue-tooth device first blue-tooth device 2, with
And after can receiving complete audio data for second blue-tooth device 3 of the slave blue-tooth device of controlled terminal (slave) and decode
It broadcasts;And only in the first microgrid of bluetooth 11 for main control end (master) the main blue-tooth device first blue-tooth device 2
Packet data can be transmitted to the mobile phone 5 in the second microgrid of bluetooth 12, so, blue-tooth device principal and subordinate role can switch at any time, example
As periodically in turn, or according to music or call different function switching.
It in this present embodiment, is other logical with bluetooth for blue-tooth device 5 so though blue-tooth device 5 is a mobile phone 5
For the electronic device of telecommunication function, manage it is identical, similar to being described in the present embodiment therefore, details are not described herein.
Again, in this present embodiment, though first blue-tooth device 2 is bluetooth headset and second blue-tooth device 3 is only single
One blue earphone, so, be a bluetooth headset for the first blue-tooth device 2 and the second blue-tooth device 3 is multiple bluetooth headsets and
Speech, manage it is identical, similar to being described in the present embodiment therefore, details are not described herein.
In addition, being that the electronics with function of Bluetooth communication fills for first blue-tooth device 2 and second blue-tooth device 3
For setting, manage it is identical, similar to being described in the present embodiment therefore, also repeat no more herein.
Fig. 4 is a flow chart, to show explanation using the embodiment such as the wireless communication system of the invention in Fig. 3
To carry out wireless communication a process step of method.As shown in Figure 4, it firstly, in step 201, carries out forming bluetooth first
Microgrid (piconet 1) 12 and the movement for establishing the first connection (Link 1);First blue-tooth device 2 of wireless communication system 1,
The first microgrid of bluetooth (piconet1) 11 is formed and between second blue-tooth device 3, after mutually matching and establishes the first connection
(Link 1), and wireless communication system 1 is externally formed into a virtual bluetooth device 4, and enters step 202.
In step 202, carries out forming the second microgrid of bluetooth (piconet 2) 12 and establish the dynamic of the second connection (Link2)
Make;The second microgrid of bluetooth (piconet 2) 12, simultaneously is formed between virtual bluetooth device 4 (wireless communication system 1) and a mobile phone 5
Establish the second connection (Link 2), first blue-tooth device 2 of virtual bluetooth device 4 (wireless communication system 1) and this second
Blue-tooth device 3 will use identical blue-tooth device address BD_ADDR (Bluetooth Device Address) and mobile phone is added
5 the second microgrid of bluetooth (piconet2) 12, and enter step 203.
Here, forming the second microgrid of bluetooth (piconet between the virtual bluetooth device 4 and a mobile phone 5 when step 202
2) it 12 and establishes the second connection (Link 2), here, the wireless communication system 1 for the virtual bluetooth device 4 will be with mobile phone 5
The second microgrid of bluetooth (piconet 2) 12 is formed, and establishes Bluetooth audio frequency transfer protocol A2DP (Advanced Audio
Distribution Profile) audio connection second connection (Link 2), wherein the wireless communication system 1 this first
Blue-tooth device 2 and second blue-tooth device 3 will use identical blue-tooth device address BD_ADDR (Bluetooth
Device Address) and the second microgrid of bluetooth (piconet2) 12 of the mobile phone 5 is added, wherein in the first microgrid of bluetooth 11
In, which can be the main blue-tooth device of main control end (master), and second blue-tooth device 3 is controlled terminal
(slave) slave blue-tooth device, so, this principal and subordinate role is depending on the connection state of the first microgrid of bluetooth 11, in other words, Yu Lan
In the first microgrid of tooth 11, when which is the main blue-tooth device of main control end (master), then first blue-tooth device
2 slave blue-tooth devices for controlled terminal (slave), also that is, principal and subordinate role is not limited to specific device depending on connection state.
In step 203, audio data transmission, music movement are carried out;Virtual bluetooth in the first microgrid of bluetooth 11
First blue-tooth device 2 of device 4 be main control end (master) main blue-tooth device will by the second microgrid of bluetooth 12, and and hand
Machine 5 establishes Bluetooth audio frequency transfer protocol A2DP line and receives Bluetooth audio frequency transfer protocol A2DP audio data (monophonic is vertical
Body sound), and in the first microgrid of bluetooth 11 be second blue-tooth device 3 of controlled terminal (slave) from blue-tooth device, because with main indigo plant
Tooth device uses identical blue-tooth device address BD_ADDR, thus, it can also receive and be identical to the received indigo plant of main blue-tooth device institute
Tooth audio transmission agreement A2DP audio data, to reach the main blue-tooth device and can should play simultaneously sound from blue-tooth device
It is happy;In addition, being the packet data lost in receive process from second blue-tooth device 3 of blue-tooth device, pass through line first
Link (Link 1) and issue request to first blue-tooth device 2 of the main blue-tooth device for main control end (master), based on
First blue-tooth device 2 for controlling the main blue-tooth device of end (master) provides, and main control end (master) is the main bluetooth
It is from blue-tooth device that first blue-tooth device 2 of device, which can only transmit monaural audio data to controlled terminal (slave),
Second blue-tooth device 3, in other words, controlled terminal (slave) are second blue-tooth device 3 from blue-tooth device in receive process
Middle lost packet data it may require that first blue-tooth device 2 for the main blue-tooth device of main control end (master) is resend, and
The mobile phone 5 need not be required to resend the packet data of audio data, and be only by main control end (master) be the main blue-tooth device
First blue-tooth device 2 resend.
Fig. 5 is a schematic diagram, to show explanation such as an embodiment and hand for the wireless communication system of the invention in Fig. 3
The network architecture of machine.As shown in Figure 5, for the first blue-tooth device 2 of main blue-tooth device be blue from the second of blue-tooth device
Tooth device 3 establishes the first microgrid of bluetooth 11 (P1), wherein the first blue-tooth device 2 for being main blue-tooth device is the first microgrid of bluetooth
The master of 11 (P1), and the slave of to be from the second blue-tooth device 3 of blue-tooth device be then the first microgrid of bluetooth 11 (P1).
For the first blue-tooth device 2 of main blue-tooth device and to be filled from two bluetooths of the second blue-tooth device 3 of blue-tooth device
A two-way line Link1 can be established therebetween to exchange data/command/ACK by setting;And wireless communication system 1 is external then
Single virtual bluetooth device 4 is formed, and the first blue-tooth device 2 and the second blue-tooth device 3 have identical blue-tooth device address BD_
ADDR1。
In other words, the first blue-tooth device 2 and the second blue-tooth device 3 establish the first microgrid of bluetooth 11 (P1), the first bluetooth dress
2 are set as main blue-tooth device master, and the second blue-tooth device 3 is from blue-tooth device slave, the first blue-tooth device 2 and second is blue
A two-way line first can be established between tooth device 3 and links (Link1) to exchange data/command/ACK, and is externally then formed
Single virtual bluetooth device 4, and use blue-tooth device address BD_ADDR1.
The second microgrid of bluetooth 12 (P2) of the addition mobile phone 5 of virtual bluetooth device 4, wherein be for the mobile phone 5 of main blue-tooth device
The master of the second microgrid of bluetooth 12 (P2) uses blue-tooth device address BD_ADDR2, and is to fill from the first bluetooth of blue-tooth device
Set 2 and second blue-tooth device 3 be then the second microgrid of bluetooth 12 (P2) slave.
Virtual bluetooth device 4 and mobile phone 5 establish a two-way line Link2, to receive the audio data of the transmission of mobile phone 5.
For the first blue-tooth device 2, in the first microgrid of bluetooth 11 (P1), the first blue-tooth device 2 is main blue-tooth device
master;So, in the second microgrid of bluetooth 12 (P2), the first blue-tooth device 2 is from blue-tooth device slave and the bluetooth that has
Device address is BD_ADDR1.
For the second blue-tooth device 3, in the first microgrid of bluetooth 11 (P1), the first blue-tooth device 2 is main blue-tooth device
Master and the second blue-tooth device 3 are from blue-tooth device slave;In addition, in the second microgrid of bluetooth 12 (P2), the second bluetooth dress
3 are set for from blue-tooth device slave and the blue-tooth device address that has is BD_ADDR1, in other words, in the second microgrid of bluetooth 12
(P2) in, either for the first blue-tooth device 2 or the second blue-tooth device 3, both for from blue-tooth device slave and
Blue-tooth device address having the same is BD_ADDR1.
For mobile phone 5, in the second microgrid of bluetooth 12 (P2), mobile phone 5 is main blue-tooth device master and the indigo plant that has
Tooth device address is BD_ADDR2, and the first blue-tooth device 2 and the second blue-tooth device 3 are both for from blue-tooth device
Slave and blue-tooth device address having the same are BD_ADDR1.
In other words, the second microgrid of bluetooth 12 (P2) of mobile phone 5 is added in virtual bluetooth device 4, wherein the first blue-tooth device 2,
And second blue-tooth device 3 both for from blue-tooth device, virtual bluetooth device 4 and mobile phone 5 are established a two-way line second and are connected
It ties (Link2), to receive the audio data of the transmission of mobile phone 5.
Fig. 6 is a schematic diagram, to show of the invention wireless communication system of the explanation such as in Fig. 3 an embodiment from
Blue-tooth device loses package recovery process.As shown in Figure 6, mobile phone 5 transmits audio package audio packet N, middle pitch
It include two-channel CH1, the audio data of CH2 in frequency package audio packet N.
In the second microgrid of bluetooth 12 (P2), for mobile phone 5, the main blue-tooth device master of mobile phone 5 and have
Blue-tooth device address is BD_ADDR2, and virtual bluetooth device 4 is considered as one by mobile phone 5, and virtual bluetooth device 4 is to fill from bluetooth
It sets slave and the blue-tooth device address having is BD_ADDR1.
In other words, for the first blue-tooth device 2 of virtual bluetooth device 4 and the second blue-tooth device 3, mobile phone 5 is equal
Both first blue-tooth device 2 and second blue-tooth device 3 are considered as from blue-tooth device and the blue-tooth device address that has is phase
Same blue-tooth device address BD_ADDR1.
Since mobile phone 5 (main blue-tooth device master and the blue-tooth device address having be BD_ADDR2) is by virtual bluetooth
Device 4 (the first blue-tooth device 2 and the second blue-tooth device 3), which is considered as one, (has blue-tooth device position from blue-tooth device slave
Location BD_ADDR1), it is event, in the second microgrid of bluetooth 12 (P2), to be obtained from the first blue-tooth device 2 of blue-tooth device slave
The audio data that mobile phone 5 is transmitted, and to obtain the audio that mobile phone 5 is transmitted from the second blue-tooth device 3 of blue-tooth device slave
Data.
And when the second blue-tooth device 3 loses the audio package audio packet N of the audio data of sound channel CH1, also
It is the audio package audio to lose the sound channel CH1 that mobile phone 5 is transmitted from the second blue-tooth device 3 of blue-tooth device slave
When packet N (SNK-2lost packet N), the second blue-tooth device 3 need not resend audio package audio to the proposition of mobile phone 5
The request of packet N;On the contrary, being only to be needed from the second blue-tooth device 3 of blue-tooth device in the first microgrid of bluetooth 11 (P1)
Via the first connection (Link1) to the first blue-tooth device 2 hair in the first microgrid of bluetooth 11 (P1) being main blue-tooth device
Request packet N (request packet N (audio packet N)) out.
It is the first blue-tooth device 2 of main blue-tooth device in the first microgrid of bluetooth 11 (P1) in receiving request packet
After N, the first blue-tooth device 2 sends the audio package audio packet N ' of sound channel CH1 to via the first connection (Link1)
Second blue-tooth device 3, here, since the audio package audio packet N ' of sound channel CH1 is the first blue-tooth device 2 in its number
The data of the audio package audio packet N of the CH1 stored according to buffer area, thus, sound needed for the second blue-tooth device 3
The audio package audio packet N of road CH1 is audio package audio packet N '.
In other words, in the first microgrid of bluetooth 11 (P1), link for the first blue-tooth device 2 of main blue-tooth device via first
(Link1) transmission audio package audio packet N ' gives as from the second blue-tooth device 3 of blue-tooth device, sound intermediate frequency package
Audio packet N ' can only be included as the monaural audio data CH1 needed from the second blue-tooth device 3 of blue-tooth device,
Or including two-channel CH1, the audio data of CH2 is held depending on actual demand situation.
In summary embodiment, a kind of our available wireless communication systems of the invention and its method, are applications
In Bluetooth wireless communication environment, when using wireless communication system of the invention to carry out wireless communication method flow, firstly, into
Row forms the first microgrid of bluetooth (piconet 1) and establishes the movement of the first connection (Link 1), and the first of wireless communication system
Between blue-tooth device and more than one second blue-tooth device, after mutually matching formed the first microgrid of bluetooth (piconet1),
And the first connection (Link 1) is established, and the first blue-tooth device of wireless communication system and more than one second bluetooth dress
It sets and is externally formed into a virtual bluetooth device;Then, it carries out forming the second microgrid of bluetooth (piconet 2) and establishes second
The movement for linking (Link 2) forms the second microgrid of bluetooth (piconet 2) and establishes the between virtual bluetooth device and mobile phone
Two connections (Link 2), the first blue-tooth device of wireless communication system and more than one second blue-tooth device, will use phase
With blue-tooth device address BD_ADDR (Bluetooth Device Address) and the second microgrid of bluetooth of mobile phone is added
(piconet2);In turn, audio data transmission, music movement are carried out, the virtual bluetooth device in the first microgrid of bluetooth
The main blue-tooth device of main control end (master) will establish Bluetooth audio frequency transfer protocol with mobile phone by the second microgrid of bluetooth
A2DP line simultaneously receives Bluetooth audio frequency transfer protocol A2DP audio data, and the virtual bluetooth device in the first microgrid of bluetooth
The slave blue-tooth device of at least more than one of controlled terminal (slave), because using identical blue-tooth device address with main blue-tooth device
BD_ADDR, thus, it can also receive and be identical to the received Bluetooth audio frequency transmission A2DP audio data of main blue-tooth device institute, thus
The slave blue-tooth device for reaching main blue-tooth device and at least more than one can play music simultaneously, in addition, in the first microgrid of bluetooth
The packet data lost in receive process of the slave blue-tooth device of at least more than one, main blue-tooth device can be required to give
Resending and not being is resend by mobile phone.Wireless communication system and its method of the invention includes following advantages:
1. carrying out forming the first microgrid of bluetooth (piconet 1) and establishing the movement of the first connection (Link 1), channel radio
It is micro- that bluetooth first is formed between first blue-tooth device of letter system and more than one second blue-tooth device, after mutually matching
Net (piconet1) simultaneously establishes the first connection (Link 1), and wireless communication system is externally formed into a virtual bluetooth device;
Then, it carries out forming the second microgrid of bluetooth (piconet 2) and establishes the movement of the second connection (Link 2), virtual bluetooth dress
It sets and forms the second microgrid of bluetooth (piconet 2) between a mobile phone and establish the second connection (Link 2), wireless communication system
The first blue-tooth device and more than one second blue-tooth device, identical blue-tooth device address BD_ADDR will be used
(Bluetooth Device Address) and the second microgrid of bluetooth (piconet2) that mobile phone is added;In turn, audio number is carried out
According to transmission, music movement, one of the first blue-tooth device and more than one second blue-tooth device are main control end
(master) main blue-tooth device simultaneously establishes Bluetooth audio frequency transfer protocol A2DP line with mobile phone and plays music, and the first bluetooth
Device and more than one second blue-tooth device wherein fill for the slave bluetooth of at least more than one of controlled terminal (slave)
It sets because using identical blue-tooth device address BD_ADDR, identical Bluetooth audio frequency transfer protocol A2DP audio number can also be received
According to, thus reach main blue-tooth device and the slave blue-tooth device of at least more than one and play music simultaneously, in addition, at least one
The packet data lost in above slave blue-tooth device receive process can require main blue-tooth device to be resend.
2. when audio data is sent to wireless communication system of the invention from mobile phone to carry out wireless communication method, greatly
Partial audio data is all that the first blue-tooth device of wireless communication system and more than one is transmitted directly to by mobile phone terminal
Second blue-tooth device, and waste bandwidth can be reduced;In addition, because the limited bandwidth of bluetooth can be efficiently used, using identical
The audio data of higher quality can be transmitted under bandwidth than traditional approach.
3. the main blue-tooth device of main control end does not need biggish buffer area, thus, the delay time of broadcasting can be reduced;In addition,
Main blue-tooth device uses the Bluetooth audio frequency transfer protocol A2DP of standard with mobile phone terminal line, and mobile phone terminal need not make any modification,
Also without consistency problem.
4. the more than one audio data omitted from blue-tooth device of controlled terminal can be filled to the main bluetooth of main control end
Set request, and the main blue-tooth device of main control end can only transmission monaural audio data to controlled terminal this is more than one from indigo plant
Tooth device, to save bluetooth bandwidth, in other words, the main blue-tooth device of main control end can support multiple from blue-tooth device and effective
Utilize the limited bandwidth of bluetooth of the main blue-tooth device and mobile phone terminal of main control end.
5. be main control end main blue-tooth device be controlled terminal the more than one bluetooth between blue-tooth device
Device principal and subordinate role can switch at any time, such as timing is in turn, or according to music or call different function switching;In other words, Yu Ben
In the wireless communication system of invention, any main blue-tooth device for main control end therein of more than one second blue-tooth device
When, then the first blue-tooth device is then in the slave blue-tooth device and more than one second blue-tooth device of controlled terminal in addition to this
Other second blue-tooth devices except any can also be the slave blue-tooth device of controlled terminal, also that is, principal and subordinate role according to connection state and
Surely it is not limited to specific device.
The foregoing is only a preferred embodiment of the present invention, the range being not intended to limit the invention;It is all it is other not
It is detached from the equivalent change or modification completed under design disclosed in this invention, should be included in following claims.
Claims (10)
1. a kind of wireless communications method is to be applied in Bluetooth wireless communication environment, includes following procedure:
It carries out forming the first microgrid of bluetooth and establishes the movement of the first connection;The main bluetooth of the main control end of one virtual bluetooth device
Device and the more than one of controlled terminal form first microgrid of bluetooth and are established after mutually matching between blue-tooth device
First connection;
It carries out forming the second microgrid of bluetooth and establishes the movement of the second connection;Between the virtual bluetooth device and a blue-tooth device
It forms second microgrid of bluetooth and establishes second connection, wherein the main bluetooth dress of the main control end of the virtual bluetooth device
It sets and more than one the blue-tooth device is added using identical blue-tooth device address from blue-tooth device in this of the controlled terminal
Second microgrid of bluetooth simultaneously establishes second connection;And
Carry out audio data transmission, music movement;The main control end of the virtual bluetooth device in first microgrid of bluetooth
The main blue-tooth device, Bluetooth audio frequency will be established with the blue-tooth device of second microgrid of bluetooth by second microgrid of bluetooth
Transfer protocol A2DP line and the audio data for receiving Bluetooth audio frequency transfer protocol A2DP, in first microgrid of bluetooth should
The slave blue-tooth device of at least more than one of the controlled terminal of virtual bluetooth device, because in first microgrid of bluetooth this is virtual
The main blue-tooth device of the main control end of blue-tooth device uses the identical blue-tooth device address, and receives and be identical to the bluetooth the
The received Bluetooth audio frequency transfer protocol of main blue-tooth device institute of the main control end of the virtual bluetooth device in one microgrid
The audio data of A2DP, the main blue-tooth device of the virtual bluetooth device in first microgrid of bluetooth and this at least one
A above slave blue-tooth device can play music simultaneously.
2. wireless communications method as described in claim 1, wherein in first microgrid of bluetooth this at least more than one
The packet data lost in receive process from blue-tooth device will require the main blue-tooth device in first microgrid of bluetooth to give
Not being to resend is resend by the blue-tooth device in second microgrid of bluetooth.
3. wireless communications method as claimed in claim 1 or 2, wherein the virtual bluetooth device is a wireless communication system, should
Wireless communication system includes one first blue-tooth device and more than one second blue-tooth device, the main bluetooth of the main control end
Device is first blue-tooth device, the controlled terminal this it is more than one from blue-tooth device be more than one second bluetooth dress
It sets.
4. wireless communications method as claimed in claim 1 or 2, wherein the virtual bluetooth device is a wireless communication system, should
Wireless communication system includes one first blue-tooth device and more than one second blue-tooth device, more than one second indigo plant
Any main blue-tooth device for the main control end therein of tooth device, first blue-tooth device are the controlled terminal one from bluetooth
Other second blue-tooth devices other than this is any in device and more than one second blue-tooth device are the controlled terminal
Slave blue-tooth device.
5. wireless communications method as claimed in claim 1 or 2, wherein the virtual bluetooth device is a wireless communication system, should
Wireless communication system include one first blue-tooth device and more than one second blue-tooth device, first blue-tooth device and
More than one second blue-tooth device is earphone.
6. a kind of wireless communication system is to be applied in Bluetooth wireless communication environment, includes:
One first blue-tooth device;And
More than one second blue-tooth device;
Wherein, between first blue-tooth device and more than one second blue-tooth device, bluetooth the is formed after mutually matching
One microgrid simultaneously establishes the first connection, which is externally formed as a virtual bluetooth device;
Wherein, first blue-tooth device of the virtual bluetooth device in first microgrid of bluetooth and this more than one
One of two blue-tooth devices are the main blue-tooth device of main control end, and first blue-tooth device in first microgrid of bluetooth,
And other other of one of them in addition to this of more than one second blue-tooth device are then the more than one of controlled terminal
From blue-tooth device;
Wherein, the second microgrid of bluetooth is formed between the virtual bluetooth device and a blue-tooth device and establishes the second connection, this is virtual
This of the main blue-tooth device of the main control end of blue-tooth device and the controlled terminal be more than one used from blue-tooth device it is identical
Blue-tooth device address second microgrid of bluetooth of the blue-tooth device is added and establish this second connection;And
Wherein, main blue-tooth device of the main control end of the virtual bluetooth device in first microgrid of bluetooth, will pass through the indigo plant
The second microgrid of tooth establishes Bluetooth audio frequency transfer protocol A2DP line with the blue-tooth device of second microgrid of bluetooth and receives this
The audio data of Bluetooth audio frequency transfer protocol A2DP, the controlled terminal of the virtual bluetooth device in first microgrid of bluetooth is extremely
It is few more than one from blue-tooth device, because of the main indigo plant of the main control end with the virtual bluetooth device in first microgrid of bluetooth
Tooth device uses the identical blue-tooth device address, and receives the virtual bluetooth device being identical in first microgrid of bluetooth
The audio data of the Bluetooth audio frequency transfer protocol A2DP of the main control end, the virtual bluetooth device in first microgrid of bluetooth
The main blue-tooth device and this at least more than one slave blue-tooth device can play music simultaneously.
7. wireless communication system as claimed in claim 6, wherein in first microgrid of bluetooth this at least more than one
The packet data lost in receive process from blue-tooth device will require the main blue-tooth device in first microgrid of bluetooth to give
Not being to resend is resend by the blue-tooth device in second microgrid of bluetooth.
8. wireless communication system as claimed in claims 6 or 7, wherein the main blue-tooth device of the main control end is first indigo plant
Tooth device, the controlled terminal this it is more than one from blue-tooth device be more than one second blue-tooth device.
9. wireless communication system as claimed in claims 6 or 7, wherein more than one second blue-tooth device it is therein
Any main blue-tooth device for the main control end, first blue-tooth device are the controlled terminal one from blue-tooth device and this
Other second blue-tooth devices other than this is any in the second above blue-tooth device are the slave blue-tooth device of the controlled terminal.
10. wireless communication system as claimed in claims 6 or 7, wherein first blue-tooth device and this is more than one
Second blue-tooth device is earphone.
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 true CN110166988A (en) | 2019-08-23 |
CN110166988B 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) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111669741A (en) * | 2020-06-17 | 2020-09-15 | 深圳市欧思数码科技有限公司 | Signal sharing connection method based on Bluetooth communication |
WO2021208358A1 (en) * | 2020-04-17 | 2021-10-21 | 炬力(珠海)微电子有限公司 | Data transmission method between tws bluetooth devices and tws bluetooth device therefor |
CN115175159A (en) * | 2022-09-06 | 2022-10-11 | 荣耀终端有限公司 | Bluetooth headset playing method and equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020115426A1 (en) * | 2001-01-30 | 2002-08-22 | Erlend Olson | Wireless device authentication at mutual reduced transmit power |
CN103270707A (en) * | 2010-09-07 | 2013-08-28 | Bc卡有限公司 | Method and system for bluetooth communication |
US20140329468A1 (en) * | 2010-09-02 | 2014-11-06 | Apple Inc. | Un-tethered wireless audio system |
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 |
-
2018
- 2018-02-13 CN CN201810150436.7A patent/CN110166988B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020115426A1 (en) * | 2001-01-30 | 2002-08-22 | Erlend Olson | Wireless device authentication at mutual reduced transmit power |
US20140329468A1 (en) * | 2010-09-02 | 2014-11-06 | Apple Inc. | Un-tethered wireless audio system |
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 |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021208358A1 (en) * | 2020-04-17 | 2021-10-21 | 炬力(珠海)微电子有限公司 | Data transmission method between tws bluetooth devices and tws bluetooth device therefor |
CN111669741A (en) * | 2020-06-17 | 2020-09-15 | 深圳市欧思数码科技有限公司 | Signal sharing connection method based on Bluetooth communication |
CN115175159A (en) * | 2022-09-06 | 2022-10-11 | 荣耀终端有限公司 | Bluetooth headset playing method and equipment |
CN115175159B (en) * | 2022-09-06 | 2023-01-13 | 荣耀终端有限公司 | Bluetooth headset playing method and equipment |
Also Published As
Publication number | Publication date |
---|---|
CN110166988B (en) | 2022-03-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113348675B (en) | Fast role switching between bluetooth Truly Wireless Stereo (TWS) earbud headphones | |
CN107018484B (en) | Bluetooth communication method, its device, Bluetooth system and bluetooth equipment | |
CN110995326B (en) | Communication method of wireless earphone, wireless earphone and wireless earplug | |
CN108600892B (en) | Upgrading method and device, wireless headset, TWS headset and charging box | |
WO2019024719A1 (en) | Walkie-talkie device, electronic apparatus, walkie-talkie information transmission method, and information transmission method | |
CN111436043B (en) | Communication method, device, equipment and system of dual-wireless Bluetooth communication network | |
CN112437369B (en) | Audio data transmission method and system, TWS earphone pair, chip and medium | |
CN113348685B (en) | Method and device for establishing Bluetooth data channel | |
CN103733661A (en) | Methods and apparatuses for providing profile information in a bluetooth communication system | |
JP2023546303A (en) | Inter-device communication method and system used in wireless communication system | |
CN101658065A (en) | Configurable equipment and method | |
CN110234045A (en) | To be wirelessly connected the bluetooth headset of ears | |
CN110166988A (en) | A kind of wireless communication system and its method | |
WO2022110168A1 (en) | Communication configuration method and communication apparatus | |
WO2021208359A1 (en) | Tws bluetooth apparatus, primary apparatus and secondary apparatus thereof, and method of transmitting data between apparatuses | |
CN110830973B (en) | Method for transmitting audio information by using wireless earphone | |
EP2667597B1 (en) | Video communication method and terminal | |
CN106028468A (en) | Multi-data channel transmission mobile terminal and method | |
US20220353616A1 (en) | Method, device, and computer program for controlling and managing state of peripheral device in wireless communication system, and recording medium therefor | |
CN111901729A (en) | TWS earphone communication method and system and TWS earphone | |
CN103166935A (en) | Method and device for realizing near field communication | |
KR20220097397A (en) | Encryption key setting method, device, computer program and recording medium thereof in wireless communication system | |
CN109874179B (en) | Communication system, main controller, wireless processing unit and forwarding method | |
TWI789236B (en) | Bluetooth communication system be capable of avoiding voice interruption, and related bluetooth device set | |
US20220256314A1 (en) | Method, apparatus and computer program for broadcast discovery service in wireless communication system, and recording medium therefor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |