A Bluetooth communication system bandwidth allocation method

By dynamically allocating the communication bandwidth of the Bluetooth link in the Bluetooth communication system, and using the combination of basic bandwidth and extended bandwidth, the bandwidth waste problem caused by the device not being allowed to enter the sniffing mode is solved, and the power consumption of Bluetooth devices is reduced and link reliability is improved.

CN116170848BActive Publication Date: 2025-06-27GUANGZHOU GUOXIN MICRO TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310085770.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-01-16
Publication Date
2025-06-27
Estimated Expiration
2043-01-16

AI Technical Summary

Technical Problem

In some applications, the device is not allowed to enter the sniffing mode, resulting in full-time full bandwidth allocation, which may cause greater bandwidth waste and thus increase power consumption.

Method used

By dynamically allocating the communication bandwidth of the non-sniff mode and the communication mode is the ordinary connected Bluetooth link in the Bluetooth communication system, the bandwidth of each Bluetooth link is adjusted using the combination of basic bandwidth and extended bandwidth to achieve efficient bandwidth utilization.

Benefits of technology

Effectively saves bandwidth overhead of Bluetooth links in non-sniff mode and communication mode in ordinary connected communication mode, reduces power consumption of Bluetooth devices, and improves the reliability of Bluetooth links.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116170848B_ABST
    Figure CN116170848B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for bandwidth allocation in a Bluetooth communication system. The Bluetooth communication system includes multiple master devices and one slave device. Each master device establishes a Bluetooth link with the slave device respectively. Based on the communication interval time of any set Bluetooth link and the maximum number of Bluetooth links that the slave device itself can support, the basic bandwidth of any Bluetooth link and the extended bandwidth of each Bluetooth link are determined. The Bluetooth link in the non-sniff mode and with the communication mode of normal connection first communicates through the basic bandwidth. If the communication is unsuccessful, the extended bandwidths are applied in sequence from short to long for communication. The present invention dynamically allocates the communication bandwidth of the Bluetooth link in the non-sniff mode and with the communication mode of normal connection according to the communication mode and working conditions of the slave device in the Bluetooth communication system, effectively saving the bandwidth overhead of the Bluetooth link in the non-sniff mode and with the communication mode of normal connection, thereby reducing the power consumption of the Bluetooth device and improving the reliability of the Bluetooth link at the same time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of Bluetooth wireless transmission, and relates to a bandwidth allocation method for a Bluetooth communication system, which is applied to a network topology structure of two or more Bluetooth devices to realize Bluetooth bandwidth management to reduce power consumption. Background Art

[0002] In the classic Bluetooth BR / EDR protocol, a slave device (Slave) and a master device (Master) form a piconet. A slave device can also form piconets with multiple masters. The slave device and each master device establish a Bluetooth link for data transmission. The classic Bluetooth BR / EDR protocol has a sniff mode. When there is no data transmission on the link, the master device or slave device will initiate a request to the other party to enter the sniff mode as needed to save bandwidth overhead and reduce power consumption. In non-sniffing mode, the classic Bluetooth BR / EDR protocol does not provide a corresponding bandwidth management method.

[0003] In some application scenarios, the device itself is not allowed to enter the sniffing mode. In such cases, if full bandwidth is allocated all the time, it may cause a large waste of bandwidth, thereby increasing power consumption accordingly. Summary of the invention

[0004] The purpose of the present invention is to provide a method for allocating bandwidth of a Bluetooth communication system to effectively reduce the power consumption of a device.

[0005] In the present invention, the Bluetooth communication system includes multiple master devices and one slave device, and the specific communication bandwidth allocation method is as follows:

[0006] Step (1) Each master device establishes a classic Bluetooth connection with each slave device to form multiple Bluetooth links;

[0007] Step (2) setting the communication interval T of all Bluetooth links;

[0008] Step (3) Determine the basic bandwidth L of each Bluetooth link based on the maximum number N of Bluetooth links that the slave device can support. n , n=1,2,…,N;

[0009] Step (4) sets the extended bandwidth of each Bluetooth link. The number of extended bandwidths is N-1. The extended bandwidths of the nth Bluetooth link are L′ and L′. n,1 =L n +L n+1 , L n ' ,2 =L n +L n+1 +L n+2, ···, L′ n,N-2 = L n + … + L N + L1 + … + L n-2 = T - L n-1 , L′ n,N-1 = L n + … + L N + L1 + … + L n-1 = T;

[0010] Step (5) When any Bluetooth link is in the sniff mode and the communication mode is data communication or voice communication, process the Bluetooth link according to the classic Bluetooth BR / EDR protocol; otherwise, process it according to the following steps;

[0011] Step (6) When any Bluetooth link is in the non-sniff mode and the communication mode is a normal connection, the slave device first uses the basic bandwidth L n to communicate with the master device of the Bluetooth link. If the communication is unsuccessful, communicate using the extended bandwidth; when communicating using the extended bandwidth, first select the shortest extended bandwidth for communication. If the communication is unsuccessful, select the next shortest extended bandwidth for communication, and so on until the longest extended bandwidth for communication. If it is still unsuccessful, process the Bluetooth link according to the provisions of the classic Bluetooth BR / EDR protocol;

[0012] In the case of communicating using the extended bandwidth, if the communication is successful, use the basic bandwidth of the Bluetooth link corresponding to the successful communication as the new basic bandwidth of the Bluetooth link, and at the same time use the extended bandwidth of the Bluetooth link corresponding to the successful communication as the new extended bandwidth of the Bluetooth link.

[0013] The present invention dynamically allocates the communication bandwidth of Bluetooth links in the non-sniff mode and with a normal connection communication mode according to the communication mode and working conditions of the slave device in the Bluetooth communication system, effectively saving the bandwidth overhead of Bluetooth links in the non-sniff mode and with a normal connection communication mode, thereby reducing the power consumption of Bluetooth devices and improving the reliability of Bluetooth links at the same time. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 is the topology diagram of the Bluetooth communication system of the present invention;

[0015] Figure 2 is the schematic diagram of the basic bandwidth and extended bandwidth of the present invention;

[0016] Figure 3 is the schematic diagram of the application of the first Bluetooth link bandwidth in the embodiment of the present invention;

[0017] Figure 4 is the schematic diagram of the application of the second Bluetooth link bandwidth in the embodiment of the present invention;

[0018] Figure 5 This is a schematic diagram of the application of the third Bluetooth link bandwidth in the embodiments of the present invention. Detailed implementation manners

[0019] To describe the features of the present invention more clearly, the entire process is further described below with reference to the drawings.

[0020] A method for allocating the bandwidth of a Bluetooth communication system, the Bluetooth communication system includes multiple master devices and one slave device, and the steps include:

[0021] Step (1): Each master device establishes a classic Bluetooth connection with the slave device respectively to form multiple Bluetooth links and compose multiple piconets. For example Figure 1 , in this embodiment, there are three master devices and one slave device.

[0022] Step (2): Set the communication interval time T of any Bluetooth link.

[0023] Step (3): Determine the basic bandwidth L of each Bluetooth link according to the maximum number N of Bluetooth links supported by the slave device itself n , n = 1, 2,..., N.

[0024] Step (4): Set the extended bandwidth of each Bluetooth link. The number of extended bandwidths is N - 1. The extended bandwidth of the nth Bluetooth link is respectively L n ′ ,1 = L n + L n+1 , L n ′ ,2 = L n + L n+1 + L n+2 , ···, L′ n,N-2 = L n + … + L N + L1 + … + L n-2 = T - L n-1 , L′ n,N-1 = L n + … + L N + L1 + … + L n-1 = T.

[0025] For example Figure 2 , in this embodiment, the number of Bluetooth links in the non-sniff mode is 3. The basic bandwidths of the three Bluetooth links are BW - ab, BW - bc, and BW - cd in sequence. The extended bandwidths of the first Bluetooth link are BW - ac and BW - ad. The extended bandwidths of the second Bluetooth link are BW - bd and BW - bb. The extended bandwidths of the third Bluetooth link are BW - cb and BW - cc.

[0026] Step (5): When any Bluetooth link is in the sniff mode and the communication mode is data communication or voice communication, process the Bluetooth link according to the classic Bluetooth BR / EDR protocol; otherwise, proceed as follows.

[0027] Data communication refers to the classic Bluetooth BR / EDR connection state in the state of having data communication, and the packet type of the data is other ACL packet types except the LMP packet type defined in the classic Bluetooth BR / EDR protocol. Voice communication refers to the connection state in the sco / esco communication state defined in the classic Bluetooth BR / EDR protocol.

[0028] Step (6): When any Bluetooth link is in the non-sniff mode and the communication mode is a normal connection, the slave device first uses the basic bandwidth L n to communicate with the master device of the Bluetooth link. If the communication is unsuccessful, communicate using the extended bandwidth. When communicating using the extended bandwidth, first select the shortest extended bandwidth for communication. If the communication is unsuccessful, select the second shortest extended bandwidth for communication, and so on until the longest extended bandwidth for communication. If it is still unsuccessful, process the Bluetooth link according to the provisions of the classic Bluetooth BR / EDR protocol.

[0029] A normal connection refers to the classic Bluetooth BR / EDR connection state in the state of no data communication, and the packet type of the data is other ACL packet types except the LMP packet type defined in the classic Bluetooth BR / EDR protocol.

[0030] In the case of communicating using the extended bandwidth, if the communication is successful, use the basic bandwidth corresponding to the Bluetooth link at the time of successful communication as the new basic bandwidth of the Bluetooth link, and at the same time, use the extended bandwidth corresponding to the Bluetooth link at the time of successful communication as the new extended bandwidth of the Bluetooth link.

[0031] In the embodiment, in the first communication interval, the slave device of the first Bluetooth link uses the basic bandwidth BW-ab to communicate with the master device of the first Bluetooth link. If the communication is successful, the communication bandwidth of the Bluetooth link in the second communication interval does not need to be adjusted and remains BW-ab; if the communication is unsuccessful, the communication bandwidth in the second communication interval uses the extended bandwidth BW-ac; if the communication is still unsuccessful in the second communication interval, the communication bandwidth in the third communication interval uses the extended bandwidth BW-ad; if the communication is successful in the second and third communication intervals, determine which basic bandwidth (BW-ab, BW-bc, BW-cd) the communication success point falls on, and in the next communication interval, the slave device of the Bluetooth link will use this basic bandwidth as the communication bandwidth of the Bluetooth link, such as Figure 3 .

[0032] In the embodiment, in the first communication interval, the slave device of the first Bluetooth link communicates with the master device of the first Bluetooth link using the basic bandwidth BW-bc. If the communication is successful, the communication bandwidth of the Bluetooth link in the second communication interval does not need to be adjusted and remains BW-bc. If the communication is unsuccessful, the communication bandwidth in the second communication interval applies the extended bandwidth BW-bd. If the communication is still unsuccessful in the second communication interval, the communication bandwidth in the third communication interval applies the extended bandwidth BW-bb. If the communication is successful in the second and third communication intervals, it is determined on which basic bandwidth (BW-ab, BW-bc, BW-cd) the communication success point falls, and in the next communication interval, the slave device of the Bluetooth link applies this basic bandwidth as the communication bandwidth of the Bluetooth link, as Figure 4 .

[0033] In the embodiment, in the first communication interval, the slave device of the first Bluetooth link communicates with the master device of the first Bluetooth link using the basic bandwidth BW-cd. If the communication is successful, the communication bandwidth of the Bluetooth link in the second communication interval does not need to be adjusted and remains BW-cd. If the communication is unsuccessful, the communication bandwidth in the second communication interval applies the extended bandwidth BW-cb. If the communication is still unsuccessful in the second communication interval, the communication bandwidth in the third communication interval applies the extended bandwidth BW-cc. If the communication is successful in the second and third communication intervals, it is determined on which basic bandwidth (BW-ab, BW-bc, BW-cd) the communication success point falls, and in the next communication interval, the slave device of the Bluetooth link applies this basic bandwidth as the communication bandwidth of the Bluetooth link, as Figure 5 .

Claims

1. A method for bandwidth allocation in a Bluetooth communication system, the Bluetooth communication system comprising a plurality of master devices and one slave device, characterized in that: Step (1): Each master device respectively establishes a classic Bluetooth connection with the slave device to form multiple Bluetooth links; Step (2): Set the communication interval time T for all Bluetooth links; Step (3) determines the base bandwidth L of each Bluetooth link according to the maximum number N of Bluetooth links that the device itself can support. n , Step (4) sets the extended bandwidth of each Bluetooth link. The number of extended bandwidths is N - 1, and the extended bandwidth of the nth Bluetooth link is respectively L n ′ ,1 =L n +L n+1 ,L n ′ ,2 =L n +L n+1 +L n+2 ,···, L n ′ ,N-2 = L n + … + L N + L1 + … + L n-2 = T - L n-1 ,L n ′ ,N-1 = L n + … + L N + L1 + … + L n-1 = T; Step (5): When any one of the Bluetooth links is in the sniff mode and the communication mode is data communication or voice communication, process this Bluetooth link according to the classic Bluetooth BR / EDR protocol; otherwise, process it according to the following steps; Step (6) When any Bluetooth link is in non-sniff mode and the communication mode is a normal connection, the slave device first uses the basic bandwidth L n to communicate with the master device of this Bluetooth link. If the communication is unsuccessful, the extended bandwidth is applied for communication. When applying the extended bandwidth for communication, the shortest extended bandwidth is first selected for communication. If the communication is unsuccessful, the second shortest extended bandwidth is selected for communication, and so on until the longest extended bandwidth is used for communication. If it is still unsuccessful, this Bluetooth link is processed according to the provisions of the classic Bluetooth BR / EDR protocol; In the case of communication using the extended bandwidth, if the communication is successful, determine which basic bandwidth the communication success point falls on, and in the next communication interval, the slave device of this Bluetooth link will use this basic bandwidth as the communication basic bandwidth of this Bluetooth link.

2. The bandwidth allocation method for a Bluetooth communication system according to claim 1, characterized in that: The data communication in Step (5) is the classic Bluetooth BR / EDR connection state in the state of having data communication, and the packet type of this data is other ACL packet types except the LMP packet type defined in the classic Bluetooth BR / EDR protocol.

3. The bandwidth allocation method for a Bluetooth communication system according to claim 1, characterized in that: The voice communication in Step (5) is the connection state in the sco / esco communication state defined in the classic Bluetooth BR / EDR protocol.

4. The bandwidth allocation method for a Bluetooth communication system according to claim 1, wherein: The normal connection in Step (6) is the classic Bluetooth BR / EDR connection state in the state of having no data communication, and the packet type of this data is other ACL packet types except the LMP packet type defined in the classic Bluetooth BR / EDR protocol.

Citation Information

Patent Citations

  • Bandwidth allocation method and apparatus, computer device and storage medium

    CN108064086A

  • Low-power-consumption Bluetooth communication bandwidth dynamic adjustment method and system, and electronic equipment

    CN114679768A