Bluetooth message transmission method and apparatus, and Bluetooth network
Abstract
In accordance with an embodiment, a method includes receiving, on a first Bluetooth link between a first gateway and a first Bluetooth device, a first Bluetooth message sent by the first Bluetooth device; encapsulating, using a transport protocol adapted to a non-Bluetooth link between the first gateway and a second gateway, the first Bluetooth message to obtain a second Bluetooth message; and sending the second Bluetooth message to the second gateway on the non-Bluetooth link, wherein the second gateway decapsulates the second Bluetooth message using the transport protocol to obtain the first Bluetooth message, and sends the first Bluetooth message to a second Bluetooth device on a second Bluetooth link with the second Bluetooth device, wherein the non-Bluetooth link is a wireless local area network link or a wired link.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 15 · Forward citations: 0.
Claims (20 — 3 Independent, 17 Dependent)
- Claim 1Independent Claim
A method, comprising: receiving, on a first Bluetooth link between a first gateway and a first Bluetooth device, a first Bluetooth message sent by the first Bluetooth device; encapsulating, using a transport protocol adapted to a non-Bluetooth link between the first gateway and a second gateway, the first Bluetooth message to obtain a second Bluetooth message; and sending the second Bluetooth message and a Bluetooth channel allocation instruction to the second gateway on the non-Bluetooth link, wherein the second gateway decapsulates the second Bluetooth message using the transport protocol to obtain the first Bluetooth message, and sends the first Bluetooth message to a second Bluetooth device on a second Bluetooth link with the second Bluetooth device, wherein the non-Bluetooth link is a wireless local area network link or a wired link, and the Bluetooth channel allocation instruction indicates to the second gateway which Bluetooth broadcast channel to use as a broadcast channel of the second gateway or which Bluetooth data channel to use as a data channel of the second gateway.
- Claim 2Depends on #1
The method according to claim 1, wherein the method further comprises: selecting a first Bluetooth broadcast channel as a Bluetooth broadcast channel of the first gateway; and selecting a first Bluetooth data channel as a Bluetooth data channel of the first gateway, wherein the Bluetooth channel allocation instruction indicates to the second gateway to use a second Bluetooth broadcast channel as the Bluetooth broadcast channel of the second gateway and to use a second Bluetooth data channel as the Bluetooth data channel of the second gateway.
- Claim 3Depends on #1
The method according to claim 1, wherein the first Bluetooth message comprises service data.
- Claim 4Depends on #1
The method according to claim 1, wherein the first Bluetooth message comprises first attribute information indicating that the first Bluetooth device supports transmission of a Bluetooth message on the non-Bluetooth link.
- Claim 5Depends on #1
The method according to claim 1, wherein the method further comprises: sending a first request to the first Bluetooth device at each connection interval on the first Bluetooth link, wherein the first request indicates to the first Bluetooth device to feed back a first response on the first Bluetooth link; and sending, to the second gateway at each connection interval on the non-Bluetooth link, a second request obtained through encapsulation by using the transport protocol, wherein the second request is sent to the second Bluetooth device on the second Bluetooth link after being decapsulated by the second gateway, and the second request indicates to the second Bluetooth device to feed back a second response on the second Bluetooth link.
- Claim 6Depends on #5
The method according to claim 5, wherein: the first Bluetooth message comprises second attribute information, and the second attribute information indicates that a Bluetooth device supports performing connection management on a Bluetooth connection on the non-Bluetooth link; and sending the first request to the first Bluetooth device at each connection interval on the first Bluetooth link comprises sending, to the first Bluetooth device based on an indication of the second attribute information in the first Bluetooth message, the first request at each connection interval on the first Bluetooth link.
- Claim 7Depends on #6
The method of claim 6, further comprising: receiving, on the non-Bluetooth link, a third Bluetooth message sent by the second gateway, wherein the third Bluetooth message is obtained by encapsulating, by the second gateway by using the transport protocol, a fourth Bluetooth message received on the second Bluetooth link, and the fourth Bluetooth message comprises the second attribute information; and decapsulating, using the transport protocol, the third Bluetooth message to obtain the fourth Bluetooth message, wherein sending, to the second gateway at each connection interval on the non-Bluetooth link, the second request obtained through encapsulation by using the transport protocol comprises: sending, to the second gateway based on the indication of the second attribute information in the fourth Bluetooth message, at each connection interval on the non-Bluetooth link, the second request obtained through encapsulation by using the transport protocol.
- Claim 8Depends on #1
The method according to claim 1, further comprising: after a Bluetooth connection to the first Bluetooth device is established, obtaining a first Bluetooth signal strength between the first Bluetooth device and the first gateway and a second Bluetooth signal strength between the first Bluetooth device and the second gateway on the first Bluetooth link; and sending a roaming instruction to the first Bluetooth device on the first Bluetooth link in response to the second Bluetooth signal strength being greater than the first Bluetooth signal strength, wherein the roaming instruction indicates to the first Bluetooth device to establish the Bluetooth connection to the second gateway.
- Claim 9Depends on #8
The method according to claim 8, wherein: the first Bluetooth message comprises third attribute information indicating that the first Bluetooth device supports roaming between different gateways; and obtaining the first Bluetooth signal strength between the first Bluetooth device and the first gateway and the second Bluetooth signal strength between the first Bluetooth device and the second gateway on the first Bluetooth link after the Bluetooth connection to the first Bluetooth device is established comprises: obtaining, based on an indication of the third attribute information in the first Bluetooth message, the first Bluetooth signal strength between the first Bluetooth device and the first gateway and the second Bluetooth signal strength between the first Bluetooth device and the second gateway on the first Bluetooth link after the Bluetooth connection to the first Bluetooth device is established.
- Claim 10Depends on #1
The method of claim 1, wherein the steps of receiving, encapsulating, and sending are performed by the first gateway.
- Claim 11Independent Claim
A method, comprising: receiving, on a non-Bluetooth link with a first gateway, a second Bluetooth message sent by the first gateway, wherein the second Bluetooth message is obtained by encapsulating, by the first gateway by using a transport protocol adapted to the non-Bluetooth link, a first Bluetooth message received on a first Bluetooth link with a first Bluetooth device, wherein the non-Bluetooth link is a wireless local area network link or a wired link; receiving, on the non-Bluetooth link, a Bluetooth channel allocation instruction sent by the first gateway, wherein the Bluetooth channel allocation instruction indicates which Bluetooth broadcast channel to use as a broadcast channel or which Bluetooth data channel to use as a data channel; decapsulating, by using the transport protocol, the second Bluetooth message to obtain the first Bluetooth message; and sending the first Bluetooth message to a second Bluetooth device on a second Bluetooth link with the second Bluetooth device.
- Claim 12Depends on #11
The method according to claim 11, wherein the method further comprises: using a second Bluetooth broadcast channel and a second Bluetooth data channel that are indicated in the Bluetooth channel allocation instruction as the Bluetooth broadcast channel and the Bluetooth data channel of a second gateway respectively.
- Claim 13Depends on #11
The method according to claim 11, wherein the method further comprises: receiving, on the second Bluetooth link, a fourth Bluetooth message sent by the second Bluetooth device; encapsulating, using the transport protocol, the fourth Bluetooth message to obtain a third Bluetooth message; and sending the third Bluetooth message to the first gateway on the non-Bluetooth link, wherein the first gateway decapsulates the third Bluetooth message by using the transport protocol, to obtain the fourth Bluetooth message, and sends the third Bluetooth message to the first Bluetooth device on the first Bluetooth link.
- Claim 14Depends on #11
The method of claim 11, wherein the steps of receiving, decapsulating, and sending are performed by a second gateway different from the first gateway.
- Claim 15Depends on #11
A gateway, comprising: a processor; and a memory coupled to the processor with a computer code stored thereon, the computer code containing instructions that, when executed by the processor, enables the processor to perform the method according to claim 11.
- Claim 16Independent Claim
A gateway, comprising: a processor; and a memory coupled to the processor with a computer code stored thereon, the computer code containing instructions that, when executed by the processor, enables the processor to perform the following steps: receiving, on a first Bluetooth link between a first gateway and a first Bluetooth device, a first Bluetooth message sent by the first Bluetooth device, encapsulating, using a transport protocol adapted to a non-Bluetooth link between the first gateway and a second gateway, the first Bluetooth message to obtain a second Bluetooth message, and sending the second Bluetooth message and a Bluetooth channel allocation instruction to the second gateway on the non-Bluetooth link, wherein the second gateway decapsulates the second Bluetooth message using the transport protocol to obtain the first Bluetooth message, and sends the first Bluetooth message to a second Bluetooth device on a second Bluetooth link with the second Bluetooth device, wherein the non-Bluetooth link is a wireless local area network link or a wired link, and the Bluetooth channel allocation instruction indicates to the second gateway which Bluetooth broadcast channel to use as a broadcast channel of the second gateway or which Bluetooth data channel to use as a data channel of the second gateway.
- Claim 17Depends on #16
The gateway of claim 16, wherein the instructions, when executed by the processor, further enable the processor to perform the following steps: selecting a first Bluetooth broadcast channel as a Bluetooth broadcast channel of the first gateway; selecting a first Bluetooth data channel as a Bluetooth data channel of the first gateway; and sending a Bluetooth channel allocation instruction to the second gateway on the non-Bluetooth link, wherein the Bluetooth channel allocation instruction indicates to the second gateway to use a second Bluetooth broadcast channel as a Bluetooth broadcast channel of the second gateway and to use a second Bluetooth data channel as a Bluetooth data channel of the second gateway.
- Claim 18Depends on #16
The gateway of claim 16, wherein the first Bluetooth message comprises service data.
- Claim 19Depends on #16
The gateway of claim 16, wherein the first Bluetooth message comprises first attribute information indicating that the first Bluetooth device supports transmission of a Bluetooth message on the non-Bluetooth link.
- Claim 20Depends on #16
The gateway of claim 16, wherein the gateway comprises the first gateway.
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATIONS This application is a continuation of International Application No. PCT/CN2022/082276, filed on Mar. 22, 2022, which claims priority to Chinese Patent Application No. 202110351579.6, filed on Mar. 31, 2021. The disclosures of the aforementioned applications are hereby incorporated by reference in their entireties. TECHNICAL FIELD This application relates to the communication field, and in particular, to a Bluetooth message transmission method and apparatus, and a Bluetooth network. BACKGROUND Bluetooth is a low-cost short-range wireless communication technology, and can enable a device to communicate, with low power consumption, with another device. However, because a maximum transmission distance of a Bluetooth message is short (generally about 10 meters), a distance between two devices that perform Bluetooth-based communication cannot exceed the maximum transmission distance, resulting in poor flexibility of transmission of the Bluetooth message. SUMMARY This application provides a Bluetooth message transmission method and apparatus, and a Bluetooth network, to resolve a technical problem of poor flexibility of transmission of a Bluetooth message. Technical solutions are as follows. According to an aspect, a Bluetooth message transmission method is provided, and is applied to a first gateway. The method includes: receiving, on a first Bluetooth link with a first Bluetooth device, a first Bluetooth message sent by the first Bluetooth device; then encapsulating, by using a transport protocol adapted to a non-Bluetooth link between the first gateway and a second gateway, the first Bluetooth message to obtain a second Bluetooth message; and then sending the second Bluetooth message to the second gateway on the non-Bluetooth link. The second gateway decapsulates the second Bluetooth message by using the transport protocol, to obtain the first Bluetooth message, and sends the first Bluetooth message to a second Bluetooth device on
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.