Display device, and bluetooth device display method for display device
By obtaining the list of Bluetooth devices and combining the ASHA protocol devices to display according to the connection status and HiSyncID, the problem of unclear connection status in the Bluetooth device display method is solved, and intuitive device management is achieved.
Patent Information
- Application Number
- PCT/CN2024/136468
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-02-26
- Filing Date
- 2024-12-03
- Publication Date
- 2025-09-04
AI Technical Summary
The existing Bluetooth device display method cannot effectively distinguish and display the connection status of Bluetooth devices that support the ASHA protocol of hearing aid audio streaming, resulting in complex and unintuitive user operations.
By obtaining the list of paired Bluetooth devices, Bluetooth devices that support the ASHA protocol are added to the same device group according to the connection status and HiSyncID, and the group identification and connection status identification are displayed on the monitor, and the display is controlled by the processor.
It realizes intuitive display of Bluetooth devices that support ASHA protocol, simplifies user operations and improves the intuitiveness and efficiency of device management.
Smart Images

Figure CN2024136468_04092025_PF_FP_ABST
Abstract
Description
Display device and Bluetooth device display method for display device
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to Chinese patent application No. 202410210570.7, filed on February 26, 2024, the entire contents of which are incorporated herein by reference. Technical Field
[0003] The present application relates to the field of Bluetooth technology, and in particular to a display device and a Bluetooth device display method for the display device. Background Art
[0004] With the continuous development of Bluetooth technology, Bluetooth devices that support the Audio Streaming for Hearing Aid (ASHA) protocol have emerged, such as Bluetooth headsets that support the ASHA protocol. For Bluetooth devices that support the ASHA protocol, a Bluetooth device display method is urgently needed. Summary of the Invention
[0005] According to some embodiments of the present application, a display device may include: at least one processor, and a Bluetooth module, a memory and a display connected to the at least one processor; the memory may be configured to store a computer program or instruction; the at least one processor may be configured to execute the computer program or instruction to enable the display device to execute: obtaining a list of paired Bluetooth devices; wherein the list of paired Bluetooth devices may include at least one Bluetooth device; target Bluetooth devices in the paired Bluetooth device list with the same connection status and HiSyncID may be added to the same device group in a target display list; wherein the target Bluetooth device supports the hearing aid audio stream ASHA protocol, the connection status may include a connected state and an unconnected state, the target display list includes at least a first device group, and the first device group includes at least two target Bluetooth devices; controlling the display to display a first group identifier and a connection status identifier corresponding to the first group identifier based on the target display list; wherein the first group identifier can be used to identify the first device group in the target display list, and the connection status identifier can be used to characterize the connection status of the target Bluetooth device in the first device group.
[0006] According to some embodiments of the present application, a Bluetooth device display method for a display device may include: obtaining a list of paired Bluetooth devices; wherein the paired Bluetooth device list may include at least one Bluetooth device; target Bluetooth devices in the paired Bluetooth device list with the same connection status and HiSyncID may be added to the same device group in the target display list; wherein the target Bluetooth device supports the ASHA protocol, the connection status may include a connected state and an unconnected state, the target display list includes at least a first device group, and the first device group includes at least two target Bluetooth devices; controlling the display to display a first group identifier and a connection status identifier corresponding to the first group identifier based on the target display list; wherein the first group identifier can be used to identify the first device group in the target display list, and the connection status identifier can be used to characterize the connection status of the target Bluetooth device in the first device group.
[0007] According to some embodiments of the present application, a computer-readable non-volatile storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the Bluetooth device display method for a display device as described above can be implemented.
[0008] According to some embodiments of the present application, a computer program product is provided, which may include a computer program. When the computer program is run on a computer, the computer implements the Bluetooth device display method for a display device as described above. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] In order to more clearly illustrate the solutions in some embodiments of the present application or related technologies, the following is a brief introduction to the drawings required for use in the embodiments or related technology descriptions. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0010] FIG1 is a schematic diagram of a scene architecture of a display method for a Bluetooth device according to some embodiments of the present application;
[0011] FIG2 is a configuration block diagram of a control device according to some embodiments of the present application;
[0012] FIG3 is a block diagram of a configuration of a display device according to some embodiments of the present application;
[0013] FIG4 is a hardware configuration block diagram of a terminal device provided according to some embodiments of the present application;
[0014] FIG5 is a configuration block diagram of a Bluetooth hearing aid device according to some embodiments of the present application;
[0015] FIG6 is a schematic diagram of an operating system of a display device according to some embodiments of the present application;
[0016] FIG7 is a schematic diagram of a software system architecture of a display device provided according to some embodiments of the present application;
[0017] FIG8 is a flow chart of a volume adjustment method for a Bluetooth hearing aid device according to some embodiments of the present application;
[0018] FIG9 is a schematic diagram showing the display effect of a target Bluetooth device when the connection status and HiSyncID are the same according to an embodiment of the present application;
[0019] FIG10 is a schematic diagram of a device management page provided according to an embodiment of the present application;
[0020] FIG11 is a schematic diagram of another device management page provided according to an embodiment of the present application;
[0021] FIG12 is a flow chart of another volume adjustment method for a Bluetooth hearing aid device according to some embodiments of the present application;
[0022] FIG13 is a flow chart of another volume adjustment method for a Bluetooth hearing aid device according to some embodiments of the present application;
[0023] FIG14 is a schematic diagram illustrating a process of updating the connection status of a target Bluetooth device according to an embodiment of the present application;
[0024] FIG15 is a schematic diagram of updating a device management page according to an embodiment of the present application;
[0025] FIG16 is a schematic diagram of updating another device management page according to an embodiment of the present application;
[0026] FIG17 is a schematic diagram of a display processing flow of a Bluetooth device according to an embodiment of the present application;
[0027] FIG18 is a schematic structural diagram of an electronic device provided according to an embodiment of the present application. DETAILED DESCRIPTION
[0028] In order to more clearly understand the above-mentioned objectives, features and advantages of the present application, the scheme of the present application will be further described below. It should be noted that, in the absence of conflict, the embodiments of the present application and the features therein can be combined with each other.
[0029] In the following description, many specific details are set forth to facilitate a full understanding of the present application, but the present application can 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 application, not all of the embodiments.
[0030] The Audio Streaming for Hearing Aid (ASHA) protocol is a hearing aid audio transmission protocol based on Bluetooth Low Energy (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 is designed to further extend battery life. Using low-power Bluetooth BLE, users can use audio direct connection technology around the clock while still ensuring the battery life of Bluetooth hearing aid devices.
[0031] Figure 1 is a schematic diagram of a scene architecture of a Bluetooth device display method according to some embodiments of the present application. As shown in Figure 1, the scene architecture in some embodiments of the present application may include: a control device 100, a display device 200, a terminal device 300, and a Bluetooth device 400.
[0032] The user can operate the display device 200 through the terminal device 300 or the control apparatus 100. A Bluetooth connection is established between the display device 200 and the Bluetooth device 400, and the display device 200 can exchange data with the Bluetooth device 400 through the Bluetooth connection.
[0033] The display devices provided in some embodiments of the present application may have various implementation forms. For example, the display device 200 may be a television, a smart speaker refrigerator with a display function, curtains with a display function, a personal computer (PC), a laser projection device, a monitor, an electronic whiteboard, a wearable device, an in-vehicle device, an electronic table, etc. This application does not impose any restrictions on this.
[0034] In some embodiments, the control device 100 may be a remote control. Communication between the remote control and the display device 200 may be via infrared protocol, Bluetooth protocol, or other short-range communication methods, allowing the display device 200 to be controlled wirelessly or wired. A user may control the display device 200 by inputting user commands via buttons on the remote control, voice input, control panel input, etc. In some embodiments, the control device 100 may also be a terminal device (such as a mobile phone, tablet computer, computer, laptop computer, etc.). For example, the display device 200 may be controlled using an application running on the terminal device.
[0035] In some embodiments, the display device 200 may also be controlled by a terminal device 300 (such as a mobile phone, tablet computer, computer, laptop computer, etc.). For example, the display device 200 may be controlled by an application running on a smart device.
[0036] In some embodiments, the display device 200 can also be controlled in a manner other than the control device 100. For example, the user's voice command control can be received through a module for obtaining voice commands configured inside the display device 200, or the user's key operation can be received through physical buttons on the display device 200, or the user's touch operation can be received through the touch control panel of the display device 200.
[0037] 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 may be connected to the server via a local area network (LAN) or a wireless local area network (WLAN). The server may provide media resource services and various content and interactions to the display device 200. The server may be a single cluster or multiple clusters, and may include one or more types of servers.
[0038] Figure 2 is a block diagram of a control device according to some embodiments of the present application. As shown in Figure 2, the control device 100 may include at least one of: a processor 110, a communication interface 130, a user input / output interface 140, a memory, and a power supply. The control device 100 may receive user input of an operation instruction, convert the operation instruction into an instruction that the display device 200 can recognize and respond to, and send the operation instruction or the instruction converted from the voice instruction to the display device 200, acting as an interactive intermediary between the user and the display device 200.
[0039] FIG3 is a block diagram of a configuration of a display device according to some embodiments of the present application. As shown in FIG3 , the display device 200 may include: a tuner / demodulator 210, a communication device 220, a detector 230, an external device interface 240, at least one processor 250, a display 260, an audio output interface 270, a memory, a power supply, and at least one of a user interface.
[0040] In some embodiments, the tuner-demodulator 210 receives broadcast television signals via wired or wireless reception, and demodulates audio and video signals, such as an Electronic Program Guide (EPG) data signal, from multiple wireless or wired broadcast television signals.
[0041] In some embodiments, the tuner 210 may be located in different separate devices, that is, the tuner 210 may also be located in an external device of the physical device where the at least one processor 250 is located, such as an external set-top box.
[0042] In some embodiments, the communication device 220 is a component used to communicate with external devices (such as at least one processor 100, server 400, hearing aid 500, etc.) using various communication protocols. For example, the communication device 220 may include at least one of a WiFi module, a Bluetooth module, a wired Ethernet module, or other network communication protocol chip or a near-field communication protocol chip, as well as an infrared receiver. The display device 200 can send and receive control signals and data signals with external devices via the communication device 220.
[0043] In some embodiments, detector 230 can be used to collect signals from the external environment or external interactions. For example, detector 230 can include a light receiver, a sensor for collecting ambient light intensity; or detector 230 can include an image collector, such as a camera, for collecting external environmental scenes, user attributes, or user interaction gestures; or detector 230 can include a sound collector, such as a microphone, for receiving external sounds.
[0044] In some embodiments, the external device interface 240 may include, but is not limited to, any one or more of the following: a High Definition Multimedia Interface (HDMI), an analog or digital high-definition component input interface (component), a composite video input interface (Composite Video Broadcast Signal or Composite Video Blanking and Sync, CVBS), a Universal Serial Bus (USB) input interface (USB for short), an RGB port, or the like. Alternatively, the external device interface 240 may be a composite input / output interface formed by multiple of the aforementioned interfaces.
[0045] In some embodiments, at least one processor 250 can control the operation of the display device and respond to user operations through various software control programs stored in the memory, such as computer programs or instructions. The at least one processor 250 can control the overall operation of the display device 200. For example, in response to receiving a user command to select a UI object to be displayed on the display 260, the at least one processor 250 can perform operations related to the object selected by the user command.
[0046] In some embodiments, the processor may include a central processing unit (CPU), a video processor, an audio processor, a graphics processing unit (GPU), RAM Random Access Memory (RAM), ROM (Read-Only Memory, ROM), a first interface to an nth interface for input / output, a communication bus (Bus), etc.
[0047] In some embodiments, the display 260 may include a display screen component for presenting images, and a driving component for driving image display, a component for receiving image signals output from at least one processor, and a component for displaying video content, image content, and a menu control interface and a user control UI interface.
[0048] In some embodiments, the display 260 may be a liquid crystal display, an organic light-emitting diode (OLED) display, a projection display, or a projection device and a projection screen.
[0049] The user can input user commands through the Graphic User Interface (GUI) displayed on the display 260, and the user interface receives the user input commands through the Graphic User Interface (GUI). Alternatively, the user can input user commands by inputting specific sounds or gestures, and the user interface recognizes the sounds or gestures through sensors to receive the user input commands. The user interface is a medium interface for interaction and information exchange between an application or operating system and a user, which realizes the conversion between the internal form of information and the form acceptable to the user. The commonly used form of user interface is the Graphical User Interface (GUI), which refers to a user interface related to computer operations that is displayed in a graphical manner. It can be an interface element such as an icon, window, control, etc. displayed on the display screen of an electronic device, where the control can include visual interface elements such as icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets, etc.
[0050] In some embodiments, the audio output interface 270 is an audio output component for outputting audio signals, and may include a speaker, an external audio output terminal, and the like.
[0051] In some embodiments, the user interface may be configured to receive control signals input by the user through the control device 100 (eg, an infrared remote controller, etc.) or through touch or gestures.
[0052] For the scenario shown in FIG1 , when implementing the display method of a Bluetooth device provided in some embodiments of the present application, each component in the display device can implement the following functions:
[0053] At least one processor 250 may be configured to execute a computer program or instruction stored in the memory to enable the display device to perform: obtaining a list of paired Bluetooth devices; wherein the list of paired Bluetooth devices includes at least one Bluetooth device; adding target Bluetooth devices in the paired Bluetooth device list having the same connection status and HiSyncID to the same device group in the target display list; wherein the target Bluetooth device supports the ASHA protocol, the connection status includes a connected state and an unconnected state, the target display list includes at least a first device group, and the first device group includes at least two target Bluetooth devices; controlling the display to display a first group identifier and a connection status identifier corresponding to the first group identifier based on the target display list; wherein the first group identifier is used to identify the first device group in the target display list, and the connection status identifier is used to characterize the connection status of the target Bluetooth device in the first device group.
[0054] In some embodiments, before adding the target Bluetooth device with the same connection status and HiSyncID in the paired Bluetooth device list to the same device group in the target display list, at least one processor 250 can also be configured to execute a computer program or instruction stored in the memory to enable the display device to perform: obtaining the connection status of the target Bluetooth device in the paired Bluetooth device list; and obtaining the HiSyncID of the target Bluetooth device based on the UUID reported by the target Bluetooth device.
[0055] In some embodiments, at least one processor 250 may also be configured to execute a computer program or instruction stored in the memory to enable the display device to perform: traversing the paired Bluetooth device list, matching the HiSyncID of the first target Bluetooth device in the paired Bluetooth device list with the HiSyncID of the target Bluetooth device in each device group in the target display list; if the HiSyncID of the first target Bluetooth device successfully matches the HiSyncID of the second target Bluetooth device in the second device group, adding the first target Bluetooth device to the second device group.
[0056] In some embodiments, at least one processor 250 can also be configured to execute a computer program or instruction stored in the memory to enable the display device to perform: if the HiSyncID of the first target Bluetooth device and the HiSyncID of the target Bluetooth device in the device group in the target display list are not successfully matched, then a third device group is created for the first target Bluetooth device in the target display list, and the first target Bluetooth device is added to the third device group.
[0057] In some embodiments, at least one processor 250 can also be configured to execute a computer program or instruction stored in the memory to enable the display device to perform: in response to a connection status switching message for a third target Bluetooth device, determine the number of target Bluetooth devices in the fourth device group where the third target Bluetooth device is located; if it is determined that the number of target Bluetooth devices in the fourth device group is greater than 1, remove the third target Bluetooth device from the fourth device group, create a fifth device group for the third target Bluetooth device in the target display list, and add the third target Bluetooth device to the fifth device group; wherein, the fifth device group is used to display the device identification of the third target Bluetooth device.
[0058] In some embodiments, at least one processor 250 can also be configured to execute a computer program or instruction stored in the memory to enable the display device to perform: if it is determined that the number of target Bluetooth devices in the fourth device group is not greater than 1, then update the connection status of the third target Bluetooth device in the fourth device group.
[0059] In some embodiments, at least one processor 250 can also be configured to execute a computer program or instruction stored in the memory to enable the display device to perform: the target display list also includes a sixth device group, and the sixth device group only includes the fourth target Bluetooth device; control the display to display the device identifier, left and right ear identifiers and connection status identifier of the fourth target Bluetooth device based on the target display list; wherein the left and right ear identifiers are used to identify whether the fourth target Bluetooth device belongs to the left ear or the right ear.
[0060] In some embodiments, at least one processor 250 can also be configured to execute a computer program or instruction stored in the memory to enable the display device to perform: in response to a target interaction operation for any target Bluetooth device in the first device group, perform interaction processing corresponding to the target interaction operation on each target Bluetooth device in the first device group; wherein the target interaction operation includes at least one of an unpairing operation, a disconnection operation, and a reconnection operation.
[0061] In some embodiments, the at least one processor 250 may be further configured to execute a computer program or instruction stored in the memory to enable the display device to execute: the first group identifier is a device identifier of a target Bluetooth device that is preferentially added to the first device group.
[0062] FIG4 is a block diagram of a hardware configuration of a terminal device provided according to some embodiments of the present application. It should be understood that the terminal device 300 shown in FIG4 is merely an example, and that the terminal device 300 may have more or fewer components than those shown in FIG4 , may combine two or more components, or may have a different component configuration. The various components shown in FIG4 may be implemented in hardware, including one or more signal processing and / or application-specific integrated circuits, software, or a combination of hardware and software.
[0063] As shown in Figure 4, the terminal device 300 may include: 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 (Wireless Fidelity, Wi-Fi) module 370, at least one processor 380, a Bluetooth module 381, and a power supply 390 and other components.
[0064] In some embodiments, the RF circuit 310 may be used to receive and send signals during information transmission or calls. It may receive downlink data from a base station and hand it over to at least one processor 380 for processing; it may send uplink data to the base station.
[0065] In some embodiments, the memory 320 can be used to store software programs and data. The memory 320 stores an operating system that enables the terminal device 300 to run. In this application, the memory 320 can store the operating system and various application programs, and can also store program code for executing the Bluetooth device display method implemented on the terminal device in some embodiments of this application.
[0066] In some embodiments, the display unit 330 can be used to receive input digital or character information and generate signal input related to user settings and function control of the terminal device 300. In some embodiments, the display unit 330 may include a touch screen 331 set on the front of the terminal device 300, which can collect user touch operations on or near it, such as clicking a button.
[0067] In other embodiments, the display unit 330 may also be used to display information input by the user or information provided to the user, as well as a graphical user interface (GUI) of various menus of the terminal device 300 .
[0068] In some embodiments, the display unit 330 may include a display screen 332 disposed on the front of the terminal device 300. A touch screen 331 may be overlaid on 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 terminal device 300. The integrated display screen may be referred to as a touch screen display. The terminal device 300 may also 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.
[0069] In some embodiments, the audio circuit 360 , the speaker 361 , and the microphone 362 may provide an audio interface between the user and the terminal device 300 .
[0070] In some embodiments, Wi-Fi is a short-range wireless transmission technology. The terminal device 300 can help users send and receive emails, browse web pages, and access streaming media through the Wi-Fi module 370, which provides users with wireless broadband Internet access.
[0071] In some embodiments, at least one processor 380 can be the control center of the terminal device 300, using various interfaces and lines to connect various parts of the entire terminal device, and executing various functions and processing data of the terminal device 300 by running or executing software programs stored in the memory 320 and calling data stored in the memory 320.
[0072] In some embodiments, the at least one processor 380 may include one or more processing units. The at least one processor 380 may also integrate an application processor and a baseband processor, where the application processor primarily processes the operating system, user interface, and application programs, while the baseband processor primarily processes wireless communications. It is understood that the baseband processor may not be integrated into the at least one processor 380. In this application, the at least one processor 380 may run the operating system, application programs, user interface display, and touch response.
[0073] In some embodiments, the Bluetooth module 381 can be configured to exchange information with other Bluetooth devices having a Bluetooth module via the Bluetooth protocol. For example, the terminal device 300 can establish a Bluetooth connection with a display device that also has a Bluetooth module via the Bluetooth module 381 to exchange data. The terminal device 300 also includes a power supply 390 (such as a battery) to power various components.
[0074] Figure 5 is a block diagram of a Bluetooth device according to some embodiments of the present application. As shown in Figure 5, Bluetooth device 400 may include at least one processor 410, a communication device 420, a user input / output interface 430, a memory 440, and a power supply 450. Communication device 420 may be configured to communicate with the outside world and may include at least one of a Wi-Fi chip, a Bluetooth module, NFC, or an alternative module. User input / output interface 430 may include at least one of a speaker, a microphone, a touchpad, a sensor, a button, or an alternative module.
[0075] As shown in Figure 6, in some embodiments, the operating system of the display device 200 is divided into four layers, from top to bottom, namely, the application (Applications) layer (referred to as "application layer"), the application framework (ApplicationFramework) layer (referred to as "framework layer"), the Android runtime (Android runtime) and system library layer (referred to as "system runtime library layer"), and the kernel layer.
[0076] In some embodiments, at least one application runs in the application layer. These applications can be window programs, system settings programs, clock programs, etc. that come with the operating system, or applications developed by third-party developers. In specific implementations, the application packages in the application layer are not limited to the above examples.
[0077] In some embodiments, the framework layer provides applications with an application programming interface (API) and programming framework. The application framework layer includes predefined functions. The application framework layer acts as a processing center, determining actions for applications in the application layer. Applications use the API to access system resources and services during execution.
[0078] As shown in Figure 6, in some embodiments of the present application, the application framework layer may include managers, content providers, etc., where the manager may include at least one of the following modules: an activity manager (ActivityManager) can be used to interact with all activities running in the system; a location manager (Location Manager) can be used to provide system services or applications with access to system location services; a package manager (Package Manager) can be used to retrieve various information related to applications currently installed on the device; a notification manager (Notification Manager) can be used to control the display and clearing of notification messages; a window manager (Window Manager) can be used to manage icons, windows, toolbars, wallpapers, and desktop widgets on the user interface.
[0079] In some embodiments, the activity manager can be used to manage the lifecycle of each application and common navigation back functions, such as controlling the exit, opening, and backing of an application. The window manager can be 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 display window changes (for example, shrinking the display window, shaking the display, distorting the display, etc.).
[0080] In some embodiments, the system runtime layer provides support for the upper layer, namely the framework layer. When the framework layer is used, the Android operating system will run the C / C++ library contained in the system runtime layer to implement the functions to be implemented by the framework layer.
[0081] In some embodiments, the kernel layer is a layer between hardware and software. As shown in FIG6 , the kernel layer includes at least one of the following drivers: an audio driver, a display driver, a Bluetooth driver, a camera driver, a Wi-Fi driver, a USB driver, an HDMI driver, a sensor driver (such as a fingerprint sensor, a temperature sensor, a pressure sensor, etc.), and a power driver.
[0082] Figure 7 is a schematic diagram of the software system architecture of a display device according to an embodiment of the present application. As shown in Figure 7, the software system may include: an application (App) layer, a system framework (Framework) layer (referred to as the "Framework layer"), a dynamic library (Library), and a Bluetooth driver (Bluetooth Driver).
[0083] Among them, the application layer may include: TV settings (TVSettings) or TV services (TVService). The system framework layer may include: Bluetooth interface (Bluetooth API), Bluetooth application (Bluetooth APK) and audio (audio) module. Bluetooth applications may include: A2DP (Advanced Audio Distribution Profile) application specification, LE Audio application specification and ASHA application specification. Among them, the A2DP 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 ASHA application specification is the hearing aid audio transmission protocol of low-power Bluetooth (BLE). In some embodiments of the present application, the technology of the ASHA protocol is mainly used to realize the display of Bluetooth devices. The dynamic library (Library) may include: Bluetooth protocol stack and Bluetooth audio HAL layer, among which the Bluetooth protocol stack is mainly responsible for scanning, connecting and configuring Bluetooth devices. In the process of establishing a Bluetooth connection with a Bluetooth device, the display device can send relevant data to the Bluetooth protocol stack through the Bluetooth application in the display device. The audio module includes the audio manager and audio service. It is responsible for sending audio data from Bluetooth applications to the Bluetooth protocol stack. The Bluetooth driver is responsible for establishing Bluetooth connections between the display device and surrounding Bluetooth devices.
[0084] FIG8 is a flow chart of a method for displaying a Bluetooth device according to some embodiments of the present application. Taking the display device 200 in the embodiment shown in FIG1 as an example, as shown in FIG8 , the method includes but is not limited to the following steps:
[0085] S801: Acquire a list of paired Bluetooth devices; wherein the list of paired Bluetooth devices includes at least one Bluetooth device.
[0086] In some embodiments of the present application, the list of paired Bluetooth devices may include at least one Bluetooth device, wherein the at least one Bluetooth device may include a Bluetooth device that has been paired with the display device, such as a Bluetooth device supporting the ASHA protocol, a Bluetooth device supporting the A2DP protocol, a Bluetooth device supporting the LE Audio protocol, etc.
[0087] In actual applications, a Bluetooth device may include information such as connection status and device type; among which, the connection status may include connected status and disconnected status, etc. The connected status can be used to indicate that a Bluetooth connection has been established between the Bluetooth device and the display device, and the disconnected status can be used to indicate that a Bluetooth connection has not been established between the Bluetooth device and the display device; the device type of the Bluetooth device can be used to indicate the Bluetooth protocols supported by the Bluetooth device, such as support for ASHA protocol type, support for A2DP protocol type, support for LE Audio protocol type, etc.
[0088] S802: Add the target Bluetooth devices in the paired Bluetooth device list with the same connection status and HiSyncID to the same device group in the target display list; wherein, the target Bluetooth devices support the ASHA protocol, the connection status includes a connected state and an unconnected state, and the target display list includes at least a first device group, and the first device group includes at least two target Bluetooth devices.
[0089] In some embodiments of the present application, after obtaining a paired Bluetooth device list containing at least one Bluetooth device, based on the device type and connection status saved in the paired Bluetooth device list, a Bluetooth device with the same connection status and HiSyncID in the paired Bluetooth device list is determined as a target Bluetooth device; wherein the target Bluetooth device can be a Bluetooth device that supports the ASHA protocol.
[0090] In some embodiments of the present application, HiSyncID is a set of fixed values written by the Bluetooth device manufacturer for the Bluetooth device. The display device can determine whether the Bluetooth device is in the same group with other Bluetooth devices based on the HiSyncID of the Bluetooth device. In actual applications, for all dual-channel devices, their HiSyncID is unique. For left and right channel settings, their HiSyncID must be the same. Bytes 0-1 of the HiSyncID are the manufacturer's identifier, and bytes 2-7 are a unique identifier that can be used to identify the Bluetooth device group.
[0091] In some embodiments of the present application, after determining a target Bluetooth device with the same connection status and HiSyncID from the paired Bluetooth device list, the target Bluetooth device is added to the same device group in the target display list.
[0092] In some embodiments of the present application, the target display list may include one or more device groups. In actual applications, Bluetooth devices with the same connection status and HiSyncID may be identified as a device group, i.e., each Bluetooth device in the same device group has the same connection status and HiSyncID. The first device group may be any device group, and the first device group includes at least two target Bluetooth devices, both of which have the same connection status and HiSyncID.
[0093] In some embodiments, before adding the target Bluetooth device with the same connection status and HiSyncID in the paired Bluetooth device list to the same device group in the target display list, it may also include: obtaining the connection status of the target Bluetooth device in the paired Bluetooth device list; and obtaining the HiSyncID of the target Bluetooth device based on the universally unique identifier (UUID) reported by the target Bluetooth device.
[0094] In actual applications, UUID can be used to identify the application layer specification of the Bluetooth device, that is, whether the Bluetooth device supports the A2DP protocol, the LE Audio protocol, or the ASHA protocol. Since the UUIDs of Bluetooth devices that support the ASHA protocol and the LE Audio protocol are different, the UUID can be used to identify whether the Bluetooth device supports the ASHA protocol. When the UUID is determined to be a device that supports the ASHA protocol type (that is, when the Bluetooth device is a target Bluetooth device that supports the ASHA protocol), the HiSyncID of the target Bluetooth device can be obtained according to the UUID of the target Bluetooth device.
[0095] In some embodiments, since the target Bluetooth device provides ASHA Generic Attribute Profile (GATT) services to the outside world, the display device can send a GATT query request to the target Bluetooth device. In response to the query request, the target Bluetooth device reports the UUID of the target Bluetooth device to the display device, so that the display device can obtain the HiSyncID of the target Bluetooth device based on the UUID of the target Bluetooth device.
[0096] In some embodiments of the present application, after obtaining a list of paired Bluetooth devices, the connection status of the target Bluetooth device in the paired Bluetooth device list, and obtaining the HiSyncID of the target Bluetooth device based on the UUID reported by the target Bluetooth status, the display device can also add target Bluetooth devices with the same connection status and HiSyncID to the same device group in the target display list.
[0097] In some embodiments, it is assumed that the paired Bluetooth device list includes Bluetooth device A, Bluetooth device B, Bluetooth device C, and Bluetooth device D; wherein, the HiSyncID corresponding to the obtained Bluetooth device A is 11, and the connection status is connected, the HiSyncID corresponding to Bluetooth device B is 22, and the connection status is connected, the HiSyncID corresponding to Bluetooth device C is 11, and the connection status is unconnected, and the HiSyncID corresponding to Bluetooth device D is 22, and the connection status is connected. Among the above Bluetooth devices, if the connection status and HiSyncID of Bluetooth device B and Bluetooth device D are the same, then Bluetooth device B and Bluetooth device D are added to the same device group in the target display list, such as device group 1. Assume that the target display list can also include device group 2, wherein device group 2 includes Bluetooth device E (HiSyncID is 33, connection status is unconnected) and Bluetooth device F (HiSyncID is 33, connection status is unconnected).
[0098] As shown in Figure 9, it is a schematic diagram of the display effect of the target Bluetooth device when the connection status and HiSyncID are the same according to some embodiments of the present application. Among them, in the system framework layer, multiple target Bluetooth devices in the same device group can be identified by using the left ear device and the right ear device respectively; the setting management can be used to display the display effect of the target Bluetooth device on the display. For target Bluetooth devices with the same connection status and HiSyncID, only one device group is displayed on the device management page, such as "Bluetooth device A (left and right) connected".
[0099] S803: Control the display to display a first group identifier and a connection status identifier corresponding to the first group identifier based on the target display list; wherein the first group identifier is used to identify the first device group in the target display list, and the connection status identifier is used to represent the connection status of the target Bluetooth device in the first device group.
[0100] In some embodiments of the present application, the target display list may include at least a first device group, and the first device group may include at least two target Bluetooth devices with the same connection status and HiSyncID.
[0101] In some embodiments of the present application, after the target Bluetooth device with the same connection status and HiSyncID in the paired Bluetooth device list is added to the same device group in the target display list, the display device controls the display to display the first group identifier and the connection status identifier corresponding to the first group identifier based on the target display list.
[0102] In some embodiments of the present application, the first group identifier may be used to identify a first device group in a target display list, and the connection status identifier may be used to represent a connection status of a target Bluetooth device in the first device group.
[0103] In some embodiments, the first group identifier may be a device identifier of a target Bluetooth device that is preferentially added to the first device group. For example, the device identifier, such as the device name, of the first target Bluetooth device that is added to the first device group may be determined as the first group identifier corresponding to the first device group.
[0104] As shown in Figure 10, a schematic diagram of a device management page provided in some embodiments of the present application is shown, wherein the device management page displays a first group identifier 1001 corresponding to a first device group, and may also display the connection status 1002 of a target Bluetooth device in the first device group. The first group identifier may include the device name of the target Bluetooth device, such as "Bluetooth Device A (left and right)", and the connection status may include the display words "connected" or "not connected", a connected icon or a not connected icon, etc.
[0105] In an optional embodiment, the target display list may also include a sixth device group, and the sixth device group may only include the fourth target Bluetooth device. Therefore, when controlling the display to display the first group identifier and the connection status identifier corresponding to the first group identifier based on the target display list, the display can also be controlled to display the device identifier, left and right ear identifiers, and connection status identifier of the fourth target Bluetooth device based on the target display list.
[0106] In some embodiments of the present application, the left and right ear identifiers may be used to identify whether the fourth target Bluetooth device belongs to the left ear or the right ear.
[0107] As shown in Figure 11, it is a schematic diagram of another device management page provided for some embodiments of the present application, wherein the sixth device group where the fourth target Bluetooth device is located may only include the fourth target Bluetooth device, and the page displays the device identifier 1101, left and right ear identifiers 1102, and connection status identifier 1103 of the fourth target Bluetooth device.
[0108] In the Bluetooth device display method provided by some embodiments of the present application, first, a list of paired Bluetooth devices is obtained, wherein the paired Bluetooth device list may include at least one Bluetooth device; then, the target Bluetooth device in the paired Bluetooth device list with the same connection status and HiSyncID is added to the same device group in the target display list, wherein the target Bluetooth device supports the ASHA protocol, the connection status may include a connected state and an unconnected state, the target display list may include at least a first device group, and the first device group may include at least two target Bluetooth devices; further, the display may be controlled to display a first group identifier and a connection status identifier corresponding to the first group identifier based on the target display list; wherein the first group identifier can be used to identify the first device group in the target display list, and the connection status identifier can be used to characterize the connection status of the target Bluetooth device in the first device group. It can be seen that this method enables some embodiments of the present application to add target Bluetooth devices with the same connection status and HiSyncID to the same device group, and display them as the same device group on the display, thereby realizing the display function for Bluetooth devices that support the ASHA protocol.
[0109] 12 , as an extension and refinement of the embodiment shown in FIG8 , on the basis of steps S801 to S803 shown in FIG8 , the above step S802 (i.e., adding the target Bluetooth devices with the same connection status and HiSyncID in the paired Bluetooth device list to the same device group in the target display list) is replaced by steps S1201 to S1203. The Bluetooth device display method provided in some embodiments of the present application may also include but is not limited to the following steps:
[0110] S801: Acquire a list of paired Bluetooth devices; wherein the list of paired Bluetooth devices includes at least one Bluetooth device.
[0111] S1201: traverse the paired Bluetooth device list, and match the HiSyncID of the first target Bluetooth device in the paired Bluetooth device list with the HiSyncID of the target Bluetooth device in each device group in the target display list.
[0112] In some embodiments of the present application, the target Bluetooth device may be a Bluetooth device that supports the ASHA protocol, the paired Bluetooth device list may include one or more target Bluetooth devices, the first target Bluetooth device may be any target Bluetooth device, and the target display list may include at least one device group, each device group corresponding to one or more target Bluetooth devices.
[0113] In some embodiments of the present application, after obtaining the paired Bluetooth device list, the paired Bluetooth device list is traversed, and the HiSyncID of the first target Bluetooth device in the paired Bluetooth device list can be matched with the HiSyncID of the target Bluetooth device in each device group in the target display list.
[0114] S1202: If the HiSyncID of the first target Bluetooth device successfully matches the HiSyncID of the second target Bluetooth device in the second device group, the first target Bluetooth device is added to the second device group.
[0115] In some embodiments of the present application, the second device belongs to a device group in the target display list, and the second device group may include at least a second target Bluetooth device. The HiSyncID of the second target Bluetooth device is the same as the HiSyncID of the first target Bluetooth device. After the first target Bluetooth device is added to the second device group, the second target Bluetooth device and the first target Bluetooth device are devices in the same device group (i.e., the second device group).
[0116] In some embodiments, the list of paired Bluetooth devices can also be traversed to match the HiSyncID and connection status of the first target Bluetooth device in the paired Bluetooth device list with the HiSyncID and connection status of the target Bluetooth devices in each device group in the target display list, so that when it is determined that the HiSyncID and connection status of the first target Bluetooth device successfully match the HiSyncID and connection status of the second target Bluetooth device in the second device group, the first target Bluetooth device can be added to the second device group.
[0117] S1203: If the HiSyncID of the first target Bluetooth device does not match the HiSyncID of the target Bluetooth device in the device group in the target display list, create a third device group for the first target Bluetooth device in the target display list and add the first target Bluetooth device to the third device group.
[0118] In some embodiments of the present application, if it is determined that the HiSyncID of the first target Bluetooth device does not match the HiSyncID of the target Bluetooth device in any device group in the target display list, it means that the first target Bluetooth device and any target Bluetooth device in the target display list are not devices in the same group. At this time, a new device group, i.e., a third device group, can be created for the first target Bluetooth device in the target display list, and the first target Bluetooth device can be added to the newly created third device group.
[0119] S803: Control the display to display a first group identifier and a connection status identifier corresponding to the first group identifier based on the target display list; wherein the first group identifier is used to identify the first device group in the target display list, and the connection status identifier is used to represent the connection status of the target Bluetooth device in the first device group.
[0120] In the Bluetooth device display method provided in some embodiments of the present application, first, a list of paired Bluetooth devices is obtained, wherein the paired Bluetooth device list includes at least one Bluetooth device; then, the paired Bluetooth device list is traversed, and the HiSyncID of the first target Bluetooth device in the paired Bluetooth device list is matched with the HiSyncID of the target Bluetooth device in each device group in the target display list, and when it is determined that the HiSyncID of the first target Bluetooth device matches the HiSyncID of the second target Bluetooth device in the second device group, the first target Bluetooth device is added to the second device group; further, the display is controlled to display the first group identifier and the connection status identifier corresponding to the first group identifier based on the target display list; wherein the first group identifier is used to identify the first device group in the target display list, and the connection status identifier is used to characterize the connection status of the target Bluetooth device in the first device group. It can be seen that the above method enables the embodiment of the present application to add target Bluetooth devices with the same connection status and HiSyncID to the same device group, and display them as the same device group on the display, thereby realizing the display function of Bluetooth devices supporting the ASHA protocol.
[0121] In some embodiments of the present application, when it is determined that the HiSyncID of the first target Bluetooth device has not been successfully matched with any target Bluetooth device in the second device group, a third device group can be created for the first target Bluetooth device in the target display list, and the first target Bluetooth device group can be added to the third device group, thereby realizing the display function of Bluetooth devices that support the ASHA protocol.
[0122] 13 , as an extension and refinement of the embodiment shown in FIG. 8 , on the basis of steps S801 to S803 shown in FIG. 8 , steps S1301 to S1303 may be further included. The Bluetooth device display method provided in some embodiments of the present application may also include but is not limited to the following steps:
[0123] S801: Acquire a list of paired Bluetooth devices; wherein the list of paired Bluetooth devices includes at least one Bluetooth device.
[0124] S802: Add the target Bluetooth devices in the paired Bluetooth device list that have the same connection status and HiSyncID to the same device group in the target display list.
[0125] The target Bluetooth device may support the ASHA protocol, the connection state may include a connected state and an unconnected state, the target display list may include at least a first device group, and the first device group may include at least two target Bluetooth devices.
[0126] S803: Control the display to display a first group identifier and a connection status identifier corresponding to the first group identifier based on the target display list.
[0127] The first group identifier may be used to identify the first device group in the target display list, and the connection status identifier may be used to represent the connection status of the target Bluetooth device in the first device group.
[0128] S1301: In response to a connection state switching message for a third target Bluetooth device, determine the number of target Bluetooth devices in a fourth device group where the third target Bluetooth device is located.
[0129] In some embodiments of the present application, the third target Bluetooth device can be any target Bluetooth device in the target display list, and the connection status switching message for the third target Bluetooth device can include a message that the third target Bluetooth device switches from a connected state to an unconnected state, or a message that the third target Bluetooth device switches from an unconnected state to a connected state, etc.
[0130] In some embodiments of the present application, upon receiving a connection state switching message for a third target Bluetooth device, the display device first determines the number of target Bluetooth devices in the fourth device group in which the third target Bluetooth device is located. For example, the target display list may include device group 1 (target Bluetooth device A, target Bluetooth device B), device group 2 (target Bluetooth device C, target Bluetooth device D), and device group 2 (target Bluetooth device E). Upon receiving a connection state switching message for target Bluetooth device C, the display device determines the number of target Bluetooth devices (i.e., 2) in the device group (i.e., device group 2) in which target Bluetooth device C is located.
[0131] S1302: If it is determined that the number of target Bluetooth devices in the fourth device group is greater than 1, the third target Bluetooth device is removed from the fourth device group, and a fifth device group is created for the third target Bluetooth device in the target display list, and the third target Bluetooth device is added to the fifth device group; wherein the fifth device group is used to display the device identification of the third target Bluetooth device.
[0132] In some embodiments of the present application, since the connection status of the target Bluetooth devices in the same device group is the same and are displayed as the same device on the display, if it is determined that the number of target Bluetooth devices in the fourth device group is greater than 1, it means that the connection status of the third target Bluetooth device in the fourth device group has changed, while the connection status of other target Bluetooth devices has not changed. Obviously, the third target Bluetooth device and the other target Bluetooth devices in the fourth device group cannot be displayed as the same device. At this time, the third target Bluetooth device needs to be moved to the new device group and displayed based on the new device group.
[0133] In some embodiments of the present application, when it is determined that the number of target Bluetooth devices in the fourth device group is greater than 1, the third target Bluetooth device can be removed from the fourth device group first, and a fifth device group can be created for the third target Bluetooth device in the target display list, and the third target Bluetooth device group can be added to the fifth device group.
[0134] As shown in Figure 14, a processing diagram for updating the connection status of a target Bluetooth device provided in some embodiments of the present application is shown. When the display device receives a connection status switching message for the target Bluetooth device A, it determines the number of target Bluetooth devices in the fourth device group where the target Bluetooth device A is located. At this time, the number of target Bluetooth devices in the fourth device group is 2, then the target Bluetooth device A is moved out of the fourth device group, and a new device group is created, such as the fifth device group. Then, the target Bluetooth device A can be moved into the fifth device group. Since the target Bluetooth device A and the target Bluetooth device B are in different device groups, they are displayed as two devices on the display at this time, for example, "target Bluetooth device A (left) is connected" and "target Bluetooth device B (right) is not connected".
[0135] As shown in Figure 15, it is a schematic diagram of updating a device management page provided in some embodiments of the present application. The Bluetooth device A (left and right) displayed on the page shown in Figure 15 (a) can indicate that the left ear device and the right ear device of the Bluetooth device A are both in a connected state; when a message is received that the connection state of the left ear device of the Bluetooth device A is switched from a connected state to an unconnected state, since the number of target Bluetooth devices in the Bluetooth device A (left and right) is greater than 1, the left ear device of the Bluetooth device A can be removed from the Bluetooth device A (left and right), and the Bluetooth device A (left), that is, the fifth device group, can be created for the left ear device of the Bluetooth device A, and the left ear device of the Bluetooth device A can be added to the Bluetooth device A (left); as shown in Figure 15 (b), the page displays the Bluetooth device A (left), indicating that the left ear device of the Bluetooth device A is in an unconnected state. At this time, the right ear device of the Bluetooth device A is still in a connected state, and the device group identifier is updated to the Bluetooth device A (right).
[0136] S1303: If it is determined that the number of target Bluetooth devices in the fourth device group is not greater than 1, update the connection status of the third target Bluetooth device in the fourth device group.
[0137] In this embodiment of the present application, if it is determined that the number of target Bluetooth devices in the fourth device group is not greater than 1, it means that the fourth device group may only include the third target Bluetooth device. At this time, it is only necessary to update the connection status of the third target Bluetooth device in the fourth device group.
[0138] As shown in Figure 16, it is a schematic diagram of updating another device management page provided according to some embodiments of the present application. The Bluetooth device B (left) displayed on the page shown in Figure 16 (a) indicates that the left ear device of Bluetooth device B is in an unconnected state; when a message is received that the connection state of the left ear device of Bluetooth device B is switched from an unconnected state to a connected state, since the number of target Bluetooth devices in Bluetooth device B (left) is not greater than 1, it is only necessary to update the connection state of the left ear device of Bluetooth device B to a connected state; as shown in Figure 16 (b), it is a schematic diagram of updating the connection state of the left ear device of Bluetooth device B to a connected state.
[0139] It can be seen that in the Bluetooth device display method provided in some embodiments of the present application, when a connection status switching message for a third target Bluetooth device is received, the display method for the third target Bluetooth device can be determined according to the number of devices in the fourth device group where the third target Bluetooth device is located. In some embodiments, when it is determined that the number in the fourth device group is greater than 1, the third target Bluetooth device can be removed from the fourth device group, and a new fifth device group can be created and the third target Bluetooth device can be added to the fifth device group; in other embodiments, when it is determined that the number in the fourth device group is not greater than 1, the connection status of the third target Bluetooth device can be updated, thereby realizing the updated display of the connection status of the Bluetooth device.
[0140] In actual applications, for two target Bluetooth devices (i.e., the left ear device and the right ear device) with the same connection status and HiSyncID, if the user wants to unpair the two target Bluetooth devices, it is necessary to perform an operation on both the left ear device and the right ear device to achieve the unpairing of the Bluetooth headset. The above operation process is relatively cumbersome for the user and affects the user's usage experience. In some embodiments of the present application, when a target interaction operation is received for any target Bluetooth device in the first device group, the interaction processing corresponding to the target interaction operation can be performed on each target Bluetooth device in the first device group, thereby enabling the user to operate other devices in the device group where the device is located while operating one device, thereby improving the user's interaction experience.
[0141] In some embodiments of the present application, the target interaction operation for any target Bluetooth device may include at least one of an unpairing operation, a disconnection operation, and a reconnection operation for the target Bluetooth device.
[0142] For example, assuming that the first device group includes Bluetooth device A, Bluetooth device B and Bluetooth device C, when the display device receives an unpairing operation for Bluetooth device B in the first device group, it performs interactive processing corresponding to the unpairing operation on each target Bluetooth device in the first device group (i.e., Bluetooth device A, Bluetooth device B and Bluetooth device C). This ensures that when an unpairing operation is performed on any target Bluetooth device in the device group, all target Bluetooth devices in the device group can be unpaired at the same time, thereby improving the user's interactive experience.
[0143] As shown in Figure 17, it is a schematic diagram of a Bluetooth device display processing flow for a display device provided according to an embodiment of the present application. First, obtain all Bluetooth devices that have been paired with the display device, that is, obtain a list of Bluetooth devices that the display device has been paired with (step 1701), traverse the list of paired Bluetooth devices (step 1702), and obtain the connection status and device type of the Bluetooth devices in the paired Bluetooth device list (step 1703); determine whether it is a device that supports the ASHA protocol (step 1704); if it is determined that the Bluetooth device is a target Bluetooth device that supports the ASHA protocol, obtain the HiSyncID of the target Bluetooth device (step 1705), that is, according to the UUID reported by the target Bluetooth device, obtain the HiSyncID and left and right ear identifiers of the target Bluetooth device; further, determine whether there is a connection status and HiSync in the target display list The target Bluetooth device has the same ID as the target Bluetooth device (step 1706). If it exists, the target Bluetooth device is added to the same device group (step 1707). If it does not exist, a third device group is created in the target display list, and the Bluetooth device is added to the third device group (step 1708). If it is determined that the Bluetooth device is not a device that supports the ASHA protocol, the Bluetooth device is added to the target display list (step 1709). It is continued to be determined whether all Bluetooth devices in the Bluetooth device list have been processed (step 1710). If all Bluetooth devices have been processed, each device group is displayed based on the target display list (step 1711). If there are unprocessed Bluetooth devices, continue to execute step 1702.
[0144] Figure 18 is a schematic diagram of the structure of an electronic device provided in accordance with some embodiments of the present application. The electronic device may be the display device, terminal device, or audio receiving device described above. As shown in Figure 18, the electronic device may include: a processor 1801, a memory 1802, and a computer program stored in the memory 1802 and executable on the processor 1801. When the computer program is executed by the processor 1801, the Bluetooth device display method described in the above method embodiment is implemented.
[0145] Some embodiments of the present application further provide a computer-readable non-volatile storage medium storing a computer program. When executed by a processor, the computer program implements the various processes of the above-mentioned Bluetooth device display method and achieves the same technical effect. To avoid repetition, the description is omitted here. The storage medium may be a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0146] Some embodiments of the present application further provide a computer program product, which may include a computer program. When the computer program is run on a computer, the computer implements the above-mentioned Bluetooth device display method.
[0147] For ease of explanation, the above description has been made in conjunction with specific embodiments. However, the above discussion of some embodiments is not intended to be exhaustive or to limit the embodiments to the specific forms disclosed above. Based on the above teachings, various modifications and variations can be obtained. The selection and description of the above embodiments are intended 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, comprising: at least one processor, and a Bluetooth module, a memory, and a display connected to the at least one processor; The memory is configured to store computer programs or instructions; The at least one processor is configured to execute the computer program or instructions to cause the display device to perform: Obtaining a list of paired Bluetooth devices; wherein the paired Bluetooth device list includes at least one Bluetooth device; Add the target Bluetooth devices in the paired Bluetooth device list with the same connection status and HiSyncID to the same device group in the target display list; wherein the target Bluetooth devices support the hearing aid audio stream ASHA protocol, the connection status includes a connected state and an unconnected state, and the target display list includes at least a first device group, and the first device group includes at least two target Bluetooth devices; Control the display to display a first group identifier and a connection status identifier corresponding to the first group identifier based on the target display list; wherein the first group identifier is used to identify the first device group in the target display list, and the connection status identifier is used to characterize the connection status of the target Bluetooth device in the first device group.
2. The display device according to claim 1, before adding the target Bluetooth devices with the same connection status and HiSyncID in the paired Bluetooth device list to the same device group in the target display list, the at least one processor is further configured to execute the computer program or instruction to cause the display device to perform: Get the connection status of the target Bluetooth device in the paired Bluetooth device list; And, the universal unique identifier UUID reported by the target Bluetooth device is used to obtain the HiSyncID of the target Bluetooth device.
3. The display device according to claim 1 , wherein the at least one processor is specifically configured to execute the computer program or instruction to cause the display device to perform: Traversing the paired Bluetooth device list, matching the HiSyncID of the first target Bluetooth device in the paired Bluetooth device list with the HiSyncID of the target Bluetooth device in each device group in the target display list; If the HiSyncID of the first target Bluetooth device successfully matches the HiSyncID of the second target Bluetooth device in the second device group, the first target Bluetooth device is added to the second device group.
4. The display device according to claim 3, wherein the at least one processor is further configured to execute the computer program or instruction to cause the display device to perform: If the HiSyncID of the first target Bluetooth device does not match the HiSyncID of the target Bluetooth device in the device group in the target display list, a third device group is created for the first target Bluetooth device in the target display list, and the first target Bluetooth device is added to the third device group.
5. The display device according to claim 1 , wherein the at least one processor is further configured to execute the computer program or instruction to cause the display device to perform: In response to a connection state switching message for a third target Bluetooth device, determining the number of target Bluetooth devices in a fourth device group where the third target Bluetooth device is located; If it is determined that the number of target Bluetooth devices in the fourth device group is greater than 1, the third target Bluetooth device is removed from the fourth device group, a fifth device group is created for the third target Bluetooth device in the target display list, and the third target Bluetooth device is added to the fifth device group; wherein, The fifth device group is used to display the device identification of the third target Bluetooth device.
6. The display device according to claim 5, wherein the at least one processor is further configured to execute the computer program or instruction to cause the display device to perform: If it is determined that the number of target Bluetooth devices in the fourth device group is not greater than 1, the connection status of the third target Bluetooth device in the fourth device group is updated.
7. The display device according to claim 1 , wherein the at least one processor is further configured to execute the computer program or instruction to cause the display device to perform: The target display list also includes a sixth device group, and the sixth device group only includes the fourth target Bluetooth device; Controlling the display to display the device identifier, left and right ear identifiers, and connection status identifier of the fourth target Bluetooth device based on the target display list; wherein, The left and right ear identifiers are used to identify whether the fourth target Bluetooth device belongs to the left ear or the right ear.
8. The display device according to claim 1, wherein the at least one processor is further configured to execute the computer program or instruction to cause the display device to perform: In response to a target interaction operation on any target Bluetooth device in the first device group, performing interaction processing corresponding to the target interaction operation on each target Bluetooth device in the first device group; wherein, The target interaction operation includes at least one of an unpairing operation, a disconnection operation, and a reconnection operation.
9. The display device according to claim 1 , wherein the at least one processor is further configured to execute the computer program or instruction to cause the display device to perform: The first group identifier is a device identifier of a target Bluetooth device that is preferentially added to the first device group.
10. A method for displaying a Bluetooth device on a display device, comprising: Obtaining a list of paired Bluetooth devices; wherein the paired Bluetooth device list includes at least one Bluetooth device; Add the target Bluetooth devices in the paired Bluetooth device list with the same connection status and HiSyncID to the same device group in the target display list; wherein the target Bluetooth devices support the hearing aid audio stream ASHA protocol, the connection status includes a connected state and an unconnected state, and the target display list includes at least a first device group, and the first device group includes at least two target Bluetooth devices; The control display displays a first group identifier and a connection status identifier corresponding to the first group identifier based on the target display list; wherein the first group identifier is used to identify the first device group in the target display list, and the connection status identifier is used to characterize the connection status of the target Bluetooth device in the first device group.
Citation Information
Patent Citations
Bluetooth list display method and apparatus
CN105847950A
Communication method, device and equipment
CN109743782A
Bluetooth device management method and device
CN115022862A
State control method and apparatus for earphone device, earphone device and storage medium
WO2023103732A1