CN113271641A - Method for reducing packet loss rate based on Bluetooth scattering network communication - Google Patents

Method for reducing packet loss rate based on Bluetooth scattering network communication Download PDF

Info

Publication number
CN113271641A
CN113271641A CN202110538408.4A CN202110538408A CN113271641A CN 113271641 A CN113271641 A CN 113271641A CN 202110538408 A CN202110538408 A CN 202110538408A CN 113271641 A CN113271641 A CN 113271641A
Authority
CN
China
Prior art keywords
bluetooth
data packet
data
bluetooth device
data source
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110538408.4A
Other languages
Chinese (zh)
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.)
Nanjing University
Original Assignee
Nanjing University
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 Nanjing University filed Critical Nanjing University
Priority to CN202110538408.4A priority Critical patent/CN113271641A/en
Publication of CN113271641A publication Critical patent/CN113271641A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data
    • H04W36/305Handover due to radio link failure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0061Error detection codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/1607Details of the supervisory signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1812Hybrid protocols; Hybrid automatic repeat request [HARQ]
    • H04L1/1816Hybrid protocols; Hybrid automatic repeat request [HARQ] with retransmission of the same, encoded, message
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/15Setup of multiple wireless link connections
    • 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
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • H04W84/20Master-slave selection or change arrangements

Landscapes

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

Abstract

The invention discloses a method for reducing packet loss rate based on Bluetooth scattering network communication, wherein a Bluetooth scattering network comprises data source equipment, first Bluetooth equipment and second Bluetooth equipment; the data source equipment communicates with the first Bluetooth link between the first Bluetooth equipment, the second Bluetooth equipment receives the data packet transmitted by the first Bluetooth link in an interception mode, and when the second Bluetooth equipment fails to intercept the data packet, the first Bluetooth equipment forces the data source equipment to enter a data receiving state in a mode of sending a messenger data packet so as to stop occupying a channel; and then the first Bluetooth device retransmits the data packet to the second Bluetooth device through a second Bluetooth link between the first Bluetooth device and the second Bluetooth device. The invention introduces a method for retransmitting the data packet from the main receiving device to the auxiliary receiving device aiming at a scatternet scene formed by one transmitting device and two receiving devices, provides a confirmation mechanism for the second Bluetooth device and prevents the data packet from being damaged.

Description

Method for reducing packet loss rate based on Bluetooth scattering network communication
Technical Field
The invention relates to the technical field of Bluetooth wireless communication, in particular to a method for reducing packet loss rate based on Bluetooth scatter network communication.
Background
Bluetooth is an open standard for wireless data and voice communication, enabling short-range data exchange between fixed devices, mobile devices and building personal area networks. The network topology mode of bluetooth is divided into two types: a piconet and a scatternet constituted by a piconet, for example, in a scenario where there are one transmitting device and two receiving devices (divided into a master receiving device and a slave receiving device) for communication, the transmitting device and the master receiving device constitute one piconet, while the master receiving device and the slave receiving device constitute another piconet in which the master receiving device is the transmitting device and the slave receiving device is the receiving device. The three devices together form a scattering net.
In the scatternet, a popular data transmission scheme is that a sending device sends a data packet to a main receiving device first, and then the main receiving device forwards the data packet to a slave receiving device.
According to the bluetooth specification, a bluetooth network is provided with a clock by a Master device, frequency hopping communication is carried out by adopting a frequency of 1600 hops per second, the concept of a time Slot (Slot) is defined in the bluetooth specification, one time Slot is 625us, the bluetooth time Slot comprises a Master-Slave (Master-Slave) time Slot and a Slave-Master (Slave-Master) time Slot which are alternately appeared, data transmission in the bluetooth network is always initiated by the Master device to transmit data to the Slave device in the Master-Slave time Slot, and data transmission from the Slave device to the Master device is ended in the Slave-Master device. In the ACL (Asynchronous connection loss) type of bluetooth, after the master device sends data to the slave device, in the following slave-master time slot, the slave device sends ACK or NACK to the master device, if the master device receives ACK, it means that the last packet is decoded correctly by the slave device, and if the master device receives NACK, it means that the last packet is not decoded correctly by the slave device, and the next time slot will resend the packet in the last time slot, which is called a retransmission mechanism with acknowledgement.
Another solution of the above bluetooth headset is that the slave receiving device obtains the data packet sent by the sending device to the master receiving device by means of interception, so that the slave receiving device can receive data synchronously.
In the above-mentioned working mode, after the transmitting device finishes transmitting data, it waits for the ACK or NACK data packet transmitted by the primary receiving device in the next time slot to determine whether the primary receiving device receives the data, and whether the secondary receiving device receives the data, there is no way to confirm, from the perspective of the transmitting device, it is always communicating with the primary receiving device, the secondary receiving device is "transparent", it can only receive the data transmitted by the primary receiving device correctly, from the perspective of the bluetooth specification, the second bluetooth device has no possibility to transmit confirmation to the primary device. The disadvantage of this solution is that if a packet loss occurs in the slave receiving device, the transmitting device does not retransmit the data packet to the slave receiving device, and therefore it is desirable that the slave receiving device does not receive the data packet and also transmits a NACK acknowledgement error data packet to the master receiving device, and reissues the data packet through an additional link.
Disclosure of Invention
The purpose of the invention is as follows: aiming at the problems mentioned in the background technology, the invention provides a method for reducing the packet loss rate based on the communication of a Bluetooth scattering network, aiming at a scattering network scene formed by a sending device and two receiving devices, a method for retransmitting a data packet from a main receiving device to a slave receiving device is introduced, the problem that the slave receiving device cannot receive a retransmitted data packet is effectively solved, and the reliability of data transmission is improved.
The technical scheme is as follows: in order to achieve the purpose, the invention adopts the technical scheme that:
a method for reducing packet loss rate based on Bluetooth scatternet communication, the Bluetooth scatternet comprises a data source device, a first Bluetooth device and a second Bluetooth device; the first Bluetooth device communicates with the data source device through a first Bluetooth link and receives a data packet sent by the data source device; the second Bluetooth device receives a data packet sent to the first Bluetooth device by the data source device in a mode of intercepting the first Bluetooth link; the first Bluetooth device and the second Bluetooth device establish communication connection through a second Bluetooth link;
when the first Bluetooth equipment fails to receive the data packet sent by the data source equipment, sending a receiving failure signal to the data source equipment, and resending the data packet by the data source equipment; at the moment, when the second Bluetooth device successfully monitors the data packet sent by the data source device, the second Bluetooth device does not monitor the retransmitted data packet any more; when the data packet sent by the second Bluetooth device intercepting data source device is damaged, the second Bluetooth device continues to intercept the retransmitted data packet;
when the first Bluetooth equipment successfully receives the data packet sent by the data source equipment, sending a messenger data packet to the data source equipment, enabling the data source equipment to enter a receiving state, stopping occupying a channel, and switching the first Bluetooth equipment to a second Bluetooth link after sending the messenger data packet for communicating with the second Bluetooth equipment; after acquiring a messenger data packet sent by the first Bluetooth device by monitoring, the second Bluetooth device switches to a second Bluetooth link; the first Bluetooth device sends a POLL packet to the second Bluetooth device to inquire whether the second Bluetooth device is online or not, and the second Bluetooth device sends receiving confirmation information or receiving error information to the first Bluetooth device; when the second Bluetooth equipment sends and receives error information, the first Bluetooth equipment sends a data packet which is received by the data source equipment to the second Bluetooth equipment; when the second Bluetooth device sends the receiving confirmation information, the first Bluetooth device does not send the data packet any more, switches to the first Bluetooth link, receives the next data packet from the data source device in the next time slot, and simultaneously the second Bluetooth device restarts to listen to the next data packet on the first Bluetooth link.
Further, when the first bluetooth device sends a messenger data packet to a data source device, first sending a data packet header, wherein the data type indicated by the data packet header comprises any one of DH5, 2DH5 and 3DH 5; after the first Bluetooth device finishes sending the data packet header, stopping sending the rest messenger data packets, switching to a second Bluetooth link, and communicating with a second Bluetooth device; after receiving the data packet header, the data source device maintains a data receiving state in 5 consecutive time slots in the future from the received time slot.
Further, the first bluetooth device sends the data packet received by the data source device to the second bluetooth device, and when the second bluetooth device fails to receive the data packet sent by the first bluetooth device within 5 time slots, the first bluetooth device switches to the first bluetooth link, resends the messenger data packet to the data source device, and prolongs the time that the data source device stays in the receiving state passively.
Further, the second bluetooth device receives parameter information of the first bluetooth link sent by the first bluetooth device, including but not limited to a link key, a frequency hopping sequence, a synchronization phase, and a data source device address, so that the second bluetooth device can receive a data packet sent by the data source device on the first bluetooth link to the first bluetooth device.
Has the advantages that:
the invention provides a method for reducing packet loss rate based on Bluetooth scatter network communication, which introduces a method for retransmitting a data packet from a main receiving device to a slave receiving device aiming at a scatter network scene formed by a transmitting device and two receiving devices, provides a confirmation mechanism for a second Bluetooth device, and prevents the data packet from being damaged. The invention effectively solves the problem that the retransmission data packet can not be received from the receiving equipment, and improves the reliability of data transmission.
Drawings
FIG. 1 is a topology diagram of a Bluetooth scatternet provided by the present invention;
fig. 2 is a flowchart of a method for reducing packet loss rate according to the present invention;
fig. 3 is a schematic diagram of a communication process in which a first bluetooth device receives a correct data packet and a second bluetooth device does not receive the correct data packet according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a communication process in which both the first bluetooth device and the second bluetooth device receive correct data packets according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a communication process in which neither the first bluetooth device nor the second bluetooth device receives a data packet according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a communication process in which a first bluetooth device fails to receive a data packet and a second bluetooth device succeeds in receiving the data packet according to an embodiment of the present invention.
Detailed Description
The technical solution of the present invention will be further described in detail with reference to specific embodiments. It should be noted that, in order to make the technical solutions and advantages in the embodiments of the present application more clearly understood, the embodiments described below in conjunction with the drawings are only a part of the embodiments of the present application, and are not exhaustive of all the embodiments. The embodiments and features of the embodiments in the present application may be combined with each other without conflict.
The present invention provides a method for reducing packet loss rate in bluetooth scatternet communication, as shown in fig. 1, which is a bluetooth network complementary graph applied in the present invention, and includes a first bluetooth device 100, a second bluetooth device 200 and a data source device 300, in this bluetooth network, the first bluetooth device 100 and the data source device 300 communicate through a first bluetooth link, and the second bluetooth device 200 and the first bluetooth device 100 communicate through a second bluetooth link. The second bluetooth device obtains the parameters necessary for intercepting the first bluetooth link through the second bluetooth link, including but not limited to the channel access code, the clock information, the frequency hopping sequence, and the like, and after receiving the parameters of the first bluetooth link, the second bluetooth device 200 adopts the mode of intercepting the first bluetooth link, and receives the data packet on the first bluetooth link synchronously with the first bluetooth device 100. The first Bluetooth link and the second Bluetooth link form a scatternet.
The method for reducing the packet loss rate based on the bluetooth scatternet communication provided by the present invention is described in detail below with reference to fig. 1 to 6.
As shown in fig. 1, a first bluetooth communication link, such as an asynchronous connectionless data link ACL, is established between a data source device and a first bluetooth device, at this time, a role of the data source device in the first bluetooth communication link is Master, a role of the first bluetooth device is Slave, and at the same time, the first bluetooth device sends channel state information (clock information, frequency hopping sequence diagram, channel key) of the first bluetooth link to a second bluetooth device through a second bluetooth communication link between the first bluetooth device and the second bluetooth device, and the second bluetooth device may obtain a bidirectional communication data packet on the first bluetooth communication link in an interception manner through the information, and in the second bluetooth communication link, the role of the first bluetooth device is Master, the role of the second bluetooth device is Slave, and the second bluetooth device does not exist from the perspective of the data source device.
Fig. 3-6 illustrate the specific operations taken by the first bluetooth device and the second bluetooth device, respectively, in different information receiving states.
Fig. 3 shows the case where the first bluetooth device successfully receives the data packet but the second bluetooth device fails to receive the data packet. The method comprises the following specific steps:
step a1, when data transmission starts, the data source device is in a sending state, the first bluetooth device is in a receiving state, the second bluetooth device listens to the data packet sent by the data source device, which is represented by stage S1 in fig. 3, stage S1 occupies 3-5 slots, and the specific occupied slot length is determined by the type of the data packet sent by the data source device.
Step A2, the first Bluetooth device receives the data packet sent by the data source device in the stage S2, determines the integrity of the data packet after CRC, and sends ACK confirmation information to the data source device. The first bluetooth device transmits a messenger packet in the slave-master slot, and the data source device may enter a data receiving state by suspending transmission of the packet for a designated number of slots. The data source device does not transmit data as the master device of the first bluetooth link, and the data source device can be prevented from occupying the channel by initiating communication, as shown in stage S3 in fig. 3.
Here, when the first bluetooth device transmits a messenger packet to the data source device, a packet header is first transmitted, and the data type indicated by the packet header includes any one of DH5, 2DH5, and 3DH 5. According to the bluetooth standard, any data packet is composed of a data packet header and data packet contents, the data packet header contains information of the type, duration and the like of the data packet, and in the process of sending the data packet, the data packet header is sent first, and then the data packet contents are sent, and the data packet header contents can be unrelated to the data packet contents. After the first Bluetooth device finishes sending the data packet header, stopping sending the rest messenger data packets, switching to a second Bluetooth link, and communicating with a second Bluetooth device; after receiving the data packet header, the data source device maintains a data receiving state in 5 consecutive time slots in the future from the received time slot.
Step A3, the first Bluetooth device switches to the second Bluetooth link in the next stage S4, the second Bluetooth device also switches to the second Bluetooth link after receiving the masquerading data packet, and synchronizes with the second Bluetooth device again by using the SYNC packet.
Step a4, the first bluetooth device sends POLL packet to the second bluetooth device to inquire whether the second bluetooth device hears the data packet of the first bluetooth link, as shown in stage S5 in fig. 3.
Step a5, the second bluetooth device checks the data packet sent by the previous data source device, finds that the data packet is incomplete, and sends NACK to the first bluetooth device through the second bluetooth link, which represents that the data packet is damaged and needs to be retransmitted, as shown in stage S6 in fig. 4.
Step a6, if the first bluetooth device receives NACK sent by the second bluetooth device, the first bluetooth device sends the last received data packet to the second bluetooth device through the second bluetooth link, and waits for the second bluetooth device to send ACK. This ACK indicates that the second bluetooth device successfully receives the data packet sent by the first bluetooth device, as shown in stage S7 in fig. 3.
Step a7, the second bluetooth device checks the data packet sent by the first bluetooth device, receives the data packet successfully, and sends an ACK to the first bluetooth device through the second bluetooth link to indicate that the data packet is complete, and the reception is successful, as shown in the S8 stage in fig. 3.
Step A8, the first bluetooth device switches to the first bluetooth link after receiving the ACK sent by the second bluetooth device, and the second bluetooth device enters a state of listening to the first bluetooth link, as shown in S9 and the following states in fig. 3.
As shown in fig. 4, the specific steps that the first bluetooth device and the second bluetooth device both receive the correct data packet are as follows:
and B1 and S1 phases, wherein data transmission is started, the data source device is in a transmitting state, the first Bluetooth device is in a receiving state, and the second Bluetooth device listens for a data packet transmitted by the data source device. The stage S1 occupies three to five time slots, and the specific occupied time slot length is determined by the type of the data packet sent by the data source device.
And step B2 and step S2, the first Bluetooth device receives the data packet sent by the data source device, determines the integrity of the data packet after CRC check, and sends ACK confirmation information to the data source device. The first bluetooth device transmits a messenger packet in the slave-master slot, causing the first data source device to suspend transmitting packets for a specified number of slots, e.g., may instruct the data source device to enter a data receiving state. As shown at stage S3. The first data source device does not send data as the main device of the first Bluetooth link, so that the data source device can be prevented from occupying a channel when initiating communication.
And step B3, the first Bluetooth device switches to the second Bluetooth link in the next stage S4, the second Bluetooth device also switches to the second Bluetooth link after receiving the disguised data packet, and the SYNC packet is used for synchronizing with the second Bluetooth device again.
In the stages of steps B4 and S5, the first bluetooth device sends a POLL packet to the second bluetooth device to inquire whether the second bluetooth device senses the data packet of the first bluetooth link.
And step B5 and step S6, the second Bluetooth device checks the data packet sent by the previous data source device, confirms that the data packet is complete, and sends ACK to the first Bluetooth device, and the first Bluetooth device receives the ACK sent by the second Bluetooth device and confirms that retransmission is not needed.
Step B6, the first bluetooth device switches to the first bluetooth link, and the second bluetooth device enters a state of listening to the first bluetooth link, as shown in S7 and the following stages of fig. 4.
Fig. 5 shows a communication process in which neither the first bluetooth device nor the second bluetooth device receives a data packet.
And C1 and S1, the data transmission is started, the data source device is in a transmitting state, the first Bluetooth device is in a receiving state, and the second Bluetooth device listens to the data packet transmitted by the data source device. The stage S1 occupies three to five time slots, and the specific occupied time slot length is determined by the type of the data packet sent by the data source device.
And C2 and S2, the first Bluetooth device receives the data packet sent by the data source device, determines that the data packet is incomplete or has errors after CRC check, and sends NACK confirmation information to the data source device.
And C3 and S3, the data source device sends the data packet to the first Bluetooth device again.
Step C4, the first bluetooth device receives the data packet sent by the data source device, determines that the data packet is complete after CRC check, and sends ACK acknowledgement information to the data source device, as shown in stage S4 in fig. 5.
In steps C5 and S5, the first bluetooth device transmits a messenger packet in the slave-master slot, so that the first data source device suspends transmitting packets in a specified number of slots, for example, the data source device may be instructed to enter a data receiving state. The first data source device does not send data as the main device of the first Bluetooth link, so that the data source device can be prevented from occupying a channel when initiating communication.
And C6 and S6, the first Bluetooth device switches to the second Bluetooth link, the second Bluetooth device also switches to the second Bluetooth link after receiving the disguised data packet, and the SYNC packet is used for synchronizing with the second Bluetooth device again.
In the stages C7 and S7, the first bluetooth device sends a POLL packet to the second bluetooth device to inquire whether the second bluetooth device senses the data packet of the first bluetooth link.
And C8 and S8, the second Bluetooth device checks the data packet sent by the data source device before, finds that the data packet is incomplete, and sends NACK (negative acknowledgement) to the first Bluetooth device through the second Bluetooth link to represent that the data packet is damaged and needs to be retransmitted.
And step C9 and S9, if the first Bluetooth device receives the NACK sent by the second Bluetooth device, the first Bluetooth device resends the last received data packet to the second Bluetooth device through the second Bluetooth link, and waits for the second Bluetooth device to send the ACK. The ACK represents that the second bluetooth device successfully receives the data packet sent by the first bluetooth device.
And C10 and S10, the second Bluetooth device checks the data packet sent by the previous data source device, confirms the integrity of the data packet and sends ACK to the first Bluetooth device.
Step C11, the first bluetooth device switches to the first bluetooth link, and the second bluetooth device enters a state of listening to the first bluetooth link, as shown in the S11 state and the following states in fig. 5.
Fig. 6 shows a case where the first bluetooth device fails to receive the data packet but the second bluetooth device succeeds in receiving the data packet. The method comprises the following specific steps:
and D1 and S1, when data transmission is started, the data source device is in a transmitting state, the first Bluetooth device is in a receiving state, and the second Bluetooth device listens to a data packet transmitted by the data source device. The stage S1 occupies three to five time slots, and the specific occupied time slot length is determined by the type of the data packet sent by the data source device.
And D2 and S2, the first Bluetooth device receives the data packet sent by the data source device, determines that the data packet is incomplete or has errors after CRC check, and sends NACK confirmation information to the data source device.
Step D3, the data source device resends the data packet to the first bluetooth device, and if the second bluetooth device successfully receives the data packet in stage S1, the data source device does not receive the data packet any more in stage S3.
And D4 and S4, the first Bluetooth device receives the data packet sent by the data source device, determines the integrity of the data packet after CRC check, and sends ACK confirmation information to the data source device.
In steps D5 and S5, the first bluetooth device transmits a messenger packet in the slave-master slot, so that the first data source device suspends transmitting packets in a specified number of slots, for example, the data source device may be instructed to enter a data receiving state. The first data source device does not send data as the main device of the first Bluetooth link, so that the data source device can be prevented from occupying a channel when initiating communication.
Step D6, the first bluetooth device switches to the second bluetooth link in the next time slot, and the second bluetooth device also switches to the second bluetooth link after receiving the masquerading data packet, and synchronizes with the second bluetooth device again using the SYNC packet, as shown in the S6 stage in fig. 6.
In the stages of steps D7 and S7, the first bluetooth device sends a POLL packet to the second bluetooth device to inquire whether the second bluetooth device senses the data packet of the first bluetooth link.
And D8 and S8, the second Bluetooth device checks the data packet sent by the previous data source device, finds that the data packet is complete, and sends ACK (acknowledgement) to the first Bluetooth device through the second Bluetooth link to represent that the data packet is complete without retransmission.
Step D9, the first bluetooth device switches to the first bluetooth link, and the second bluetooth device enters a state of listening to the first bluetooth link, as shown in S9 and the following states in fig. 6.
The present invention can be applied to a plurality of bluetooth audio devices of the same kind, and also can be applied to a plurality of different bluetooth audio devices, that is, the first bluetooth device and the second bluetooth device of the present invention are respectively a left channel and a right channel of a pair of split bluetooth headsets (as described in the above embodiments), or are respectively two independent bluetooth headsets; or, the first bluetooth device and the second bluetooth device are respectively a bluetooth headset, a bluetooth sound box, and the like, so as to implement the confirmation mechanism in the invention. In addition, the "first" and "second" in the present invention are only used for distinguishing names of different devices, data source devices, links, and the like, and have no counting meaning, and should not be considered as limiting the technical solution of the present invention. It should be noted that: it will be apparent to those skilled in the art that various modifications and adaptations can be made without departing from the principles of the invention and these are intended to be within the scope of the invention.

Claims (4)

1. A method for reducing packet loss rate based on Bluetooth scatternet communication is characterized in that the Bluetooth scatternet comprises data source equipment, first Bluetooth equipment and second Bluetooth equipment; the first Bluetooth device communicates with the data source device through a first Bluetooth link and receives a data packet sent by the data source device; the second Bluetooth device receives a data packet sent to the first Bluetooth device by the data source device in a mode of intercepting the first Bluetooth link; the first Bluetooth device and the second Bluetooth device establish communication connection through a second Bluetooth link;
when the first Bluetooth equipment fails to receive the data packet sent by the data source equipment, sending a receiving failure signal to the data source equipment, and resending the data packet by the data source equipment; at the moment, when the second Bluetooth device successfully monitors the data packet sent by the data source device, the second Bluetooth device does not monitor the retransmitted data packet any more; when the data packet sent by the second Bluetooth device intercepting data source device is damaged, the second Bluetooth device continues to intercept the retransmitted data packet;
when the first Bluetooth equipment successfully receives the data packet sent by the data source equipment, sending a messenger data packet to the data source equipment, enabling the data source equipment to enter a receiving state, stopping occupying a channel, and switching the first Bluetooth equipment to a second Bluetooth link after sending the messenger data packet for communicating with the second Bluetooth equipment; after acquiring a messenger data packet sent by the first Bluetooth device by monitoring, the second Bluetooth device switches to a second Bluetooth link; the first Bluetooth device sends a POLL packet to the second Bluetooth device to inquire whether the second Bluetooth device is online or not, and the second Bluetooth device sends receiving confirmation information or receiving error information to the first Bluetooth device; when the second Bluetooth equipment sends and receives error information, the first Bluetooth equipment sends a data packet which is received by the data source equipment to the second Bluetooth equipment; when the second Bluetooth device sends the receiving confirmation information, the first Bluetooth device does not send the data packet any more, switches to the first Bluetooth link, receives the next data packet from the data source device in the next time slot, and simultaneously the second Bluetooth device restarts to listen to the next data packet on the first Bluetooth link.
2. The method of claim 1, wherein when the first bluetooth device sends a messenger packet to a data source device, the first bluetooth device first sends a packet header, and the type of data indicated by the packet header includes any one of DH5, 2DH5, and 3DH 5; after the first Bluetooth device finishes sending the data packet header, stopping sending the rest messenger data packets, switching to a second Bluetooth link, and communicating with a second Bluetooth device; after receiving the data packet header, the data source device maintains a data receiving state in 5 consecutive time slots in the future from the received time slot.
3. The method of claim 1, wherein the first bluetooth device sends the data packet received from the data source device to the second bluetooth device, and when the second bluetooth device fails to receive the data packet sent from the first bluetooth device within 5 timeslots, the first bluetooth device switches to the first bluetooth link to resend the messenger data packet to the data source device, thereby prolonging the time that the data source device stays in the receiving state passively.
4. The method of claim 1, wherein the second bluetooth device receives parameter information of the first bluetooth link from the first bluetooth device, the parameter information including a link key, a frequency hopping sequence, a synchronization phase, and a data source device address, so that the second bluetooth device receives a data packet sent from the data source device to the first bluetooth device on the first bluetooth link.
CN202110538408.4A 2021-05-18 2021-05-18 Method for reducing packet loss rate based on Bluetooth scattering network communication Pending CN113271641A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110538408.4A CN113271641A (en) 2021-05-18 2021-05-18 Method for reducing packet loss rate based on Bluetooth scattering network communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110538408.4A CN113271641A (en) 2021-05-18 2021-05-18 Method for reducing packet loss rate based on Bluetooth scattering network communication

Publications (1)

Publication Number Publication Date
CN113271641A true CN113271641A (en) 2021-08-17

Family

ID=77231468

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110538408.4A Pending CN113271641A (en) 2021-05-18 2021-05-18 Method for reducing packet loss rate based on Bluetooth scattering network communication

Country Status (1)

Country Link
CN (1) CN113271641A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113852446A (en) * 2021-09-24 2021-12-28 上海物骐微电子有限公司 Wireless communication system and method
TWI795165B (en) * 2021-08-27 2023-03-01 達發科技股份有限公司 Method and computer program product and apparatus for receiving bluetooth packets and correcting error bits therein

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2552172A1 (en) * 2011-07-29 2013-01-30 ST-Ericsson SA Control of the transmission of a voice signal over a bluetooth® radio link
US20130070581A1 (en) * 2011-09-20 2013-03-21 Cambridge Silicon Radio Limited Controlling Data Transmission
CN103200263A (en) * 2013-04-02 2013-07-10 上海山景集成电路股份有限公司 Intelligent terminal, Bluetooth audio playing device and interactive method and interactive system for intelligent terminal and Bluetooth audio playing device
CN106571894A (en) * 2016-11-10 2017-04-19 深圳市民德电子科技股份有限公司 Bluetooth information sending and receiving methods
US20180048567A1 (en) * 2016-07-05 2018-02-15 Ologn Technologies Ag Systems, Apparatuses and Methods for Network Packet Management
CN108337074A (en) * 2018-06-22 2018-07-27 恒玄科技(上海)有限公司 The bluetooth headset wireless communications method of high reliability
CN108901004A (en) * 2018-08-08 2018-11-27 易兆微电子(杭州)有限公司 A kind of method of synchronous transfer bluetooth headset
CN109495867A (en) * 2018-11-22 2019-03-19 重庆物奇科技有限公司 The method of bluetooth equipment, system and the transmission of equipment room information
CN109495868A (en) * 2018-11-22 2019-03-19 重庆物奇科技有限公司 Network-building method and Bluetooth communication system between bluetooth equipment, bluetooth equipment
US20190104424A1 (en) * 2017-09-29 2019-04-04 Apple Inc. Ultra-low latency audio over bluetooth
CN111436044A (en) * 2019-11-06 2020-07-21 珠海市杰理科技股份有限公司 Method, device and system for processing packet loss data of dual-wireless Bluetooth communication network
CN111654845A (en) * 2020-05-12 2020-09-11 南京中感微电子有限公司 Bluetooth multi-terminal link switching method, Bluetooth audio equipment and system
CN111885553A (en) * 2020-04-24 2020-11-03 珠海市杰理科技股份有限公司 Bluetooth device communication method and related device

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2552172A1 (en) * 2011-07-29 2013-01-30 ST-Ericsson SA Control of the transmission of a voice signal over a bluetooth® radio link
US20130070581A1 (en) * 2011-09-20 2013-03-21 Cambridge Silicon Radio Limited Controlling Data Transmission
CN103200263A (en) * 2013-04-02 2013-07-10 上海山景集成电路股份有限公司 Intelligent terminal, Bluetooth audio playing device and interactive method and interactive system for intelligent terminal and Bluetooth audio playing device
US20180048567A1 (en) * 2016-07-05 2018-02-15 Ologn Technologies Ag Systems, Apparatuses and Methods for Network Packet Management
CN106571894A (en) * 2016-11-10 2017-04-19 深圳市民德电子科技股份有限公司 Bluetooth information sending and receiving methods
US20190104424A1 (en) * 2017-09-29 2019-04-04 Apple Inc. Ultra-low latency audio over bluetooth
CN108337074A (en) * 2018-06-22 2018-07-27 恒玄科技(上海)有限公司 The bluetooth headset wireless communications method of high reliability
CN108901004A (en) * 2018-08-08 2018-11-27 易兆微电子(杭州)有限公司 A kind of method of synchronous transfer bluetooth headset
CN109495867A (en) * 2018-11-22 2019-03-19 重庆物奇科技有限公司 The method of bluetooth equipment, system and the transmission of equipment room information
CN109495868A (en) * 2018-11-22 2019-03-19 重庆物奇科技有限公司 Network-building method and Bluetooth communication system between bluetooth equipment, bluetooth equipment
CN111436044A (en) * 2019-11-06 2020-07-21 珠海市杰理科技股份有限公司 Method, device and system for processing packet loss data of dual-wireless Bluetooth communication network
CN111885553A (en) * 2020-04-24 2020-11-03 珠海市杰理科技股份有限公司 Bluetooth device communication method and related device
CN111654845A (en) * 2020-05-12 2020-09-11 南京中感微电子有限公司 Bluetooth multi-terminal link switching method, Bluetooth audio equipment and system

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
JISHUN LIU; LIANFENG SHEN; XIAOXIA WANG; XIAORONG ZHU: ""Adaptive Cluster-Head Algorithm for Bluetooth Ad Hoc Networks"", 《2007 INTERNATIONAL CONFERENCE ON WIRELESS COMMUNICATIONS, NETWORKING AND MOBILE COMPUTING》 *
邓志祥; 叶芝慧; 苏红平; 沈连丰: ""蓝牙多跳Ad Hoc网络的构建与实测分析"", 《东南大学学报(自然科学版)》 *
钱志鸿; 刘丹: ""蓝牙技术数据传输综述"", 《通信学报》 *
陆苏; 沈连丰; 叶芝慧; 苏红平: ""基于无线个域网的新型语音通信系统"", 《东南大学学报(自然科学版)》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI795165B (en) * 2021-08-27 2023-03-01 達發科技股份有限公司 Method and computer program product and apparatus for receiving bluetooth packets and correcting error bits therein
CN113852446A (en) * 2021-09-24 2021-12-28 上海物骐微电子有限公司 Wireless communication system and method

Similar Documents

Publication Publication Date Title
US11533130B2 (en) Method and arrangement for retransmission using HARQ
CN109769232B (en) Wireless Bluetooth audio communication system, method and transceiver
CN109995479A (en) A kind of voice data communication method, system and audio communication device
JP2001285315A (en) Dynamic assignment of retransmission slot for high quality of radio communication link
CN110234100B (en) Wireless data transmission method, equipment and system
CN113271641A (en) Method for reducing packet loss rate based on Bluetooth scattering network communication
JP2023546303A (en) Inter-device communication method and system used in wireless communication system
EP3923608B1 (en) Data transmission method between tws bluetooth devices and tws bluetooth device therefor
CN112039637B (en) Audio data communication method, system and audio communication equipment
CN110234101B (en) Wireless transmission method, equipment and system for reliably transmitting data
CN110545151B (en) Method for synchronizing states between audio ends and sending audio data packets and audio equipment
CN111601344A (en) Wireless communication method and device
CN112218197A (en) Audio compensation method and wireless audio output device using same
CN113852446B (en) Wireless communication system and method
JP7117494B2 (en) wireless communication system
CN114827974A (en) Bandwidth optimization method of TWS system
CN114007211A (en) Multi-connection scheduling method for wireless Bluetooth audio 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210817