CN111491283A - Bluetooth data transmission method and device - Google Patents
Bluetooth data transmission method and device Download PDFInfo
- Publication number
- CN111491283A CN111491283A CN202010307193.0A CN202010307193A CN111491283A CN 111491283 A CN111491283 A CN 111491283A CN 202010307193 A CN202010307193 A CN 202010307193A CN 111491283 A CN111491283 A CN 111491283A
- Authority
- CN
- China
- Prior art keywords
- bluetooth
- packet
- time slot
- connection event
- transmission
- 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
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/04—Wireless resource allocation
- H04W72/044—Wireless resource allocation based on the type of the allocated resource
- H04W72/0446—Resources in time domain, e.g. slots or frames
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/12—Wireless traffic scheduling
- H04W72/1215—Wireless traffic scheduling for collaboration of different radio technologies
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
A Bluetooth data transmission method and device are provided, the method comprises the following steps: when a broadcast packet sent by opposite-end equipment is received, acquiring the time position of a time slot for receiving the broadcast packet in a synchronous link data packet sending period of classic Bluetooth; and adjusting the sending time slot of the low-power-consumption Bluetooth connection event according to the time position, so that the adjusted sending time slot of the low-power-consumption Bluetooth connection event is in the sending time slot which is not occupied by the synchronous link data packet of the classic Bluetooth. By adopting the method and the device, the conflict of the data transmission time slots of two working modes of the Bluetooth can be effectively avoided.
Description
Technical Field
The present invention relates to the field of bluetooth communications, and in particular, to a bluetooth data transmission method and apparatus.
Background
The bluetooth 4.0 and later protocols include Classic (Classic) bluetooth and low power (L owEnergy, L E) bluetooth, the bluetooth low energy protocol was introduced in the bluetooth 4.0 protocol, the data length in the packets is 39 bytes at the maximum, and 1Mbps (megabits per second) rate is used for transmission, the data length in the Classic bluetooth packets is 1023 bytes at the maximum, and the transmission rate can be 1Mbps, 2Mbps, and 3 Mbps.
To reduce the modifications to the classic bluetooth protocol, and to support bluetooth low energy at the same time, it is common to separate the two modes of operation. However, in practical applications, when classic bluetooth is performing synchronous link packet transmission or reception, there may be a Connection Event (CE) of bluetooth low energy, that is, there is a case where data transmission slots of two operation modes collide.
Disclosure of Invention
The embodiment of the invention solves the problem of avoiding the conflict of the data transmission time slots of the two working modes.
In order to solve the above problem, an embodiment of the present invention provides a classic bluetooth data transmission method, including:
when a broadcast packet sent by opposite-end equipment is received, acquiring the time position of a time slot for receiving the broadcast packet in a synchronous link data packet sending period of classic Bluetooth;
and adjusting the sending time slot of the low-power-consumption Bluetooth connection event according to the time position, so that the adjusted sending time slot of the low-power-consumption Bluetooth connection event is in the sending time slot which is not occupied by the synchronous link data packet of the classic Bluetooth.
Optionally, the adjusting the transmission time slot of the bluetooth low energy connection event includes: and adjusting a transmission window offset parameter before a sending time slot of the low-power Bluetooth connection event.
Optionally, the unoccupied transmission time slot of the synchronization link packet of the classic bluetooth includes: the first sending time slot is the third sending time slot in the synchronous link data packet sending period of the classic Bluetooth, and the second sending time slot is the sixth sending time slot in the synchronous link data packet sending period of the classic Bluetooth.
Optionally, the bluetooth data transmission method further includes adjusting a packet sending period of the bluetooth low energy connection event, so that the adjusted packet sending period of the bluetooth low energy connection event is equal to N × 7.5.5 ms, where N is a positive integer.
Optionally, the following formula is adopted to adjust the packet sending period of the bluetooth low energy connection event, where ConnInterval is [ (max _ interval + min _ interval)/12+1] × 6, where ConnInterval is the packet sending period of the adjusted bluetooth low energy connection event, max _ interval is the maximum packet sending period issued by the host, and min _ interval is the minimum packet sending period issued by the host.
Optionally, the obtaining a time position of a slot receiving the broadcast packet in a synchronous link data packet transmission cycle of classical bluetooth includes: and taking a module of the clock count value pair 24 corresponding to the time slot for receiving the broadcast packet, multiplying the obtained module value by a clock period, and taking the obtained product as the time position of the time slot for receiving the broadcast packet in the transmission period of the synchronous link data packet of the classic Bluetooth.
The embodiment of the invention also provides a bluetooth data transmission device, which comprises:
a receiving unit, configured to receive a broadcast packet sent by an opposite-end device;
a time position acquiring unit, configured to acquire a time position of a time slot, in a synchronous link data packet transmission cycle of classic bluetooth, where the broadcast packet is received by the receiving unit;
and the adjusting unit is used for adjusting the sending time slot of the low-power-consumption Bluetooth connection event according to the time position, so that the adjusted sending time slot of the low-power-consumption Bluetooth connection event is in the sending time slot which is not occupied by the synchronous link data packet of the classic Bluetooth.
Optionally, the adjusting unit is configured to adjust a transmission window offset parameter before a transmission timeslot of the bluetooth low energy connection event.
Optionally, the adjusting unit is further configured to adjust a packet sending period of the bluetooth low energy connection event, so that the adjusted packet sending period of the bluetooth low energy connection event is equal to N × 7.5.5 ms, where N is a positive integer.
Optionally, the adjusting unit adjusts the packet sending period of the bluetooth low energy connection event by using a formula of (ConnInterval) [ (max _ interval + min _ interval)/12+1] × 6, where ConnInterval is the packet sending period of the adjusted bluetooth low energy connection event, max _ interval is the maximum packet sending period issued by the host, and min _ interval is the minimum packet sending period issued by the host.
Optionally, the time position obtaining unit is configured to: and taking a module of the clock count value pair 24 corresponding to the time slot for receiving the broadcast packet, multiplying the obtained module value by a clock period, and taking the obtained product as the time position of the time slot for receiving the broadcast packet in the transmission period of the synchronous link data packet of the classic Bluetooth.
Compared with the prior art, the technical scheme of the embodiment of the invention has the following advantages:
according to the time position of the received broadcast packet in the synchronous link data packet sending period of the classic Bluetooth, the sending time slot of the low-power-consumption Bluetooth connection event is adjusted to be the sending time slot which is not occupied by the synchronous link data packet of the classic Bluetooth, so that the conflict between the sending time slot of the low-power-consumption Bluetooth connection event and the sending time slot of the synchronous link data packet can be effectively avoided.
Drawings
FIG. 1 is a timing diagram illustrating the operation of Bluetooth Low energy in the existing Bluetooth protocol;
fig. 2 is a flowchart of a bluetooth data transmission method in an embodiment of the present invention;
FIG. 3 is a timing diagram of a conventional Sync Link packet Transmission cycle;
fig. 4 is a schematic structural diagram of a bluetooth data transmission apparatus in an embodiment of the present invention.
Detailed Description
In the prior art, in the protocol of bluetooth 4.0 and beyond, the operation modes of the bluetooth device include both the classic bluetooth mode and the bluetooth low energy mode. To reduce the modifications to the classic bluetooth protocol, and to support bluetooth low energy at the same time, it is common to separate the two modes of operation. However, in practical applications, when classic bluetooth is performing synchronous link packet transmission or reception, there may be a Connection Event (CE) of bluetooth low energy, and there may be a conflict between data transmission slots of the two operation modes.
In the embodiment of the invention, the sending time slot of the low-power-consumption Bluetooth connection event is adjusted to the sending time slot which is not occupied by the synchronous link data packet of the classic Bluetooth according to the time position of the received broadcast packet in the synchronous link data packet sending period of the classic Bluetooth, so that the conflict between the sending time slot of the low-power-consumption Bluetooth connection event and the sending time slot of the synchronous link data packet can be effectively avoided.
In order to make the aforementioned objects, features and advantages of the embodiments of the present invention comprehensible, specific embodiments accompanied with figures are described in detail below.
Before describing the bluetooth data transmission method provided by the embodiment of the present invention, a brief description is given to an existing bluetooth low energy transmission process.
Referring to fig. 1, a timing diagram of bluetooth low energy from receiving an Advertisement (ADV) packet to transmitting a first data packet in a conventional bluetooth protocol is shown.
In the conventional bluetooth protocol, a clock cycle is 312.5 μ s, and 2 × 312.5.5 μ s is defined as one time slot, where 2 μ s is defined as 625 μ s, a local device transmits a packet to an opposite device in an even time slot, receives a packet transmitted by the opposite device in an odd time slot, and defines a transmission/reception pair as 2 × 625 μ s, 1.25ms, where TIM0 corresponds to a transmission start, a transmission start time is defined as 0 μ s, TIM2 corresponds to a reception start, and a reception start time is defined as 625 μ s.
At T0At any moment, the local terminal equipment receives an advertisement packet sent by the opposite terminal equipment; at T1And at the moment, the local terminal equipment receives the advertisement packet. After a time interval (T _ IFS) has elapsed, at T2~T3At this time, a connection request (connect _ Req) Protocol Data Unit (PDU) is transmitted to the peer device. After the connection request PDU transmission is completed, at T4~T5And sending a first data packet to the opposite terminal equipment within the moment. After an interval duration (T _ IFS) after the completion of the transmission of the first data packet, at T6~T7And receiving response data sent by the opposite terminal equipment at all times. Thereafter, the transmission operation of the packet is performed at regular intervals of a predetermined regular transmission period (ConnInterval), which is set to 1.25 ms.
T3~T4The time may be (1.25ms + transmittindowfoffset) to (1.25ms + transmittindowfoffset + transmittindowsize). TransmitWindowOffset is a transmission window offset parameter, and TransmitWindowSize is the size of a transmission window, and the TransmitWindowOffset and the TransmitWindowSize can be set according to actual requirements. For example, transmittindowoffset is set to 5ms, and transmittindowsize is set to 5 ms.
It is agreed that all transmissions are made on TIM0, therefore, T4The time is TIM0, and the timing transmission period is an integral multiple of 1.25ms, so the first data transmission time of each timing transmission period is TIM0, which can ensure the relation that the difference value between the Bluetooth clock in the classic mode transmission and the Bluetooth low energy transmission is 4 times, and ensure that the data are transmitted in the TIM0 in both the classic Bluetooth low energy mode and the Bluetooth low energy mode. That is, the transmission slots of the classic bluetooth mode and the bluetooth low energy mode are the same.
An embodiment of the present invention provides a bluetooth data transmission method, which is described in detail below with reference to fig. 2 through specific steps.
Step S201, receiving an advertisement packet sent by the peer device.
In practical application, the peer device may be a slave device, the home device may be a master device, for example, the home device is a notebook computer, and the peer device is a bluetooth mouse. When the device is in different application environments, the master device and the slave device can be freely switched.
In a specific implementation, when the local device establishes the bluetooth low energy Connection with the peer device, after the host of the local device issues a request for creating a low power consumption Connection (HCI _ L E _ Create _ Connection) to the baseband controller of the local device, the baseband controller of the local device enters an initialization (initialization) state.
If the baseband controller does not receive the advertisement packet sent by the opposite terminal device all the time, the baseband controller is in the initialization state and continuously monitors the advertisement packet until receiving a Connection creation canceling (HCI _ L E _ Create _ Connection _ Cancel) instruction issued by a host of the local terminal device, and then the baseband controller exits the initialization state.
If the baseband controller monitors that the opposite terminal equipment sends the advertisement packet, the baseband controller receives the advertisement packet sent by the opposite terminal equipment, and after the reception of the advertisement packet is completed, the baseband controller sends a PDU (protocol data Unit) containing a connection request (Connect _ Req) to the opposite terminal equipment after an interval duration (T _ IFS). In the existing protocol, one interval duration is 150 μ s.
Step S202, obtaining the time position of the time slot for receiving the advertisement packet in the synchronous link data packet sending period of the classic Bluetooth.
In a specific implementation, the time position of the time slot for receiving the advertisement packet in the synchronous link data packet transmission period of the classic bluetooth can be known according to the time slot for receiving the advertisement packet and the synchronous link data packet transmission period of the classic bluetooth.
First, referring to fig. 3, a timing chart of the transmission and reception of the three synchronous link packet formats in the existing bluetooth protocol is shown.
When the data packet format is HV3, one data packet transmission period is t for every 3 transceiving pairs0~t3For one packet transmission period, t3~t6Is one packet transmission period.
When the packet format is EV3, one packet transmission period, t, is provided for every 3 transceiving pairs, similar to when the packet format is HV30~t3For one packet transmission period, t3~t6For one data packet transmissionAnd (4) period. In each data packet transmission period, the first transceiving pair performs data packet transmission and data packet reception, and the second transceiving pair is a retransmission window. For example, when t is0~t3When the transmission period is one data packet transmission period, the first transceiving pair is t0~t1The second transmit-receive pair is t1~t2。
When the data packet format is 2-EV3, each 6 transceiving pairs is a data packet sending period, namely t0~t6Is one packet transmission period. In each data packet transmission period, the first transceiving pair (t)0~t1) Performing data packet transmission and data packet reception, and a second transceiving pair (t)1~t2) Is a retransmission window. t is t6The time is the ending time of the current data packet sending period and is also the starting time of the next data packet sending period.
The method is characterized in that the method corresponds to three synchronous link data packet formats including HV3, EV3 and 2-EV3, the data packet sending period corresponding to the HV3 format and the EV3 format is 3.75ms, and the number of clock periods corresponding to each data packet sending period is 3.75ms/312.5 mu s-12; the number of clock cycles per packet transmission cycle of the format of 2-EV3 is 7.5ms/312.5 μ s ═ 24.
In the embodiment of the present invention, when an advertisement packet (ADV) is received after an initialization mode (initialization), the current bluetooth local clock count value can be obtained, and the current bluetooth local clock count value is modulo 24 and then compared with the upper 0 xfffffffc, so that the time position of the timeslot for receiving the broadcast packet in the transmission cycle of the synchronous link data packet (SCO/eSCO) of the classic bluetooth can be obtained.
For example, if the bluetooth local clock count value corresponding to the slot of the bluetooth low energy advertisement packet (ADV) reception is 109, (109% 24) &0xFFFFFFC ═ 12, that is, the time position of the slot receiving the broadcast packet is 3.75ms to 5ms of the transmission cycle of the synchronous link data packet (SCO/eSCO).
And step S203, adjusting the sending time slot of the low-power-consumption Bluetooth connection event according to the time position.
In practical application, as can be seen from fig. 1, after receiving an advertisement packet sent by an opposite end device, a connection request PDU is sent to the opposite end device at an interval of T _ IFS, where a transmission window offset parameter (transmittindowwoffset) is carried in the PDU to inform the opposite end device when to send a first data packet.
In the embodiment of the present invention, the adjustment of the transmission time slot of the bluetooth low energy connection event may be to adjust a transmission window offset parameter (namely, transmittindowwoffset), so that the transmission time slot of the bluetooth low energy connection event after the adjustment is in a transmission time slot not occupied by a synchronous link packet of a classic bluetooth.
In the embodiment of the present invention, as can be seen from fig. 3, in the data packet sending periods of the three existing synchronous link data packet formats, there are three types of transceiving pairs that are not occupied by the data packet sending periods of the synchronous link data packet formats: transmit-receive pair (t)2~t3) And a transmitting-receiving pair (t)5~t6) Receive and transmit pair (t)2~t3) Including a third transmit time slot, a transmit-receive pair (t)5~t6) Including the sixth transmit slot.
In the embodiment of the invention, the sending time slot of the low-power-consumption Bluetooth connection event can be adjusted to be the third sending time slot of the synchronous link data packet sending period, also can be adjusted to be the sixth sending time slot, and can be set according to the situation.
For example, the bluetooth local clock count value corresponding to the time slot in which the bluetooth low energy receives the advertisement packet is 196. Mold removal was performed on 196 pairs 24 to obtain (196% 24)&0 xfffffffc is 4, 4 × 325 μ s is 1.25ms, that is, the time position of the slot receiving the advertisement packet is t1~t2. Referring to fig. 3, it can be seen that there has been a collision with the eSCO/SCO transmission/reception slot at this time.
Suppose that the first bluetooth low energy connection event transmission time is scheduled at t in fig. 32At that time, the transmission slot of the connection event of bluetooth low energy needs to be shifted back by 1.25 ms. Since the first connection event is performed between 1.25ms + transmittindowOffset to 1.25ms + transmittindowOffset + transmittindowSize after the connection request PDU transmission is completed according to the existing Bluetooth protocolTherefore, the transmission window offset parameter (transmittindowfoffset) of the connection request data unit (Connect _ Req) PDU may be set to 0.
To avoid compatibility issues, the transmission window may be offset by a parameter (transmittindowfoffset + 6). Since it has been agreed that data transmissions are all performed on TIM0, it is ensured that the first connection event is at t in FIG. 32The packet sending period of the connection event of the low-power-consumption Bluetooth is set to be integral multiple of 7.5ms, so that the subsequent connection event is inevitably mutually exclusive with the eSCO/SCO transmission period.
Suppose that the first bluetooth low energy connection event transmission time is scheduled at t in fig. 35At this time, it is sufficient that the transmission window offset parameter (transmittindowfoffset) of the connection request data unit (Connect _ Req) PDU is set to 2.
In the embodiment of the present invention, since the least common multiple of the packet transmission periods of the HV3, the EV3, and the 2-EV3 is 7.5ms, the timing transmission period (ConnInterval) of the bluetooth low energy connection event, that is, the packet transmission period of the bluetooth low energy connection event, needs to be divisible by 7.5 ms.
In an embodiment of the present invention, a packet sending period ConnInterval of the bluetooth low energy connection event is adjusted to [ (max _ interval + min _ interval)/12+1] × 6, where ConnInterval is the adjusted packet sending period of the bluetooth low energy connection event, max _ interval is a maximum packet sending period issued by the host, and min _ interval is a minimum packet sending period issued by the host.
For example, if max _ interval is 12 and min _ interval is 6, ConnInterval is 2.5 × 6 is 15, since ConnInterval is 1.25ms, the time duration corresponding to ConnInterval is 15 × 1.25.25 is 18.75 ms.
In the prior art, there are cases where a bluetooth low energy connection event collides with a classic bluetooth synchronous link packet. If the classic bluetooth synchronous link data packet is scheduled preferentially, the service corresponding to the low power consumption bluetooth connection event may be affected, resulting in service timeout. Conversely, if bluetooth low energy connection events are scheduled preferentially, the traffic of classical bluetooth may be affected, e.g. the sound quality.
In the embodiment of the invention, the sending time slot of the low-power-consumption Bluetooth connection event is adjusted to the sending time slot which is not occupied by the synchronous link data packet of the classic Bluetooth according to the time position of the received broadcast packet in the synchronous link data packet sending period of the classic Bluetooth, so that the conflict between the sending time slot of the low-power-consumption Bluetooth connection event and the sending time slot of the synchronous link data packet can be effectively avoided.
Referring to fig. 4, a bluetooth data transmission apparatus 40 according to an embodiment of the present invention is provided, including: a receiving unit 401, a time position obtaining unit 402, and an adjusting unit 403, wherein:
a receiving unit 401, configured to receive a broadcast packet sent by an opposite-end device;
a time position obtaining unit 402, configured to obtain a time position of a time slot, in which the receiving unit receives the broadcast packet, in a synchronous link data packet transmission cycle of classic bluetooth;
an adjusting unit 403, configured to adjust a sending time slot of the bluetooth low energy connection event according to the time position, so that the adjusted sending time slot of the bluetooth low energy connection event is in a sending time slot not occupied by the synchronous link packet of the classic bluetooth.
In a specific implementation, the adjusting unit 403 may be configured to adjust a transmission window offset parameter before a transmission slot of the bluetooth low energy connection event.
In a specific implementation, the unoccupied transmission slots of the synchronous link data packet of the classic bluetooth include a first transmission slot and a second transmission slot, where the first transmission slot is a third transmission slot in a transmission cycle of the synchronous link data packet of the classic bluetooth, and the second transmission slot is a sixth transmission slot in the transmission cycle of the synchronous link data packet of the classic bluetooth.
In a specific implementation, the adjusting unit 403 may be further configured to adjust the packet sending period of the bluetooth low energy connection event, so that the adjusted packet sending period of the bluetooth low energy connection event is equal to N × 7.5.5 ms, where N is a positive integer.
In a specific implementation, the adjusting unit 403 may adjust a packet transmission period of the bluetooth low energy connection event by using the following formula:
the ConnInterval [ (max _ interval + min _ interval)/12+1] × 6, where ConnInterval is a packet transmission period of the adjusted bluetooth low energy connection event, max _ interval is a maximum packet transmission period issued by the host, and min _ interval is a minimum packet transmission period issued by the host.
In a specific implementation, the time position obtaining unit 402 may be configured to: and taking a module of the clock count value pair 24 corresponding to the time slot for receiving the broadcast packet, multiplying the obtained module value by a clock period, and taking the obtained product as the time position of the time slot for receiving the broadcast packet in the transmission period of the synchronous link data packet of the classic Bluetooth.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: ROM, RAM, magnetic or optical disks, and the like.
Although the present invention is disclosed above, the present invention is not limited thereto. Various changes and modifications may be effected therein by one skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (8)
1. A Bluetooth data transmission method, comprising:
when a broadcast packet sent by opposite terminal equipment is received, acquiring the time position of a time slot for receiving the broadcast packet in a synchronous link data packet sending period of classic Bluetooth, wherein the time position comprises the following steps: taking a module of the clock count value pair 24 corresponding to the time slot for receiving the broadcast packet, multiplying the obtained module value by a clock cycle, and taking the obtained product as the time position of the time slot for receiving the broadcast packet in the transmission cycle of the synchronous link data packet of the classic bluetooth;
and adjusting the sending time slot of the low-power-consumption Bluetooth connection event according to the time position, so that the adjusted sending time slot of the low-power-consumption Bluetooth connection event is in the sending time slot which is not occupied by the synchronous link data packet of the classic Bluetooth.
2. The method for bluetooth data transmission according to claim 1, wherein the adjusting the transmission time slot of the bluetooth low energy connection event comprises:
adjusting a transmission window offset parameter before a transmission timeslot of the Bluetooth Low energy connection event.
3. The method for Bluetooth data transmission according to claim 1, further comprising adjusting the packet transmission period of the Bluetooth low energy connection event so that the adjusted packet transmission period of the Bluetooth low energy connection event is equal to N × 7.5.5 ms, where N is a positive integer.
4. The bluetooth data transmission method according to claim 3, wherein the packet transmission period of the bluetooth low energy connection event is adjusted using the following formula:
the ConnInterval [ (max _ interval + min _ interval)/12+1] × 6, where ConnInterval is a packet transmission period of the adjusted bluetooth low energy connection event, max _ interval is a maximum packet transmission period issued by the host, and min _ interval is a minimum packet transmission period issued by the host.
5. A bluetooth data transmission device, comprising:
a receiving unit, configured to receive a broadcast packet sent by an opposite-end device;
the time position acquiring unit is used for acquiring the time position of the time slot of the broadcast packet received by the receiving unit in the synchronous link data packet sending period of the classic Bluetooth, and comprises the following steps: taking a module of the clock count value pair 24 corresponding to the time slot for receiving the broadcast packet, multiplying the obtained module value by a clock cycle, and taking the obtained product as the time position of the time slot for receiving the broadcast packet in the transmission cycle of the synchronous link data packet of the classic bluetooth;
and the adjusting unit is used for adjusting the sending time slot of the low-power-consumption Bluetooth connection event according to the time position, so that the adjusted sending time slot of the low-power-consumption Bluetooth connection event is in the sending time slot which is not occupied by the synchronous link data packet of the classic Bluetooth.
6. The bluetooth data transmission apparatus according to claim 5, wherein the adjusting unit is configured to adjust a transmission window offset parameter before a transmission slot of the bluetooth low energy connection event.
7. The Bluetooth data transmission device as claimed in claim 5, wherein the adjustment unit is further configured to adjust the packet transmission period of the Bluetooth low energy connection event so that the adjusted packet transmission period of the Bluetooth low energy connection event is equal to N × 7.5.5 ms, where N is a positive integer.
8. The bluetooth data transmission apparatus according to claim 7, wherein the adjusting unit adjusts the packet transmission period of the bluetooth low energy connection event using the following formula:
the ConnInterval [ (max _ interval + min _ interval)/12+1] × 6, where ConnInterval is a packet transmission period of the adjusted bluetooth low energy connection event, max _ interval is a maximum packet transmission period issued by the host, and min _ interval is a minimum packet transmission period issued by the host.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010307193.0A CN111491283B (en) | 2015-09-28 | 2015-09-28 | Bluetooth data transmission method and device |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010307193.0A CN111491283B (en) | 2015-09-28 | 2015-09-28 | Bluetooth data transmission method and device |
CN201510626546.2A CN106559734B (en) | 2015-09-28 | 2015-09-28 | Bluetooth data transmission method and device |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510626546.2A Division CN106559734B (en) | 2015-09-28 | 2015-09-28 | Bluetooth data transmission method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111491283A true CN111491283A (en) | 2020-08-04 |
CN111491283B CN111491283B (en) | 2022-06-24 |
Family
ID=58416528
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510626546.2A Active CN106559734B (en) | 2015-09-28 | 2015-09-28 | Bluetooth data transmission method and device |
CN202010307193.0A Active CN111491283B (en) | 2015-09-28 | 2015-09-28 | Bluetooth data transmission method and device |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510626546.2A Active CN106559734B (en) | 2015-09-28 | 2015-09-28 | Bluetooth data transmission method and device |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN106559734B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112039623A (en) * | 2020-11-05 | 2020-12-04 | 深圳市汇顶科技股份有限公司 | Audio synchronous playing method, device, equipment and storage medium |
US11240586B1 (en) | 2020-11-05 | 2022-02-01 | Shenzhen Goodix Technology Co Ltd. | Method, apparatus and device for synchronously playing audio |
TWI799149B (en) * | 2021-02-19 | 2023-04-11 | 瑞昱半導體股份有限公司 | Bluetooth controller circuit for reducing possibility of noise generation |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108738156B (en) * | 2017-04-21 | 2021-09-24 | 展讯通信(上海)有限公司 | Bluetooth service scheduling method, device, equipment and computer readable storage medium |
CN108882345B (en) * | 2017-05-15 | 2021-05-28 | 展讯通信(上海)有限公司 | Bluetooth device, sleep control method and device thereof, and computer-readable storage medium |
CN109643142B (en) * | 2017-08-04 | 2022-08-02 | 深圳市汇顶科技股份有限公司 | Timing method, clock equipment and terminal equipment |
CN107529134B (en) * | 2017-09-29 | 2020-08-11 | 惠州Tcl移动通信有限公司 | Bluetooth data transmission method, mobile terminal and storage medium |
CN109672998B (en) * | 2017-10-13 | 2022-01-18 | 瑞昱半导体股份有限公司 | Bluetooth on-line establishing method |
CN108093386B (en) * | 2017-12-29 | 2020-11-03 | 海信视像科技股份有限公司 | Bluetooth controller, method for processing connection event by using same and Bluetooth device |
CN109429206B (en) * | 2018-05-30 | 2021-10-26 | 展讯通信(上海)有限公司 | Bluetooth data transmission method and device and user equipment |
CN110972120B (en) * | 2018-09-29 | 2023-05-16 | 安凯(广州)微电子技术有限公司 | Multi-link management method, system and device for low-power consumption Bluetooth equipment |
CN109874136B (en) * | 2019-03-21 | 2022-01-04 | 惠州Tcl移动通信有限公司 | Bluetooth memory sharing method and device, storage medium and electronic equipment |
CN111819891B (en) * | 2020-04-01 | 2022-11-11 | 深圳市汇顶科技股份有限公司 | Time synchronization and broadcast setting method, chip, electronic device, and storage medium |
CN115442778A (en) * | 2021-06-03 | 2022-12-06 | Oppo广东移动通信有限公司 | Method and device for establishing Bluetooth link, bluetooth chip and equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090312010A1 (en) * | 2008-06-16 | 2009-12-17 | Steven Hall | Method and system for bluetooth and wimax coexistence |
CN101621324A (en) * | 2008-07-01 | 2010-01-06 | 联想(北京)有限公司 | Coordination method for communication resources and Bluetooth communication terminal |
CN104756542A (en) * | 2012-10-30 | 2015-07-01 | 诺基亚技术有限公司 | Using bluetooth low energy |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101646245A (en) * | 2008-06-16 | 2010-02-10 | 美国博通公司 | Method and system for bluetooth and wimax coexistence |
CN102111258A (en) * | 2009-12-25 | 2011-06-29 | 华为技术有限公司 | Clock synchronization method, equipment and system |
US8897220B2 (en) * | 2010-09-22 | 2014-11-25 | Qualcomm Incorporated | Multi-radio coexistence |
US8711740B2 (en) * | 2011-06-23 | 2014-04-29 | Qualcomm Incorporated | Multi-radio coexistence |
CN103916166B (en) * | 2014-03-31 | 2016-04-27 | 尚奇浩康(北京)科技有限公司 | A kind of Bluetooth data transfer method and blue-tooth device |
CN104811895B (en) * | 2015-04-01 | 2018-04-20 | 石姗姗 | A kind of connection method of low-power consumption bluetooth and device |
-
2015
- 2015-09-28 CN CN201510626546.2A patent/CN106559734B/en active Active
- 2015-09-28 CN CN202010307193.0A patent/CN111491283B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090312010A1 (en) * | 2008-06-16 | 2009-12-17 | Steven Hall | Method and system for bluetooth and wimax coexistence |
CN101621324A (en) * | 2008-07-01 | 2010-01-06 | 联想(北京)有限公司 | Coordination method for communication resources and Bluetooth communication terminal |
CN104756542A (en) * | 2012-10-30 | 2015-07-01 | 诺基亚技术有限公司 | Using bluetooth low energy |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112039623A (en) * | 2020-11-05 | 2020-12-04 | 深圳市汇顶科技股份有限公司 | Audio synchronous playing method, device, equipment and storage medium |
US11240586B1 (en) | 2020-11-05 | 2022-02-01 | Shenzhen Goodix Technology Co Ltd. | Method, apparatus and device for synchronously playing audio |
US11632617B2 (en) | 2020-11-05 | 2023-04-18 | Shenzhen GOODIX Technology Co., Ltd. | Method, apparatus and device for synchronously playing audio |
TWI799149B (en) * | 2021-02-19 | 2023-04-11 | 瑞昱半導體股份有限公司 | Bluetooth controller circuit for reducing possibility of noise generation |
Also Published As
Publication number | Publication date |
---|---|
CN111491283B (en) | 2022-06-24 |
CN106559734B (en) | 2020-03-20 |
CN106559734A (en) | 2017-04-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106559734B (en) | Bluetooth data transmission method and device | |
US7715434B2 (en) | Managing an access point in the presence of separate protocols that share the same communications channel | |
TWI782472B (en) | Synchronous multi-link wireless txop procedure | |
US9712266B2 (en) | Synchronization of multi-channel audio communicated over bluetooth low energy | |
TWI410157B (en) | Wireless communication method and wireless electronic device | |
JP3817531B2 (en) | Control unit of radio communication device, radio communication device, and control method | |
CN111106853B (en) | Master-slave switching method, device and equipment for double wireless Bluetooth equipment and audio system | |
CN108064467B (en) | Wireless gaming protocol | |
WO2013119810A1 (en) | Method and apparatus for multi-network communication | |
EP3954143B1 (en) | Bluetooth voice link mirroring | |
WO2014120787A1 (en) | Wifi real-time streaming and bluetooth coexistence | |
CN106559737B (en) | Bluetooth operating mode switching control method and device | |
WO2004100453A1 (en) | Radio communication system, radio communication device, radio communication method, and computer program | |
CN106559735B (en) | Blue-teeth data sending control method and device | |
CN106850723B (en) | Bluetooth and WiFi P2P coexisting communication method and device and terminal equipment | |
US11115885B2 (en) | Audio synchronization during handover | |
CN111885553A (en) | Bluetooth device communication method and related device | |
KR20150143772A (en) | Systems and methods for synchronizing timing between wireless networking devices | |
JP2023517102A (en) | Multi-link communication method and device | |
JP4714676B2 (en) | Wireless local area network (WLAN) and method | |
CN113196842B (en) | Network coordination method and apparatus and non-transitory computer readable medium | |
CN110892748A (en) | Link processing method, device and storage medium | |
CN106559811B (en) | Bluetooth data reception control method and device | |
CN113630904B (en) | Bluetooth multi-pairing connection method and medium | |
JP6051658B2 (en) | Wireless communication apparatus, wireless communication method and program |
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 |