Display device and switching processing method for Bluetooth audio output channel

By implementing a preset priority policy in the display device of the smart TV to determine the target Bluetooth audio device and routing the audio data, the problem of synchronous playback of the audio data when the smart TV switches between multiple Bluetooth audio devices is solved, and the interoperability between devices is improved.

CN120151584APending Publication Date: 2025-06-13HISENSE VISUAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311703384.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-12
Publication Date
2025-06-13

AI Technical Summary

Technical Problem

Smart TVs lack effective switching methods when connecting to multiple Bluetooth audio devices, resulting in limited audio data synchronous playback function.

Method used

A display device and a switching processing method for a Bluetooth audio output channel are provided, and a first target Bluetooth audio device is determined by a preset priority policy, and an audio module is controlled to route the audio data of the display device to the device, thereby realizing synchronous playback of audio data between Bluetooth audio devices.

Benefits of technology

When switching to the Bluetooth audio output channel, the target device can be effectively determined and the synchronous playback of audio data can be achieved, improving the interoperability of the smart TV with multiple Bluetooth audio devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120151584A_ABST
    Figure CN120151584A_ABST
Patent Text Reader

Abstract

The invention relates to a display device and a switching processing method for a Bluetooth audio output channel, and relates to the technical field of Bluetooth. The display device comprises: a controller configured to: in response to a trigger operation of switching a current audio output channel to a Bluetooth audio output channel, determine a first target Bluetooth audio device from currently connected Bluetooth audio devices based on a preset priority strategy; and controlling the audio module to route the audio data to the first target Bluetooth audio device. Visibly, according to the embodiment of the invention, when the Bluetooth audio output channel is switched, the first target Bluetooth audio equipment can be determined based on the preset priority strategy, and the audio module is controlled to route the audio data to the first target Bluetooth audio equipment, so that when the Bluetooth audio output channel is switched, the first target Bluetooth audio equipment is routed to the first target Bluetooth audio equipment. And the Bluetooth audio equipment is used for synchronously playing the audio data of the display equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of Bluetooth technology, and in particular, to a display device and a method for switching and processing a Bluetooth audio output channel. Background Art

[0002] With the continuous development of Bluetooth technology, the types of Bluetooth audio devices connected to smart TVs are increasing, such as Bluetooth audio devices supporting the LE Audio protocol, Bluetooth hearing aid devices supporting the hearing aid protocol, etc. For smart TVs connected to multiple Bluetooth audio devices, there is an urgent need for a switching method for multiple Bluetooth audio devices. Summary of the Invention

[0003] 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 method for switching and processing a Bluetooth audio output channel, which can determine a first target Bluetooth audio device based on a preset priority policy when switching to the Bluetooth audio output channel, and control the audio module to route the audio data of the display device to the first target Bluetooth audio device, thereby realizing the function of synchronously playing the audio data of the display device using the Bluetooth audio device when switching to the Bluetooth audio output channel.

[0004] To achieve the above object, the technical solutions provided by the embodiments of the present disclosure are as follows:

[0005] In a first aspect, the present disclosure provides a display device, including: a controller, and a Bluetooth module connected to the controller;

[0006] The controller is configured to:

[0007] In response to a trigger operation for switching the current audio output channel to the Bluetooth audio output channel, determine a first target Bluetooth audio device from the currently connected Bluetooth audio devices based on a preset priority policy; wherein, the preset priority policy is used to represent the Bluetooth audio output priority relationship between Bluetooth audio devices supporting different application layer Bluetooth protocols;

[0008] Control the audio module to route the audio data to the first target Bluetooth audio device.

[0009] In a second aspect, the present disclosure provides a method for switching and processing a Bluetooth audio output channel, including:

[0010] In response to a trigger operation for switching the current audio output channel to the Bluetooth audio output channel, determine a first target Bluetooth audio device from the currently connected Bluetooth audio devices based on a preset priority policy; wherein, the preset priority policy is used to represent the Bluetooth audio output priority relationship between Bluetooth audio devices supporting different application layer Bluetooth protocols;

[0011] Control the audio module to route the audio data to the first target Bluetooth audio device.

[0012] In a third aspect, the present disclosure provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements the switching processing method for the Bluetooth audio output channel as shown in the second aspect.

[0013] In a fourth aspect, the present disclosure provides a computer program product, which includes a computer program. When the computer program runs on a computer, it enables the computer to implement the switching processing method for the Bluetooth audio output channel as shown in the second aspect.

[0014] The switching processing method for the Bluetooth audio output channel provided by the embodiments of the present disclosure first, in response to a trigger operation for switching the current audio output channel to the Bluetooth audio output channel, determines a first target Bluetooth audio device from the currently connected Bluetooth audio devices based on a preset priority policy, where the preset priority policy is used to represent the Bluetooth audio output priority relationship between Bluetooth audio devices supporting different application layer Bluetooth protocols; then, controls the audio module to route the audio data to the first target Bluetooth audio device. It can be seen that the embodiments of the present disclosure can, when switching to the Bluetooth audio output channel, determine the first target Bluetooth audio device based on the preset priority policy, and control the audio module to route the audio data of the display device to the first target Bluetooth audio device, thereby realizing the function of synchronously playing the audio data of the display device by using the Bluetooth audio device when switching to the Bluetooth audio output channel. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] The drawings here are incorporated into the specification and constitute a part of this specification, showing embodiments consistent with the present disclosure, and are used together with the specification to explain the principles of the present disclosure.

[0016] To more clearly illustrate the technical solutions in the embodiments of the present disclosure or in the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0017] Figure 1 It is a schematic diagram of the scenario architecture of a switching processing method for a Bluetooth audio output channel provided by an embodiment of the present application;

[0018] Figure 2 It is a configuration block diagram of a control device 100 provided by an embodiment of the present application;

[0019] Figure 3 Configuration block diagram of a display device 200 provided by an embodiment of the present application;

[0020] Figure 4 Hardware configuration block diagram of a terminal device 300 provided by an embodiment of the present application;

[0021] Figure 5 Configuration block diagram of a Bluetooth audio device 400 provided by an embodiment of the present application;

[0022] Figure 6 Schematic diagram of an operating system of a display device 200 provided by an embodiment of the present application;

[0023] Figure 7 Schematic diagram of a software system architecture of a display device 200 provided by an embodiment of the present application;

[0024] Figure 8 Schematic diagram of a process for a method of switching processing for a Bluetooth audio output channel provided by an embodiment of the present application;

[0025] Figure 9 Schematic diagram of a sound setting page provided by an embodiment of the present disclosure;

[0026] Figure 10 Schematic diagram of another sound setting page provided by an embodiment of the present disclosure;

[0027] Figure 11 Schematic diagram of a process for another method of switching processing for a Bluetooth audio output channel provided by an embodiment of the present disclosure;

[0028] Figure 12 Schematic diagram of a process for another method of switching processing for a Bluetooth audio output channel provided by an embodiment of the present disclosure;

[0029] Figure 13 Schematic diagram of a process for another method of switching processing for a Bluetooth audio output channel provided by an embodiment of the present disclosure;

[0030] Figure 14 Schematic diagram of a process for another method of switching processing for a Bluetooth audio output channel provided by an embodiment of the present disclosure;

[0031] Figure 15 Schematic diagram of a device scanning page provided by an embodiment of the present disclosure;

[0032] Figure 16 Schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present disclosure. Detailed implementation manners

[0033] To better understand the above objects, features, and advantages of the present disclosure, the solutions of the present disclosure will be further described below. It should be noted that, without conflict, the embodiments of the present disclosure and the features in the embodiments may be combined with each other.

[0034] In the following description, many specific details are set forth to facilitate a thorough understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only a part of the embodiments of the present disclosure, rather than all of the embodiments.

[0035] The A2DP (Advanced Audio Distribution Profile) protocol is a media audio application specification in classic Bluetooth. A2DP has the characteristic of non-real-time audio transmission and is used to implement multimedia services, such as playing audio, etc.

[0036] The LE Audio protocol is a low-power audio application specification based on Bluetooth. LE Audio can not only support stereo in both the Bluetooth connection state and the broadcast state, but also improve the user experience when using multiple audio streams.

[0037] The Hearingaid protocol is a hearing aid application specification based on low-power (BLE). This specification describes how two Bluetooth hearing aid devices connect and disconnect events to ensure interoperability between devices.

[0038] The hearing aid audio transmission (ASHA) protocol based on low-power Bluetooth (BLE). ASHA is a technical specification designed specifically for connecting hearing aids to Android devices. This Android direct connection technical specification will allow people to use their hearing devices to enjoy music, answer calls, etc., just like using headphones. At the same time, this technical specification aims to further extend the battery life. Using low-power Bluetooth BLE, users can use the audio direct connection technology all day long while still ensuring the battery life of the Bluetooth hearing aid device.

[0039] The display device provided by the embodiments of the present disclosure can be a display device that simultaneously supports multiple protocols such as the LE Audio protocol, the A2DP protocol, and the hearingaid protocol.

[0040] Figure 1 It is a schematic diagram of the scenario architecture for the switching processing method of the Bluetooth audio output channel provided by the embodiments of the present application. As Figure 1 shown, the scenario architecture provided by the embodiments of the present application includes: a control device 100, a display device 200, a terminal device 300, and a Bluetooth audio device 400.

[0041] The user can operate the display device 200 through the terminal device 300 or the control device 100. A Bluetooth connection is established between the display device 200 and the Bluetooth audio device 400. The display device 200 can send a target audio stream to the Bluetooth audio device 400 through the Bluetooth connection with the Bluetooth audio device 400, and the Bluetooth audio device 400 also sends audio data to the display device 200 through the Bluetooth connection with the display device 200.

[0042] The display device 200 provided by the embodiments of the present application can have various implementation forms. For example, the display device 200 can be a TV, a smart speaker refrigerator with a display function, a curtain with a display function, a personal computer (PC), a laser projection device, a monitor, an electronic bulletin board, a wearable device, a vehicle-mounted device, an electronic table, etc. The present application does not limit this.

[0043] In some embodiments, the control device 100 can be a remote control. The communication between the remote control and the display device 200 can be infrared protocol communication, Bluetooth protocol communication, or other short-distance communication methods, and the display device 200 can be controlled wirelessly or wiredly. The user can input user instructions through buttons on the remote control, voice input, control panel input, etc. to control the display device 200. In some embodiments, the control device 100 can also be a terminal device (such as a mobile phone, a tablet computer, a computer, a laptop computer, etc.). For example, an application program running on the terminal device is used to control the display device 200.

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

[0045] In some embodiments, the display device 200 can also be controlled in a manner other than the control device 100. For example, it can directly receive the user's voice instructions through a module for obtaining voice instructions configured inside the display device 200 for control, or receive the user's button operations through physical buttons on the display device 200, or receive the user's touch operations through the touch control panel of the display device 200.

[0046] In some embodiments, the display device 200 may also communicate with a server to obtain relevant media resources from the server. The display device 200 is allowed to communicate with the server through a local area network (LAN) or a wireless local area network (WLAN). The server may provide media resource services, various contents, and interactions to the display device 200. The server may be a cluster or multiple clusters and may include one or more types of servers.

[0047] Figure 2 Exemplarily shown Figure 1 The configuration block diagram of the control device 100 in the illustrated embodiment. As Figure 2 shown, the control device 100 includes at least one of 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 an operation instruction input by a user, convert the operation instruction into an instruction recognizable and responsive by the display device 200, and send the operation instruction or an instruction obtained by converting a voice instruction to the display device 200, serving as an interaction intermediary between the user and the display device 200.

[0048] Figure 3 Exemplarily shown Figure 1 The configuration block diagram of the display device 200 in the illustrated embodiment. As Figure 3 shown, the display device 200 includes at least one of a tuner demodulator 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.

[0049] In some embodiments, the tuner demodulator 210 receives a broadcast television signal through a wired or wireless reception method and demodulates an audio / video signal from multiple wireless or wired broadcast television signals, such as an EPG data signal. In some embodiments, the tuner demodulator 210 may be located in different split devices, that is, the tuner demodulator 210 may also be in an external device of the physical device where the controller 250 is located, such as an external set-top box, etc.

[0050] The communicator 220 is a component for communicating with external devices (such as the controller 100, a Bluetooth audio device 400, etc.) according to various communication protocol types. For example, the communicator 220 may include at least one of a WiFi 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 send and receive control signals and data signals to and from external devices through the communicator 220.

[0051] The detector 230 is used to collect signals from the external environment or interact with the outside. For example, the detector 230 includes a light receiver, a sensor for collecting the ambient light intensity; alternatively, the detector 230 includes an image collector, such as a camera, which can be used to collect external environmental scenes, user attributes, or user interaction gestures. Or, the detector 230 includes a sound collector, such as a microphone, etc., for receiving external sounds.

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

[0053] 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 for selecting a UI object to be displayed on the display 260, the controller 250 can perform operations related to the object selected by the user command.

[0054] In some embodiments, the controller includes at least one of a Central Processing Unit (CPU), a video processor, an audio processor, a Graphics Processing Unit (GPU), a Random Access Memory (RAM), a Read-Only Memory (ROM), a first interface to an nth interface for input / output, a communication bus (Bus), etc.

[0055] The display 260 includes a display screen component for presenting a picture, and a driving component for driving image display, a component for receiving an image signal output from the controller, and for displaying video content, image content, a menu manipulation interface, and a user manipulation UI interface.

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

[0057] The user can input a user command on the graphical user interface (GUI) displayed on the display 260, and then the user interface receives the user input command through the graphical user interface (GUI). Or, the user can input a user command by inputting a specific sound or gesture, and then the user interface recognizes the sound or gesture through the sensor to receive the user input command.

[0058] Among them, the user interface is a media interface for interaction and information exchange between an application or an operating system and a user, which realizes the conversion between the internal form of information and the form acceptable to the user. The common manifestation form of the user interface is the Graphic User Interface (GUI), which refers to the user interface related to computer operation displayed in a graphical manner. It can be interface elements such as an icon, a window, a control, etc. displayed on the display screen of an electronic device, where the control can include visible interface elements such as an icon, a button, a menu, a tab, a text box, a dialog box, a status bar, a navigation bar, a Widget, etc.

[0059] The audio output interface 270 is an audio output component for outputting an audio signal, including a speaker, an external audio output terminal, etc.

[0060] The user interface can be used to receive control signals input by the user through a control device 100 (such as an infrared remote control, etc.) or touch or gesture, etc.

[0061] For scenarios such as Figure 1 As shown, when implementing the method for switching and processing the Bluetooth audio output channel provided by the embodiments of the present disclosure, each component in the display device 200 can implement the following functions:

[0062] The controller 250 is configured to:

[0063] In response to a trigger operation for switching the current audio output channel to the Bluetooth audio output channel, based on a preset priority policy, determine a first target Bluetooth audio device from the currently connected Bluetooth audio devices; wherein, the preset priority policy is used to represent the Bluetooth audio output priority relationship between Bluetooth audio devices supporting different application layer Bluetooth protocols;

[0064] Control the audio module to route the audio data to the first target Bluetooth audio device.

[0065] In some embodiments, the controller 250 is further configured to: if the first target Bluetooth audio device supports the LE audio protocol and / or the A2dp protocol, set the first target Bluetooth audio device to the active state, and control the Bluetooth protocol stack to output the audio data of the display device to the first target Bluetooth audio device.

[0066] In some embodiments, the controller 250 is further configured to: the response to the trigger operation for switching the current audio output channel to the Bluetooth audio output channel, based on a preset priority policy, determine a first target Bluetooth audio device from the currently connected Bluetooth audio devices, including:

[0067] In response to a trigger operation for switching the current audio output channel to a Bluetooth audio output channel, obtain a device connection list; wherein, the device connection list includes currently connected Bluetooth audio devices; based on a preset priority policy, determine the last connected Bluetooth hearing aid device in the device connection list as the first target Bluetooth audio device; wherein, the Bluetooth hearing aid device supports the hearingaid protocol.

[0068] In some embodiments, the controller 250 is further configured to: the determining of the first target Bluetooth audio device from the currently connected Bluetooth audio devices based on a preset priority policy in response to the trigger operation for switching the current audio output channel to a Bluetooth audio output channel includes:

[0069] In response to a trigger operation for switching the current audio output channel to a Bluetooth audio output channel, obtain a device connection list; wherein, the device connection list includes currently connected Bluetooth audio devices; based on a preset priority policy, determine the target A2dp device in the device connection list as the first target Bluetooth audio device; wherein, the A2dp device supports the A2dp protocol.

[0070] In some embodiments, the controller 250 is further configured to: before determining the target A2dp device in the device connection list as the first target Bluetooth audio device based on a preset priority policy, further include:

[0071] If it is determined that the number of connected A2dp devices in the device connection list is 1, determine the connected A2dp device as the target A2dp device; if it is determined that the number of connected A2dp devices in the device connection list is 2, determine any one of the connected A2dp devices as the target A2dp device.

[0072] In some embodiments, the controller 250 is further configured to: if it is determined that the number of connected A2dp devices in the device connection list is 2, control the Bluetooth protocol stack to enable two audio streams for the connected A2dp devices; wherein, the two audio streams are used to be output to the connected A2dp devices respectively.

[0073] In some embodiments, the controller 250 is further configured to: the determining of the first target Bluetooth audio device from the currently connected Bluetooth audio devices based on a preset priority policy in response to the trigger operation for switching the current audio output channel to a Bluetooth audio output channel includes:

[0074] In response to switching the current audio output channel to a Bluetooth audio output channel, obtain a device connection list; wherein, the device connection list includes currently connected Bluetooth audio devices; based on a preset priority policy, determine the first connected LE audio device in the device connection list as the first target Bluetooth audio device; wherein, the LE audio device supports the LE audio protocol.

[0075] In some embodiments, the controller 250 is further configured to: in response to the trigger operation of switching the current audio output channel to the Bluetooth audio output channel, based on a preset priority policy, determine the first target Bluetooth audio device from the currently connected Bluetooth audio devices, including:

[0076] In response to the trigger operation of switching the current audio output channel to the Bluetooth audio output channel, determine whether there are currently connected Bluetooth audio devices; if it is determined that there are currently connected Bluetooth audio devices, then based on a preset priority policy, determine the first target Bluetooth audio device from the connected Bluetooth audio devices;

[0077] Correspondingly, the method further includes:

[0078] If it is determined that there are no currently connected Bluetooth audio devices, then control the Bluetooth module to perform device scanning, and in response to successfully establishing a Bluetooth connection with the scanned target device, determine the target device as the first target Bluetooth audio device.

[0079] In some embodiments, the controller 250 is further configured to: in response to an operation of cutting out from the Bluetooth audio output channel, determine the currently active Bluetooth audio device as the second target Bluetooth audio device; send a disconnection notification message for the second target Bluetooth audio device to the audio module to notify the second target Bluetooth audio device to go offline; control the audio module to route the audio data to the target cut-in device corresponding to the cut-out operation.

[0080] In some embodiments, the controller 250 is further configured to: if the second target Bluetooth audio device supports the LE audio protocol and / or the A2dp protocol, set the second target Bluetooth audio device to an inactive state, and control the Bluetooth protocol stack to close the audio session with the second target Bluetooth audio device.

[0081] Figure 4 Exemplarily shows Figure 1 The hardware configuration block diagram of the terminal device 300 in the illustrated embodiment. It should be understood that Figure 4 The illustrated control terminal 300 is only an example, and the control terminal 300 may have more thanFigure 4 More or fewer components shown therein, two or more components may be combined, or different component configurations may be provided. Figure 4 The various components shown therein may be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and / or application specific integrated circuits.

[0082] As Figure 4 shown, the control terminal 300 includes components such as a radio frequency (RF) circuit 310, a memory 320, a display unit 330, a camera 340, a sensor 350, an audio circuit 360, a Wireless Fidelity (Wi-Fi) module 370, a controller 380, a Bluetooth module 381, and a power supply 390.

[0083] The RF circuit 310 can be used to receive and transmit signals during information transceiver or call, receive downlink data from a base station and hand it over to the controller 380 for processing; and can transmit uplink data to the base station. The memory 320 can be used to store software programs and data. The memory 320 stores an operating system that enables the control terminal 300 to run. In this application, the memory 320 can store the operating system and various application programs, and can also store program codes for implementing the switching processing method for the Bluetooth audio output channel based on the control terminal in some embodiments of this application.

[0084] The display unit 330 can be used to receive input digital or character information and generate signal inputs related to user settings and function controls of the control terminal 300. Specifically, the display unit 330 may include a touch screen 331 disposed on the front of the control terminal 300, which can collect touch operations of a user thereon or nearby, such as clicking a button.

[0085] The display unit 330 can also be used to display information input by the user or information provided to the user and a graphical user interface (GUI) of various menus of the control terminal 300. The display unit 330 may include a display screen 332 disposed on the front of the control terminal 300. Among them, the touch screen 331 may cover the display screen 332, or the touch screen 331 and the display screen 332 may be integrated to implement the input and output functions of the control terminal 300. After integration, it may be simply referred to as a touch display screen. The control terminal 300 may further include at least one sensor 350, such as an acceleration sensor 351, a distance sensor 352, a fingerprint sensor 353, and a temperature sensor 354.

[0086] The audio circuit 360, speaker 361, and microphone 362 can provide an audio interface between the user and the control terminal 300. Wi-Fi belongs to short-range wireless transmission technology. The control terminal 300 can help the user send and receive emails, browse the web, and access streaming media through the Wi-Fi module 370, which provides the user with wireless broadband Internet access.

[0087] The controller 380 is the control center of the control terminal 300, connecting various parts of the entire control terminal using various interfaces and lines. By running or executing software programs stored in the memory 320 and calling data stored in the memory 320, it performs various functions of the control terminal 300 and processes data. In some embodiments, the controller 380 may include one or more processing units; the controller 380 can also integrate an application processor and a baseband processor. Among them, the application processor mainly processes the operating system, user interface, and application programs, etc., and the baseband processor mainly processes wireless communication. It can be understood that the above baseband processor may not be integrated into the controller 380. In this application, the controller 380 can run the operating system, application programs, user interface display, and touch response.

[0088] The Bluetooth module 381 is used to interact with other Bluetooth devices with Bluetooth modules through the Bluetooth protocol. For example, the control terminal 300 can establish a Bluetooth connection with a display device that also has a Bluetooth module through the Bluetooth module 381 to perform data interaction. The control terminal 300 also includes a power supply 390 (such as a battery) for powering each component.

[0089] Figure 5 Exemplarily shown Figure 1 The configuration block diagram of the Bluetooth audio device 400 in the illustrated embodiment. As Figure 5 shown, the Bluetooth audio device 400 includes: a controller 410, a communicator 420, a user input / output interface 430, a memory 440, and a power supply 450. The communicator 420 is used for external communication and includes at least one of a WIFI chip, a Bluetooth module, an NFC, or an alternative module. The user input / output interface 430 includes at least one of a speaker, a microphone, a touchpad, a sensor, a button, or an alternative module.

[0090] See Figure 6 shown, in some embodiments, the operating system of the display device 200 is divided into four layers, from top to bottom are the application layer (abbreviation "application layer"), the application framework layer (abbreviation "framework layer"), the Android runtime and system library layer (abbreviation "system runtime library layer"), and the kernel layer.

[0091] In some embodiments, at least one application runs in the application layer. These applications can be window programs, system setting programs, clock programs, etc. that come with the operating system; they can also be applications developed by third-party developers. In specific implementation, the application packages in the application layer are not limited to the above examples.

[0092] The framework layer provides application programming interfaces (APIs) and programming frameworks for applications. The application framework layer includes some predefined functions. The application framework layer is equivalent to a processing center that determines the actions of the applications in the application layer. Applications can access the resources in the system and obtain system services during execution through the API interfaces.

[0093] As Figure 6 shown, in the embodiment of the present application, the application framework layer includes Managers, Content Provider, etc. Among them, the Managers include at least one of the following modules: ActivityManager is used to interact with all the activities running in the system; LocationManager is used to provide access to the system location service for system services or applications; PackageManager is used to retrieve various information related to the applications currently installed on the device; Notification Manager is used to control the display and clearing of notification messages; Window Manager is used to manage the icons, windows, toolbars, wallpapers, and desktop widgets on the user interface.

[0094] In some embodiments, the ActivityManager is used to manage the life cycles of various applications and the usual navigation back functions, such as controlling the exit, opening, and back of applications. The Window Manager is used to manage all window programs, such as obtaining the display screen size, determining whether there is a status bar, locking the screen, taking screenshots, and controlling the changes of the display window (such as shrinking the display window, jittering the display, distorting the display, etc.).

[0095] In some embodiments, the system runtime layer provides support for the upper layer, i.e., the framework layer. When the framework layer is used, the Android operating system will run the C / C++ libraries included in the system runtime layer to implement the functions that the framework layer needs to achieve.

[0096] In some embodiments, the kernel layer is the layer between hardware and software. As Figure 6As 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 drivers (such as fingerprint sensor, temperature sensor, pressure sensor, etc.), and power driver, etc.

[0097] Figure 7 This is a schematic diagram of the software system architecture of a display device 200 provided by an embodiment of the present disclosure. As Figure 7 shown, the software system may include: Application (App) layer, System Framework (Framework) layer (abbreviation "framework layer"), Dynamic Library (Library), and Bluetooth Driver.

[0098] Among them, the Application layer includes: TV Settings or TV Service.

[0099] The System Framework layer includes: Bluetooth Interface (Bluetooth API), Bluetooth Application (Bluetooth APK), and Audio module.

[0100] The Bluetooth Application may include: A2DP application specification, LE Audio application specification, and Hearing Aid application specification. Among them, the A2DP (Advanced Audio Distribution Profile) application specification is the media audio application specification in classic Bluetooth, the LE Audio application specification is the low-power audio application specification based on Bluetooth, and the Hearing Aid application specification is the hearing aid application specification based on low-power (BLE). In the embodiment of the present disclosure, for the switching processing method of the Bluetooth audio output channel, it is mainly implemented by the Bluetooth Application (Bluetooth APK), and the TV Service only needs to call the cut-in and cut-out interfaces to implement the switching of the Bluetooth audio output channel.

[0101] The Dynamic Library (Library) includes: Bluetooth protocol stack and Bluetooth audio HAL layer. Among them, the Bluetooth protocol stack is mainly responsible for scanning, connecting, and configuring Bluetooth devices, etc. During the process of the display device establishing a Bluetooth connection with a Bluetooth device, relevant data can be sent down to the Bluetooth protocol stack through the Bluetooth application in the display device.

[0102] The audio module may include an audio manager (audioManager), an audio service (audioService), etc. The audio module is mainly responsible for sending audio-related data from the Bluetooth application to the Bluetooth protocol stack. In the embodiments of the present disclosure, the Bluetooth application mainly sends connection and disconnection notification information for Bluetooth audio devices to the audio module.

[0103] The Bluetooth driver is mainly responsible for the Bluetooth connection between the display device and surrounding Bluetooth devices.

[0104] In the embodiments of the present disclosure, by using the Bluetooth application to handle the connection and disconnection of various Bluetooth audio devices and the device connection list, the coupling between each module in the display device can be effectively reduced. Whether switching into or out of the Bluetooth audio output channel, the audio data of the display device can be played normally.

[0105] Figure 8 FIG. shows a schematic flowchart of a method for switching and processing a Bluetooth audio output channel provided by an embodiment of the present application. The execution subject of the method for switching and processing the Bluetooth audio output channel can be Figure 1 the display device 200 in the illustrated embodiment, such as Figure 8 As shown, it is a schematic flowchart of a method for switching and processing a Bluetooth audio output channel provided by an embodiment of the present disclosure. The method includes the following steps:

[0106] S801: In response to switching the current audio output channel to the Bluetooth audio output channel, based on a preset priority policy, determine a first target Bluetooth audio device from the currently connected Bluetooth audio devices; wherein, the preset priority policy is used to represent the Bluetooth audio output priority relationship between Bluetooth audio devices supporting different application layer Bluetooth protocols.

[0107] Among them, the audio output channel may include relatively traditional output channels such as a native speaker output channel, a Universal Serial Bus (USB) audio output channel, and a High Definition Multimedia Interface (HDMI) output channel, and may also include an audio output channel established based on a Broadcast Media Sender (BMS). The current audio output channel can be any one of the above audio output channels.

[0108] The Bluetooth audio output channel refers to a channel for outputting audio data using the Bluetooth module.

[0109] In practical applications, during the process of a display device playing audio based on the current audio output channel, for example, during the process of playing audio based on the USB audio output channel, when a trigger operation to switch the current audio output channel to the Bluetooth audio output channel is received, the first target Bluetooth audio device can be determined from the currently connected Bluetooth audio devices based on a preset priority policy.

[0110] In some embodiments, the trigger operation to switch the current audio output channel to the Bluetooth audio output channel may include a selection operation for the Bluetooth audio output channel option in the sound settings page of the device manager, etc.

[0111] As Figure 9 shown, it is a schematic diagram of a sound settings page provided by an embodiment of the present disclosure. Among them, Figure 9 the current audio output channel shown in (a) of the sound settings page is the built-in speaker output channel; when a selection operation for the built-in speaker output channel is received, it jumps to Figure 9 the audio output channel selection page shown in (b). The audio output channel selection page also shows options such as the USB audio output channel, the HDMI output channel, and the Bluetooth audio output channel. When a selection operation for the Bluetooth audio output channel option is received, as Figure 9 shown in (c), the Bluetooth audio output channel is determined as the current audio output channel. After successfully switching to the Bluetooth audio output channel, as Figure 9 shown in (d), the current audio output channel shown in the sound settings page is the Bluetooth audio output channel.

[0112] In the embodiments of the present disclosure, a Bluetooth audio device refers to an audio receiving device with a built-in Bluetooth module. The Bluetooth audio device can be used to receive audio data sent by a display device and control the Bluetooth module to synchronously play the audio data. Different Bluetooth audio devices can support different application layer Bluetooth protocols. For example, the Bluetooth audio device can include a Bluetooth audio device supporting the LE Audio protocol, a Bluetooth audio device supporting the A2DP protocol, and a Bluetooth hearing aid device supporting the hearingaid protocol, etc.

[0113] In practical applications, due to the limited radio frequency capabilities of the Bluetooth module in the display device, in the case of multiple connected Bluetooth audio devices, it is impossible to ensure that all devices can play the audio data of the display device. Therefore, when a trigger operation to switch to the Bluetooth audio output channel is received, it is necessary to determine the first target Bluetooth audio device from the connected Bluetooth audio devices based on a preset priority policy, that is, the Bluetooth audio device used to play the audio data of the display device.

[0114] In the embodiments of the present disclosure, a preset priority policy can be used to characterize the Bluetooth audio output priority relationship between Bluetooth audio devices supporting different application layer Bluetooth protocols.

[0115] In some embodiments, the preset priority policy can be determined based on actual requirements. For example, it can characterize the Bluetooth audio output priority relationship between the above-mentioned Bluetooth audio devices of different application layer Bluetooth protocols in the order of the Bluetooth hearing aid device supporting the hearingaid protocol being the most optimal, the Bluetooth audio device supporting the A2DP protocol being the second, and the Bluetooth audio device supporting the LEAudio protocol being the last.

[0116] Exemplarily, assuming the preset priority policy is hearingaid > A2DP > LEAudio, and the currently connected Bluetooth audio devices of the display device include a Bluetooth audio device 1 supporting the A2DP protocol and a Bluetooth audio device 2 supporting the LEAudio protocol. When the display device receives a trigger operation to switch the current audio output channel to the Bluetooth audio output channel, based on the above preset priority policy, a first target Bluetooth audio device is determined from the currently connected Bluetooth audio devices, that is, the Bluetooth audio device 1 is determined as the first target Bluetooth audio device.

[0117] S802: Control the audio module to route the audio data to the first target Bluetooth audio device.

[0118] In the embodiments of the present disclosure, after the display device determines the first target Bluetooth audio device, it can also control the Audio module to route the audio data to the first target Bluetooth audio device so that the first target Bluetooth audio device synchronously plays the audio data of the display device.

[0119] In some embodiments, after controlling the audio module to route the audio data to the first target Bluetooth audio device, an indication of successful switching to the Bluetooth audio output channel can also be displayed on the sound settings page. As Figure 10 shown, it is a schematic diagram of another sound settings page provided by the embodiments of the present disclosure. Among them, an indication 1001 for the Bluetooth audio output channel is displayed on this page, and this indication can be used to characterize that the display device has successfully switched to the Bluetooth audio output channel.

[0120] In the switching processing method for the Bluetooth audio output channel provided by the embodiments of the present disclosure, first, in response to a trigger operation for switching the current audio output channel to the Bluetooth audio output channel, based on a preset priority policy, a first target Bluetooth audio device is determined from the currently connected Bluetooth audio devices, where the preset priority policy is used to represent the Bluetooth audio output priority relationship between Bluetooth audio devices supporting different application layer Bluetooth protocols; then, the audio module is controlled to route the audio data to the first target Bluetooth audio device. It can be seen that the embodiments of the present disclosure can, when switching to the Bluetooth audio output channel, determine the first target Bluetooth audio device based on the preset priority policy, and control the audio module to route the audio data of the display device to the first target Bluetooth audio device, thereby realizing the function of synchronously playing the audio data of the display device by using the Bluetooth audio device when switching to the Bluetooth audio output channel.

[0121] In some embodiments, after determining the first target Bluetooth audio device from the currently connected Bluetooth audio devices based on the preset priority policy in response to a trigger operation for switching the current audio output channel to the Bluetooth audio output channel, if it is determined that the first target Bluetooth audio device supports at least one of the LE audio protocol and the A2dp protocol, the first target Bluetooth audio device is set to the active state, and the Bluetooth protocol stack is controlled to output the audio data of the display device to the first target Bluetooth audio device.

[0122] In practical applications, for the Bluetooth audio devices connected to the display device and supporting the LE audio protocol and / or the A2dp protocol, only when in the active state can they play the audio data transmitted by the display device. Therefore, when it is determined that the first target Bluetooth audio device supports the LE audio protocol and / or the A2dp protocol, the state of the first target Bluetooth audio device is first set to the active state, and the Bluetooth protocol stack is notified that the first target Bluetooth audio device is currently in the active state, so that the Bluetooth protocol stack can be controlled to output the audio data of the display device to the first target Bluetooth audio device.

[0123] Refer to Figure 11 As shown, as an extension and refinement of the embodiment shown in Figure 8 Based on the steps S801 to S802 shown in Figure 8 The switching processing method for the Bluetooth audio output channel provided by the embodiments of the present application further includes the following steps by replacing step S801 (in response to a trigger operation for switching the current audio output channel to the Bluetooth audio output channel, determining a first target Bluetooth audio device from the currently connected Bluetooth audio devices based on the preset priority policy) with step S1101 and step S1102:

[0124] S1101: In response to a trigger operation for switching the current audio output channel to a Bluetooth audio output channel, obtain a device connection list; wherein, the device connection list includes currently connected Bluetooth audio devices.

[0125] In the embodiments of the present disclosure, the device connection list stores currently connected audio receiving devices, such as Bluetooth audio devices supporting the LE audio protocol and / or the A2dp protocol, Bluetooth hearing aid devices supporting the hearingaid protocol, etc.

[0126] S1102: Based on a preset priority policy, determine the last connected Bluetooth hearing aid device in the device connection list as the first target Bluetooth audio device; wherein, the Bluetooth hearing aid device supports the hearingaid protocol.

[0127] In practical applications, after obtaining the device connection list of the display device, first determine, based on a preset priority policy, which protocol the device for playing audio data supports among Bluetooth audio devices; if it is determined that the device for playing audio data is a Bluetooth hearing aid device supporting the hearingaid protocol, then based on the priority policy, determine the last connected Bluetooth hearing aid device in the device connection list as the first target Bluetooth audio device; further, control the audio module to route the audio data to the first target Bluetooth audio device, so as to realize the function of the first target Bluetooth audio device synchronously playing the audio data of the display device when switching to the Bluetooth audio output channel.

[0128] In the display device in the embodiments of the present disclosure, when receiving a trigger operation for switching the current audio output channel to a Bluetooth audio output channel, first determine the device type of the connected Bluetooth audio devices. If there are multiple device types of the connected Bluetooth audio devices, then based on a preset priority policy, determine the Bluetooth audio device at the top of the priority order. If it is determined that the Bluetooth audio device at the top of the priority order is a Bluetooth hearing aid device supporting the hearingaid protocol, then determine the last connected Bluetooth hearing aid device in the device connection list as the first target Bluetooth audio device, so that the Bluetooth hearing aid device can play the audio data of the display device subsequently.

[0129] S802: Control the audio module to route the audio data to the first target Bluetooth audio device.

[0130] In the embodiments of the present disclosure, after determining the last connected Bluetooth hearing aid device in the device connection list as the first target Bluetooth hearing aid device based on a preset priority policy, the audio module can also be controlled to route the audio data to the first target Bluetooth audio device, so that the first target Bluetooth audio device synchronously plays the audio data of the display device.

[0131] In the switching processing method for the Bluetooth audio output channel provided by the embodiments of the present disclosure, first, in response to a trigger operation for switching the current audio output channel to the Bluetooth audio output channel, a device connection list is obtained; then, based on a preset priority policy, the last connected Bluetooth hearing aid device in the device connection list is determined as the first target Bluetooth audio device, where the Bluetooth hearing aid device supports the hearingaid protocol; then, the audio module is controlled to route the audio data to the first target Bluetooth audio device. It can be seen that the embodiments of the present disclosure can determine the first target Bluetooth audio device based on a preset priority policy when switching to the Bluetooth audio output channel, so as to control the audio module to route the audio data of the display device to the first target Bluetooth audio device, thereby realizing the function of synchronously playing the audio data of the display device by using the Bluetooth audio device when switching to the Bluetooth audio output channel.

[0132] Referring to Figure 12 as shown, as an extension and refinement of the embodiment shown in Figure 8 shown, on the basis of the steps S801 to S802 shown in Figure 8 shown, step S801 (in response to a trigger operation for switching the current audio output channel to the Bluetooth audio output channel, determining the first target Bluetooth audio device from the currently connected Bluetooth audio devices based on a preset priority policy) is replaced by step S1201 and step S1202. The switching processing method for the Bluetooth audio output channel provided by the embodiments of the present application further includes the following steps:

[0133] S1201: In response to a trigger operation for switching the current audio output channel to the Bluetooth audio output channel, obtain a device connection list; where the device connection list includes the currently connected Bluetooth audio devices.

[0134] S1202: Based on a preset priority policy, determine the target A2dp device in the device connection list as the first target Bluetooth audio device; where the A2dp device supports the A2dp protocol.

[0135] In practical applications, after obtaining the device connection list of the display device, first, based on a preset priority policy, determine which protocol the Bluetooth audio device for playing the audio data supports; if it is determined that the Bluetooth audio device for playing the audio data is an A2dp device that supports the A2dp protocol, then determine the target A2dp device in the device connection list as the first target Bluetooth audio device.

[0136] In some embodiments, the target A2dp device can also be determined based on the number of connected A2dp devices in the device connection list. Specifically, if it is determined that the number of connected A2dp devices in the device connection list is 1, the connected A2dp device is determined as the target A2dp device; if it is determined that the number of connected A2dp devices in the device connection list is 2, any one of the connected A2dp devices is determined as the target A2dp device.

[0137] In practical applications, after determining that the number of connected A2dp devices is 2 and any one of the connected A2dp devices is determined as the target A2dp device, the Bluetooth protocol stack can also be controlled to enable two audio streams for the connected A2dp devices. Among them, the two audio streams are used to output the audio data of the display device to the connected A2dp devices respectively.

[0138] In some embodiments, when it is determined that the number of connected A2dp devices in the device connection list is 2, the Bluetooth protocol stack can also be controlled to enable two audio streams for the connected A2dp devices, so as to output the audio data of the display device to the connected A2dp devices respectively.

[0139] It can be seen that the display device in the embodiments of the present disclosure, when it is determined that the number of connected A2dp devices in the device connection list is 2, can realize the function of synchronously playing the audio data of the display device by multiple connected A2dp devices by controlling the Bluetooth protocol stack to enable two audio streams.

[0140] In some other embodiments, after determining the target A2dp device as the first target Bluetooth audio device, the first target Bluetooth audio device can also be set to the active state, and the Bluetooth protocol stack can be controlled to open an audio session with the first target Bluetooth audio device; then, a notification message for the first target Bluetooth audio device to go online is sent to the audio module to notify the first target Bluetooth audio device to go online; then, the audio module is controlled to route the audio data to the first target Bluetooth audio device, so that the Bluetooth protocol stack outputs the audio data of the display device to the first target Bluetooth audio device, thus realizing the function of synchronously playing the audio data of the display device by the first target Bluetooth audio device when switching to the Bluetooth audio output channel.

[0141] S802: Control the audio module to route the audio data to the first target Bluetooth audio device.

[0142] In an embodiment of the present disclosure, after determining a target A2dp device in the device connection list as the first target Bluetooth hearing aid device based on a preset priority policy, the Audio audio module can also be controlled to route audio data to the first target Bluetooth audio device, so that the first target Bluetooth audio device synchronously plays the audio data of the display device.

[0143] In the method for switching and processing a Bluetooth audio output channel provided by an embodiment of the present disclosure, first, in response to a trigger operation for switching the current audio output channel to the Bluetooth audio output channel, a device connection list is obtained; then, based on a preset priority policy, a target A2dp device in the device connection list is determined as the first target Bluetooth audio device, where the A2dp device supports the A2dp protocol; next, the audio module is controlled to route the audio data to the first target Bluetooth audio device. It can be seen that the embodiment of the present disclosure can determine the first target Bluetooth audio device based on a preset priority policy when switching to the Bluetooth audio output channel, so as to control the audio module to route the audio data of the display device to the first target Bluetooth audio device, thereby realizing the function of synchronously playing the audio data of the display device by using the Bluetooth audio device when switching to the Bluetooth audio output channel.

[0144] Referring to Figure 13 as shown, as an extension and refinement of the embodiment shown in Figure 8 on the basis of the steps S801 to S802 shown in Figure 8 replacing step S801 (in response to a trigger operation for switching the current audio output channel to the Bluetooth audio output channel, determining the first target Bluetooth audio device from the currently connected Bluetooth audio devices based on a preset priority policy) with step S1301 and step S1302, the method for switching and processing a Bluetooth audio output channel provided by an embodiment of the present application further includes the following steps:

[0145] S1301: In response to a trigger operation for switching the current audio output channel to the Bluetooth audio output channel, obtain a device connection list; where the device connection list includes currently connected Bluetooth audio devices.

[0146] S1302: Based on a preset priority policy, determine the first connected LE audio device in the device connection list as the first target Bluetooth audio device; where the LE audio device supports the LE audio protocol.

[0147] In practical applications, after obtaining the device connection list of the display device, first, based on a preset priority policy, determine which protocol the device for playing audio data is a Bluetooth audio device that supports; if it is determined that the device for playing audio data is a LE audio device that supports the LE audio protocol, then determine the first connected LE audio device in the device connection list as the first target Bluetooth audio device.

[0148] S802: Control the audio module to route the audio data to the first target Bluetooth audio device.

[0149] In the embodiments of the present disclosure, after determining the first connected LE audio device in the device connection list as the first target Bluetooth hearing aid device based on a preset priority policy, the Audio audio module can also be controlled to route the audio data to the first target Bluetooth audio device, so that the first target Bluetooth audio device synchronously plays the audio data of the display device.

[0150] In the method for switching and processing the Bluetooth audio output channel provided by the embodiments of the present disclosure, first, in response to a trigger operation for switching the current audio output channel to the Bluetooth audio output channel, obtain the device connection list; then, based on a preset priority policy, use the first connected LE audio device in the device connection list as the first target Bluetooth audio device, where the LE audio device supports the LE audio protocol; then, control the audio module to route the audio data to the first target Bluetooth audio device. It can be seen that the embodiments of the present disclosure can determine the first target Bluetooth audio device based on a preset priority policy when switching to the Bluetooth audio output channel, so as to control the audio module to route the audio data of the display device to the first target Bluetooth audio device, thereby realizing the function of synchronously playing the audio data of the display device by using the Bluetooth audio device when switching to the Bluetooth audio output channel.

[0151] Refer to Figure 14 As shown Figure 8 As an expansion and refinement of the embodiments shown, in Figure 8 Based on the steps S801 to S802 shown, replace step S801 (in response to a trigger operation for switching the current audio output channel to the Bluetooth audio output channel, based on a preset priority policy, determine the first target Bluetooth audio device from the currently connected Bluetooth audio devices) with steps S1401, S1402, and S1403. The method for switching and processing the Bluetooth audio output channel provided by the embodiments of the present application further includes the following steps:

[0152] S1401: In response to a trigger operation for switching the current audio output channel to the Bluetooth audio output channel, determine whether there are currently connected Bluetooth audio devices.

[0153] S1402: If it is determined that there is a currently connected Bluetooth audio device, determine a first target Bluetooth audio device from the connected Bluetooth audio devices based on a preset priority policy.

[0154] In the embodiments of the present disclosure, when the display device receives a trigger operation to switch the current audio output channel to the Bluetooth audio output channel, it first determines whether there is a currently connected Bluetooth audio device on the display device. If it is determined that there is a currently connected Bluetooth audio device, it indicates that the display device has previously connected and paired with a Bluetooth audio device. At this time, the first target Bluetooth audio device can be directly determined from the connected Bluetooth audio devices based on the preset priority policy.

[0155] S1403: If it is determined that there is no currently connected Bluetooth audio device, control the Bluetooth module to perform device scanning, and in response to successfully establishing a Bluetooth connection with the scanned target device, determine the target device as the first target Bluetooth audio device.

[0156] In practical applications, if it is determined that there is no currently connected Bluetooth audio device, it indicates that the display device has not previously connected and paired with a Bluetooth audio device. At this time, it is necessary to control the Bluetooth module to perform device scanning, and in response to successfully establishing a Bluetooth connection with the scanned target device, determine the target device as the first target Bluetooth audio device for playing audio data.

[0157] In some embodiments, during the process of the display device controlling the Bluetooth module to perform device scanning, it can also, in response to a selection operation for a target device among the scanned Bluetooth audio devices, establish a Bluetooth connection with the target device, and after successfully establishing a Bluetooth connection with the target device, determine the target device as the first target Bluetooth audio device.

[0158] As Figure 9 shown, options for the Bluetooth audio output channel are displayed on the sound settings page. When a trigger operation for the Bluetooth audio output channel option is received, if it is determined that there is no currently connected Bluetooth audio device, control the Bluetooth module to perform device scanning, and the Figure 9 shown sound settings page jumps to the device scanning page.

[0159] As Figure 15 shown, it is a schematic diagram of a device scanning page provided by the embodiments of the present disclosure. Among them, at least one Bluetooth audio device scanned by the display device is displayed on the device scanning page. When a selection operation for a target device among the at least one Bluetooth audio device is received, establish a Bluetooth connection with the target device, and after successfully establishing a Bluetooth connection, determine the target device as the first target Bluetooth audio device.

[0160] S802: Control the audio module to route the audio data to the first target Bluetooth audio device.

[0161] In the embodiments of the present disclosure, after successfully establishing a Bluetooth connection with the scanned target device and determining the target device as the first target Bluetooth audio device, the audio module can also be controlled to route the audio data to the first target Bluetooth audio device.

[0162] In the method for switching processing of the Bluetooth audio output channel provided by the embodiments of the present disclosure, in response to a trigger operation for switching the current audio output channel to the Bluetooth audio output channel, first determine whether there is a currently connected Bluetooth audio device. If it is determined that there is no currently connected Bluetooth audio device, control the Bluetooth module to perform a scan, and in response to successfully establishing a Bluetooth connection with the scanned target device, determine the target device as the first target Bluetooth audio device; then, control the audio module to route the audio data to the first target Bluetooth audio device. It can be seen that in the embodiments of the present disclosure, when switching to the Bluetooth audio output channel, the Bluetooth module can be controlled to perform device scanning, and then the audio module can be controlled to route the audio data to the target device that has successfully established a Bluetooth connection, thereby realizing the function of synchronously playing the audio data of the display device by using the Bluetooth audio device when switching to the Bluetooth audio output channel.

[0163] In some embodiments, during the process of playing the audio data of the display device based on the Bluetooth audio device, in response to a cut-out operation for the Bluetooth audio output channel, the currently active Bluetooth audio device can be determined as the second target Bluetooth audio device; then, send a disconnection notification message for the second target Bluetooth audio device to the audio module to notify the second target Bluetooth audio device to go offline; further, control the audio module to route the audio data to the target cut-in device corresponding to the cut-out operation.

[0164] In the embodiments of the present disclosure, the cut-out operation for the Bluetooth audio output channel may include: a trigger operation for switching the Bluetooth audio output channel to the built-in speaker output channel, a trigger operation for switching the Bluetooth audio output channel to the USB audio output channel, a trigger operation for switching the Bluetooth audio output channel to the HDMI output channel, etc.

[0165] Among them, the Bluetooth audio device may include a Bluetooth audio device supporting the LEAudio protocol, a Bluetooth audio device supporting the A2DP protocol, and a Bluetooth hearing aid device supporting the hearingaid protocol, etc.

[0166] In an embodiment of the present disclosure, after determining the second target Bluetooth audio device, the display device notifies the second target Bluetooth audio device to go offline by sending a go-offline notification message for the second target Bluetooth audio device to the audio module, and then controls the audio module to route the audio data to the target cut-in device corresponding to the cut-out operation. For example, the audio module is controlled to route the audio data to the local speaker.

[0167] In some embodiments, after determining the currently active Bluetooth audio device as the second target Bluetooth audio device in response to a cut-out operation for the Bluetooth audio output channel, the Bluetooth protocol supported by the second target Bluetooth audio device may also be determined; if it is determined that the second target Bluetooth audio device supports the LEAudio protocol and / or the A2DP protocol, the second target Bluetooth audio device is set to the inactive state, and the Bluetooth protocol stack is controlled to close the audio session with the second target Bluetooth audio device; then, a go-offline notification message for the second target Bluetooth audio device is sent to the audio module to notify the second target Bluetooth audio device to go offline; further, the audio module is controlled to route the audio data to the target cut-in device corresponding to the cut-out operation.

[0168] In other embodiments, if it is determined that the second target Bluetooth audio device is a Bluetooth hearing aid device supporting the hearingaid protocol, there is no need to set the inactive state or close the audio session, and a go-offline notification message for the second target Bluetooth audio device is directly sent to the audio module to notify the second target Bluetooth audio device to go offline; then, the audio module is controlled to route the audio data to the target cut-in device corresponding to the cut-out operation.

[0169] It can be seen that in the embodiment of the present disclosure, when cutting out the Bluetooth audio output channel, by sending a go-offline notification message for the second target Bluetooth audio device to the audio module and controlling the audio module to route the audio data to the target cut-in device corresponding to the cut-out operation, the function of synchronously playing the audio data of the display device by the target cut-in device when cutting out the Bluetooth audio output channel is realized.

[0170] Figure 16 FIG. is a schematic structural diagram of an electronic device provided in an embodiment of the present disclosure. The electronic device may be the above-mentioned display device, control terminal, or audio receiving device. As Figure 16 shown, the electronic device includes: a processor 1601, a memory 1602, and a computer program stored on the memory 1602 and executable on the processor 1601. When the computer program is executed by the processor 1601, the following methods involved in the above method embodiments are implemented: a method for switching processing of the Bluetooth audio output channel executed by the display device.

[0171] An embodiment of the present disclosure provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements each process performed by the above-mentioned switching processing method for the Bluetooth audio output channel, and can achieve the same technical effect. To avoid repetition, it will not be elaborated here. Among them, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disc, etc.

[0172] The present disclosure provides a computer program product, which includes a computer program. When the computer program runs on a computer, it enables the computer to implement the above-mentioned switching processing method for the Bluetooth audio output channel.

[0173] For the sake of 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 to 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 for better explaining the principles and actual applications, so that those skilled in the art can better use the embodiments and various different modified embodiments suitable for specific use considerations.

Claims

1. A display device, characterized in that, it includes: a controller, and a Bluetooth module connected to the controller; the controller is configured to: in response to a trigger operation for switching the current audio output channel to the Bluetooth audio output channel, determine a first target Bluetooth audio device from the currently connected Bluetooth audio devices based on a preset priority policy; wherein, the preset priority policy is used to characterize the Bluetooth audio output priority relationship between Bluetooth audio devices supporting different application layer Bluetooth protocols; control the audio module to route audio data to the first target Bluetooth audio device.

2. The display device according to claim 1, characterized in that, the controller is further configured to: if the first target Bluetooth audio device supports the LE audio protocol and / or the A2dp protocol, set the first target Bluetooth audio device to the active state, and control the Bluetooth protocol stack to output the audio data of the display device to the first target Bluetooth audio device.

3. The display device according to claim 1, characterized in that, the controller is specifically configured to: the step of determining a first target Bluetooth audio device from the currently connected Bluetooth audio devices based on a preset priority policy in response to a trigger operation for switching the current audio output channel to the Bluetooth audio output channel includes: in response to a trigger operation for switching the current audio output channel to the Bluetooth audio output channel, obtain a device connection list; wherein, the device connection list includes the currently connected Bluetooth audio devices; based on the preset priority policy, determine the last connected Bluetooth hearing aid device in the device connection list as the first target Bluetooth audio device; wherein, the Bluetooth hearing aid device supports the hearingaid protocol.

4. The display device according to claim 1, characterized in that, the controller is specifically configured to: the step of determining a first target Bluetooth audio device from the currently connected Bluetooth audio devices based on a preset priority policy in response to a trigger operation for switching the current audio output channel to the Bluetooth audio output channel includes: in response to a trigger operation for switching the current audio output channel to the Bluetooth audio output channel, obtain a device connection list; wherein, the device connection list includes the currently connected Bluetooth audio devices; based on the preset priority policy, determine the target A2dp device in the device connection list as the first target Bluetooth audio device; wherein, the A2dp device supports the A2dp protocol.

5. The display device according to claim 4, characterized in that, the controller is further configured to: before determining the target A2dp device in the device connection list as the first target Bluetooth audio device based on the preset priority policy, further include: if it is determined that the number of connected A2dp devices in the device connection list is 1, determine the connected A2dp device as the target A2dp device; If it is determined that the number of connected A2dp devices in the device connection list is 2, any one of the connected A2dp devices in the connected A2dp devices is determined as the target A2dp device.

6. The display device according to claim 5, wherein, the controller is further configured to: If it is determined that the number of connected A2dp devices in the device connection list is 2, control the Bluetooth protocol stack to enable two audio streams for the connected A2dp devices; wherein, the two audio streams are used to be output to the connected A2dp devices respectively.

7. The display device according to claim 1, wherein, the controller is specifically configured to: In response to a trigger operation for switching the current audio output channel to the Bluetooth audio output channel, determine a first target Bluetooth audio device from the currently connected Bluetooth audio devices based on a preset priority policy, including: In response to a trigger operation for switching the current audio output channel to the Bluetooth audio output channel, obtain a device connection list; wherein, the device connection list includes the currently connected Bluetooth audio devices; Based on a preset priority policy, determine the first connected LE audio device in the device connection list as the first target Bluetooth audio device; wherein, the LE audio device supports the LE audio protocol.

8. The display device according to claim 1, wherein, the controller is further configured to: In response to a trigger operation for switching the current audio output channel to the Bluetooth audio output channel, determine a first target Bluetooth audio device from the currently connected Bluetooth audio devices based on a preset priority policy, including: In response to a trigger operation for switching the current audio output channel to the Bluetooth audio output channel, determine whether there are currently connected Bluetooth audio devices; If it is determined that there are currently connected Bluetooth audio devices, determine a first target Bluetooth audio device from the connected Bluetooth audio devices based on a preset priority policy; Correspondingly, the method further includes: If it is determined that there are no currently connected Bluetooth audio devices, control the Bluetooth module to perform device scanning, and in response to successfully establishing a Bluetooth connection with the scanned target device, determine the target device as the first target Bluetooth audio device.

9. The display device according to claim 1, wherein, the controller is further configured to: In response to a cut-out operation for the Bluetooth audio output channel, determine the currently active Bluetooth audio device as the second target Bluetooth audio device; Send a disconnection notification message for the second target Bluetooth audio device to the audio module to notify the second target Bluetooth audio device to go offline; Control the audio module to route the audio data to the target cut-in device corresponding to the cut-out operation.

10. The display device according to claim 8, wherein, the controller is further configured to: If the second target Bluetooth audio device supports the LE audio protocol and / or the A2dp protocol, set the second target Bluetooth audio device to the inactive state and control the Bluetooth protocol stack to close the audio session with the second target Bluetooth audio device.

11. A method for switching and processing a Bluetooth audio output channel, characterized in that, it includes: In response to a trigger operation for switching the current audio output channel to the Bluetooth audio output channel, determine a first target Bluetooth audio device from the currently connected Bluetooth audio devices based on a preset priority policy; wherein, the preset priority policy is used to represent the Bluetooth audio output priority relationship between Bluetooth audio devices supporting different application layer Bluetooth protocols; Control the audio audio module to route the audio data to the first target Bluetooth audio device.