Display device and device pairing method
By integrating the Bluetooth module in the display device and configuring the controller to determine the dual-mode device, and establishing a connection with the dual-mode device based on the A2DP protocol, the problem of low device pairing efficiency in the existing technology is solved, and efficient audio data transmission and multi-device connect.
Patent Information
- Application Number
- CN202311583113.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-03-30
- Filing Date
- 2023-11-23
- Publication Date
- 2024-10-01
AI Technical Summary
Existing technology makes it difficult to achieve pairing connections between display devices and dual-mode devices that support both the classic Bluetooth protocol and the low-power Bluetooth protocol, resulting in low device pairing efficiency and inconvenient audio data transmission.
By integrating the Bluetooth module in the display device, the controller configures the Bluetooth module to scan the device, and determines whether it is a dual-mode device based on the scanned device. If it is a dual-mode device, it establishes a Bluetooth connection with the target device based on the Advanced Audio Distribution A2DP protocol. , to achieve dual-protocol device pairing.
It achieves stable pairing connections between display devices and dual-mode devices that support classic Bluetooth and low-power Bluetooth protocols, improves the efficiency and flexibility of audio data transmission between devices, and supports multi-device connections and broadcast audio transmission.
Smart Images

Figure CN118741471A_ABST
Abstract
Description
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on March 30, 2023, with application number 2023103316700, the contents of which are incorporated by reference into this application. Technical Field
[0002] The present disclosure relates to the field of Bluetooth technology, and in particular to a display device and a device pairing method. Background Art
[0003] With the launch of the new generation of Bluetooth audio technology standard - Bluetooth-based low-energy audio (LE Audio) technology, more and more devices can support the Bluetooth-based low-energy audio (LE Audio) protocol. For dual-mode devices that support the LE Audio protocol, a device pairing method is urgently needed. Summary of the invention
[0004] In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides a display device and a device pairing method, which can realize the pairing connection between the display device and a dual-mode device that supports both the classic Bluetooth protocol and the low-power Bluetooth protocol.
[0005] In order to achieve the above objectives, the technical solutions provided by the embodiments of the present disclosure are as follows:
[0006] In a first aspect, the present disclosure provides a display device, characterized in that it includes: a controller, a display, and a Bluetooth module connected to the controller;
[0007] The controller is configured to:
[0008] Control the Bluetooth module to scan for devices, and control the display to display the scanned devices;
[0009] In response to a pairing request triggered for a target device among the scanned devices, determining whether the target device is a dual-mode device; wherein the dual-mode device is an audio receiving device that supports both the classic Bluetooth protocol and the low-power Bluetooth protocol;
[0010] If it is determined that the target device belongs to the dual-mode device, the Bluetooth module is controlled to establish a Bluetooth connection with the target device based on the Advanced Audio Distribution A2DP protocol.
[0011] In a second aspect, the present disclosure provides a device pairing method, characterized by comprising:
[0012] Control the Bluetooth module to scan devices and display the scanned devices;
[0013] Control the Bluetooth module to scan devices, and control the display to display the scanned devices;
[0014] In response to a pairing request triggered for a target device among the scanned devices, determining whether the target device is a dual-mode device; wherein the dual-mode device is an audio receiving device that supports both the classic Bluetooth protocol and the low-power Bluetooth protocol;
[0015] If it is determined that the target device belongs to the dual-mode device, the Bluetooth module is controlled to establish a Bluetooth connection with the target device based on the Advanced Audio Distribution A2DP protocol.
[0016] In a third aspect, the present disclosure provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the device pairing method as shown in the second aspect.
[0017] In a fourth aspect, the present disclosure provides a computer program product, which includes a computer program. When the computer program is executed on a computer, the computer implements the device pairing method as shown in the second aspect.
[0018] The display device and device pairing method provided by the embodiment of the present disclosure, wherein the display device includes: a controller, a display, and a Bluetooth module connected to the controller, and the controller is configured to: first, control the Bluetooth module to scan the device, and control the display to display the scanned device; then, in response to the pairing request triggered for the target device in the scanned device, determine whether the target device is a dual-mode device; wherein the dual-mode device is an audio receiving device that supports both the classic Bluetooth protocol and the low-power Bluetooth protocol; if it is determined that the target device is a dual-mode device, then control the Bluetooth module to establish a Bluetooth connection with the target device based on the Advanced Audio Distribution A2DP protocol. It can be seen that the embodiment of the present disclosure can realize the pairing connection between the display device and the dual-mode device that supports both the classic Bluetooth protocol and the low-power Bluetooth protocol. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0020] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0021] Figure 1A schematic diagram of one-to-one audio transmission of unicast media audio in the related art;
[0022] Figure 2 A schematic diagram of one-to-two audio transmission of unicast media audio provided in the related art;
[0023] Figure 3 A schematic diagram showing the relationship between extended broadcast, periodic broadcast and BIS;
[0024] Figure 4 A schematic diagram showing the relationship between extended broadcast packets, subsidiary broadcast packets, periodic broadcast packets and BIS;
[0025] Figure 5 It is a schematic diagram of continuously sending BIG in the related art;
[0026] Figure 6 A schematic diagram of a scenario of a device pairing method provided in an embodiment of the present disclosure;
[0027] Figure 7 A hardware configuration block diagram of a display device 100 provided in an embodiment of the present disclosure;
[0028] Figure 8 A schematic diagram of a software system architecture of a display device 100 provided in an embodiment of the present disclosure;
[0029] Fig. 9 A hardware configuration block diagram of a scanned device 200 provided in an embodiment of the present disclosure;
[0030] Fig.10 A schematic diagram of a device pairing method provided in an embodiment of the present disclosure;
[0031] Fig.11 A device management page diagram of a display device provided in an embodiment of the present disclosure Figure 1 ;
[0032] Fig.12 A device management page diagram of a display device provided in an embodiment of the present disclosure Figure 2 ;
[0033] Fig.13 A device management page diagram of a display device provided in an embodiment of the present disclosure Figure 3 ;
[0034] Fig.14 A device management page diagram of a display device provided in an embodiment of the present disclosure Figure 4 ;
[0035] Fig.15 A schematic diagram of a broadcast display page of a display device provided in an embodiment of the present disclosure;
[0036] Fig.16 A schematic diagram of a device pairing display method provided in an embodiment of the present disclosure Figure 1 ;
[0037] Fig.17 A schematic diagram of a device pairing display method provided in an embodiment of the present disclosure Figure 2 ;
[0038] Fig.18 A device management page diagram of a display device provided in an embodiment of the present disclosure Figure 5 ;
[0039] Fig.19 A device management page diagram of a display device provided in an embodiment of the present disclosure Figure 6 ;
[0040] Fig. 20 A device pairing process provided in an embodiment of the present disclosure;
[0041] Fig.21 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0042] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.
[0043] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.
[0044] The display device and the audio receiving device provided in the present disclosure can support the low-power audio (LE Audio) technology based on Bluetooth, wherein the display device is used as an audio playback device or a device for configuring an audio receiving device. For example, the display device can be a TV, a mobile phone, a projector, etc., and the audio receiving device can be a Bluetooth speaker, a Bluetooth headset, etc.
[0045] Compared with classic Bluetooth, LE Audio has the following advantages:
[0046] 1. One audio playback device can be connected to multiple audio receiving devices at the same time;
[0047] 2. A broadcast audio device can send broadcast audio to an unlimited number of audio receiving devices, supporting encrypted broadcasting;
[0048] 3. Adopt the latest Low Complexity Communication Codec (LC3) audio format, and the sound quality is improved;
[0049] 4. Support Internet phone and HD calls;
[0050] 5. Support hearing aid / assisted listening applications.
[0051] The LE Audio application layer specification Telephony and Media Audio Profile (TMAP) defines two media audio applications: unicast media audio and broadcast media audio.
[0052] Unicast Media Audio
[0053] Compared with the current media audio application specification (Advanced Audio Distribution Profile. A2DP) in classic Bluetooth, the unicast media audio in TMAP uses a more advanced audio codec to provide better sound quality, and at the same time provides richer control functions than the current classic Bluetooth media playback control specification (Audio / Video Remote Control Profile, AVRCP). TMAP defines two roles for unicast media audio applications: Unicast Media Sender (UMS) and Unicast Media Receiver (UMR). Unicast media audio transmission is achieved between UMS and UMR through the connection isochronous stream (CIS).
[0054] It should be noted that the unicast media audio defined in TMAP is not limited to one-to-one audio transmission, but also supports a unicast media sender transmitting unicast media audio to two unicast media receivers.
[0055] Figure 1 FIG. 1 is a schematic diagram of a one-to-one audio transmission of unicast media audio in the related art. Figure 1 As shown, UMS11 sends unicast media audio to UMR12.
[0056] Figure 2 FIG. 1 is a schematic diagram of a one-to-two audio transmission of unicast media audio provided in the related art. Figure 2 As shown, UMS21 sends unicast media audio to UMR22 and UMR23 respectively.
[0057] Broadcast Media Audio
[0058] Broadcast media audio in TMAP is transmitted synchronously based on multiple connectionless broadcast isochronous streams (BIS). The biggest advantage of broadcast media audio is that it can transmit audio data synchronously to multiple audio receiving devices.
[0059] The broadcast synchronization channel of broadcast media audio in TMAP has two concepts: broadcast isochronous group (BIG) and BIS. An audio sending device can send multiple BIGs at the same time, each BIG can be composed of multiple BISs, and a BIG can contain up to 31 BISs. Each BIS has a unique access address (Access Address), and the access address of the BIS is generated according to a unified algorithm based on the seed access address (Seed Access Address) of the BIG to which it belongs.
[0060] Broadcast media audio may include multiple broadcasts with different access addresses, for example, including:
[0061] Extended Advertising: Extended advertising on the main advertising channel, using ADV_EXT_IND packets, and pointing to the subsidiary advertising through time and frequency information. Its access address uses the main advertising access address specified in the Bluetooth core specification: 0x8E89BED6.
[0062] Periodic Advertising: The subsidiary broadcast uses the AUX_ADV_IND packet and points to the periodic broadcast through time, frequency hopping map and access address. The periodic broadcast uses the AUX_SYNC_IND packet and contains BIG information (BIGInfo).
[0063] Broadcast Isochronous Stream (BIS): A broadcast isochronous stream that periodically broadcasts digital audio using a time, frequency hopping map, access address, and BIGInfo pointing to the BIS, using BIS Protocol Data Unit (PDU) packets.
[0064] Figure 3 The diagram is a diagram of the relationship between extended broadcast, periodic broadcast and BIS. It should be noted that Bluetooth operates in the 2.4GHz band, which has a frequency range of 2402MHz to 2480MHz, with a channel every 2MHz, for a total of 40 channels, of which there are 3 main broadcast channels, namely channel 37, channel 38 and channel 39, and the remaining 37 channels are secondary broadcast channels, which are channel 0 to channel 36. Figure 3 As shown, the main broadcast channel includes channel 37, channel 38 and channel 39; the secondary broadcast channel includes: channel 0 to channel 36. The extended broadcast on the main broadcast channel can use ADV_EXT_IND packets, and point to the subsidiary broadcast of the secondary broadcast channel through time and frequency information. After that, the subsidiary broadcast uses AUX_ADV_IND packets, and points to the periodic broadcast through time, frequency hopping map and access address. Further, the periodic broadcast uses AUX_SYNC_IND packets, and points to BIS through time, frequency hopping map, access address and BIG information (BIGInfo). BIS uses BIS PDU packets to broadcast digital audio.
[0065] Figure 4 Figure 1 is a schematic diagram showing the relationship between extended broadcast packets, auxiliary broadcast packets, periodic broadcast packets, and BIS. Figure 4 As shown, the audio sending device sends an extended broadcast packet (ADV_EXT_IND) on the main broadcast channel (37, 38, 39), and the extended broadcast packet includes: the broadcast device address (AdvA), broadcast data information (ADI) and the pointer of the auxiliary broadcast packet (AuxiliaryPointer, AuxPtr), wherein AuxPtr indicates that the auxiliary broadcast will be carried out on the secondary broadcast channel next, and the auxiliary broadcast packet (AUX_ADV_IND) includes: extended broadcast data (AdvData), broadcast audio announcement service universal unique identifier (BroadcastAudio Announcement Service UUID), other service universal unique identifiers (Others ServiceUUIDs), and the auxiliary broadcast packet indicates the data channel and broadcast period of the periodic broadcast. The periodic broadcast packet (AUX_SYNC_IND) includes: additional broadcast data BIG information (Additional Controller Advertising Data BIGinfo, ACAD BIGinfo), and the basic audio broadcast service universal unique identifier (AdvData BasicAudio Announcement Service UUID), BASE of the extended broadcast data. The periodic broadcast packet contains all the information of the broadcast isochronous stream BIS. After receiving the periodic broadcast packet, the broadcast receiver receives the BIS data on a specific channel at a specific time anchor point according to the data included therein to obtain the BIS audio stream.
[0066] In actual applications, when broadcasting digital audio via BIS, it is achieved by continuously sending BIG. Each time a BIG is sent, it can be called a BIG event, and each BIG event can include multiple BISs.
[0067] Figure 5FIG. 1 is a schematic diagram of continuously sending BIG in the related art. Figure 5 As shown, in the process of continuously sending BIG, BIG events are executed periodically and continuously. Figure 5 The BIG anchor points shown in indicate the start time of each BIG event, and the time interval between two anchor points is a cycle for executing the BIG event. Figure 5 The following example uses three BIG events, each of which includes two BIS events. Figure 5 The diagram shows the continuous execution of BIG event X, BIG event (X+1) and BIG event (X+2), wherein each BIG event includes two BIS streams, namely Figure 5 BIS1 and BIS2 are shown in FIG. In the process of executing the BIG time, the BIS stream will be broadcasted, and in the process of broadcasting the BIS stream, the BIS stream will be broadcasted once every fixed time interval.
[0068] The device pairing method of the embodiment of the present disclosure can be implemented through a display device and a device scanned by the display device, and the display device can be a mobile phone, a television, a computer, etc. The scanned device can be a speaker, a headset, a keyboard, a mouse, etc. The device pairing method provided in the embodiment of the present disclosure mainly involves a pairing connection phase and a preset identification display phase, and the pairing connection phase is mainly implemented through a display device and / or a control terminal. Among them, the control terminal can be a mobile terminal, for example, a mobile phone, a tablet computer, a remote control, a wearable device, etc., which can be used to establish a Bluetooth connection with a target device, and the wearable device can be a smart watch, a smart bracelet, etc.
[0069] Figure 6 A scenario diagram of a channel configuration processing method provided by an embodiment of the present disclosure Figure 1 .like Figure 6 As shown, Figure 6 In the example, the display device is a TV, and the scanned devices are device 1, device 2, and device 3. The scenario includes the TV and devices 1, device 2, and device 3. The TV controls the Bluetooth module to scan the device and controls the display to display the scanned devices. When the TV receives a pairing request triggered for device 2 (i.e., the target device), it determines whether device 2 is a dual-mode device, and when it is determined that device 2 is a dual-mode device, it controls the Bluetooth module to establish a Bluetooth connection with device 2 based on the A2DP protocol.
[0070] Figure 7 FIG. 1 is a hardware configuration block diagram of a display device 100 provided in an embodiment of the present disclosure. Figure 7The display device 100 shown includes: a tuner 110, a communicator 120, a detector 130, an external device interface 140, a controller 150, a display 160, an audio output interface 170, a memory, a power supply, etc. Among them, the controller 150 includes a central processing unit, a video processor, an audio processor, a graphics processor, a random access memory (Random Access Memory, RAM), a read-only memory (Read-Only Memory, ROM), and a first interface to an nth interface for input / output. The display 160 can be at least one of a liquid crystal display, an OLED display, a touch display, and a projection display, and can also be a projection device and a projection screen. The tuner 110 receives broadcast television signals through wired or wireless reception, and demodulates audio and video signals from multiple wireless or wired broadcast television signals, such as and an electronic program guide (EPG) data signal. The detector 130 is used to collect signals of the external environment or interact with the outside. The controller 150 and the tuner-demodulator 110 may be located in different separate devices, that is, the tuner-demodulator 110 may also be located in an external device of the main device where the controller 150 is located, such as an external set-top box.
[0071] For example Figure 6 In the scenario shown, when implementing the device pairing method provided by the embodiment of the present disclosure, each component in the display device 100 can implement the following functions:
[0072] In some embodiments, the controller 150 is configured to:
[0073] Control the Bluetooth module to scan for devices, and control the display to display the scanned devices;
[0074] In response to a pairing request triggered for a target device among the scanned devices, determining whether the target device is a dual-mode device; wherein the dual-mode device is an audio receiving device that supports both the classic Bluetooth protocol and the low-power Bluetooth protocol;
[0075] If it is determined that the target device belongs to the dual-mode device, the Bluetooth module is controlled to establish a Bluetooth connection with the target device based on the Advanced Audio Distribution A2DP protocol.
[0076] In some embodiments, the controller 150 is configured to:
[0077] After controlling the Bluetooth module to establish a Bluetooth connection with the target device based on the A2DP protocol, in response to a connection protocol switching operation for the target device, controlling the Bluetooth module to disconnect the Bluetooth connection established based on the A2DP protocol, and controlling the local speaker to play audio data;
[0078] Control the Bluetooth module to establish a Bluetooth connection with the target device based on the LE Audio protocol, control the local speaker to stop playing audio data, and synchronize the audio data of the display device to the target device through the Bluetooth connection established based on the LE Audio protocol.
[0079] In some embodiments, the controller 150 is configured to:
[0080] The controlling the local speaker to play the audio data comprises:
[0081] Controls the speakers of this unit to play audio data in silent mode.
[0082] In some embodiments, the controller 150 is configured to:
[0083] After controlling the Bluetooth module to establish a Bluetooth connection with the target device based on the A2DP protocol, in response to a connection protocol switching operation for the target device, controlling the Bluetooth module to establish a dual-protocol Bluetooth connection with the target device based on the A2DP protocol and the LE Audio protocol, and setting the state of the A2DP protocol to an inactive state, and setting the state of the LE Audio protocol to an active state; wherein the LE Audio protocol in the active state is used to synchronize the audio data of the display device to the target device.
[0084] In some embodiments, the controller 150 is configured to:
[0085] After controlling the Bluetooth module to establish a Bluetooth connection with the target device based on the A2DP protocol, in response to a connection protocol switching operation for the target device, the display is controlled to display a broadcast scanning control in an operable state; wherein the broadcast scanning control is used to trigger scanning of broadcast signal sources for the target device.
[0086] In some embodiments, the controller 150 is configured to:
[0087] In response to a trigger operation on the broadcast scanning control, controlling the Bluetooth module to scan the broadcast, and controlling the display to display an identifier of a scanned broadcast signal source;
[0088] In response to a selection operation for a target identifier among the scanned broadcast signal source identifiers, broadcast parameter information of the broadcast signal source corresponding to the target identifier is sent to the target device, so that the target device plays audio data emitted by the broadcast signal source based on the broadcast parameter information.
[0089] In some embodiments, the controller 150 is configured to:
[0090] In response to a pairing request triggered for a target device among the scanned devices, determining whether the target device supports the LE Audio protocol based on COD information and / or UUID information of the target device;
[0091] If it is determined that the target device supports the LE Audio protocol, the display is controlled to display a preset logo for the target device; wherein the preset logo is used to indicate that the target device supports the LE Audio protocol.
[0092] In some embodiments, the controller 150 is configured to:
[0093] After controlling the Bluetooth module to establish a Bluetooth connection with the target device based on the LE Audio protocol, the method further includes:
[0094] In response to a trigger operation of switching the current audio output channel to the Bluetooth broadcast output channel, controlling the UMS protocol state to switch to the inactive state, and controlling the BMS protocol state to switch to the active state;
[0095] The broadcast parameter information of the display device is sent to the target device, so that the target device synchronously plays the audio data emitted by the display device based on the broadcast parameter information.
[0096] Figure 8 FIG. 1 is a schematic diagram of a software system architecture of a display device 100 provided in an embodiment of the present disclosure. Figure 8 As shown, the software system may include: an application layer, a system framework layer (Application Framework) layer (referred to as "framework layer"), a system hardware abstraction layer (Hardware Abstraction Layer, HAL) layer and a Bluetooth protocol stack.
[0097] The application layer includes: an Android application package (APK) corresponding to the setting application, or a home speaker APK corresponding to the home speaker application. Both the setting APK and the home speaker APK can be used to implement a pairing connection between an audio receiving device and a display device that support both the classic Bluetooth protocol and the low-power Bluetooth protocol in the embodiment of the present disclosure.
[0098] The system framework layer includes: LE Audio TMAP application specifications and audio services (Audio Service). Among them, LE Audio TMAP is a technical specification for devices that support LE Audio to implement various types of calls and media applications that are universally used worldwide. In the embodiments disclosed herein, the technical specifications of media applications in LE Audio TMAP are mainly used to configure audio receiving devices, broadcast BIS streams, and call the broadcast assistant function (BASS, also known as broadcast audio scanning service). AudioService is mainly responsible for receiving the channel information configured by the application. After the audio decoder (Decoder) decodes the audio data, it is sent to the Bluetooth module according to the configured channel information. The Bluetooth module then broadcasts the audio data, that is, broadcasts the BIS stream.
[0099] The system HAL layer includes the LC-3 audio codec, which is a low-complexity communication encoder. In the disclosed embodiment, the audio data passed into the Bluetooth protocol stack needs to be encoded by the LC-3 audio codec. The system HAL layer also includes a general audio framework (GAF); GAF also includes a common audio specification (Common Audio Profile, CAP), a common audio service (Common Audio Service, CAS), audio stream transmission management and volume control, wherein the audio stream transmission management includes a basic audio profile (BAP), an audio capability display service (PACS), an audio stream control service (ASCS) and a broadcast audio scanning service (Broadcast Audio Scan Service, BASS), and BASS is required for broadcast synchronization in the disclosed embodiment. Volume control includes: Voice Control Profile (Volume Control Profile, VCP), Volume Control Service (Volume Control Service, VCS), Voice Offset Control Service (Voice Offset Control Service, VOCS), Audio Input Control Service (Audio Input Control Service, AICS). In the disclosed embodiment, when the display device controls the display to display the scanned device, and controls the Bluetooth module to establish a Bluetooth connection with the target device based on the A2DP protocol, it can be achieved through the services involved in the audio stream control service.
[0100] The Bluetooth protocol stack is responsible for scanning, connecting and configuring audio receiving devices, as well as configuring broadcasts and encoding audio.
[0101] Fig. 9 FIG. 2 is a hardware configuration block diagram of a scanned device 200 provided in an embodiment of the present disclosure. Fig. 9As shown, the scanned device 200 includes: a controller 210, a communicator 220, a user input / output interface 230, a memory 240, and a power supply 250. The communicator 220 is used to communicate with the outside, and includes at least one of a WIFI chip, a Bluetooth module, NFC or an alternative module. The user input / output interface 230 includes at least one of a speaker, a microphone, a touch panel, a sensor, a button or an alternative module.
[0102] Corresponding to Figure 6 The scene diagram shown in the present disclosure provides a method as follows: Fig.10 How to pair devices as shown. Fig.10 As shown, it is a flow chart of a device pairing method provided by an embodiment of the present disclosure. Fig.10 As shown, the method may include but is not limited to the following steps S1001-S1003:
[0103] S1001, controlling the Bluetooth module to scan for devices, and controlling the display to display the scanned devices.
[0104] In some embodiments, when entering the device management page, the display device will automatically control the Bluetooth module to scan nearby devices and display the scanned devices on the device management page.
[0105] The Bluetooth module can be used to exchange information with other devices supporting the Bluetooth function through the Bluetooth protocol. For example, the display device can scan other devices supporting the Bluetooth function through the Bluetooth module.
[0106] The scanned devices may include audio receiving devices supporting the Bluetooth function, such as earphones, speakers and other devices, and may also include devices supporting the Bluetooth function, such as mice, keyboards, and electronic pens.
[0107] like Fig.11 FIG. 1 is a schematic diagram of a device management page of a display device provided in an embodiment of the present disclosure. Figure 1 The scanned device list displayed on the device management page includes the devices scanned this time, such as device 3 and device 4.
[0108] S1002. In response to a pairing request triggered for a target device among the scanned devices, determine whether the target device is a dual-mode device; wherein the dual-mode device is an audio receiving device that supports both classic Bluetooth protocol and low-power Bluetooth protocol.
[0109] In the embodiment of the present disclosure, when the display device receives a pairing request triggered for a target device among the scanned devices, it first determines whether the target device is a dual-mode device.
[0110] In the embodiments of the present disclosure, a dual-mode device refers to an audio receiving device that supports both the classic Bluetooth protocol and the low-power Bluetooth protocol. Correspondingly, a single-mode device refers to an audio receiving device that only supports one Bluetooth protocol, for example, an audio receiving device that only supports the classic Bluetooth protocol.
[0111] In actual applications, since dual-mode devices can send broadcast protocol packets to the outside, and the broadcast packets carry field information for identifying the device as a dual-mode device, when the display device is in a scanning state and scans a broadcast protocol packet sent by a certain device, it can be determined based on the field information carried in the broadcast protocol packet that the device is an audio receiving device that supports both the classic Bluetooth protocol and the low-power Bluetooth protocol.
[0112] In some embodiments, when the display device receives a pairing request triggered for a target device in the scanned devices, it can also determine that the target device is a dual-mode device based on the field information carried in the broadcast protocol packet of the target device. For example, assuming that the broadcast protocol packet of the target device carries field information supporting BR / EDR, it can be determined that the target device is a dual-mode device that supports both the classic Bluetooth protocol and the low-power Bluetooth protocol.
[0113] In addition, for single-mode devices that only support the classic Bluetooth protocol, since single-mode devices can send query instruction packets to the outside, when the display device is in a scanning state and scans a query instruction packet sent by a certain device, it can be determined based on the query instruction packet that the device is a single-mode device that only supports the classic Bluetooth protocol.
[0114] S1003: If it is determined that the target device belongs to the dual-mode device, control the Bluetooth module to establish a Bluetooth connection with the target device based on the Advanced Audio Distribution A2DP protocol.
[0115] The LEAudio application layer specification Telephony and Media Audio Profile (TMAP) defines two types of media audio applications, namely unicast media audio and broadcast media audio, where unicast media audio includes unicast media sender UMS and unicast media receiver UMR, and broadcast media audio includes broadcast media sender BMS and broadcast media receiver BMR. In actual applications, the unicast media sender UMS and the broadcast media sender BMS are mutually exclusive, that is, the audio output channel of the Bluetooth device cannot be in the unicast state and the broadcast state at the same time.
[0116] In some embodiments, since the audio output channel of the target device cannot be in the unicast state and the broadcast state at the same time, after controlling the Bluetooth module to establish a Bluetooth connection with the target device based on the LEAudio protocol, it is also possible to control the BMS protocol state to switch to the activated state and control the UMS protocol state to be set to the inactivated state when a trigger operation to switch the current audio data channel to the Bluetooth broadcast output channel is received.
[0117] In actual applications, after the BMS protocol status of the display device is set to the activated state, the display device will be in the broadcast state. At this time, the broadcast parameter information of the display device can be obtained. Further, the broadcast parameter information of the display device is sent to the target device, so that the target device can synchronously play the audio data emitted by the display device according to the broadcast parameter information.
[0118] Among them, the current audio output channel may include a local speaker audio output channel, a USB audio output channel, an HDMI audio output channel, etc.
[0119] The broadcast parameter information may include address type, device address, broadcast source address, broadcast packet cluster ID number, broadcast ID information, synchronization interval, encryption, Broadcastcode, rendering delay time, SUBGROUP information, Android version, etc. After receiving the broadcast parameters of the display device, the target device can synchronously play the audio data sent by the application of the display device based on the broadcast parameter information.
[0120] In the device pairing method provided by the embodiment of the present disclosure, first, the Bluetooth module is controlled to scan the device, and the display is controlled to display the scanned device; then, in response to the pairing request triggered for the target device in the scanned device, it is determined whether the target device is a dual-mode device; wherein the dual-mode device is an audio receiving device that supports both the classic Bluetooth protocol and the low-power Bluetooth protocol; if it is determined that the target device is a dual-mode device, the Bluetooth module is controlled to establish a Bluetooth connection with the target device based on the Advanced Audio Distribution A2DP protocol. It can be seen that the embodiment of the present disclosure can realize the pairing connection between the display device and the audio receiving device that supports both the classic Bluetooth protocol and the low-power Bluetooth protocol.
[0121] In some embodiments, after controlling the Bluetooth module to establish a Bluetooth connection with the target device based on the A2DP protocol, the Bluetooth module may be controlled to disconnect the Bluetooth connection established based on the A2DP protocol in response to a connection protocol switching operation for the target device, and the local speaker may be controlled to play audio data;
[0122] Among them, the connection protocol switching operation for the target device may include a triggering operation for a preset control corresponding to the target device, such as a selection operation for an "Open LEAudio" control, a deselection operation for an "Open LEAudio" control, etc.
[0123] In some embodiments, in the process of displaying connected devices on a device management page, when a user's selection operation on a target device among the connected devices is received, a pop-up window corresponding to the target device is displayed, wherein an "Open LEAudio" control may be displayed in the pop-up window, and when the display device receives the selection operation for the "Open LEAudio" control, it controls the Bluetooth module to disconnect the Bluetooth connection established with the target device based on the A2DP protocol, and controls the local speaker to play audio data.
[0124] like Fig.12 FIG. 1 is a schematic diagram of a device management page of a display device provided in an embodiment of the present disclosure. Figure 2 Among them, the connected device list in the device management page displays device 1, device 2, and device 4 that have established Bluetooth connections with the display device. When the user selects device 2, a pop-up window corresponding to device 2 is displayed on the current page.
[0125] like Fig.13 FIG. 1 is a schematic diagram of a device management page of a display device provided in an embodiment of the present disclosure. Figure 3 Among them, a pop-up window corresponding to device 2 is displayed on the page. When receiving the selection operation for the "Open LEAudio" control 1301, the display device controls the Bluetooth module to disconnect the Bluetooth connection established with device 2 based on the A2DP protocol, and controls the local speaker to play audio data.
[0126] In some embodiments, after the display device controls the Bluetooth module to establish a Bluetooth connection with the target device based on the A2DP protocol, the audio data can be broadcast to the target device through the A2DP protocol so that the target device plays the received audio data based on the current playback mode.
[0127] In actual applications, when the display device receives a connection protocol switching operation for a target device, the target device may be playing audio data received based on the A2DP protocol at this time. Since there may be an interruption in the transmission of audio data during the protocol switching process, the display device can also control the local speaker to play audio data when controlling the local Bluetooth module to disconnect the Bluetooth connection established with the target device based on the A2DP protocol, or control the local speaker to play audio data in silence.
[0128] In some embodiments, the pop-up window corresponding to the target device may also display a disconnect control, a unpairing control, a cancel control, etc., wherein the disconnect control is used to control the Bluetooth module to disconnect the Bluetooth connection with the target device. For example, when the "Open LEAudio" control is in an unselected state, the display device controls the Bluetooth module to disconnect the Bluetooth connection established with the target device based on the A2DP protocol when receiving a trigger operation for the disconnect control; when the "Open LEAudio" control is in a selected state, the display device controls the Bluetooth module to disconnect the Bluetooth connection established with the target device based on the LEAudio protocol when receiving a trigger operation for the disconnect control.
[0129] Cancel the pairing connection to cancel the pairing connection between the display device and the target device. After canceling the pairing connection between the display device and the target device, if the user wants to re-establish a Bluetooth connection with the target device, a pairing request needs to be triggered again for the target device. The cancel control is used to close the pop-up window for the target device.
[0130] In some embodiments, after the display device controls the Bluetooth module to disconnect the Bluetooth connection established with the target device based on the A2DP protocol and controls the local speaker to play audio data, it can also control the Bluetooth module to establish a Bluetooth connection with the target device based on the LE Audio protocol, and control the local speaker to stop playing audio data, and synchronize the audio data of the display device to the target device through the Bluetooth connection established based on the LE Audio protocol.
[0131] In the disclosed embodiment, since the display device and the target device can perform audio data transmission based on the LE Audio protocol after establishing a Bluetooth connection based on the LE Audio protocol, the display device can control the local speaker to stop playing audio data while controlling the Bluetooth module to establish a Bluetooth connection with the target device based on the LE Audio protocol. Instead, the audio data is sent to the target device through the Bluetooth connection established by the LE Audio protocol, and the target device synchronously plays the audio data based on the audio data sent by the LE Audio protocol.
[0132] like Fig.14 FIG. 1 is a schematic diagram of a device management page of a display device provided in an embodiment of the present disclosure. Figure 4 If the "Open LEAudio" control on this page is selected, it means that the display device has established a Bluetooth connection with the target device based on the LEAudio protocol. At this time, the local speaker is controlled to stop playing audio data, and the audio data of the display device is synchronized to the target device through the Bluetooth connection established based on the LEAudio protocol.
[0133] In some embodiments, after the display device controls the Bluetooth module to establish a Bluetooth connection with the target device based on the A2DP protocol, it can also control the Bluetooth module to disconnect the Bluetooth connection established based on the A2DP protocol when receiving a connection protocol switching operation for the target device. There is no need to control the local speaker to play audio data, but to directly establish a Bluetooth connection with the target device based on the LEAudio protocol, and synchronize the audio data of the display device to the target device through the Bluetooth connection established based on the LEAudio protocol.
[0134] In the device pairing method provided by the embodiment of the present disclosure, the display device controls the Bluetooth module to scan the device and controls the display to display the scanned device; in response to the pairing request triggered for the target device among the scanned devices, the Bluetooth module is controlled to establish a Bluetooth connection with the target device based on the A2DP protocol, and in response to the connection protocol switching operation for the target device, the Bluetooth module is controlled to disconnect the Bluetooth connection established based on the A2DP protocol, and the local speaker is controlled to play audio data; the Bluetooth module is controlled to establish a Bluetooth connection with the target device based on the LE Audio protocol, and the local speaker is controlled to stop playing audio data, and the audio data of the display device is synchronized to the target device through the Bluetooth connection established based on the LE Audio protocol. It can be seen that the embodiment of the present disclosure can realize the switching between the A2DP protocol and the LE Audio protocol, and can synchronize the audio data based on the LE Audio protocol after switching to the LE Audio protocol.
[0135] In some embodiments, after the display device controls the Bluetooth module to establish a Bluetooth connection with the target device based on the A2DP protocol, it can also control the Bluetooth module to establish a dual-protocol Bluetooth connection with the target device based on the A2DP protocol and the LEAudio protocol when receiving a connection protocol switching operation for the target device, and set the state of the A2DP protocol to an inactive state and the state of the LEAudio protocol to an active state. The LEAudio protocol in the active state is used to synchronize the audio data of the display device to the target device.
[0136] In actual applications, the display device can establish a dual-protocol Bluetooth connection with the target device based on the A2DP protocol and the LEAudio protocol at the same time. However, in a successful dual-protocol Bluetooth connection, only one Bluetooth connection protocol can be in an active state, that is, the active state, and the other Bluetooth connection protocol is in an inactive state, that is, the inactive state.
[0137] Among them, the Bluetooth connection protocol in an activated state can send the audio data generated by the application on the display device to the target device through the Bluetooth connection, and the target device plays the audio data. The Bluetooth connection protocol in an inactive state cannot send the audio data of the display device to the target device.
[0138] In the disclosed embodiment, after the display device controls the Bluetooth module to establish a dual-protocol Bluetooth connection with the target device based on the A2DP protocol and the LEAudio protocol, the state of the A2DP protocol is set to an inactive state, and the state of the LEAudio protocol is set to an active state, so that the audio data of the display device can be synchronized to the target device based on the LEAudio protocol in the active state, and further, the audio data of the display device is played by the target device.
[0139] It can be seen that the embodiment of the present disclosure can switch the connection protocol of the target device from the A2DP protocol to the LEAudio protocol by setting the state of the A2DP protocol to an inactive state and setting the state of the LEAudio protocol to an active state, thereby realizing the protocol switching function of the target device.
[0140] In some embodiments, when the display device is establishing a Bluetooth connection with a target device based on the A2DP protocol, the broadcast scanning control is in an inoperable state because the A2DP protocol does not support the function of scanning broadcasts for the target device. Fig.13 As shown, when the display device establishes a Bluetooth connection with the target device based on the A2DP protocol, the broadcast scanning control 1301 is in an inoperable state.
[0141] In some embodiments, after controlling the Bluetooth module to establish a Bluetooth connection with the target device based on the A2DP protocol, the display device controls the display to display a broadcast scanning control in an operable state when receiving a connection protocol switching operation for the target device.
[0142] The broadcast scanning control can be used to trigger scanning of broadcast signal sources for the target device. The broadcast scanning control is in an operable state, which means that the display device can scan broadcast signal sources for the target device in response to a trigger operation on the broadcast scanning control.
[0143] like Fig.13 As shown, when receiving the user's selection operation for the "Open LEAudio" control, the broadcast scanning control is controlled to switch from an inoperable state to an operable state. Fig.14 As shown, at this time, the "Open LEAudio" control is in a selected state, and the broadcast scan control 1401 is in an operable state.
[0144] In some embodiments, during the process of displaying the broadcast scanning control in an operable state, the Bluetooth module may be controlled to scan the broadcast signal source in response to a trigger operation on the broadcast scanning control, and the display may be controlled to display the identifier of the scanned broadcast signal source.
[0145] For example, assuming that the display device is a TV, when the TV receives a trigger operation for a broadcast scanning control in an operable state, it controls the TV's own Bluetooth module to scan the broadcast signal source, or scans the broadcast signal source based on a broadcast assistant application. After scanning at least one broadcast signal source, the at least one scanned broadcast signal source is displayed on the TV display.
[0146] The triggering operation for the broadcast scanning control may include a click operation, a selection operation, etc. on the broadcast scanning control.
[0147] like Fig.14 As shown, upon receiving a trigger operation for the broadcast scanning control 1401, the Bluetooth module is controlled to scan the broadcast signal source. Fig.15 , which is a schematic diagram of a broadcast display page of a display device provided by an embodiment of the present disclosure, wherein the page displays the logos of the broadcast signal sources scanned by the display device, such as a broadcast 1 logo and a broadcast 2 logo.
[0148] In some embodiments, in the process of controlling the display to display the identification of the scanned broadcast signal source, the broadcast parameters of the broadcast signal source corresponding to the target identification can also be sent to the target device in response to the selection operation of the target identification in the scanned broadcast signal source identification, so that the target device can play the audio data emitted by the broadcast source based on the broadcast parameter information.
[0149] The target identifier may be any one of the identifiers of at least one broadcast signal source. The selection operation for the target identifier may include a click operation, a long press operation, etc. on the target identifier.
[0150] like Fig.15 As shown, the identifiers of the broadcast signal sources scanned by the display device may include a broadcast 1 identifier and a broadcast 2 identifier. When a selection operation for the broadcast 1 identifier is received, the broadcast parameter information of the broadcast source signal source corresponding to the broadcast 1 identifier is sent to the target device, so that the target device can play the audio data emitted by the broadcast source based on the broadcast parameter information.
[0151] In some embodiments, in response to a selection operation on a target identifier among the scanned identifiers of broadcast signal sources, before sending the broadcast parameters of the broadcast signal source corresponding to the target identifier to the target device, the method may further include: acquiring the identifier of the local broadcast.
[0152] In the process of controlling the display to display the logo of the scanned broadcast signal source, if the broadcast source of the display device is also broadcasting externally, the broadcast logo of the display device (i.e. the logo of the local broadcast) can also be displayed on the broadcast display interface. In actual applications, the display device can automatically display the logo of the local broadcast on the broadcast display page synchronously without obtaining the local broadcast based on Bluetooth scanning.
[0153] After acquiring the local broadcast and the scanned broadcast signal source, the identifier of the local broadcast and the identifier of the scanned broadcast signal source are displayed. Furthermore, when a selection operation is received for a target identifier among the identifiers of the local broadcast and at least one broadcast signal source, the broadcast parameters of the broadcast signal source corresponding to the target identifier are sent to the target device.
[0154] In actual applications, assuming that the broadcast signal source corresponding to the target identifier is a local broadcast, the target audio receiving device is controlled to switch from the current Bluetooth protocol to the BMS protocol, and further, the audio data of the target broadcast signal source is played based on the BMS protocol.
[0155] In some embodiments, the identification of the local broadcast or the identification of the scanned broadcast signal source may also be displayed in the form of broadcast identification information. Specifically, the display device displays the broadcast identification information in response to a trigger operation on the broadcast control.
[0156] The broadcast identification information may include a QR code or an account password, etc. The broadcast identification information carries the identification of the local broadcast or the broadcast parameter information of the broadcast signal source scanned by the display device.
[0157] In addition, the broadcast display interface may also display the name and password corresponding to the scanned broadcast signal source. Other devices can obtain the identification of the broadcast signal source only after the correct name and password are entered.
[0158] In some embodiments, when the broadcast parameter information of the local broadcast or the broadcast signal source scanned by the display device is displayed in the form of an account and password for the first time through the broadcast control, a random password can be set for the broadcast signal source. In actual application, if the user wants to change the password, it is necessary to stop transmitting the broadcast first. After changing the password, when the broadcast parameter information of the broadcast signal source scanned by the display device is displayed again through the broadcast control in the form of an account and password, the modified password is displayed.
[0159] In some embodiments, if the password corresponding to the broadcast signal source is empty, it means that the broadcast is not encrypted, and other devices can obtain the identification of the broadcast signal source without entering the password.
[0160] It can be seen that the display device in the embodiment of the present disclosure is able to send the broadcast parameter information of the broadcast signal source to a target device that has established a Bluetooth connection with the display device based on the LEAudio protocol, and then the target device synchronously plays the audio data emitted by the broadcast signal source based on the broadcast parameter information, thereby realizing the function of synchronously playing the audio data emitted by the scanned broadcast signal source on the target device to which the display device is connected.
[0161] Corresponding to Figure 6 The scene diagram shown in the present disclosure provides a method as follows: Fig.16 The display method of device pairing is shown in . Fig.16 FIG. 1 is a flow chart of a method for displaying device pairing provided in an embodiment of the present disclosure. Figure 1 .like Fig.16 As shown, the method may include but is not limited to the following steps S1601-S1605:
[0162] S1601. Control the Bluetooth module to scan for devices, and control the display to display the scanned devices.
[0163] S1602: In response to a pairing request triggered for a target device among the scanned devices, determine whether the target device supports the LE Audio protocol based on COD information and / or UUID information of the target device.
[0164] The device type information (Class of Device, COD) can be used to identify the type information of the device. Specifically, the type information of the device may include type information such as headphones, keyboards, and mice. Both COD information and UUID can be used to characterize whether the target device supports the low-power Bluetooth audio LE Audio protocol.
[0165] In actual applications, since the UUIDs supporting the classic Bluetooth protocol and the LEAudio protocol are different, the UUID can be used to identify whether the UUID of the target device is a type that supports the LEAudio protocol. If the UUID is determined to be a type that supports the LEAudio protocol, the target device is considered to be a device that supports the LEAudio protocol.
[0166] In some embodiments, before determining whether the target device supports the LEAudio protocol based on the UUID and / or COD information of the target device, the COD information of the scanned device can also be obtained when the display device controls the Bluetooth module to scan surrounding devices.
[0167] In some embodiments, in response to triggering a pairing request for a target device among the scanned devices, UUID information of the target device can also be obtained. Further, based on the COD information and / or the UUID of the target device obtained during the scanning process, it is determined whether the target device supports the LEAudio protocol.
[0168] like Fig.11 As shown, the display device responds to the pairing request triggered for device 4 in the scanned device list, and determines whether device 4 supports the low-power Bluetooth audio LE Audio protocol based on the COD information and / or UUID information of device 4. Among them, each device displayed in the connected device list is a device that has established a Bluetooth connection with the display device, and each device displayed in the scanned device list is the device scanned by the display device this time.
[0169] In some embodiments, during the process of establishing a Bluetooth connection between the display device and the target device, that is, when the display device has not yet established a Bluetooth connection with the target device, if it is determined based on the UUID and / or the COD information of the target device that the target device supports the LEAudio protocol, the display is controlled to display a preset logo for the target device.
[0170] In some embodiments, after the display device successfully establishes a Bluetooth connection with the target device, if it is determined based on the UUID and / or the COD information of the target device that the target device supports the LEAudio protocol, the display may be controlled to display a preset logo for the target device.
[0171] S1603: If it is determined that the target device supports the LE Audio protocol, control the display to display a preset logo for the target device.
[0172] The preset identifier is used to indicate that the target device supports the LE Audio protocol.
[0173] In the embodiment of the present disclosure, if it is determined based on at least one of the COD information or the UUID of the target device that the target device supports the LEAudio protocol, the display is controlled to display a preset logo for the target device.
[0174] Specifically, if the target device is determined to support the LE Audio protocol based on the COD information, and is determined to not support the LE Audio protocol based on the UUID, a preset logo is displayed for the target device; if the target device is determined to support the LE Audio protocol based on the COD information, and is determined to support the LE Audio protocol based on the UUID, a preset logo is displayed for the target device; if the target device is determined to not support the LE Audio protocol based on the COD information, and is determined to support the LE Audio protocol based on the UUID, a preset logo is displayed for the target device; if the target device is determined to not support the LE Audio protocol based on the COD information, and is determined to support the LE Audio protocol based on the UUID, a preset logo is displayed for the target device; if the target device is determined to not support the LE Audio protocol based on the COD information, and is determined to not support the LE Audio protocol based on the UUID, the preset logo is not displayed.
[0175] Among them, the preset logo can be used to indicate that the target device supports the LE Audio protocol. The display style of the preset logo can include text, icons and other styles. For example, the word LE Audio can be displayed at the position corresponding to the device that supports the LE Audio protocol.
[0176] like Fig.11 As shown, when the display device receives a pairing request triggered for device 4, it establishes a Bluetooth connection with device 4 and obtains the COD information and UUID information of device 4. If it is determined based on the COD information and UUID information that device 4 supports the low-power Bluetooth audio LE Audio protocol, the display is controlled to display a preset logo for device 4.
[0177] like Fig.12 FIG. 1 is a schematic diagram of a device management page of a display device provided in an embodiment of the present disclosure. Figure 2 The connected device list in the device management page displays device 4 and a preset identifier 1201 for device 4. Device 1, device 2, and device 4 displayed in the connected device list are devices that have established a Bluetooth connection with the display device.
[0178] In the device pairing display method provided by the embodiment of the present disclosure, first, the Bluetooth module is controlled to scan the device and the scanned device is displayed; then, in response to the pairing request triggered for the target device among the scanned devices, it is determined whether the target device supports the LE Audio protocol based on the COD information and / or UUID information of the target device; if it is determined that the target device supports the LE Audio protocol, the display is controlled to display a preset logo for the target device. It can be seen that the embodiment of the present disclosure can realize the function of displaying the LE Audio logo for devices that support the LE Audio protocol based on the COD information and UUID information.
[0179] Corresponding to Figure 6The scene diagram shown in the present disclosure provides a method as follows: Fig.17 The display method of device pairing is shown in . Fig.17 FIG. 1 is a flow chart of a method for displaying device pairing provided in an embodiment of the present disclosure. Figure 3 .like Fig.17 As shown, the method may include but is not limited to the following steps S1701-S1704:
[0180] S1701: Control the Bluetooth module to scan for devices, and control the display to display the scanned devices.
[0181] S1702: In response to a pairing request triggered for a target device among the scanned devices, determine whether the target device is a dual-mode device, and obtain a universal unique identification code UUID of the target device; wherein the UUID is used to indicate whether the target device supports the low-power Bluetooth audio LE Audio protocol.
[0182] The dual-mode device is a device that supports both the Advanced Audio Distribution Protocol A2DP protocol and the LE Audio protocol.
[0183] S1703: If it is determined that the target device belongs to the dual-mode device, control the Bluetooth module to establish a dual-protocol Bluetooth connection with the target device based on the A2DP protocol and the LE Audio protocol, and determine a Bluetooth connection in an active state.
[0184] In actual applications, the built-in Bluetooth module of the display device can establish a dual-protocol Bluetooth connection with the target device based on the A2DP protocol and the LE Audio protocol at the same time. However, in a successfully connected dual-protocol Bluetooth connection, only one Bluetooth connection can be in an active state, that is, the active state. Therefore, after the display device controls the Bluetooth module to establish a dual-protocol Bluetooth connection with the target device based on the A2DP protocol and the LE Audio protocol, it also needs to determine an active Bluetooth connection.
[0185] Among them, an activated Bluetooth connection can send the audio data generated by the application on the display device to the target device through the Bluetooth connection, and the target device plays the audio data. An inactive Bluetooth connection cannot send the audio data of the display device to the target device.
[0186] For example, assuming that the Bluetooth connection established between the display device and the target device based on the A2DP protocol is in an activated state, the audio data can be sent to the target device through the A2DP protocol; assuming that the Bluetooth connection established between the display device and the target device based on the LEAudio protocol is in an activated state, the audio data can be sent to the target device through the LEAudio protocol. The target device is used to play the received audio data.
[0187] S1704: If it is determined based on the UUID that the target device supports the LE Audio protocol, a preset identifier is displayed for the target device; wherein the preset identifier is used to indicate that the target device supports the LE Audio protocol.
[0188] In some embodiments, after the display device controls the Bluetooth module to establish a Bluetooth connection with the target device based on the A2DP protocol and the LE Audio protocol at the same time, and determines a Bluetooth connection in an active state, the display device can also respond to a connection protocol switching operation for the target device, update the Bluetooth connection in the active state, and send audio data to the target device based on the Bluetooth connection in the active state.
[0189] Among them, the connection protocol switching operation for the target device may include a triggering operation for a preset control corresponding to the target device, such as a selection operation for an "Open LEAudio" control, a deselection operation for an "Open LEAudio" control, etc.
[0190] In actual applications, if it is determined that the Bluetooth connection in the activated state is a Bluetooth connection established with the target device based on the A2DP protocol, then when a connection protocol switching operation for the target device is received, the Bluetooth connection established with the target device based on the A2DP protocol is switched from an activated state to an inactivated state, and the Bluetooth connection established with the target device based on the LEAudio protocol is updated to an activated state, and the audio data is sent to the target device based on the LEAudio protocol.
[0191] If it is determined that the activated Bluetooth connection is a Bluetooth connection established with the target device based on the LEAudio protocol, then upon receiving a connection protocol switching operation for the target device, the Bluetooth connection established with the target device based on the LEAudio protocol is switched from an activated state to an inactivated state, and the Bluetooth connection established with the target device based on the A2DP protocol is updated to an activated state, and audio data is sent to the target device based on the A2DP protocol.
[0192] In some embodiments, when displaying connected devices on a device management page, upon receiving a user's selection operation on a target device among the connected devices, a pop-up window corresponding to the target device is displayed, wherein an "Open LEAudio" control may be displayed in the pop-up window.
[0193] If it is determined that the currently activated Bluetooth connection is a Bluetooth connection established with the target device based on the A2DP protocol, the "Open LEAudio" control in the pop-up window is unselected by default; when the display device receives a connection protocol switching operation for the target device, it updates the Bluetooth connection established with the target device based on the LEAudio protocol to an activated state, and sends audio data to the target device based on the LEAudio protocol.
[0194] If it is determined that the currently activated Bluetooth connection is a Bluetooth connection established with the target device based on the LEAudio protocol, the "Open LEAudio" control in the pop-up window is selected by default; when the display device receives a deselection operation for the "Open LEAudio" control, it updates the Bluetooth connection established with the target device based on the A2DP protocol to an activated state, and sends audio data to the target device based on the A2DP protocol.
[0195] It can be seen that in the device pairing display method provided by the present application, the display device controls the Bluetooth module to scan the device and displays the scanned devices; in response to the pairing request triggered for the target device among the scanned devices, it is determined whether the target device is a dual-mode device, wherein the dual-mode device is a device that supports both the Advanced Audio Distribution Protocol A2DP protocol and the LE Audio protocol; if it is determined that the target device is a dual-mode device, the Bluetooth module is controlled to establish a Bluetooth connection with the target device based on the A2DP protocol, and obtain the UUID of the target device, wherein the UUID is used to characterize whether the target device supports the Low Energy Bluetooth Audio LE Audio protocol; further, if it is determined that the target device is a dual-mode device, the Bluetooth module is controlled to establish a dual-protocol Bluetooth connection with the target device based on the A2DP protocol and the LE Audio protocol, and an activated Bluetooth connection is determined; if it is determined based on the UUID that the target device supports the LE Audio protocol, a preset logo is displayed for the target device, wherein the preset logo is used to indicate that the target device supports the LE Audio protocol. It can be seen that the embodiment of the present disclosure can realize the pairing connection between the display device and the target device, and can obtain the UUID of the target device during the pairing connection process, and then realize the function of displaying the LE Audio logo for the device supporting the LE Audio protocol based on the UUID.
[0196] like Fig.18FIG. 1 is a schematic diagram of a device management page of a display device provided in an embodiment of the present disclosure. Figure 5 The page displays a list of "connected devices" and a list of "scanned devices". The list of "connected devices" includes device 5 that supports the LEAudio protocol and device 6 that does not support the LEAudio protocol. The list of "scanned devices" includes device 7 that the display device currently scans. Device 6 is a single-mode device that does not support the LEAudio protocol.
[0197] When a trigger operation for display device 6 is received, a pop-up window corresponding to device 6 is displayed on the current page, such as Fig.19 FIG. 1 is a schematic diagram of a device management page of a display device provided in an embodiment of the present disclosure. Figure 6 Among them, a pop-up window corresponding to device 6 is displayed on the page, and the pop-up window may display a disconnect control, a cancel pairing control, and a cancel control.
[0198] Based on the above method embodiment, the present disclosure also provides a flow chart of device pairing, specifically taking a television as an example, to describe the processing flow of a display device executing a device pairing method, such as Fig. 20 As shown, it is a flowchart of device pairing provided by an embodiment of the present disclosure.
[0199] In actual applications, when entering the device management page, the display device will automatically control the Bluetooth module to scan nearby devices and display the IDs of the scanned devices on the device management page, such as Fig. 20 As shown in (a), the device management page displays device 3 scanned this time.
[0200] In the process of displaying the identification of the scanned device on the device management page, it is also possible to respond to a pairing request triggered for a target device among the scanned devices, determine whether the target device supports the LE Audio protocol based on the COD information and / or UUID information of the target device, and if it is determined that the target device supports the LE Audio protocol, display a preset identification for the target device on the device management page, and control the Bluetooth module to establish a Bluetooth connection with the target device based on the A2DP protocol. Fig. 20 As shown in (a), device 1, device 2, and device 4 displayed on the device management page are all devices that support the LE Audio protocol and are respectively displayed with preset logos.
[0201] In the process of displaying the preset logo for devices that support the LE Audio protocol on the device management page, you can also respond to the connection protocol switching operation for the target device, control the Bluetooth module to disconnect the Bluetooth connection established with the target device based on the A2DP protocol, and control the local speaker (mute) to play audio data; further, control the Bluetooth module to establish a Bluetooth connection with the target device based on the LE Audio protocol and the BSA protocol, control the local speaker to stop playing audio data, and synchronize the audio data of the display device to the target device through the Bluetooth channel established based on the LE Audio protocol.
[0202] like Fig. 20 As shown in (a), in the process of displaying devices supporting the LE Audio protocol in the connected list on the device management page, when receiving a user's selection operation for device 2, a pop-up window corresponding to device 2 is displayed on the current page. Fig. 20 As shown in (b), a pop-up window corresponding to device 2 is displayed on the page. When the user selects the "Open LEAudio" control, the Bluetooth module is controlled to disconnect the Bluetooth connection established with device 2 based on the A2DP protocol, and the local speaker (mute) is controlled to play audio data.
[0203] Furthermore, the Bluetooth module is controlled to establish a Bluetooth connection with the target device based on the LE Audio protocol, and after synchronizing the audio data of the display device to the target device through the Bluetooth channel established based on the LE Audio protocol, the broadcast scanning control is controlled to switch from an inoperable state to an operable state. Fig. 20 As shown in (c), at this time, the "Open LEAudio" control is in a selected state, indicating that the display device has established a Bluetooth connection with the target device based on the LEAudio protocol, and the broadcast scanning control is in an operable state.
[0204] In actual applications, when displaying the broadcast scanning control in an operable state, the Bluetooth module can be controlled to scan the broadcast signal source in response to a trigger operation on the broadcast scanning control, and the display can be controlled to display the identifier of the scanned broadcast signal source.
[0205] For example, assuming that the display device is a TV, when the TV receives a trigger operation for a broadcast scanning control in an operable state, it controls the TV's own Bluetooth module to scan the broadcast signal source, or scans the broadcast signal source based on a broadcast assistant application. After scanning at least one broadcast signal source, the at least one scanned broadcast signal source is displayed on the TV display.
[0206] In some embodiments, in the process of controlling the display to display the identification of the scanned broadcast signal source, the broadcast parameters of the broadcast signal source corresponding to the target identification can also be sent to the target device in response to the selection operation of the target identification in the scanned broadcast signal source identification, so that the target device can play the audio data emitted by the broadcast source based on the broadcast parameter information.
[0207] In some embodiments, if the broadcast source of the display device is also broadcasting externally, the broadcast identifier of the display device (i.e., the identifier of the local broadcast) can also be displayed on the broadcast display interface. When a selection operation for the identifier of the local broadcast is received, the broadcast parameter information of the local broadcast is sent to the target device, so that the target device can synchronously play the local broadcast based on the broadcast parameter information.
[0208] In some embodiments, after the connection protocol of the target device is switched to the LE Audio protocol, a Bluetooth connection is established with the target device based on the UMS protocol and the BSA protocol by default.
[0209] In actual applications, the LEAudio application layer specification Telephony and Media Audio Profile (TMAP) defines two media audio applications, namely unicast media audio and broadcast media audio. Among them, unicast media audio includes unicast media sender UMS and unicast media receiver UMR, and broadcast media audio includes broadcast media sender BMS and broadcast media receiver BMR.
[0210] Since the unicast media transmitter UMS and the broadcast media transmitter BMS are mutually exclusive and cannot be in the active state at the same time, on the sound settings page, in response to the trigger operation of switching the current audio output channel (for example, the Bluetooth channel established based on the UMS protocol) to the Bluetooth broadcast output channel, the UMS protocol status can be updated to the inactive state and the BMS protocol status can be updated to the active state.
[0211] In actual applications, after setting the BMS protocol status of the display device to the activated state and obtaining the broadcast parameter information of the display device, the broadcast parameter information of the display device can be sent to the target device based on the Bluetooth connection established with the target device based on the BSA protocol, so that the target device can synchronously play the audio data emitted by the display device according to the broadcast parameter information.
[0212] like Fig. 20 (d) is a schematic diagram of a sound setting page after switching to the Bluetooth broadcast output channel provided by an embodiment of the present disclosure.
[0213] It can be seen that the embodiment of the present disclosure can establish a Bluetooth channel with the target device based on the BSA protocol when switching to the Bluetooth broadcast output channel, and send the broadcast parameter information of the display device to the target device, so that the target device can synchronously play the audio data of the display device based on the broadcast parameter information, thereby realizing the function of switching the display device from the current audio output channel to the Bluetooth broadcast output channel.
[0214] Fig.21 Schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure, the electronic device may be the above-mentioned display device, control terminal or audio receiving device. Fig.21 As shown, the electronic device includes: a processor 2101, a memory 2102, and a computer program stored in the memory 2102 and executable on the processor 2101. When the computer program is executed by the processor 2101, each process of the following methods involved in the above method embodiment is implemented: a device pairing method executed by a display device; a device pairing method executed by an audio receiving device.
[0215] The embodiment of the present disclosure provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, each process of the device pairing method described above is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium can be a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0216] The present disclosure provides a computer program product, which includes a computer program. When the computer program is executed on a computer, the computer implements the above-mentioned device pairing method.
[0217] For the convenience of explanation, the above description has been made in conjunction with specific embodiments. However, the above discussion in some embodiments is not intended to be exhaustive or limit the embodiments to the specific forms disclosed above. According to the above teachings, various modifications and variations can be obtained. The selection and description of the above embodiments are to better explain the principles and practical applications, so that those skilled in the art can better use the embodiments and various different variations of the embodiments suitable for specific use considerations.
Claims
1. A display device, characterized in that: It includes: a controller, a display, and a Bluetooth module connected to the controller; The controller is configured to: Control the Bluetooth module to scan for devices, and control the display to display the scanned devices; In response to a pairing request triggered for a target device among the scanned devices, determining whether the target device is a dual-mode device; wherein the dual-mode device is an audio receiving device that supports both the classic Bluetooth protocol and the low-power Bluetooth protocol; If it is determined that the target device belongs to the dual-mode device, the Bluetooth module is controlled to establish a Bluetooth connection with the target device based on the Advanced Audio Distribution A2DP protocol.
2. The display device according to claim 1, characterized in that The controller is further configured to: After controlling the Bluetooth module to establish a Bluetooth connection with the target device based on the A2DP protocol, in response to a connection protocol switching operation for the target device, controlling the Bluetooth module to disconnect the Bluetooth connection established based on the A2DP protocol, and controlling the local speaker to play audio data; Control the Bluetooth module to establish a Bluetooth connection with the target device based on the LE Audio protocol, control the local speaker to stop playing audio data, and synchronize the audio data of the display device to the target device through the Bluetooth connection established based on the LE Audio protocol.
3. The display device according to claim 2, characterized in that The controller is further configured to: The controlling the local speaker to play the audio data comprises: Controls the speakers of this unit to play audio data in silent mode.
4. The display device according to claim 1, characterized in that The controller is specifically configured as follows: After controlling the Bluetooth module to establish a Bluetooth connection with the target device based on the A2DP protocol, in response to a connection protocol switching operation for the target device, controlling the Bluetooth module to establish a dual-protocol Bluetooth connection with the target device based on the A2DP protocol and the LE Audio protocol, and setting the state of the A2DP protocol to an inactive state, and setting the state of the LE Audio protocol to an active state; wherein the LE Audio protocol in the active state is used to synchronize the audio data of the display device to the target device.
5. The display device according to claim 1, characterized in that The controller is further configured to: After controlling the Bluetooth module to establish a Bluetooth connection with the target device based on the A2DP protocol, in response to a connection protocol switching operation for the target device, the display is controlled to display a broadcast scanning control in an operable state; wherein the broadcast scanning control is used to trigger scanning of broadcast signal sources for the target device.
6. The display device according to claim 5, characterized in that The controller is further configured to: In response to a trigger operation on the broadcast scanning control, controlling the Bluetooth module to scan a broadcast signal source, and controlling the display to display an identifier of the scanned broadcast signal source; In response to a selection operation for a target identifier among the scanned broadcast signal source identifiers, broadcast parameter information of the broadcast signal source corresponding to the target identifier is sent to the target device, so that the target device plays audio data emitted by the broadcast signal source based on the broadcast parameter information.
7. The display device according to claim 1, characterized in that The controller is further configured to: In response to a pairing request triggered for a target device among the scanned devices, determining whether the target device supports the LE Audio protocol based on COD information and / or UUID information of the target device; If it is determined that the target device supports the LE Audio protocol, the display is controlled to display a preset logo for the target device; wherein the preset logo is used to indicate that the target device supports the LE Audio protocol.
8. The display device according to claim 1, characterized in that The controller is further configured to: After controlling the Bluetooth module to establish a Bluetooth connection with the target device based on the LE Audio protocol, the method further includes: In response to a trigger operation of switching the current audio output channel to the Bluetooth broadcast output channel, controlling the UMS protocol state to switch to the inactive state, and controlling the BMS protocol state to switch to the active state; The broadcast parameter information of the display device is sent to the target device, so that the target device synchronously plays the audio data emitted by the display device based on the broadcast parameter information.
9. A device pairing method, characterized in that: include: Control the Bluetooth module to scan devices, and control the display to display the scanned devices; In response to a pairing request triggered for a target device among the scanned devices, determining whether the target device is a dual-mode device; wherein the dual-mode device is an audio receiving device that supports both the classic Bluetooth protocol and the low-power Bluetooth protocol; If it is determined that the target device belongs to the dual-mode device, the Bluetooth module is controlled to establish a Bluetooth connection with the target device based on the Advanced Audio Distribution A2DP protocol.
Citation Information
Patent Citations
Bluetooth communication method, and dual-mode bluetooth terminal
CN111602344A
Method, apparatus, and computer program for broadcast discovery service in wireless communication system, and recording medium thereof
CN114175689A
Dual-mode Bluetooth device and Bluetooth connection method
CN114786158A
Bluetooth adapter and connection method thereof
CN115499040A
Display device and Bluetooth pairing control method
CN115567748A
Cited By
Bluetooth dual-mode wireless communication mouse and operation method thereof
CN122284847A
