Display device and bluetooth communication method

By setting up a Mesh controller and a BLE controller in the Bluetooth module of the display device, the problem of broadcast packet loss when a smart TV communicates with multiple Bluetooth devices is solved, improving communication quality and controlling costs.

CN115988248BActive Publication Date: 2026-03-03HISENSE VISUAL TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202111204172.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-15
Publication Date
2026-03-03
Estimated Expiration
2041-10-15

AI Technical Summary

Technical Problem

When smart TVs communicate with multiple Bluetooth devices, Bluetooth broadcast packets are easily lost, resulting in poor communication quality. Existing technologies increase the number of Bluetooth modules to solve this problem, but this increases costs.

Method used

Configure a connected Mesh controller and BLE controller in the Bluetooth module of the display device. These two controllers can simultaneously scan for Bluetooth broadcast packets and forward broadcast packets that do not belong to the device to the other party for processing, thus avoiding loss.

Benefits of technology

It improves Bluetooth communication quality, reduces Bluetooth communication costs, ensures complete reception of Bluetooth broadcast packets, and enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115988248B_ABST
    Figure CN115988248B_ABST
Patent Text Reader

Abstract

This application provides a display device and a Bluetooth communication method. The display device includes a display and a controller communicatively connected to the display. The controller includes a Bluetooth host for sending scanning commands to a Bluetooth module. The Bluetooth module, connected to the Bluetooth host, includes a Mesh controller and a BLE controller connected to each other. The Mesh controller is configured to scan Bluetooth broadcast packets according to the scanning command, and if the Bluetooth broadcast packet is a BLE broadcast packet, send the BLE broadcast packet to the BLE controller for processing. The BLE controller is configured to scan Bluetooth broadcast packets according to the scanning command, and if the Bluetooth broadcast packet is a Mesh broadcast packet, send the Mesh broadcast packet to the Mesh controller for processing. This application improves the quality of Bluetooth communication.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of Bluetooth technology, and in particular to a display device and a Bluetooth communication method. Background Technology

[0002] Nowadays, smart TVs typically have a Bluetooth module, which allows them to communicate with external devices located outside the TV. With the rise of smart homes, more and more external devices, such as lamps, game controllers, and headphones, have Bluetooth functionality, enabling smart TVs to communicate with multiple external devices via Bluetooth.

[0003] In some scenarios, smart TVs need to communicate with multiple Bluetooth devices simultaneously. For example, when a user is playing a game on a smart TV while wearing headphones, the TV needs to communicate with both the Bluetooth-enabled headphones and the game controller at the same time. This puts significant pressure on the data transmission and processing capabilities of the smart TV's Bluetooth module, potentially leading to Bluetooth broadcast packets not being received by the smart TV—a problem known as Bluetooth broadcast packet loss. To address this issue, some smart TVs have adopted a method of using multiple Bluetooth modules to improve Bluetooth communication performance. However, this approach significantly increases the cost of Bluetooth communication. Summary of the Invention

[0004] To address the technical problem of poor Bluetooth communication quality, this application provides a display device and a Bluetooth communication method.

[0005] In a first aspect, this application provides a display device, which includes:

[0006] monitor;

[0007] A controller, communicatively connected to the display, the controller comprising:

[0008] Bluetooth host, used to send scanning commands to Bluetooth module;

[0009] The Bluetooth module is connected to the Bluetooth host and includes a connected Mesh controller and a BLE controller, wherein...

[0010] The Mesh controller is configured to: scan Bluetooth broadcast packets according to the scanning command; if the Bluetooth broadcast packet is a BLE broadcast packet, send the BLE broadcast packet to the BLE controller for processing.

[0011] The BLE controller is configured to scan Bluetooth broadcast packets according to the scanning command, and if the Bluetooth broadcast packet is a Mesh broadcast packet, send the Mesh broadcast packet to the Mesh controller for processing.

[0012] In some embodiments, the Mesh controller is further configured to process the Mesh broadcast packet if the Bluetooth broadcast packet is a Mesh broadcast packet; the BLE controller is further configured to process the BLE broadcast packet if the Bluetooth broadcast packet is a BLE broadcast packet.

[0013] In some embodiments, the Bluetooth module further includes:

[0014] The mesh antenna is connected to the mesh controller and is used to receive the scanning command and then send the scanning command to the mesh controller.

[0015] The BLE antenna is connected to the BLE controller and is used to receive the scan command and then send the scan command to the BLE controller.

[0016] In some embodiments, the Mesh controller and the BLE controller are further configured to:

[0017] The Bluetooth broadcast packet is modulated and demodulated to obtain the protocol data unit type and broadcast message type. Based on the protocol data unit type and broadcast message type, it is determined whether the Bluetooth broadcast packet is a Mesh broadcast packet or a BLE broadcast packet.

[0018] In some embodiments, determining whether the Bluetooth broadcast packet is a Mesh broadcast packet or a BLE broadcast packet based on the protocol data unit type and broadcast message type includes:

[0019] Determine whether the protocol data unit type is unconnectable;

[0020] If the connection is not possible, determine whether the broadcast message type is Mesh. If it is Mesh, then it is determined to be a Mesh broadcast packet; otherwise, it is determined to be a BLE broadcast packet.

[0021] If it is connectable, it is determined to be the BLE broadcast packet.

[0022] In some embodiments, the Bluetooth host and the Mesh controller are connected via a USB hub, the Bluetooth host and the BLE controller are connected via a USB hub, and the Mesh controller and the BLE controller are connected via SPI.

[0023] The Bluetooth host and the Mesh controller are connected via a USB hub, the Bluetooth host and the BLE controller are connected via a USB hub, and the Mesh controller and the BLE controller are connected via SPI.

[0024] In some embodiments, the Mesh controller and the BLE controller are configured with different USB addresses, and the Bluetooth controller communicates with the Mesh controller and the BLE controller respectively through different USB addresses.

[0025] In some embodiments, both the Mesh controller and the BLE controller communicate with external devices of the display device using the USB address of the BLE controller.

[0026] Secondly, this application provides a Bluetooth communication method, the method comprising:

[0027] Within a Bluetooth module, Bluetooth broadcast packets are scanned simultaneously via a Mesh controller and a BLE controller, wherein the Mesh controller and the BLE controller are connected.

[0028] If the Bluetooth broadcast packet scanned by the Mesh controller is a BLE broadcast packet, the BLE broadcast packet is sent to the BLE controller for processing;

[0029] If the Bluetooth broadcast packet scanned by the BLE controller is a Mesh broadcast packet, the Mesh broadcast packet is sent to the Mesh controller for processing.

[0030] The beneficial effects of the display device and Bluetooth communication method provided in this application include:

[0031] This application embodiment solves the problem of Bluetooth broadcast packet loss by setting up a connected Mesh controller and BLE controller in a Bluetooth module, configuring the Mesh controller and BLE controller to scan Bluetooth broadcast packets simultaneously, and when a broadcast packet that does not belong to them is detected, the broadcast packet is passed to the other party for processing. This improves the quality of Bluetooth communication. Furthermore, this application only requires one Bluetooth module for Bluetooth communication, effectively controlling the cost of Bluetooth communication. Attached Figure Description

[0032] To more clearly illustrate the technical solution of this application, the drawings used in the embodiments will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0033] Figure 1 An operational scenario between a display device and a control device according to some embodiments is illustrated;

[0034] Figure 2 A hardware configuration block diagram of a control device 100 according to some embodiments is shown;

[0035] Figure 3A hardware configuration block diagram of a display device 200 according to some embodiments is shown;

[0036] Figure 4 A software configuration diagram of a display device 200 according to some embodiments is shown;

[0037] Figure 5 The image above exemplarily illustrates a schematic diagram of an icon control interface display for an application in a display device 200 according to some embodiments;

[0038] Figure 6 The diagram illustrates a structural schematic of a Bluetooth module according to some embodiments;

[0039] Figure 7 The diagram illustrates, exemplarily, a data transmission schematic of a Bluetooth host according to some embodiments;

[0040] Figure 8 The diagram illustrates a flowchart of a method for broadcasting Bluetooth data according to some embodiments;

[0041] Figure 9 The diagram illustrates a timing diagram of a Bluetooth broadcast initiation method according to some embodiments;

[0042] Figure 10 The diagram illustrates a flowchart of a Bluetooth data processing method according to some embodiments.

[0043] Figure 11 The diagram illustrates a flowchart of a Bluetooth data processing method according to some embodiments. Detailed Implementation

[0044] To make the objectives and implementation methods of this application clearer, the exemplary implementation methods of this application will be clearly and completely described below with reference to the accompanying drawings of the exemplary embodiments of this application. Obviously, the exemplary embodiments described are only some embodiments of this application, and not all embodiments.

[0045] It should be noted that the brief descriptions of terms in this application are only for the convenience of understanding the embodiments described below, and are not intended to limit the embodiments of this application. Unless otherwise stated, these terms should be understood in their ordinary and common meaning.

[0046] The terms "first," "second," "third," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar or related objects or entities, and do not necessarily imply a specific order or sequence, unless otherwise specified. It should be understood that such terms are interchangeable where appropriate.

[0047] The terms “comprising” and “having”, and any variations thereof, are intended to cover but not exclude inclusion, for example, a product or device that includes a range of components is not necessarily limited to all of the components that are clearly listed, but may include other components that are not clearly listed or that are inherent to such product or device.

[0048] The display device provided in this application can have various implementation forms, such as a television, a smart television, a laser projection device, a monitor, an electronic bulletin board, an electronic table, etc. Figure 1 and Figure 2 This is one specific embodiment of the display device of this application.

[0049] Figure 1 This is a schematic diagram illustrating the operational scenario between the display device and the control unit according to the embodiment. Figure 1 As shown, the user can operate the display device 200 through the smart device 300 or the control device 100.

[0050] In some embodiments, the control device 100 may be a remote control. Communication between the remote control and the display device includes infrared protocol communication, Bluetooth protocol communication, and other short-range communication methods, controlling the display device 200 wirelessly or via wired means. Users can control the display device 200 by inputting user commands through buttons on the remote control, voice input, control panel input, etc.

[0051] In some embodiments, a smart device 300 (such as a mobile terminal, tablet computer, computer, laptop computer, etc.) may also be used to control the display device 200. For example, an application running on the smart device may be used to control the display device 200.

[0052] In some embodiments, the display device 200 can also be controlled in ways other than the control device 100 and the smart device 300. For example, it can be controlled by directly receiving the user's voice commands through a module configured inside the display device 200 for acquiring voice commands, or it can be controlled by receiving the user's voice commands through a voice control device set outside the display device 200.

[0053] In some embodiments, the display device 200 also communicates data with the server 400.

[0054] See Figure 2The control device 100 includes a controller 110, a communication interface 130, a user input / output interface 140, a memory, and a power supply. The control device 100 can receive user input operation commands and convert the operation commands into commands that the display device 200 can recognize and respond to, thus acting as an intermediary for interaction between the user and the display device 200.

[0055] like Figure 3 The display device 200 includes at least one of the following: a tuner 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a memory, a power supply, and a user interface.

[0056] The display 260 can be an LCD display, an OLED display, or a projection display, and can also be a projection device and a projection screen.

[0057] The communicator 220 is a component used to communicate with external devices or servers according to various communication protocol types. For example, the communicator may include at least one of the following: a Wi-Fi module, a Bluetooth module, a wired Ethernet module, other network communication protocol chips or near-field communication protocol chips, and an infrared receiver. The display device 200 can establish the transmission and reception of control signals and data signals with the external control device 100 or the server 400 through the communicator 220.

[0058] The user interface can be used to receive control signals from the control device 100 (such as an infrared remote control).

[0059] Detector 230 is used to collect signals from the external environment or to interact with the outside world. For example, detector 230 includes a sound collector, such as a microphone, for receiving external sounds.

[0060] The external device interface 240 may include, but is not limited to, one or more of the following: High Definition Multimedia Interface (HDMI), analog or high-definition component input interface (component), composite video input interface (CVBS), USB input interface (USB), RGB port, etc. It may also be a composite input / output interface formed by multiple interfaces mentioned above.

[0061] The controller 250 controls the operation of the display device and responds to user operations through various software control programs stored in the memory. The controller 250 controls the overall operation of the display device 200. For example, in response to receiving a user command to select a UI object to display on the monitor 260, the controller 250 can execute operations related to the object selected by the user command.

[0062] See Figure 4In some embodiments, the system is divided into four layers, from top to bottom: the Applications layer (referred to as the "Application Layer"), the Application Framework layer (referred to as the "Framework Layer"), the Android runtime and system library layer (referred to as the "System Runtime Layer"), and the kernel layer.

[0063] In some embodiments, the kernel layer is a layer between hardware and software. For example... Figure 4 As shown, the kernel layer includes at least one of the following drivers: audio driver, display driver, Bluetooth driver, camera driver, WIFI driver, USB driver, HDMI driver, sensor driver (such as fingerprint sensor, temperature sensor, pressure sensor, etc.), and power driver.

[0064] In some embodiments, such as Figure 5 As shown, the application layer contains at least one application that can display corresponding icon controls on the display, such as: live TV application icon control, video-on-demand application icon control, media center application icon control, application center icon control, game application icon control, etc.

[0065] In some embodiments, the application center may provide a storage for various applications. An application may be a game, an application, or other applications related to a computer system or other device but capable of running on a smart TV. The application center may obtain these applications from various sources, store them in local storage, and then make them runnable on the display device 200.

[0066] In some embodiments, the display device can communicate with multiple terminal devices via a Bluetooth module to control these terminal devices, wherein these terminal devices are external devices located outside the display device body.

[0067] To enable Bluetooth communication between the display device and multiple external devices, in some embodiments, the display device is equipped with two Bluetooth modules: a Mesh Bluetooth module and a BLE Bluetooth module.

[0068] The Mesh Bluetooth module can be configured with a Mesh controller and a Bluetooth chip to enable Mesh networking with external devices. After forming a Mesh network, the display device can send Mesh broadcast packets, which can be transmitted to multiple external devices, such as lights, thereby realizing one-to-many and many-to-many communication.

[0069] A BLE Bluetooth module can be equipped with a BLE (Bluetooth Low Energy) controller and a Bluetooth chip to enable one-to-one communication with external devices, such as Bluetooth gamepads, Bluetooth headsets that support BLE functionality, etc.

[0070] It should be noted that the mesh network built by the display device relies on Bluetooth Low Energy technology, which is the wireless communication protocol stack used by the Blue Mesh controller.

[0071] As can be seen, using two Bluetooth modules allows the display device to communicate with multiple external devices simultaneously via Bluetooth. However, this communication method significantly increases the cost of Bluetooth communication. If only one type of BLE Bluetooth module from the Mesh Bluetooth module is used, the Bluetooth transmission bandwidth will be limited, and packet loss, lag, and other issues may occur in Bluetooth communication between some terminal devices and the display device, affecting the user experience.

[0072] To improve Bluetooth communication performance, this embodiment of the application sets up two connected Bluetooth hosts in the Bluetooth module of the display device: one is a Mesh controller and the other is a BLE controller. These two controllers receive Bluetooth broadcast packets, which can prevent the display device from missing Bluetooth broadcast packets and reduce costs by using only one Bluetooth master chip.

[0073] See Figure 6 This is a schematic diagram of the structure of a Bluetooth module according to some embodiments, such as Figure 6 As shown, the Bluetooth module may include a Bluetooth main chip, a Mesh controller, a BLE controller, a Mesh antenna, and a BLE antenna.

[0074] In some embodiments, the Bluetooth master chip is a Bluetooth host, and the Mesh controller, BLE controller, Mesh antenna and BLE antenna constitute a Bluetooth module.

[0075] In some embodiments, the Bluetooth master chip is connected to the Mesh controller and BLE controller of the Bluetooth module via a USB hub. The Mesh controller and BLE controller can be configured with two different Bluetooth addresses, which the Bluetooth master chip can use to distinguish between them. The Bluetooth address of the BLE controller can be referred to as USB address 1 or the first address, while the Bluetooth address of the Mesh controller can be referred to as USB address 2 or the second address.

[0076] In some embodiments, the Mesh controller and the BLE controller can be connected via an SPI (Serial Peripheral Interface) bus. The Mesh controller is electrically connected to the Mesh antenna, and the BLE controller is electrically connected to the BLE antenna.

[0077] The connection methods described above for the Bluetooth main chip and Mesh controller, the Bluetooth main chip and BLE controller, and the Mesh controller and BLE controller are merely illustrative examples. In actual implementation, other connection methods may also be used. See also Figure 7 This is a schematic diagram of data transmission of a Bluetooth host according to some embodiments, such as Figure 7 As shown, the Bluetooth host can start the BLE thread and Mesh thread separately through the Bluetooth protocol stack. The BLE thread communicates with the BLE controller at USB address 1 through the BLE driver, and the Mesh thread communicates with the Mesh controller at USB address 2 through the Mesh driver. Both the BLE driver and the Mesh driver are USB drivers. Therefore, the Bluetooth protocol frames communicate with the Mesh controller and the BLE controller respectively through the two USB drivers, processing the HCI (Human-Computer Interaction) data transmitted from these two controllers. The communication with the Mesh controller and the communication with the BLE controller do not interfere with each other. The HCI data may include some control data, such as power on / off commands and volume adjustment commands. The Mesh controller outputs Mesh broadcast data to the Bluetooth host chip. This Mesh broadcast data may specifically include the following: PB-ADV broadcast packets sent when the device joins the Mesh network, Mesh Beacon broadcast packets sent before the device joins the Mesh network, and Mesh Message data packets sent by the device for data communication after joining the network.

[0078] The BLE controller outputs standard broadcast data to the Bluetooth main chip. This standard broadcast data may include the following: the name of the broadcasting device, the service type of the broadcasting device, and the factory information of the broadcasting device.

[0079] In some embodiments, the Bluetooth module of the display device has two working states: broadcast state and scan state. The Bluetooth communication methods in these two states are described below.

[0080] When a display device needs to broadcast Bluetooth data to other devices, it can switch the Bluetooth module to broadcast mode, controlling the two Bluetooth modules to work together. For example, the specific method for the display device to set the Bluetooth module to broadcast mode can be as follows: the Bluetooth host sends a command to the Bluetooth module to set broadcast parameters, specifying the data to be broadcast. After the broadcast parameters and broadcast data are set, a command to enable broadcast is finally sent, activating the Bluetooth module's broadcast mode.

[0081] In some embodiments, the method for a display device to broadcast Bluetooth data can be found in [reference needed]. Figure 8 This is a flowchart illustrating a method for broadcasting Bluetooth data according to some embodiments, the method being used in the Bluetooth main chip of a Bluetooth module, such as... Figure 8 As shown, the method may include the following steps:

[0082] Step S110: Send a first broadcast parameter to the BLE controller with the first address, and send a second broadcast parameter to the BLE controller with the second address.

[0083] In some embodiments, the Bluetooth master chip sends a first broadcast parameter including a first broadcast interval, and a second broadcast parameter including a second broadcast interval. The first broadcast parameter can also be referred to as broadcast parameter 1, and the second broadcast parameter can also be referred to as broadcast parameter 2. The first broadcast interval and the second broadcast interval are different, which can avoid or reduce conflicts when the BLE controller and the Mesh controller perform Bluetooth broadcasts.

[0084] For example, the broadcast interval can be between 20 milliseconds and 10.24 seconds. The first broadcast parameter can be set to an interval between 1.28 seconds and 2.56 seconds. The second broadcast parameter can be set to an interval between 2.57 seconds and 5.14 seconds. Before setting the Bluetooth module to broadcast mode, determine the broadcast parameters to avoid mesh and BLE broadcast conflicts as much as possible.

[0085] Step S120: Send BLE broadcast data to the BLE controller and send Mesh broadcast data to the Mesh controller.

[0086] In some embodiments, the BLE broadcast data sent by the Bluetooth master chip to the BLE controller can be referred to as broadcast data 1, and the Mesh broadcast data sent by the Bluetooth master chip to the Mesh controller can be referred to as broadcast data 2.

[0087] Step S130: Control the BLE controller and Mesh controller to start broadcasting, wherein the BLE controller and Mesh controller are configured to both use the first address for broadcasting, the broadcast type of the BLE controller is configured to be disconnectable, and the broadcast type of the Mesh controller is configured to be connectable.

[0088] In some embodiments, the Bluetooth master chip can send Bluetooth broadcast start commands to the BLE controller and the Mesh controller respectively. After receiving the start command, the BLE controller and the Mesh controller can broadcast according to the Bluetooth broadcast parameters and Bluetooth data they have received.

[0089] In some embodiments, both the BLE controller and the Mesh controller use the first address of the BLE controller for broadcasting, making the display device appear as a single Bluetooth address to the outside world, facilitating Bluetooth communication between external devices and the display device. External devices refer to devices located outside the display device that communicate with it via Bluetooth, such as Bluetooth speakers and Bluetooth gamepads.

[0090] When the Mesh controller receives the command to enable broadcast from the Bluetooth master chip, the Mesh controller obtains the Bluetooth address from the BLE controller via SPI and compares it with the Mesh controller's own address. If they are different, the Mesh controller uses the Bluetooth address of the BLE controller for broadcasting, thus enabling both the BLE controller and the Mesh controller to use the first address of the BLE controller for broadcasting.

[0091] In some embodiments, both the BLE controller and the Mesh controller may use the second address of the Mesh controller for broadcasting.

[0092] There is no difference between broadcasting using the first address and the second address.

[0093] In some embodiments, the broadcast type of the BLE controller is configured to be connectable, and the broadcast type of the Mesh controller is configured to be non-connectable.

[0094] The BLE controller's connectable broadcast PDU types are primarily ADV_IND (non-directional broadcast type) and ADV_DIRECT_IND (directional broadcast type). When a scanning device detects this connectable broadcast type, it determines it as a BLE broadcast. The Mesh controller's non-connectable broadcast PDU type is ADV_NONCONN_IND (non-connectable non-directional broadcast type). This type of broadcast packet is only used for broadcasting data and cannot be connected; it can be used for broadcasting within the Mesh network.

[0095] To further explain the method for enabling Bluetooth broadcasting on a display device, Figure 9 A timing diagram of a Bluetooth broadcast initiation method according to some embodiments is shown.

[0096] like Figure 9As shown, the Bluetooth master chip sends the first broadcast parameters and BLE broadcast data to the BLE controller through the BLE thread, controlling the BLE controller to start broadcasting. The broadcast type is general, which is equivalent to the broadcast type being connectable.

[0097] like Figure 9 As shown, the Bluetooth master chip sends the second broadcast parameters and Mesh broadcast data to the Mesh controller through the Mesh thread, controlling the BLE controller to start broadcasting, with the broadcast type being "unconnectable".

[0098] In some embodiments, the Mesh thread also obtains the BLE broadcast interval from the BLE thread, thereby adjusting the broadcast interval of the Mesh controller according to the BLE broadcast interval, reducing or avoiding conflicts when the BLE controller and the Mesh controller are broadcasting via Bluetooth.

[0099] The above embodiments describe a method for initiating Bluetooth broadcasting after the display device switches to broadcast mode. When the display device needs to obtain data from other devices, it can switch the Bluetooth module to scanning mode and control the two Bluetooth modules to work together.

[0100] In some embodiments, the Bluetooth scanning process of the display device can be divided into two main steps: first, the Bluetooth master chip sets the BLE controller and Mesh controller to scanning mode; second, the BLE controller and Mesh controller process the Bluetooth broadcast packets when they are detected.

[0101] In some embodiments, the process of setting the BLE controller and Mesh controller to scan mode by the Bluetooth master chip is similar to the step of setting them to broadcast mode. In this case, the BLE controller and Mesh controller are set to scan mode respectively through different USB addresses.

[0102] For example, the specific method for setting up the scanning state is as follows: first, set the scanning parameters, including the scanning time and scanning window; then start the scan.

[0103] In some embodiments, after the Mesh controller is configured to scan, it begins scanning for Bluetooth broadcast packets. If a Bluetooth broadcast packet is detected, it can analyze whether the Bluetooth broadcast packet is a BLE broadcast packet or a Mesh broadcast packet. If it is a Mesh broadcast packet, it processes the Mesh broadcast packet itself; if it is a BLE broadcast packet, it sends the BLE broadcast packet to the BLE controller for processing.

[0104] In some embodiments, after the BLE controller is configured to scan, it begins scanning for Bluetooth broadcast packets. If a Bluetooth broadcast packet is detected, it can analyze whether the Bluetooth broadcast packet is a BLE broadcast packet or a Mesh broadcast packet. If it is a BLE broadcast packet, it processes the BLE broadcast packet itself; if it is a Mesh broadcast packet, it sends the Mesh broadcast packet to the Mesh controller for processing.

[0105] In some embodiments, the processing procedure of the Bluetooth module for Bluetooth data sent by external devices can be found in [reference needed]. Figure 10 This is a flowchart illustrating a Bluetooth data processing method according to some embodiments, such as... Figure 10 As shown, the method may include the following steps:

[0106] Step S210: Within a Bluetooth module, Bluetooth broadcast packets are scanned simultaneously via a Mesh controller and a BLE controller, wherein the Mesh controller and the BLE controller are connected.

[0107] In some embodiments, after the Bluetooth master chip sends scan commands to the Mesh controller and the BLE controller respectively, the Mesh controller and the BLE controller simultaneously scan Bluetooth broadcast packets according to the scan commands. It should be noted that "simultaneously" means that there is a moment when both the Mesh controller and the BLE controller are scanning Bluetooth broadcast packets, and does not necessarily mean that they start scanning and stop scanning at the same time. In fact, the Mesh controller and the BLE controller may start and stop scanning Bluetooth broadcast packets at different times.

[0108] Step S220: If the Bluetooth broadcast packet scanned by the Mesh controller is a BLE broadcast packet, the BLE broadcast packet is sent to the BLE controller for processing.

[0109] In some embodiments, since the Mesh controller and the BLE controller are connected via an SPI bus, if the Bluetooth broadcast packet scanned by the Mesh controller is a BLE broadcast packet, the Mesh controller can send the BLE broadcast packet to the BLE controller for processing via the SPI bus.

[0110] Step S230: If the Bluetooth broadcast packet scanned by the BLE controller is a Mesh broadcast packet, the Mesh broadcast packet is sent to the Mesh controller for processing.

[0111] In some embodiments, since the Mesh controller and the BLE controller are connected via an SPI bus, if the Bluetooth broadcast packet scanned by the BLE controller is a Mesh broadcast packet, the BLE controller can send the Mesh broadcast packet to the Mesh controller for processing via the SPI bus.

[0112] Of course, if the Bluetooth broadcast packet scanned by the Mesh controller is a Mesh broadcast packet, then the Mesh controller will process the Mesh broadcast packet.

[0113] To Figure 10 The method will be further described below. Figure 11 A flowchart illustrating a Bluetooth data processing method according to some embodiments is shown, which is used in a Mesh controller. Figure 11 As shown, the method may include the following steps:

[0114] Step S310: The Mesh controller begins scanning for Bluetooth broadcast packets.

[0115] Step S320: Determine whether the Bluetooth broadcast packet is an unconnectable broadcast packet based on the PDU_Type of the Bluetooth broadcast packet.

[0116] In some embodiments, the Bluetooth broadcast packet is modulated and demodulated to obtain the PDU_Type and AD Type.

[0117] In some embodiments, PDU_Type represents the protocol data unit type, which has two types: connectable and non-connectable. If PDU_Type is connectable, it means that the Bluetooth broadcast packet is a connectable broadcast packet; if PDU_Type is non-connectable, it means that the Bluetooth broadcast packet is a non-connectable broadcast packet.

[0118] In some embodiments, AD Type indicates the broadcast message type, which has two types: Mesh and BLE. If AD Type is Mesh, it means the Bluetooth broadcast packet is a Mesh broadcast packet; if AD Type is BLE, it means the Bluetooth broadcast packet is a BLE broadcast packet.

[0119] Step S330: If it is an unconnectable broadcast packet, check the AD Type of the broadcast packet and determine whether the AD Type is Mesh.

[0120] In some embodiments, both Mesh broadcast packets and BLE broadcast packets may be non-connectable broadcast packets, only BLE broadcast packets may be connectable packets, and Mesh broadcast packets cannot be connectable packets. Therefore, if the received Bluetooth broadcast packet is a non-connectable broadcast packet, further judgment is required.

[0121] Step S340: If AD Type is Mesh, it is determined to be a Mesh broadcast packet, and the Mesh controller processes the Bluetooth broadcast packet.

[0122] In some embodiments, if the AD Type is Mesh, the Mesh controller determines that the Bluetooth broadcast packet is a Mesh broadcast packet and can process the Bluetooth broadcast packet.

[0123] In some embodiments, an example of how the Mesh controller processes the Bluetooth broadcast packet is as follows: the Mesh controller removes the preamble, access address, and LL frame fields from the broadcast packet, and organizes the remaining data into an HCI event format before reporting it to the Bluetooth host.

[0124] Step S350: If the AD Type is not Mesh, it is determined to be a BLE broadcast packet, and the BLE controller processes the Bluetooth broadcast packet.

[0125] In some embodiments, if the AD Type is not Mesh, the Mesh controller determines that the Bluetooth broadcast packet is a BLE broadcast packet and can transmit the Bluetooth broadcast packet to the BLE controller.

[0126] Step S360: If PDU_Type is a connectable broadcast packet, it is determined to be a BLE broadcast packet and transmitted to the BLE controller via the SPI bus.

[0127] In some embodiments, if the PDU_Type is a connectable broadcast packet, the Mesh controller determines that the Bluetooth broadcast packet is a BLE broadcast packet and can transmit the Bluetooth broadcast packet to the BLE controller.

[0128] Step S370: The BLE controller processes the Bluetooth broadcast packets.

[0129] In some embodiments, the BLE controller may process the Bluetooth broadcast packet after receiving it from the Mesh controller.

[0130] In some embodiments, an example of how the BLE controller processes the Bluetooth broadcast packet is as follows: It determines whether the broadcast packet is connectable. If not, it removes the preamble and LL header from the broadcast packet and reports it to the Bluetooth host. If connectable, the BLE controller negotiates the physical channel and connection interval for the subsequent connection with the broadcast device, preparing to establish a connection.

[0131] Step S380: Send the processed data to the Bluetooth master chip.

[0132] In some embodiments, the Mesh controller or BLE controller can send the processed data to the Bluetooth master chip.

[0133] In some embodiments, the Bluetooth data processing method for BLE control and Figure 11 Similarly, simply put Figure 11The Mesh controller and BLE controller in the system can be interchanged.

[0134] Figure 11 The method described herein is merely an exemplary description. In some embodiments, other methods may be used to determine whether a Bluetooth broadcast packet is a Mesh broadcast packet or a BLE broadcast packet. For example, the AD Type may be used to directly determine whether a Bluetooth broadcast packet is a Mesh broadcast packet or a BLE broadcast packet, without further PDU_Type determination.

[0135] According to the Bluetooth communication method provided in the embodiments of this application, an example of a display device communicating with multiple external devices via Bluetooth is as follows:

[0136] In a typical home setting, external devices that communicate with a TV via Bluetooth include a Bluetooth switch, a Bluetooth gamepad, and a Bluetooth headset that supports BLE Audio. There are multiple Bluetooth switches, each used to control the lighting of multiple lights in the home. There is one Bluetooth headset, used to play audio sent by the TV and receive voice input from the user. There is one Bluetooth gamepad, used to input control commands to the TV, such as game commands.

[0137] The TV and Bluetooth switch form a BLE Mesh network through the Mesh controller of the display device. The TV and the game controller communicate via Bluetooth through the BLE controller of the display device. The TV and Bluetooth headset can communicate via broadcast instead of Bluetooth.

[0138] When a user opens a game on the TV, the communication between the TV and the Bluetooth controller is as follows:

[0139] 1) When the Bluetooth gamepad starts broadcasting, the TV controls the BLE controller to initiate a scan. After scanning the Bluetooth gamepad, it connects and obtains the button information generated by the user's operation of the Bluetooth gamepad.

[0140] 2) After the Bluetooth gamepad is connected to the TV, the button information of the Bluetooth gamepad will be sent to the TV in the form of Bluetooth data packets. The TV processes the button information and performs the corresponding game response.

[0141] If the TV receives control information from the Bluetooth switch, it can be processed by the Mesh controller.

[0142] If a user inputs voice while operating a Bluetooth controller to interact with game friends, the TV, in addition to receiving Bluetooth data packets from the controller, also needs to receive Bluetooth broadcast packets containing the user's voice sent by the Bluetooth headset. Since both the Bluetooth broadcast packets containing the user's voice and the Bluetooth data packets from the controller need to be processed by the BLE controller, the BLE controller may not be able to receive all the Bluetooth broadcast packets containing voice. In this case, the Mesh controller can receive the Bluetooth broadcast packets containing voice. When it determines that the broadcast packet is a BLE broadcast packet, it sends the broadcast packet to the BLE controller, thereby increasing the number and efficiency of Bluetooth broadcast packets received by the BLE controller. This allows the user's game friends to hear the user's voice more promptly and completely, thus improving the user's gaming experience.

[0143] As can be seen from the above embodiments, this application sets up a connected Mesh controller and BLE controller in a Bluetooth module, configuring the Mesh controller and BLE controller to scan Bluetooth broadcast packets simultaneously. Since the Mesh antenna and BLE antenna jointly scan BLE broadcast packets and modulate them, when the BLE antenna is at full load and some BLE broadcast packets are not scanned, the Mesh antenna still has idle time to modulate and demodulate the broadcast packets not scanned by the BLE antenna, and then transmits them to the BLE controller. In this way, the BLE controller can still receive its unscanned BLE broadcast packets through the SPI bus even when the physical bandwidth is insufficient, increasing bandwidth and processing capacity, reducing or even avoiding the problem of Bluetooth broadcast packet loss, and improving Bluetooth communication quality. Furthermore, this application only requires one Bluetooth module for Bluetooth communication, effectively controlling the cost of Bluetooth communication.

[0144] Since the above embodiments are all described in conjunction with other methods, and different embodiments have the same parts, the same or similar parts between the various embodiments in this specification can be referred to mutually. They will not be described in detail here.

[0145] It should be noted that in this specification, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a circuit structure, article, or device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a circuit structure, article, or device. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the circuit structure, article, or device that includes the element.

[0146] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the disclosure herein. This application is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered illustrative only, and the true scope and spirit of this application are indicated by the claims.

[0147] The above embodiments of this application do not constitute a limitation on the scope of protection of this application.

Claims

1. A display device, characterized in that, include: monitor; A controller, communicatively connected to the display, the controller comprising: The Bluetooth host is used to send scanning commands to the Mesh controller and the BLE controller respectively. A Bluetooth module, connected to the Bluetooth host, includes the connected Mesh controller and the BLE controller, wherein... The Mesh controller is configured to: scan Bluetooth broadcast packets according to the scanning command, analyze whether the Bluetooth broadcast packet is a BLE broadcast packet or a Mesh broadcast packet, and if it is a Mesh broadcast packet, process the Mesh broadcast packet; if it is a BLE broadcast packet, send the BLE broadcast packet to the BLE controller for processing. The BLE controller is configured to: scan Bluetooth broadcast packets simultaneously with the Mesh controller according to the scanning command, analyze whether the Bluetooth broadcast packet is a BLE broadcast packet or a Mesh broadcast packet, process the Mesh broadcast packet if it is a BLE broadcast packet, and send the Mesh broadcast packet to the Mesh controller for processing if it is a Mesh broadcast packet. Both the Mesh controller and the BLE controller use the USB address of the BLE controller or the USB address of the Mesh controller to communicate with external devices of the display device.

2. The display device according to claim 1, characterized in that, The Bluetooth module also includes: The mesh antenna is connected to the mesh controller and is used to receive the scanning command and then send the scanning command to the mesh controller. The BLE antenna is connected to the BLE controller and is used to receive the scan command and then send the scan command to the BLE controller.

3. The display device according to claim 1, characterized in that, The Mesh controller and BLE controller are also configured as follows: The Bluetooth broadcast packet is modulated and demodulated to obtain the protocol data unit type and broadcast message type. Based on the protocol data unit type and broadcast message type, it is determined whether the Bluetooth broadcast packet is a Mesh broadcast packet or a BLE broadcast packet.

4. The display device according to claim 3, characterized in that, The step of determining whether the Bluetooth broadcast packet is a Mesh broadcast packet or a BLE broadcast packet based on the protocol data unit type and broadcast message type includes: Determine whether the protocol data unit type is unconnectable; If the connection is not possible, determine whether the broadcast message type is Mesh. If it is Mesh, then it is determined to be a Mesh broadcast packet; otherwise, it is determined to be a BLE broadcast packet. If it is connectable, it is determined to be the BLE broadcast packet.

5. The display device according to claim 1, characterized in that, The Bluetooth host is connected to the Mesh controller via a USB hub, the Bluetooth host is connected to the BLE controller via a USB hub, and the Mesh controller is connected to the BLE controller via an SPI connection.

6. The display device according to claim 1, characterized in that, The Mesh controller and the BLE controller are configured with different USB addresses, and the Bluetooth host communicates with the Mesh controller and the BLE controller respectively through different USB addresses.

7. A Bluetooth communication method, characterized in that, A Bluetooth module is used, the Bluetooth module including a connected Mesh controller and a BLE controller, both the Mesh controller and the BLE controller using the USB address of the BLE controller or the USB address of the Mesh controller to communicate with external devices of the display device, the display device including the Bluetooth module, and the Bluetooth communication method including: Within a Bluetooth module, scanning commands are sent to both the Mesh controller and the BLE controller; the Mesh controller and the BLE controller simultaneously scan for Bluetooth broadcast packets and analyze whether the Bluetooth broadcast packets are BLE broadcast packets or Mesh broadcast packets. If the Bluetooth broadcast packet scanned by the Mesh controller is a Mesh broadcast packet, then the Mesh broadcast packet is processed; if a BLE broadcast packet is scanned, then the BLE broadcast packet is sent to the BLE controller for processing. If the Bluetooth broadcast packet scanned by the BLE controller is a BLE broadcast packet, then the BLE broadcast packet is processed; if the Mesh broadcast packet is scanned, then the Mesh broadcast packet is sent to the Mesh controller for processing.

Citation Information

Patent Citations

  • A Bluetooth dual-mode data communication method and device

    CN109788461A

  • Bluetooth-based data communication method, storage medium and electronic equipment

    CN110213758A

  • Bluetooth connection method and terminal

    US20190253857A1