A display device and a method for switching between different modes
By managing Bluetooth mode switching with a controller, the problem of Bluetooth audio interruption during mode switching on the display device is solved, ensuring playback continuity and improving the user experience.
Patent Information
- Application Number
- CN202410853330.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2025-10-28
- Estimated Expiration
- 2044-06-28
AI Technical Summary
Bluetooth audio playback may be interrupted when the display device switches from audio mode to art mode, resulting in a poor user experience.
The controller manages the switching of Bluetooth modes, ensuring that the Bluetooth switch remains on during the switching process, and locking the Bluetooth mode to audio reception mode after the target application switches to avoid interrupting playback.
It enables smooth switching between different modes, ensuring continuous Bluetooth audio playback and improving the user experience.
Smart Images

Figure CN118870091B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of display device technology, and in particular to a display device and a method for switching between different modes. Background Technology
[0002] Display devices refer to terminal devices capable of outputting specific display images, such as smart TVs, mobile terminals, smart advertising screens, and projectors. Taking smart TVs as an example, smart TVs are television products based on Internet application technologies, possessing open operating systems and chips, and having open application platforms. They enable two-way human-computer interaction and integrate multiple functions such as audio-visual, entertainment, and data to meet diverse and personalized user needs.
[0003] Typically, users primarily use display devices for audio-visual playback. To fully realize the value of these devices, a primary application can be configured to provide a first mode. This primary application can also be called an art application, art mode application, etc. The first mode can be called art mode, gallery mode, etc. In this first mode, the display device can showcase artwork as a decorative element in the space. Furthermore, by simulating the artwork as a real piece, users can enjoy an immersive viewing experience. Examples include adding display frames to the artwork, installing hardware frames on the display device's bezel, or using paper-like screens as displays.
[0004] In the first mode, users can browse artwork via the display device. In the second mode, users can enjoy audio only. If the user tries to switch between the two modes while the display device is playing audio from other Bluetooth devices, the audio playback will be interrupted. Summary of the Invention
[0005] This application provides a display device, including:
[0006] The controller is configured as follows:
[0007] In response to the user opening the second application, the system enters the second mode and switches the Bluetooth mode from audio transmission mode to audio reception mode. When the first Bluetooth switch is in the off state by default, the first Bluetooth switch is turned on. The first Bluetooth switch is used to control the opening and closing of the system's Bluetooth function. In the second mode, Bluetooth devices can be connected and audio provided by the connected Bluetooth devices can be played.
[0008] Responding to the user's switching command, identify the target application after switching;
[0009] If the target application is the first application, then enter the first mode and lock the first Bluetooth switch in the on state, and lock the Bluetooth mode in the audio receiving mode. In the first mode, an artwork is displayed. When the first application is switched in from the second application, the first Bluetooth switch is kept in the on state and the Bluetooth mode is kept in the audio receiving mode.
[0010] If the target application is not the first application, then restore the default state of the first Bluetooth switch and switch the Bluetooth mode from the audio receiving mode back to the audio sending mode.
[0011] This application also provides a display device, including:
[0012] The controller is configured as follows:
[0013] In response to the user's operation of opening the first application, the system enters the first mode and displays a display page, and displays artwork on the display page. The display page is the user display interface set in the first mode. When using the Bluetooth music function of the application in the first mode, the Bluetooth mode is switched from audio sending mode to audio receiving mode. When the default state of the first Bluetooth switch is off, the first Bluetooth switch is turned on. The first Bluetooth switch is used to control the system Bluetooth function to be turned on and off.
[0014] In response to the user's switching command, the target application after switching is identified, and it is also identified whether the Bluetooth mode is in the audio receiving mode;
[0015] If the target application is the second application, then enter the second mode and lock the first Bluetooth switch to the on state and lock the Bluetooth mode to the audio receiving mode. In the second mode, a Bluetooth device can be connected and the audio provided by the connected Bluetooth device can be played. The second application is the application that keeps the first Bluetooth switch on the on state and keeps the Bluetooth mode to the audio receiving mode when switching from the first application.
[0016] If the target application is not the second application, then restore the default state of the first Bluetooth switch and switch the Bluetooth mode from the audio receiving mode back to the audio sending mode.
[0017] This application also provides a method for switching between different modes, the method comprising:
[0018] In response to the user opening the second application, the system enters the second mode and switches the Bluetooth mode from audio transmission mode to audio reception mode. When the first Bluetooth switch is in the off state by default, the first Bluetooth switch is turned on. The first Bluetooth switch is used to control the opening and closing of the system's Bluetooth function. In the second mode, Bluetooth devices can be connected and audio provided by the connected Bluetooth devices can be played.
[0019] Responding to the user's switching command, identify the target application after switching;
[0020] If the target application is the first application, then enter the first mode and lock the first Bluetooth switch in the on state, and lock the Bluetooth mode in the audio receiving mode. In the first mode, an artwork is displayed. When the first application is switched in from the second application, the first Bluetooth switch is kept in the on state and the Bluetooth mode is kept in the audio receiving mode.
[0021] If the target application is not the first application, then restore the default state of the first Bluetooth switch and switch the Bluetooth mode from the audio receiving mode back to the audio sending mode.
[0022] This application also provides a method for switching between different modes, the method comprising:
[0023] In response to the user's operation of opening the first application, the system enters the first mode and displays a display page, and displays artwork on the display page. The display page is the user display interface set in the first mode. When using the Bluetooth music function of the application in the first mode, the Bluetooth mode is switched from audio sending mode to audio receiving mode. When the default state of the first Bluetooth switch is off, the first Bluetooth switch is turned on. The first Bluetooth switch is used to control the system Bluetooth function to be turned on and off.
[0024] In response to the user's switching command, the target application after switching is identified, and it is also identified whether the Bluetooth mode is in the audio receiving mode;
[0025] If the target application is the second application, then enter the second mode and lock the first Bluetooth switch to the on state and lock the Bluetooth mode to the audio receiving mode. In the second mode, a Bluetooth device can be connected and the audio provided by the connected Bluetooth device can be played. The second application is the application that keeps the first Bluetooth switch on the on state and keeps the Bluetooth mode to the audio receiving mode when switching from the first application.
[0026] If the target application is not the second application, then restore the default state of the first Bluetooth switch and switch the Bluetooth mode from the audio receiving mode back to the audio sending mode. Attached Figure Description
[0027] Figure 1 This is a schematic diagram illustrating an operational scenario between a display device and a control device according to some implementation methods;
[0028] Figure 2 This is a hardware configuration block diagram of a control device 100 according to some embodiments;
[0029] Figure 3 A hardware configuration block diagram of a display device 200 according to some embodiments;
[0030] Figure 4 This is a diagram showing the operating system configuration of a display device 200 according to some embodiments;
[0031] Figure 5 A display page for an art pattern application according to some implementation methods;
[0032] Figure 6 This is a schematic diagram of a display device 200 according to some embodiments;
[0033] Figure 7 This is an illustration of a hierarchical preview page for an art mode application according to some implementation methods;
[0034] Figure 8 This is an illustration of a global preview page for an art mode application according to some implementation methods;
[0035] Figure 9 A schematic diagram illustrating the application settings menu according to some implementation methods;
[0036] Figure 10 A schematic diagram illustrating the setting of an art mode page according to some implementation methods;
[0037] Figure 11 A schematic diagram of a system settings menu according to some implementation methods;
[0038] Figure 12 A flowchart illustrating how a display device 200, according to some embodiments, plays audio from a Bluetooth device;
[0039] Figure 13 This is a schematic diagram of an operation guide page according to some implementation methods;
[0040] Figure 14 This is a schematic diagram of a search results list according to some implementation methods;
[0041] Figure 15 This is a schematic diagram of a pairing page according to some implementation methods;
[0042] Figure 16 This is a schematic diagram of a list of paired devices according to some implementation methods;
[0043] Figure 17 This is a schematic diagram of a list of paired devices according to some implementation methods;
[0044] Figure 18 This is a schematic diagram of a prompt page according to some implementation methods;
[0045] Figure 19 A flowchart illustrating the switching of Bluetooth devices by a display device 200 according to some embodiments;
[0046] Figure 20 This is a schematic diagram of a display page according to some implementation methods;
[0047] Figure 21 This is a schematic diagram of a display page according to some implementation methods;
[0048] Figure 22 A flowchart illustrating the process of a display device 200 entering speaker mode according to some embodiments;
[0049] Figure 23 This is a schematic diagram of a music playback page according to some implementation methods;
[0050] Figure 24 A flowchart illustrating the switching of a Bluetooth device providing audio to a display device 200 according to some embodiments;
[0051] Figure 25 This is a schematic diagram of a music playback page according to some implementation methods;
[0052] Figure 26 A flowchart illustrating the adjustment of the state of the display screen by the display device 200 according to some embodiments;
[0053] Figure 27 A flowchart illustrating the switching of a display device 200 from speaker mode to art mode according to some embodiments;
[0054] Figure 28 This is a schematic diagram of icons applied according to some implementation methods of an art pattern.
[0055] Figure 29 This is a flowchart illustrating how a display device 200 switches from speaker mode to art mode according to some embodiments. Detailed Implementation
[0056] The embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described below do not represent all embodiments consistent with this application. They are merely examples of systems and methods consistent with some aspects of this application as detailed in the claims.
[0057] It should be noted that the brief descriptions of terms in this application are only for the convenience of understanding the embodiments described below, and are not intended to limit the embodiments of this application. Unless otherwise stated, these terms should be understood in their ordinary and common meaning.
[0058] The terms "first," "second," "third," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar or related objects or entities, and do not necessarily imply a specific order or sequence, unless otherwise specified. It should be understood that such terms are interchangeable where appropriate.
[0059] The terms “comprising” and “having”, and any variations thereof, are intended to cover but not exclude inclusion, for example, a product or device that includes a range of components is not necessarily limited to all of the components that are clearly listed, but may include other components that are not clearly listed or that are inherent to such product or device.
[0060] In this application embodiment, "display device" refers to a device with screen display and data processing capabilities. For example, display devices include, but are not limited to, smart TVs, mobile terminals, computers, monitors, advertising screens, wearable devices, virtual reality devices, and augmented reality devices.
[0061] Figure 1 This is a schematic diagram illustrating an operational scenario between a display device and a control device provided in some embodiments of this application. For example... Figure 1 As shown, users can operate the display device 200 via touch, voice, control device 100, and mobile terminal 300. For example, control device 100 can be a remote control, stylus, gamepad, etc.
[0062] like Figure 1 The diagram also shows that the display device 200 communicates with the server 400 via various communication methods. This allows the display device 200 to communicate via a local area network (LAN), a wireless local area network (WLAN), and other networks.
[0063] Display device 200 can provide broadcast television reception function, and can also be equipped with intelligent network television function that provides computer support function, including but not limited to network television, smart television, Internet Protocol television (IPTV), etc.
[0064] Figure 2 Provided for some embodiments of this application Figure 1 Hardware configuration block diagram of the control device 100.
[0065] like Figure 2 As shown, the control device 100 may include: a controller 110, a communication interface 120, a user input / output interface 130, a memory 140, and a power supply 150.
[0066] The controller 110 may include a processor 111, RAM (Random Access Memory) 112, ROM (Read-Only Memory) 113, and a communication bus.
[0067] The communication interface 120 may include at least one of other near-field communication modules such as WiFi chip 121, Bluetooth module 122, NFC module 123, etc.
[0068] User input / output interface 130, wherein the input interface may include at least one of other input interfaces such as microphone 131, touchpad 132, sensor 133, button 134, etc.
[0069] In some embodiments, the control device 100 may include at least one of a communication interface 120 and an input / output interface 130.
[0070] The memory 140 is used to store various operating programs, data, and applications for driving and controlling the control device 100 under the control of the controller 110. The memory 140 can also store various control signal instructions input by the user.
[0071] The power supply 150 is used to provide operating power support for the various components of the control device 100 under the control of the controller 110.
[0072] The control device 100 is equipped with a variety of buttons, and the display device 200 is equipped with a key value-function mapping table. The key value-function mapping table includes the mapping relationship between the key value and the corresponding function of each button on the control device 100.
[0073] In some embodiments, the buttons configured on the control device 100 may include basic buttons, such as a power button, number keys, arrow keys, volume keys, a home button, and a back button. Users can control the display device 100 to perform corresponding basic functions using these basic buttons. The buttons configured on the control device 100 may also include special buttons, such as color keys, which users can use to control the display device 200 to perform specific functions in different scenarios.
[0074] Figure 3 Provided for some embodiments of this application Figure 1 Hardware configuration block diagram of display device 200.
[0075] In some embodiments, the display device 200 may include at least one of a tuner 210, a communication device 220, a detector 230, a device interface 240, a controller 250, a display 260, an audio output device 270, a user input interface 280, a memory, and a power supply.
[0076] In some embodiments, the communication device 220 is a component for communicating with external devices or the server 400 according to various communication protocol types. The display device 200 may be equipped with multiple communication devices 220 depending on the supported communication methods. The communication devices 220 can enable the display device 200 to communicate with the external devices or the server 400 via wireless or wired connections.
[0077] In some embodiments, detector 230 is used to acquire signals from the external environment or to interact with the outside world. For example, detector 230 includes a light receiver, a sensor for acquiring ambient light intensity; or, detector 230 includes an image acquisition device, such as a camera, which can be used to acquire external environmental scenes, user attributes, or user interaction gestures; or, detector 230 includes a sound acquisition device, such as a microphone, for receiving external sounds.
[0078] In some embodiments, device interface 240 is used to connect to an external device.
[0079] In some embodiments, the controller 250 is used to control the overall operation of the display device 200. The controller 250 may include at least one of a central processing unit (CPU), a video processor, an audio processor, a graphics processing unit (GPU), and a power processor, and a first to an nth interface for input / output. The controller 250 controls the operation of the display device 200 and responds to user operations through various software control programs stored in memory.
[0080] In some embodiments, the controller 250 and 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 main device where the controller 250 is located, such as an external set-top box.
[0081] In some embodiments, the display 260 is used to receive and display image signals output from the controller 250. The display 260 may include display function components for presenting images and driving components for driving image display.
[0082] In some embodiments, a user can input user commands on a graphical user interface (GUI) displayed on a display 260, and a user input interface 280 can receive user commands through the GUI.
[0083] In some embodiments, the audio output device 270 may be a built-in speaker of the display device 200 or an external audio output device connected to the display device 200.
[0084] In some embodiments, the user input interface 280 can be used to receive instructions from user input.
[0085] In some embodiments, the display device 200 may run an operating system to perform user interaction. An operating system is a computer program used to manage and control the hardware and software resources of the display device 200.
[0086] The operating system can be a native operating system based on a specific operating platform, a third-party operating system that is deeply customized based on a specific operating platform, or an independent operating system specifically developed for display devices 200.
[0087] An operating system can be divided into different modules or levels based on the functions it implements, for example... Figure 4 As shown, in some embodiments, the system can be divided into four layers, from top to bottom: the Applications layer (referred to as the "Application Layer"), the Application Framework layer (referred to as the "Framework Layer"), the System Runtime Library layer, and the Kernel Layer.
[0088] In some embodiments, the application layer provides services and interfaces for applications, enabling the display device 200 to run applications and interact with users based on the applications. For example, the application layer may include a voice assistant, which provides voice interaction functionality, allowing users to interact with the display device via voice.
[0089] The framework layer provides application programming interfaces (APIs) and programming frameworks for applications. The application framework layer includes predefined functions. It acts as a central processing unit, determining the actions taken by applications within the application layer. Applications can access system resources and obtain system services during execution through the API interface.
[0090] In some embodiments, the system runtime library layer can provide support for the framework layer. When the framework layer is used, the operating system runs the instruction library contained in the system runtime library layer, such as the C / C++ instruction library, to implement the functions to be performed by the framework layer.
[0091] In some embodiments, the kernel layer is a functional layer situated between the hardware and software of the display device 200. The kernel layer can implement functions such as hardware abstraction, multitasking, and memory management.
[0092] It should be noted that the above examples are merely a simple division of operating system functions and do not limit the specific form of the operating system of the display device 200 in this application embodiment. Depending on the function of the display device, the type of operating system, and other factors, the number of levels and the specific level type of the operating system may be expressed in other forms.
[0093] Typically, users primarily use display devices for audio-visual playback. To fully realize the value of these devices, a primary application can be configured to provide a first mode. This primary application can also be called an art application, art mode application, gallery application, frame application, etc. The first mode can also be called art mode, gallery mode, frame mode, etc. In the first mode, the display device can showcase artwork as a decorative element in the space. Furthermore, by simulating the artwork as a real piece, users can enjoy an immersive viewing experience. Examples include adding display frames to artworks, installing hardware frames on the display device's bezel, or using paper-like screens as displays.
[0094] In this embodiment of the application, the first application is an art mode application, and the first mode is an art mode, as an example for specific explanation.
[0095] Display device 200 can enter art mode in the following manner:
[0096] In some embodiments, the display device 200 can be configured to: in the power-off state, respond to a first instruction input by a user pressing the power button of the control device 100 briefly, launch the art mode application after powering on, and enter art mode after launching the art mode application.
[0097] In some embodiments, the display device 200 can be configured to: in the power-off state, in response to a user's instruction to press and hold the power button of the control device 100, display the system home page; and in response to a user's instruction to press and hold the power button or the home button of the control device 100 briefly, launch the art mode application and enter art mode after launching the art mode application.
[0098] In some embodiments, the display device 200 can be configured to, in a powered-off state, respond to a first instruction input by a user via the art mode key of the control device 100, launch an art mode application after power-on, and enter art mode after launching the art mode application.
[0099] In some embodiments, the display device 200 can be configured to enter art mode in response to a user's instruction to select the icon of an art mode application when the system homepage is displayed. The icon of the art mode application can be configured on the system homepage or in the sidebar of the system homepage.
[0100] In some embodiments, the display device 200 may be configured to enter art mode in response to a first instruction input by a user who briefly presses the power button of the control device 100 when the device is powered on and not in art mode.
[0101] In some embodiments, the display device 200 may be configured to enter art mode in response to a first command input by the user based on the art mode key of the control device 100 when the device is powered on and not in art mode.
[0102] In some embodiments, if the user enables scheduled power-on and sets a power-on time, the display device 200 can be configured to: in the power-off state, if the system time is detected to match the power-on time, launch the art mode application after powering on, and enter art mode after launching the art mode application.
[0103] In some embodiments, in response to a user pressing a key, the control device 100 generates a press signal and sends it to the display device 200. In response to a user releasing the key, the control device 100 generates a release signal and sends it to the display device 200. Accordingly, the display device 200 can determine whether the user performed a short press or a long press operation on the key by listening to the press and release events. For example, the display device 200 can use the dispatchKeyEvent method to capture key events, which may include press (KeyEvent.ACTION_DOWN) and release (KeyEvent.ACTION_UP) events. When the display device 200 detects a key event, it checks whether it is the first press. If it is the first press (e.g., event.getRepeatCount() == 0), it starts a timer (such as a Handler or Runnable) and counts for a predefined time, such as 500ms. If the display device 200 does not detect a release event within the predefined time, the timer triggers a long press event to determine if the user has performed a long press operation on the button. If the display device 200 detects a release event within the predefined time, the timer is canceled. Since the timer does not trigger a long press event, it can be determined that the user performed a short press operation on the button.
[0104] In other embodiments, the control device 100, in response to a user pressing a button, periodically sends key value signals to the display device 200 until the user releases the button. The display device 200 can determine whether the user performed a short press or a long press operation on the button based on the number of key value signals received. Specifically, if the number of key value signals received by the display device 200 is less than or equal to a preset number, it can be determined that the user performed a short press operation. If the number of key value signals received by the display device 200 is greater than the preset number, it can be determined that the user performed a long press operation. For example, the preset number is 1. If the number of key value signals received by the display device 200 is 1, it can be determined that the user performed a short press operation. If the number of key value signals received by the display device 200 is greater than 1, it can be determined that the user performed a long press operation.
[0105] Display device 200 can be configured with a third application. This third application can access application data from the first application running in the background, such as artwork, image quality parameters, and carousel parameters. Thus, after entering the third application, display device 200 enters a third mode. In third mode, display device 200 will display the screensaver page of the third application, showcasing artwork provided by the first application, thereby displaying various artworks provided by the first application in screensaver form. In third mode, users cannot use the functions of the first application, i.e., they cannot adjust the artwork settings.
[0106] In some embodiments, the third application may also be called an art screensaver application, gallery screensaver application, picture frame screensaver application, etc., and the third mode may also be called an art screensaver mode, gallery screensaver mode, picture frame screensaver mode, etc.
[0107] In this embodiment of the application, the third application is an art screensaver application and the third mode is an art screensaver mode, which will be used as an example for specific explanation.
[0108] Display device 200 can enter art screensaver mode in the following way:
[0109] In some embodiments, the display device 200 can be configured to enter an art screensaver mode if a first condition is detected when the device is powered on and not in art mode. The first condition may include: no user operation is detected within a specified time period on a non-physical channel, or no signal input is detected on the currently used physical channel.
[0110] In some embodiments, the signal channels of the display device 200 may include physical channels and non-physical channels. A physical channel refers to a channel that transmits signals through a physical medium, such as a cable, optical fiber, or satellite antenna. Physical channels may include TV channels, AV channels, HDMI channels, etc. A non-physical channel refers to a channel that transmits signals wirelessly without requiring a physical connection. Signals other than physical channels can be referred to as non-physical channels, which may include launcher pages, third-party applications, etc.
[0111] After entering art mode, display device 200 displays a display page and showcases artworks within the display page.
[0112] In some embodiments, the displayed page is the user interface defined in the first mode. For example, the displayed page can be the homepage of the first application, i.e., the first page displayed after entering the first mode. The displayed page can also be a specified user interface.
[0113] In some embodiments, the display device 200 can add a frame with a three-dimensional effect to the artwork on the display page when no hardware frame is installed, so as to simulate the real framing effect through the added frame.
[0114] You can refer to this. Figure 5 The display page shown includes an artwork 501 and an added display frame 502.
[0115] In other embodiments, a hardware frame can be installed on the bezel of the display device 200 to simulate a realistic framing effect.
[0116] You can refer to this. Figure 6 The display device 200 shown is equipped with a hardware frame 601, which displays an artwork 602 on the display page after entering the art mode.
[0117] In this way, in art mode, the display device 200 can simulate art images as more realistic artworks by adding display frames to the art images or by installing hardware decorations to simulate frames, thereby enhancing the user's sense of immersion.
[0118] In some embodiments, the artworks provided by the art mode application can be categorized into different categories based on scene, image content, etc. This allows users to quickly find artworks according to these categories.
[0119] In some embodiments, artworks within the same category can be further divided into different subcategories. This same category can be called a parent category, and the subcategories it contains can be called child categories. This allows users to quickly search for artworks within the same parent category by following different child categories.
[0120] In the embodiments provided in this application, the classification of artworks into two levels is used as an example, with the upper level being the first-level classification and the lower level being the second-level classification. The first-level classification may include categories such as art galleries, photo albums, immersive atmospheres, and favorites. The second-level classifications of the art gallery category may include categories such as landscapes, portraits, contemporary art, and still life. The second-level classifications of the photo album category may include categories such as "My Photos" and "Photo Themes." The second-level classifications of the immersive atmosphere category may include immersive atmosphere categories, and the second-level classifications of the favorites category may include favorites categories.
[0121] To facilitate users' quick searching of desired artworks by level and category, the art mode application can be configured with a hierarchical browsing page. The hierarchical preview page can include a first menu and a second menu. The first menu includes titles for the primary categories, and the second menu displays titles for the secondary categories included in the selected or focused primary category. The second menu also includes a preview image list, displayed in a single row, containing preview images of artworks included in the selected or focused secondary categories. In some embodiments, the background of the hierarchical preview page can be transparent. In other embodiments, the background can be opaque or semi-transparent. In some embodiments, the first and second menus can be semi-transparent with a gradual change in transparency. In other embodiments, the first and second menus can be opaque or transparent.
[0122] In this embodiment, the example is taken where the background of the hierarchical preview page is transparent, and the first and second menus are semi-transparent with a gradual change in transparency.
[0123] In some embodiments, when displaying a display page, the display device 200 can be configured to display a hierarchical browsing page above the display page in response to a user's input based on a confirmation key or OK key input from the control device 100. The hierarchical browsing page can display the artwork currently displayed on the lower-level display page.
[0124] You can refer to this. Figure 7 The tiered preview page shown includes a first menu 701 and a second menu 702. The first menu 701 includes titles for primary categories, such as Art Gallery, Photo Gallery, Immersive Atmosphere, and Favorites. Art Gallery is currently selected. Based on the selected Art Gallery category, the second menu 702 includes titles for secondary categories within Art Gallery, such as Landscape, People, Modern, Still Life, and Others. Landscape is the focus here. The second menu 702 also includes a preview image list 703, which, based on the focus on Landscape, includes preview images of artworks within the Landscape category, such as Landscape 14, Landscape 15, Landscape 16, Landscape 17, and Landscape 18.
[0125] In this embodiment of the application, for ease of illustration, the corresponding artworks are represented by the format of "secondary category + order of the image in that secondary category". For example, landscape 16 represents the 16th artwork in the landscape category.
[0126] The background of the rating preview page is transparent; please refer to this. Figure 7Background 704 is transparent. Therefore, the artwork currently displayed on the page, such as the three geometric shapes, can be seen through background 704.
[0127] In some embodiments, users can select the desired primary or secondary category from the hierarchical preview page to browse preview images of the corresponding artworks in the preview image list. Furthermore, users can exit the hierarchical preview page by selecting a preview image and quickly switch the displayed artworks to the artwork corresponding to the selected preview image.
[0128] In some embodiments, to facilitate users previewing more images at once and improve the efficiency of finding artworks, the art mode application can also be configured with a global preview page. The global preview page may include a third menu and a global preview image list. The third menu includes titles of the second-level categories included in the target first-level category, with the title of the target second-level category receiving focus. The target first-level category is the first-level category to which the artwork currently displayed on the page belongs, and the target second-level category is the second-level category to which the artwork corresponding to the currently included preview image in the preview image list belongs. The global preview image list is in a grid format, including preview images of artworks included in the target second-level categories. Thus, users can browse preview images of all artworks included in each second-level category of the target first-level category at once through the global preview page.
[0129] In some embodiments, when a preview image in the preview image list gains focus, the display device 200 may be configured to display a global preview page on top of the hierarchical preview page in response to a downward command input by the user based on the down key input of the control device 100.
[0130] Can Figure 7 The tiered preview page shown indicates that device 200, in response to a user's downward command, can display something like... on top of the tiered preview page. Figure 8 The global preview page shown includes a third menu 801. The third menu 801 includes titles for the secondary categories of the art gallery, such as Landscape, Portrait, Modern, Still Life, and Other. Landscape is the focal point. The global preview page also includes a global preview image list 802, which contains preview images of all artworks included in the Landscape category. Taking Landscape 1-18 as an example, the global preview image list 802 includes preview images of Landscape 1-18.
[0131] In some embodiments, users can select a desired secondary category under a target primary category on the global preview page to browse preview images of the corresponding artworks in the global preview image list. Furthermore, users can exit the global preview page and the hierarchical preview page by selecting a preview image, and quickly switch the displayed artworks to the artwork corresponding to the selected preview image.
[0132] In some embodiments, the art mode application may be configured with an application settings menu. The application settings menu is distinct from the system settings menu; it is a settings menu within the art mode application and includes menu items for setting parameters related to the artwork. Parameters set via the application settings menu do not affect the overall parameters of the display device 200. In some embodiments, the application settings menu can be a shortcut menu. When displaying the presentation page, the display device 200 can open the application settings menu in response to a control command input by the user based on a first button on the control device 100. In some embodiments, the first button can be a menu button, a color button, etc. In this embodiment, the first button is described as a menu button.
[0133] The application settings menu is displayed at the top of the display page; please refer to [the relevant documentation]. Figure 9 The application settings menu 901 shown is displayed at the top of the display page. This allows users to browse the artwork on the display page while using the application settings menu, and observe the effects of settings made through the menu.
[0134] In some embodiments, the art mode application may be configured with an art mode settings page. This art mode settings page is the application's settings page, distinct from the system settings page, and is specifically used to set parameters related to the artwork. Parameters set on the art mode settings page will not affect the overall parameters of the display device 200. The art mode settings page can be considered the page corresponding to the application settings menu. The art mode settings page can display all settings items related to the artwork at once, which can be referenced. Figure 10 The Art Mode settings page is shown below. This allows users to centrally configure various parameters.
[0135] In some embodiments, an entry point to the art mode settings page can be configured in the application settings menu, such as... Figure 9 As shown, the application settings menu 901 includes an entry point to the art mode settings page, such as "Art Mode Settings". This allows users to access the art mode settings page through the application settings menu.
[0136] In some embodiments, immersive atmosphere categories may include dynamic artworks with audio, meaning the artworks included in the immersive atmosphere category are videos. Thus, when the display device 200 displays artworks under an immersive atmosphere category, it simultaneously plays the corresponding audio to create an atmosphere for the user. However, the audio accompanying the artworks under an immersive atmosphere category may not be music that the user prefers, which will result in the inability to create the desired atmosphere. Furthermore, for artworks under other categories, these artworks are all images; therefore, the display device 200 does not play audio when displaying these artworks. Consequently, users will lack a sense of atmosphere when browsing these artworks.
[0137] To address the aforementioned issues, the Art Mode application is equipped with a Bluetooth music function. In Art Mode, users can use this function to connect to Bluetooth devices at any time and send their favorite audio to the display device 200 via Bluetooth. The display device 200 will then play the audio, allowing users to create their desired atmosphere.
[0138] In some embodiments, reference may be made to Figure 4 The operating system shown contains modules related to the first application within its application layer, such as a Bluetooth switch module, a device management module, a registration and monitoring module, an operation guidance module, and a playback control module. Within the framework layer, it contains a Bluetooth music receiver module and a music playback control module. Within the core layer, it contains a Bluetooth communication module and a Bluetooth driver.
[0139] The Bluetooth switch module is used to display different Bluetooth switches to the user and interact with the user to turn them on and off.
[0140] The connected device management module is used to manage all connected Bluetooth devices and can generate and display the corresponding device list.
[0141] Register a monitoring module to monitor the connection status with Bluetooth devices, the audio playback status of Bluetooth devices, etc.
[0142] The operation guide module is used to display operation instructions for pairing with Bluetooth devices.
[0143] The playback control module is used for audio playback of the entire device.
[0144] The Bluetooth music receiver module, as the Bluetooth receiver of the display device 200, can receive Bluetooth music signals from Bluetooth devices.
[0145] The music playback control module is used to call the system's audio service and media player service according to the control instructions of the application layer, and control the music playback, pause, volume adjustment and other functions.
[0146] The driver layer resides at the hardware level of the TV device, responsible for communicating with the Bluetooth hardware module and controlling the audio output device. Its main functions include communicating with the Bluetooth hardware module and receiving Bluetooth music signals from other devices.
[0147] Bluetooth devices can be categorized into audio source devices and audio receiver devices based on their audio data transmission and reception. An audio source device is a Bluetooth device that provides (transmits) audio data to an audio receiver device, while an audio receiver device is a Bluetooth device that receives audio data transmitted by an audio source device. Therefore, an audio receiver device can act as an audio playback device, playing the audio data provided by the audio source device. The same Bluetooth device can switch Bluetooth modes according to different usage needs. Bluetooth modes include audio source mode and audio sink mode. If a Bluetooth device is in source mode, it is currently acting as an audio source device. If a Bluetooth device is in sink mode, it is currently acting as an audio receiver device.
[0148] In some embodiments, the display device 200 may be configured to use source mode by default, i.e., as an audio source device.
[0149] In some embodiments, the display device 200 may be configured with a system Bluetooth function. A first Bluetooth switch for controlling the system Bluetooth function to be turned on and off may be configured in the system settings menu, quick settings panel, status bar, shortcut menu, etc.
[0150] Taking the first Bluetooth switch being configured in the system settings menu as an example, you can refer to... Figure 11 The system settings menu shown may include a first Bluetooth switch 1101. When the first Bluetooth switch is in the ON state, the system Bluetooth function is enabled; when the first Bluetooth switch is in the OFF state, the system Bluetooth function is disabled.
[0151] When the system's Bluetooth function is enabled, the display device 200 can pair with other Bluetooth devices. When the system's Bluetooth function is disabled, the display device 200 cannot pair with other Bluetooth devices.
[0152] In some embodiments, when the system Bluetooth function is turned on and off via a first Bluetooth switch, the display device 200 always uses source mode, that is, the display device 200 always acts as an audio source device to provide audio data to the paired Bluetooth device so that the paired Bluetooth device can play audio.
[0153] For example, when the system's Bluetooth function is enabled via the first Bluetooth switch, the display device 200 will act as an audio source device to pair with other Bluetooth devices, such as a Bluetooth speaker. After pairing with the Bluetooth speaker, the display device 200 can send audio data to the Bluetooth speaker to play audio through the Bluetooth speaker.
[0154] In some embodiments, a listening module for system controls can be configured at the application layer. This listening module can monitor the state changes of each system control. When the first Bluetooth switch is in the off state, if the user instructs the user to turn the first Bluetooth switch on, the listening module can detect the first Bluetooth switch being turned on and, upon detecting this, enable the system Bluetooth function by calling the system Bluetooth service. When the first Bluetooth switch is in the on state, if the user instructs the user to turn the first Bluetooth switch off, the listening module can detect this and, upon detecting this, disable the system Bluetooth function by calling the system Bluetooth service. Thus, it is possible to control the system Bluetooth function to be turned on and off via the first Bluetooth switch.
[0155] In some embodiments, the default state of the first Bluetooth switch, i.e., the default state of the system Bluetooth function, refers to the state of the first Bluetooth switch when the display device 200 is not using the Bluetooth music function of the application. The default state of the first Bluetooth switch can be either on or off. For example, to avoid power consumption caused by keeping the system Bluetooth function on, and to avoid frequently receiving pairing requests from other Bluetooth devices, the default state of the first Bluetooth switch can be set to off. Conversely, to facilitate pairing of the display device 200 with other Bluetooth devices, the default state of the first Bluetooth switch can be set to on.
[0156] In some embodiments, the display device 200 may also be configured with a second Bluetooth switch, which serves as a switch for the device visibility function. See also... Figure 11 The system settings menu shown may include a second Bluetooth switch 1102. When the second Bluetooth switch is on, device visibility is enabled; that is, if the system Bluetooth function is enabled, the display device 200 can be discovered by other Bluetooth devices. When the second Bluetooth switch is off, device visibility is disabled; that is, if the system Bluetooth function is enabled, the display device 200 cannot be discovered by other Bluetooth devices.
[0157] In some embodiments, the default state of the second Bluetooth switch, i.e., the default state of the device visibility function, refers to the state of the second Bluetooth switch when the display device 200 is using the Bluetooth music function. The default state of the second Bluetooth switch can be either on or off. For example, to avoid frequently receiving pairing requests from other Bluetooth devices when the system Bluetooth function is always on, the default state of the second Bluetooth switch can be set to off. Conversely, to facilitate pairing between the display device 200 and other Bluetooth devices, the default state of the second Bluetooth switch can be set to on.
[0158] In some embodiments, the state changes of the second Bluetooth switch can be monitored through the system control's listening module, and the visibility function can be turned on and off by calling the device visibility service, thereby enabling the second Bluetooth switch to control the visibility function. This process can be referred to as the process of controlling the system Bluetooth function to be turned on and off through the first Bluetooth switch, and will not be elaborated here.
[0159] In some embodiments, the display device 200 may further be configured with a third Bluetooth switch, which is a device shielding function switch. When the third Bluetooth switch is in the ON state, the device shielding function is enabled, so that when the system Bluetooth function is enabled, a connection will not be established with a specified Bluetooth device. When the third Bluetooth switch is in the OFF state, the device shielding function is disabled, so that a connection can be established with a specified Bluetooth device when the system Bluetooth function is enabled. The specified Bluetooth device can be a user-specified Bluetooth device, a Bluetooth device other than a user-specified connectable Bluetooth device, or a Bluetooth device other than the currently connected Bluetooth device.
[0160] In some embodiments, the default state of the third Bluetooth switch, i.e., the default state of the device blocking function, refers to the state of the third Bluetooth switch when the display device 200 is not using the Bluetooth music function. The default state of the third Bluetooth switch can be either on or off. For example, to avoid frequently receiving pairing and connection requests from designated Bluetooth devices when the system Bluetooth function is always on, and to prevent these designated Bluetooth devices from establishing connections with the display device 200 and sending audio data to the display device 200, thus affecting the current playback of the display device 200, the default state of the third Bluetooth switch can be set to on. Alternatively, to display available Bluetooth devices to the user, the default state of the third Bluetooth switch can be set to off.
[0161] In some embodiments, a whitelist of Bluetooth devices can be used to manage Bluetooth devices that can establish connections with the display device 200. Bluetooth devices not on the whitelist are designated Bluetooth devices, meaning that after the device blocking function is enabled, Bluetooth devices that cannot establish connections with the display device 200 are not allowed to connect. The Bluetooth devices in the whitelist can be dynamically adjusted according to user settings.
[0162] In some embodiments, a blacklist of Bluetooth devices can be used to manage specific Bluetooth devices. These blacklisted devices are designated Bluetooth devices that cannot establish a connection with the display device 200 after the device blocking function is enabled. The number of Bluetooth devices in the blacklist can be dynamically adjusted according to user settings.
[0163] In some embodiments, a whitelist or blacklist of Bluetooth devices can be written to a configuration file. After the first Bluetooth switch is turned on, the system control's listening module detects that a pairing request or connection request from another Bluetooth device is received. It then reads the whitelist or blacklist from the configuration file to determine if the Bluetooth device is the designated Bluetooth device. If the Bluetooth device is the designated Bluetooth device, the device blocking service is invoked to reject or not respond to the request from that device. If the Bluetooth device is not the designated Bluetooth device, the device blocking service is not invoked, and the request from that device is responded to normally.
[0164] In some embodiments, the default states of the first Bluetooth switch, the second Bluetooth switch, and the third Bluetooth switch are independent of each other.
[0165] In Art Mode, to expand the audio resources that the display device 200 can play, richer audio data can be provided through other Bluetooth devices. In this case, the display device 200 needs to act as an audio receiver to receive audio data provided by other Bluetooth devices. That is, the display device 200 needs to switch to sink mode. Correspondingly, the Bluetooth music function provided by the Art Mode application is a Bluetooth function that pairs the display device 200 with other Bluetooth devices, using it as an audio receiver.
[0166] In some embodiments, in art mode, the display device 200 can be in accordance with Figure 12 The process shown involves playing audio from a Bluetooth device, and the specific steps are as follows:
[0167] S1201, in Art Mode, responds to the user's operation of opening the Bluetooth music function of the application, switches to audio receiving mode, and displays an operation guide page. Specifically, when the first Bluetooth switch is in the off state by default, it is turned on.
[0168] In some embodiments, the Art Mode application can configure the switch for the Bluetooth music function in the application settings menu. See also... Figure 9 The application settings menu 901 shown includes a switch for the Bluetooth music function, such as BT Music. Accordingly, the user can enable the Bluetooth music function by: inputting a menu command using the menu button on the control device 100 while the display device 200 is showing the presentation page, controlling the display device 200 to open the application settings menu, and then selecting the switch for the Bluetooth music function within the application settings menu to enable the Bluetooth music function.
[0169] In other embodiments, the art mode application can configure a switch for applying Bluetooth music functionality in the art mode settings page. See also... Figure 10 The illustrated art mode settings page includes a toggle switch for the Bluetooth music function, such as BT Music. Accordingly, the user can enable the Bluetooth music function as follows: while the display device 200 is showing the presentation page, the user can press the menu button on the control device 100 to input the menu command, control the display device 200 to open the application settings menu, and then select the art mode settings item in the application settings menu to open the art mode settings page. Finally, the user can enable the Bluetooth music function by selecting the toggle switch on the art mode settings page.
[0170] Since the Bluetooth music function is a Bluetooth function that uses the display device 200 as an audio receiver to pair with other Bluetooth devices, when the Bluetooth music function is enabled, the display device 200 will switch from source mode to sink mode to pair with other Bluetooth devices as an audio receiver.
[0171] In some embodiments, in order to ensure the availability of the Bluetooth music function, if the system Bluetooth function of the display device 200 is turned off when using the Bluetooth music function, the system Bluetooth function can be forcibly turned on so that the display device 200 can use the Bluetooth function to pair with other Bluetooth devices.
[0172] In some embodiments, to avoid affecting the overall performance of the display device 200, if the Bluetooth music function is not used, such as when exiting art mode or disconnecting from other Bluetooth devices, the default state of the system Bluetooth function is restored. Specifically, if the default state of the system Bluetooth function is enabled, the system Bluetooth function remains enabled, i.e., the first Bluetooth switch remains in the enabled state. If the default state of the system Bluetooth function is disabled, the system Bluetooth function is disabled again, i.e., the first Bluetooth switch is switched back to the disabled state.
[0173] When the display device 200 uses the Bluetooth music function, it turns on the first Bluetooth switch to enable the system's Bluetooth function. The implementation process can be referred to in the following embodiment:
[0174] In some embodiments, the display device 200 may be activated by a first application to enable the linkage between the application's Bluetooth music function and the system's Bluetooth function.
[0175] You can refer to this. Figure 4 In the operating system shown, the user interacts with the first application through the Bluetooth switch module. For example, when the user opens the application's Bluetooth music function, the Bluetooth switch module will call the system Bluetooth service to enable the system Bluetooth function. The system Bluetooth service will record the default state of the first Bluetooth switch, such as the off state. When the Activity Manager detects that the operation guide page or pairing page has been closed, if the application's registration and listening module detects that it has not paired with or established a connection with the Bluetooth device, it can send a first notification to the Bluetooth switch module. Alternatively, the application's registration and listening module can send a first notification to the Bluetooth switch module after detecting that the connection with the Bluetooth device has been lost. Or, the Activity Manager can send a first notification to the Bluetooth switch module when it detects that the first application has been exited. Based on the first notification, the Bluetooth switch module will call the system Bluetooth service to restore the first Bluetooth switch to its default state, such as turning off the first Bluetooth switch, thereby disabling the system Bluetooth service.
[0176] In other embodiments, the display device 200 can monitor the usage status of the first application through the system's registration and monitoring module, and call the first Bluetooth switch to achieve a linkage effect between the application's Bluetooth music function and the system's Bluetooth function.
[0177] You can refer to this. Figure 4The operating system shown, in the application layer, may include configuration files for the relevant modules of the first application. These configuration files contain configuration information for the first application, such as if the first application requires the system's Bluetooth function; that is, the system's Bluetooth function needs to be enabled after the first application is launched. The application layer also includes a system registration and listening module. During the boot process of the display device 200, the system's registration and listening module scans the configuration files of each application. When the configuration file of the first application is detected, its configuration information can be read, and based on this information, the first application is registered to the application list. This application list includes applications that require the system's Bluetooth function; that is, the system's Bluetooth function needs to be enabled after these applications are launched. The system's registration and listening module can monitor the launch status of each activity and determine the launched application based on the package name corresponding to the activity. After detecting the activity of the first application, the system's registration and listening module can determine whether the first application belongs to the application list. Upon confirming that the first application belongs to the application list, the system's registration and listening module calls the system Bluetooth service to enable the first Bluetooth switch and the system Bluetooth service. In some embodiments, the configuration information of the first application may include a page with an application settings menu. This allows the system's registration and listening module to precisely register the first application with the page containing the application settings menu when registering it to the application list. In other words, when the first application is entered and its settings menu is opened, the system Bluetooth service is enabled. After detecting an activity with an application settings menu, the system's registration and listening module can invoke the system Bluetooth service to enable the first Bluetooth switch and thus the system Bluetooth service.
[0178] When Activity Manager detects that the action guide page or pairing page has been closed, it can send a message to the system's registration and listening module. Upon receiving this message, if the system's registration and listening module detects that no pairing or connection has been established with a Bluetooth device, it can disable the system Bluetooth service, thereby disabling the first Bluetooth switch and the system Bluetooth function. Alternatively, if the system's registration and listening module detects that the connection with the Bluetooth device has been lost, it can disable the system Bluetooth service, thereby disabling the first Bluetooth switch and the system Bluetooth function. Or, when Activity Manager detects that the first application has been exited, it can send a message to the system's registration and listening module. Upon receiving this message, the system's registration and listening module can disable the system Bluetooth service, thereby disabling the first Bluetooth switch and the system Bluetooth function.
[0179] In some embodiments, the code design for implementing the switching of the display device 200 to sink mode when the Bluetooth music function of the application is opened can refer to the following example:
[0180] You can use Android's Bluetooth A2DP (Advanced Audio Distribution Profile) startSink() method to start sink mode:
[0181] / / Get an instance of the Bluetooth adapter
[0182] BluetoothAdapter bluetoothAdapter = BluetoothAdapter.getDefaultAdapter();
[0183] / / Check if Bluetooth is enabled
[0184] if (bluetoothAdapter.isEnabled()) {
[0185] / / Get Bluetooth A2DP instance
[0186] BluetoothA2dp bluetoothA2dp = BluetoothA2dp.getBluetoothA2dp();
[0187] / / Set priority
[0188] bluetoothA2dp.setSinkPriority(BluetoothA2dp.SINK_PRIORITY_ON);
[0189] bluetoothA2dp.startSink();
[0190] }
[0191] In some embodiments, the code design for switching the display device 200 to sink mode can refer to the following example:
[0192] Create a method to switch the TV's Bluetooth mode:
[0193] public void switchToSinkMode() {
[0194] bluetoothAdapter.getProfileProxy(context, new BluetoothProfile.ServiceListener() {
[0195] @Override
[0196] public void onServiceConnected(int profile, BluetoothProfile proxy) {
[0197] if (profile == BluetoothProfile.A2DP) {
[0198] BluetoothA2dp bluetoothA2dp = (BluetoothA2dp) proxy;
[0199] / / Switch to Sink mode
[0200] }
[0201] }
[0202] @Override
[0203] public void onServiceDisconnected(int profile) {}
[0204] }, BluetoothProfile.A2DP);
[0205] }
[0206] In some embodiments, the code design for forcibly enabling the system Bluetooth function when the display device 200 opens the application's Bluetooth music function can refer to the following example:
[0207] / / Automatically turn on Bluetooth when clicking the Bluetooth music function in the application
[0208] Button bluetoothButton = findViewById(R.id.bluetooth_button);
[0209] bluetoothButton.setOnClickListener(new View.OnClickListener() {
[0210] @Override
[0211] public void onClick(View v) {
[0212] Automatically enable system Bluetooth function
[0213] BluetoothAdapter bluetoothAdapter = BluetoothAdapter.getDefaultAdapter();
[0214] bluetoothAdapter.enable();
[0215] }
[0216] });
[0217] In some embodiments, if the display device 200 is equipped with a second Bluetooth switch, in response to a user's operation to enable the application's Bluetooth music function, the display device 200 forcibly enables the second Bluetooth switch when it is in the off state, thereby enabling the device visibility function. This allows the display device 200 to be discovered by other Bluetooth devices when the system Bluetooth function is enabled, thus ensuring the availability of the application's Bluetooth music function. (See also...) Figure 11 The second Bluetooth switch 1102 is shown.
[0218] Accordingly, to avoid affecting the overall performance of the display device 200, when the Bluetooth music function is not in use, such as when exiting art mode or disconnecting from other Bluetooth devices, the default state of the device visibility function should be restored. Specifically, if the default state of the device visibility function is enabled, it should remain enabled, i.e., the second Bluetooth switch should remain on. If the default state of the device visibility function is disabled, it should be disabled again, i.e., the second Bluetooth switch should be switched off.
[0219] The process of enabling the device visibility function by turning on the second Bluetooth switch when the display device 200 is using the Bluetooth music function can be referred to the process of turning on the first Bluetooth switch, and will not be described in detail here.
[0220] In some embodiments, if the display device 200 is configured with a third Bluetooth switch, the display device 200, in response to the user's operation of opening the application's Bluetooth music function, forcibly turns on the third Bluetooth switch when it is in the off state, so as to enable the device shielding function, so that the display device 200 can not be discovered by designated Bluetooth devices when the system Bluetooth function is enabled, thereby avoiding interference from these Bluetooth devices.
[0221] Accordingly, to avoid affecting the overall performance of the display device 200, if the Bluetooth music function is not used, such as when exiting art mode or disconnecting from other Bluetooth devices, the default state of the device blocking function should be restored. Specifically, if the default state of the device blocking function is enabled, it should remain enabled, i.e., the third Bluetooth switch should remain on. If the default state of the device blocking function is disabled, it should be disabled again, i.e., the third Bluetooth switch should be switched off.
[0222] The process of enabling the device's blocking function by turning on the third Bluetooth switch when the display device 200 is using the Bluetooth music function can be referenced from the process of turning on the first Bluetooth switch, and will not be elaborated here. The configuration information of the first application may include a whitelist or blacklist of Bluetooth devices.
[0223] In some embodiments, the code design that makes the states of each Bluetooth switch independent of the default state when the display device 200 is using the Bluetooth music function can refer to the following example:
[0224] / / Bluetooth music uses the Bluetooth function
[0225] BluetoothAdapter bluetoothAdapter = BluetoothAdapter.getDefaultAdapter();
[0226] bluetoothAdapter.setPriority(BluetoothAdapter.PRIORITY_ON);
[0227] / / Other Bluetooth functions are unaffected
[0228] BluetoothGatt gatt = bluetoothAdapter.getRemoteDevice(address).connectGatt(context, false, gattCallback);
[0229] After switching to sink mode and enabling the system's Bluetooth function, display device 200 can pair with other Bluetooth devices.
[0230] In some embodiments, after switching to sink mode, the display device 200 sends a pairing broadcast to its surroundings, which may include the device class, the universally unique identifier (UUID) of the service, the device name, etc.
[0231] The device category indicates the current Bluetooth device type of display device 200. For example, if it is currently in sink mode, the device type is an audio receiving device.
[0232] The pairing broadcast includes the UUID of the service used to uniquely identify the services supported by the display device 200. For Bluetooth devices supporting audio streaming, the supported services include the Advanced Audio Distribution Profile (A2DP) service. The supported A2DP services differ depending on the Bluetooth mode. In sink mode, the Bluetooth device supports the A2DP receive service. In source mode, the Bluetooth device supports the A2DP send service. Accordingly, the display device 200 registers the UUID of the currently supported services. After switching to sink mode, the display device 200 supports the A2DP receive service; therefore, the display device 200 registers the UUID of the A2DP receive service, for example, 0000110b-0000-1000-8000-00805f9b34fb.
[0233] The device name can be the default name for display device 200, or a user-defined name, used to display in the search results list of the peer device, representing display device 200.
[0234] The data structure for pairing broadcasts sent externally by display device 200 in sink mode can be seen in the following example:
[0235] {
[0236] "Class of Device": "Audio / Video, Headset",
[0237] "Service UUIDs": ["0000110b-0000-1000-8000-00805f9b34fb"], / / A2DPSink UUID
[0238] Name: Bluetooth Headset
[0239] }
[0240] In some embodiments, the display device 200 may display an operation guidance page, which includes first guidance information for establishing a Bluetooth connection with the display device 200. This first guidance information may include the device name of the display device 200 to accurately indicate the Bluetooth device to be paired, facilitating a quick and accurate connection for the user to the display device 200.
[0241] You can refer to this. Figure 13 The operation guide page shown may include first guidance information. If the device name of the display device 200 is "Master Bedroom TV", then the first guidance information may be "Turn on Bluetooth switch, select Master Bedroom TV to pair and connect".
[0242] In some embodiments, after the display device 200 enables its system Bluetooth function, the status of the display device 200's system Bluetooth function is also displayed on the operation guide page to prompt the user about the Bluetooth status of the display device 200, facilitating the user's self-checking of the reasons for different situations occurring when the display device 200 connects with other Bluetooth devices. (See also...) Figure 13 The operation guide page shown displays the current status of the system's Bluetooth function in the upper right corner, indicating whether Bluetooth is available. It may also include a Bluetooth icon.
[0243] Taking the example of a user wanting to use a first Bluetooth device to provide audio data to a display device 200, this first Bluetooth device can be a smartphone, tablet, computer, smart TV, etc. The user can perform a Bluetooth connection operation with the display device 200 on the first Bluetooth device according to the first guidance information on the operation guide page.
[0244] In some embodiments, after the first Bluetooth device enables Bluetooth, it is in source mode and can scan for nearby Bluetooth devices.
[0245] When the first Bluetooth device acts as the audio source device, after enabling Bluetooth, the pairing broadcast it sends out can include the device type, the service's UUID, the device name, etc.
[0246] The first Bluetooth device is an audio source device. In source mode, display device 200 supports the A2DP transmission service and registers the A2DP transmission service UUID, such as 0000110a-0000-1000-8000-00805f9b34fb. The device name can be the default name of the first Bluetooth device or a user-defined name.
[0247] The data structure of the pairing broadcast sent by the first Bluetooth device in source mode can be seen in the following example:
[0248] {
[0249] "Class of Device": "Audio / Video, Portable Audio",
[0250] "Service UUIDs": ["0000110a-0000-1000-8000-00805f9b34fb"], / / A2DPSource UUID
[0251] Name: Smartphone
[0252] }
[0253] When display device 200 sends a pairing broadcast, the first Bluetooth device can scan for display device 200.
[0254] In some embodiments, the code design for implementing the display device 200 as an audio receiving device to pair with other Bluetooth devices can refer to the following example:
[0255] IntentFilter filter = new IntentFilter(BluetoothDevice.ACTION_FOUND);
[0256] registerReceiver(receiver, filter);
[0257] bluetoothAdapter.startDiscovery();
[0258] private final BroadcastReceiver receiver = new BroadcastReceiver() {
[0259] public void onReceive(Context context, Intent intent) {
[0260] String action = intent.getAction();
[0261] if (BluetoothDevice.ACTION_FOUND.equals(action)) {
[0262] BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE);
[0263] / / Discover devices and pair
[0264] }
[0265] }
[0266] };
[0267] After the first Bluetooth device scans and detects display device 200, it can display a list of search results. This list can include the device name from the pairing broadcast sent by display device 200. For example, if the device name of display device 200 is "Master Bedroom TV," please refer to... Figure 14 The search results list shown includes results for the master bedroom TV.
[0268] Users can determine the device to be connected as the main bedroom TV based on the first guidance information on the operation guide page. They can then find the main bedroom TV result in the search results list and select it to pair with the display device 200. In response to the user's selection of the result, the first Bluetooth device sends a pairing request to the corresponding display device 200. This pairing request is used to request the establishment of a Bluetooth connection.
[0269] S1202: Display the pairing page based on the pairing request from the first Bluetooth device.
[0270] When the display device 200 is paired with the first Bluetooth device for the first time, a pairing page will be displayed. This pairing page includes a prompt asking the user whether to pair with the first Bluetooth device. This further ensures the data security of the display device 200.
[0271] You can refer to this. Figure 15 The pairing page shown may include a prompt message indicating the device name of the first Bluetooth device currently being paired, such as "my phone". In some embodiments, the display device 200 may also send a pairing password to the first Bluetooth device during the pairing process to further ensure the accuracy and security of the pairing. The pairing page also includes a pairing button and a cancel button. The user can select the pairing button if they agree to pair with the first Bluetooth device. The user can select the cancel button if they do not agree to pair with the first Bluetooth device.
[0272] S1203, in response to the user's instruction to agree to pairing, pairs with the first Bluetooth device and displays a prompt page after successful pairing with the first Bluetooth device.
[0273] If the user selects the pairing button and enters a command to agree to pairing, device 200 will be displayed as paired with the first Bluetooth device and a connection will be established.
[0274] In some embodiments, after successfully pairing with the display device 200, the first Bluetooth device can use the Service Discovery Protocol (SDP) to query the services supported by the display device 200 to further confirm whether the display device 200 is in sink mode. For example, the first Bluetooth device can confirm whether the display device 200 is in sink mode by querying whether the display device 200 has registered the UUID for the A2DP receiving service. After identifying that the display device 200 has registered the UUID for the A2DP receiving service, it can be confirmed that the display device 200 is in sink mode.
[0275] In some embodiments, after successfully pairing with the first Bluetooth device, the display device 200 saves the pairing information of the first Bluetooth device so that when the Bluetooth music function is used again, it can quickly connect to the first Bluetooth device based on the stored pairing information.
[0276] In some embodiments, the code design for implementing the display device 200 to save the pairing information of paired Bluetooth devices can refer to the following example:
[0277] SharedPreferences sharedPreferences = getSharedPreferences("BluetoothPrefs", MODE_PRIVATE);
[0278] SharedPreferences.Editor editor = sharedPreferences.edit();
[0279] editor.putString("PairedDevice", device.getAddress());
[0280] editor.apply();
[0281] In some embodiments, in Art Mode, if the user reopens the Bluetooth music function, the display device 200 can display an operation guide page. This process can be referred to step S1201, and will not be repeated here. The display device 200 can also display a list of paired devices. In some embodiments, the display device 200 can display the list of paired devices within the operation guide page. In other embodiments, the display device 200 can be configured to automatically exit the operation guide page and display the list of paired devices after a second duration.
[0282] In some embodiments, the display device 200 can display a list of paired devices based on the stored pairing information of the first Bluetooth device. This list includes entries for the first Bluetooth device. If the display device 200 has also established Bluetooth connections with other Bluetooth devices based on the Bluetooth music function, the list of paired devices also includes entries for those Bluetooth devices. See also... Figure 16 The paired device list shown can include items related to "myphone" if the first Bluetooth device's device name is "myphone". If the display device 200 has also established Bluetooth connections with other Bluetooth devices based on its Bluetooth music function, and the other Bluetooth device's device name is "living room TV", then the paired device list can also include items related to "living room TV".
[0283] Users can select the target Bluetooth device to connect to from the list of paired devices on the display device 200. For example, if a user wants to use the first Bluetooth device, they can select the first Bluetooth device's entry and input a connection command. The display device 200 will respond to this command, search for the first Bluetooth device, and establish a connection with it after finding it.
[0284] In some embodiments, the code design for implementing the connection between the display device 200 and the Bluetooth device based on the list of paired devices can refer to the following example:
[0285] / / Get list of paired devices
[0286] Set <bluetoothdevice>pairedDevices = bluetoothAdapter.getBondedDevices();
[0287] List <bluetoothdevice>savedDevices = new ArrayList<>(pairedDevices);
[0288] / / Displays a list of paired devices and allows you to select one to connect.
[0289] private void displayPairedDevices() {
[0290] / / Display paired devices in the UI
[0291] recyclerView.setAdapter(new BluetoothDeviceAdapter(savedDevices, newBluetoothDeviceAdapter.OnItemClickListener() {
[0292] @Override
[0293] public void onItemClick(BluetoothDevice device) {
[0294] connectToPairedDevice(device);
[0295] }
[0296] }));
[0297] }
[0298] / / Connect to the selected paired device
[0299] private void connectToPairedDevice(BluetoothDevice device) {
[0300] bluetoothAdapter.getProfileProxy(context, new BluetoothProfile.ServiceListener() {
[0301] @Override
[0302] public void onServiceConnected(int profile, BluetoothProfile proxy) {
[0303] if (profile == BluetoothProfile.A2DP) {
[0304] BluetoothA2dp bluetoothA2dp = (BluetoothA2dp) proxy;
[0305] bluetoothA2dp.getClass().getMethod("connect", BluetoothDevice.class).invoke(bluetoothA2dp, device);
[0306] }
[0307] }
[0308] @Override
[0309] public void onServiceDisconnected(int profile) {}
[0310] }, BluetoothProfile.A2DP);
[0311] }
[0312] In some embodiments, after the first Bluetooth device successfully pairs with the display device 200, it saves the pairing information of the display device 200 so as to quickly establish a connection with the display device 200 next time.
[0313] In some embodiments, after the first Bluetooth device enables Bluetooth, it can display a list of paired devices based on stored pairing information. This list includes items related to the display device 200. (See also...) Figure 17 The paired device list shown may include the "Master Bedroom TV" item if the device name of device 200 is displayed. If the first Bluetooth device has also established connections with other Bluetooth devices, such as a Bluetooth headset, the paired device list may also include a Bluetooth headset item.
[0314] If a user wants to connect to display device 200, they can select the master bedroom TV item and enter the connection command. The first Bluetooth device will respond to the connection command, search for display device 200, and establish a connection with display device 200 after it is found.
[0315] In some embodiments, when the display device 200 is not pairing with the first Bluetooth device for the first time, it responds to the pairing request of the first Bluetooth device, directly pairs with the first Bluetooth device and establishes a connection, without displaying the pairing page again.
[0316] In some embodiments, the display device 200 displays a prompt page after successfully pairing with the first Bluetooth device, to notify the user that the first Bluetooth device has been connected. This prompt page may include second guidance information to instruct the user to play audio using the first Bluetooth device. See also... Figure 18 The prompt page shown may include secondary guidance information, such as "Please open the mobile application and play your favorite song."
[0317] In some embodiments, the display device 200 may be configured to automatically exit the prompt page and display a display page for the art mode application after a first duration. For example, if the first duration is 10 seconds, the display device 200 will automatically exit the prompt page after displaying the prompt page for 10 seconds.
[0318] In some embodiments, the display device 200 can be configured to exit the prompt page and display a display page of the art mode application in response to a user's return command. For example, the user can input a return command by pressing the back button on the control device 100, and the display device 200 will exit the prompt page in response to the return command.
[0319] In some embodiments, the display device 200 may display a prompt message within the prompt page, which is used to inform the user that the display page will be automatically redirected after a first duration, and that the user can exit the prompt page using the back button, such as... Figure 18 As shown.
[0320] S1204: After receiving the first audio signal sent by the first Bluetooth device, play the first audio signal.
[0321] In some embodiments, if a user plays first audio using a first Bluetooth device, the first Bluetooth device can send a playback notification to the display device 200 and send the first audio. The display device 200 can determine that the first Bluetooth device is in audio playback mode based on the playback notification, and after determining that the first Bluetooth device is in audio playback mode, exit the prompt page and display the display page of the art mode application.
[0322] In some embodiments, the Android BluetoothA2dp API can be used to monitor the connection status and audio playback status of the first Bluetooth device. The code design for implementing the display device 200's monitoring of the first Bluetooth device's connection status and audio playback status can be referenced in the following example:
[0323] / / Monitor the connection status of Bluetooth audio devices
[0324] bluetoothAdapter.getProfileProxy(this, new BluetoothProfile.ServiceListener() {
[0325] @Override
[0326] public void onServiceConnected(int profile, BluetoothProfile proxy) {
[0327] if (profile == BluetoothProfile.A2DP) {
[0328] / / Get the connection status of A2DP (Advanced Audio Distribution Profile)
[0329] int state = proxy.getConnectionState(proxy.getConnectedDevices().get(0));
[0330] if(state == BluetoothProfile.STATE_CONNECTED || state ==BluetoothProfile.STATE_PLAYING) {
[0331] / / Bluetooth audio device is connected or playing
[0332] } else {
[0333] / / Bluetooth audio device not connected or not playing
[0334] }
[0335] }
[0336] }
[0337] @Override
[0338] public void onServiceDisconnected(int profile) {
[0339] / / Release BluetoothProfile proxy
[0340] }
[0341] }, BluetoothProfile.A2DP);
[0342] After receiving the first audio, the display device 200 plays the first audio and displays the display page of the art mode application, thereby creating an atmosphere that the user likes.
[0343] In some embodiments, when the display device 200 determines that the first Bluetooth device is in audio playback mode, it can display device playback information on the display page. This playback information may include the device name and device icon of the first Bluetooth device, where the device icon identifies the device type of the first Bluetooth device. (See also...) Figure 18 The display page shown indicates that when device 200 determines that the first Bluetooth device is in audio playback mode, if the first Bluetooth device is a mobile phone and the device name is "my phone", an icon identifying the mobile phone and "my phone" can be displayed in the upper right corner of the display page.
[0344] In some embodiments, the display device 200 hides the playback information after a preset duration. This avoids affecting the display effect of the artwork.
[0345] In some embodiments, the code design for implementing the display device 200 to hide device playback information can refer to the following example:
[0346] / / Display device information
[0347] TextView deviceInfoTextView = findViewById(R.id.device_info_text_view);
[0348] deviceInfoTextView.setText("Device Name: XXXX");
[0349] / / Automatically hidden device information
[0350] Handler handler = new Handler();
[0351] handler.postDelayed(new Runnable() {
[0352] @Override
[0353] public void run() {
[0354] / / Hide device information
[0355] deviceInfoTextView.setVisibility(View.GONE);
[0356] }
[0357] }, 10000);
[0358] In some embodiments, if the display device 200 is currently playing a second audio, it can mute the second audio when it detects that the first Bluetooth device is in audio playback mode, in order to avoid the playback quality of the first audio being affected by the playback of the second audio.
[0359] In some embodiments, when the display device 200 detects that the first Bluetooth device is in audio playback mode, it can control the first player to be muted. The first player is used to play second audio. In this way, the volume of the second audio is 0, which is a muted effect and does not affect the playback quality of the first audio.
[0360] In some embodiments, when the display device 200 detects that the first Bluetooth device is in audio playback mode, it can control the pause or shutdown of the audio channel for playing the second audio, thereby pausing or exiting the playback of the second audio and achieving the effect of muting the second audio. Conversely, the display device 200 can activate the audio channel for the first audio to play the first audio.
[0361] In some embodiments, the display device 200 may simultaneously establish connections with a first Bluetooth device and a second Bluetooth device, wherein the number of second Bluetooth devices is at least one.
[0362] In some embodiments, after the display device 200 has its system Bluetooth function enabled and its device visibility function enabled, it can be discovered by other Bluetooth devices. The display device 200 can respond to a pairing request from a second Bluetooth device, and upon user consent, pair with the second Bluetooth device and establish a connection.
[0363] In some embodiments, if the second Bluetooth device is a Bluetooth device that has been paired with the display device 200, the display device 200 may display a list of paired devices in response to the user's operation of opening the Bluetooth music function of the application, and establish a connection with the second Bluetooth device in response to the user's instruction to select the item of the second Bluetooth device from the list.
[0364] In some embodiments, when the display device 200 is connected to multiple Bluetooth devices simultaneously, one of the Bluetooth devices can be selected to provide audio. The display device 200 can be configured to... Figure 19 The process for switching Bluetooth devices is shown below. The specific steps are as follows:
[0365] S1901, in response to user control commands, displays a list of connected devices.
[0366] In some embodiments, the art mode application can be configured to display a list button on the display page when using the Bluetooth music function. Users can input control commands by selecting the list button, and the display device 200 will respond to the control commands by displaying a list of connected devices.
[0367] When both the first and second Bluetooth devices are connected simultaneously, the list of connected devices includes entries for both the first and second Bluetooth devices.
[0368] You can refer to this. Figure 20 The display page shown shows that device 200 responds to the user's command to select list button 2001, and displays a list of connected devices 2002 on the display page. If the device name of the first Bluetooth device is "my phone" and the device name of the second Bluetooth device is "living room TV", then the list of connected devices 2002 can include items from both "my phone" and "living room TV".
[0369] S1902, in response to the user's instruction to select an item on the second Bluetooth device, terminate receiving the first audio from the first Bluetooth device and start receiving audio sent by the second Bluetooth device.
[0370] The display device 200 is currently playing the first audio provided by the first Bluetooth device. If the user wants to use the second Bluetooth device, i.e., wants to play the audio provided by the second Bluetooth device, they can select the second Bluetooth device from the list of connected devices. In response to this instruction, the display device 200 switches the audio source device to the second Bluetooth device, maintaining the connection with the first Bluetooth device but no longer receiving the first audio from the first Bluetooth device, and starts receiving the third audio from the second Bluetooth device. The display device 200 can also send a first notification to the first Bluetooth device to notify it to stop receiving audio. The first Bluetooth device can pause playing the first audio based on this first notification. The display device 200 can also send a second notification to the second Bluetooth device to notify it that it can receive the audio it sends.
[0371] S1903: After receiving the third audio signal from the second Bluetooth device, play the third audio signal.
[0372] When the display device 200 switches the audio source device to the second Bluetooth device, the second Bluetooth device can be in audio playback mode, audio paused playback mode, or audio stopped playback mode. If the user opens a music application on the second Bluetooth device and plays a third audio file, the user can send the third audio file to the display device 200. After receiving the third audio file, the display device 200 will play the third audio file.
[0373] In some embodiments, after recognizing that the second Bluetooth device is in audio playback mode, the display device 200 can display device playback information on the display page. This playback information may include the device name and device icon of the second Bluetooth device, with the device icon identifying the device type of the second Bluetooth device. After a preset duration, the playback information is then hidden. The process of displaying and hiding the playback information can be referenced from the process of displaying and hiding the playback information of the first Bluetooth device, and will not be elaborated here.
[0374] In some embodiments, the display device 200 can be configured to unmute the second audio when it detects that the currently used Bluetooth device has paused audio playback, or when it detects a disconnection from the currently used Bluetooth device. Disconnection from the currently used Bluetooth device may include: the currently used Bluetooth device disconnecting from the display device 200, or the display device 200 exiting the art mode application, etc.
[0375] In some embodiments, the code design for implementing the display device 200 to mute the second audio can refer to the following example:
[0376] Video playback control:
[0377] private void muteVideo() {
[0378] / / Mute video playback
[0379] videoViewPlayer.setVolume(0, 0); / / Set the volume to 0
[0380] }
[0381] private void unmuteVideo() {
[0382] / / Restore video playback sound
[0383] videoViewPlayer.setVolume(1, 1); / / Set the volume to 1
[0384] }
[0385] In some embodiments, the display device 200 may be configured to switch back to audio transmission mode, i.e., source mode, as an audio source device when it detects that all connected Bluetooth devices have been disconnected, or after exiting the art mode application.
[0386] In some embodiments, the display device 200 displays a disconnection prompt message when it detects a disconnection from the currently used Bluetooth device. The currently used Bluetooth device is the Bluetooth device currently providing audio to the display device 200. For example, the currently used Bluetooth device may be a first Bluetooth device with the device name "my phone," which can be referenced... Figure 21 The displayed page shows a disconnection message, such as "Disconnected from my phone". In some embodiments, the disconnection message can be automatically hidden after a preset time.
[0387] In some embodiments, if the display device 200 is in source mode and connected to a third Bluetooth device that is in sink mode, such as a Bluetooth speaker, the connection with the third Bluetooth device will be disconnected after switching to sink mode. After switching back to source mode, the display device 200 can automatically reconnect to the third Bluetooth device.
[0388] In some embodiments, the display device 200 may also be configured with a second application. After the second application is opened, the display device 200 will enter a second mode. In the second mode, the display device 200 will act as an audio receiving device, equivalent to a speaker, for receiving and playing audio sent by other Bluetooth devices. The second application may also be called a speaker application, speaker mode application, my music application, etc. The second mode may also be called speaker mode, my music mode, etc.
[0389] In this embodiment of the application, the second application is a speaker mode application, and the second mode is a speaker mode, as an example for specific explanation.
[0390] In some embodiments, the display device 200 can be configured to... Figure 22 The process shown here allows you to enter speaker mode. The specific steps are as follows:
[0391] S2201 responds to the user's operation of opening the speaker mode application, enters speaker mode, and after entering speaker mode, displays an operation guide page and switches to audio receiving mode.
[0392] In some embodiments, the control device 100 may be configured with a dedicated button, such as a music button, for opening the speaker mode application, and the display device 200 may enter the speaker mode application in response to a user's command based on the music button input.
[0393] In some embodiments, the display device 200 may set an icon for the speaker mode application on the main page, sidebar, and / or shortcut menu. The display device 200 may enter the speaker mode application in response to a user's instruction to select the icon.
[0394] After entering speaker mode, display device 200 will switch to audio receiving mode, i.e., switch to sink mode. In this way, display device 200 can act as an audio receiving device in speaker mode, and after pairing and connecting with other Bluetooth devices, it can receive and play audio sent by other Bluetooth devices.
[0395] In some embodiments, after the display device 200 enters the speaker mode application, it can refer to step S1201 to turn on the first Bluetooth switch, the second Bluetooth switch, and the third Bluetooth switch to ensure the availability of the system's Bluetooth function and to be discoverable by non-designated Bluetooth devices, thereby ensuring the availability of the speaker mode. When exiting the speaker mode or disconnecting from the Bluetooth device, the default state of the first Bluetooth switch, the second Bluetooth switch, and the third Bluetooth switch is restored, which will not be elaborated here.
[0396] The operation guide page in speaker mode can be referenced from the operation guide page in art mode, and will not be repeated here.
[0397] S2202: Display the pairing page based on the pairing request from the first Bluetooth device.
[0398] S2203, in response to the user's instruction to agree to pairing, pairs with the first Bluetooth device and displays a prompt page after successful pairing with the first Bluetooth device.
[0399] Steps S2202-S2203 can be referred to steps S1202-S1203, and will not be repeated here.
[0400] After successfully pairing with a Bluetooth device, the display device 200 saves the pairing information of the Bluetooth device so that when entering speaker mode again, it can display a list of paired devices, allowing the user to select the previously paired Bluetooth device from the list and directly use the stored pairing information to quickly pair and connect with these Bluetooth devices. This process can be referred to as the process of re-establishing a connection with a paired Bluetooth device in art mode, which will not be elaborated here.
[0401] In some embodiments, the display device 200 may automatically exit the prompt page after a first period of time.
[0402] In some embodiments, the display device 200 may exit the prompt page in response to a user's instruction based on the back key input of the control device 100.
[0403] After exiting the prompt page, if the first Bluetooth device is not in playback mode, a waiting page can be displayed. This waiting page can be the default page for speaker mode, used to prompt the user to wait for music to play.
[0404] S2204: After receiving the first audio from the first Bluetooth device, display the music playback page and play the first audio.
[0405] In some embodiments, if a user plays first audio using a first Bluetooth device, the first Bluetooth device can send a playback notification to the display device 200 and send the first audio. The display device 200 can determine that the first Bluetooth device is in audio playback mode based on the playback notification, and after determining that the first Bluetooth device is in audio playback mode, exit the prompt page and display a music playback page.
[0406] In some embodiments, the process of display device 200 monitoring the audio playback status of the first Bluetooth device can be referred to step S1204, which will not be elaborated here.
[0407] In some embodiments, the display device 200 displays device playback information on a music playback page. The device playback information may include the device name and device icon of the first Bluetooth device, and the device icon is used to identify the device type of the first Bluetooth device.
[0408] You can refer to this. Figure 23 If the device type of the first Bluetooth device is a mobile phone and the device name is "my phone", then the music playback page shown can include an icon identifying the mobile phone and "my phone".
[0409] In some embodiments, a music playback page may include audio information, a playback progress bar, playback controls, lyrics, a spectrum analysis graph, etc.
[0410] The audio information includes details about the currently playing audio, such as its name and description. (For reference...) Figure 23 The relevant information for the first audio file includes the audio name, such as AAAA, and the artist: BBBB.
[0411] The playback progress bar indicates the total duration of the first audio clip and the current playback duration. (See reference...) Figure 23 The playback progress bar 2301 shown has the total duration of the first audio displayed on the right, such as 4 minutes and 23 seconds, and the duration of playback displayed on the left, such as 1 minute and 6 seconds.
[0412] Playback controls are used to control the playback of the first audio track. These controls can include forward and backward toss controls. The forward toss control switches between the previous and next audio tracks in the current playlist, while the backward toss control switches between the next and next audio tracks in the current playlist. (See reference...) Figure 23 The music playback page shown includes a forward toggle control 2302 and a backward toggle control 2303. When the current audio is playing, the playback controls may also include a pause control to pause playback of the current audio. (See reference...) Figure 23 The music playback page shown includes a pause / play control 2304. When the current audio is paused, the playback control also includes a start / play control to begin playing the current audio. See reference... Figure 23 The music playback page shown includes a playback control. In some embodiments, in response to a user's instruction to select the playback control, the display device 200 sends a control instruction to a first Bluetooth device. This control instruction includes information about the playback control. The first Bluetooth device, in response to the control instruction, performs a corresponding task based on the information about the playback control. For example, the control instruction may include information about switching to the previous audio track; the first Bluetooth device switches to playing the previous audio track and sends this previous audio track to the display device 200, thus achieving the effect of switching to playing the previous audio track on the display device 200.
[0413] The lyrics are those corresponding to the current audio clip. The display device 200 can display the corresponding lyrics according to the playback progress of the first audio clip to achieve audio-visual synchronization. (See reference.) Figure 23 The music playback page shown displays the corresponding lyrics, such as CCCCCCCC, when the playback progress is 1 minute and 6 seconds.
[0414] Spectrum analysis graphs are used to represent the frequency distribution and volume changes of the current audio, which can increase the interest in audio playback. (For reference...) Figure 23 The music playback page shown includes a spectrum analysis diagram 2305 of the first audio.
[0415] In some embodiments, if the display device 200 is currently playing a second audio, it can mute the second audio when it detects that the first Bluetooth device is in audio playback mode, in order to avoid the second audio playback affecting the playback quality of the first audio. The process of mute the second audio in speaker mode can be referred to the process of mute the second audio in art mode, and will not be described in detail here.
[0416] In some embodiments, in speaker mode, the display device 200 can simultaneously connect to a first Bluetooth device and a second Bluetooth device, wherein the number of second Bluetooth devices is at least one. In this case, the display device 200 can switch the Bluetooth device providing audio. The display device 200 can then... Figure 24 The process shown here involves switching to a Bluetooth device that provides audio. The specific steps are as follows:
[0417] S2401, in response to user control commands, displays a list of connected devices on the music playback page.
[0418] In some embodiments, the speaker mode application can configure a list button on the music playback page, which serves as an entry point for the list of connected devices. See also... Figure 23 The music playback page shown may include a list button 2306. Users can select the list button to input control commands, instructing the display device 200 to open a list of connected devices.
[0419] In response to the control command, display device 200 displays a list of connected devices on the music playback page, including items for currently connected Bluetooth devices. (See also...) Figure 25 The music playback page shown displays a list of connected devices 2501. If the currently connected Bluetooth devices include a first Bluetooth device, such as the device name "my phone", and a second Bluetooth device, such as the device name "living room TV", then the list of connected devices 2501 includes items for "my phone" and "living room TV".
[0420] S2402, in response to the user's instruction to select an item on the second Bluetooth device, terminates the reception of the first audio from the first Bluetooth device and begins the reception of the third audio sent by the second Bluetooth device.
[0421] S2403, after receiving the third audio sent by the second Bluetooth device, plays the third audio.
[0422] Steps S2402-S2403 can be referred to steps S1902-S1903, and will not be repeated here.
[0423] When the display device 200 determines that the second Bluetooth device is in audio playback mode, it displays the corresponding music playback page according to the third audio, and displays the device playback information of the second Bluetooth device within the music playback page.
[0424] In some embodiments, the display device 200 can be configured to unmute the second audio when it detects that the currently used Bluetooth device has paused audio playback, or when it detects a disconnection from the currently used Bluetooth device. Disconnection from the currently used Bluetooth device may include: the currently used Bluetooth device disconnecting from the display device 200, or the display device 200 exiting the art mode application, etc. The above process can be referred to the corresponding process in art mode, and will not be elaborated here.
[0425] In some embodiments, the speaker mode application can also play audio with the screen off, and the display device 200 can follow the instructions. Figure 26 The process shown adjusts the status of the display screen. The specific steps are as follows:
[0426] S2601, in response to the user's screen-off command, adjusts the display to a screen-off state while continuing to play the first audio.
[0427] In some embodiments, the speaker mode application may include a screen-off button on the music playback page. Users can select this screen-off button to input a screen-off command.
[0428] In response to the screen-off command, display device 200 adjusts the display screen to an off state while continuing to play the first audio. In this way, display device 200 no longer displays an image, acting solely as a speaker to play audio, thus avoiding disturbing the user by displaying visuals.
[0429] S2602, in response to the user's screen-on command, adjusts the display to the screen-on state and continues playing the first audio.
[0430] Users can input a screen-on command by pressing any button on the control device 100. This allows the display device 200 to immediately switch back to the screen-on state to show the user the music playback page. Furthermore, during this process, the primary audio file is always played to avoid affecting the user's auditory experience.
[0431] The art mode application and the speaker mode application each have their own focus: one emphasizes visual presentation and the other emphasizes auditory presentation. If the two can be switched, a better audio-visual presentation effect can be achieved.
[0432] However, both the Art Mode and Speaker Mode applications are configured to switch the display device 200 back to Source Mode upon exiting the application. Therefore, after exiting the application, the display device 200 will be unable to receive audio from the audio transmitter as an audio receiver, and thus cannot continue playing audio. In other words, when the display device 200 is playing audio as an audio receiver, switching between Art Mode and Speaker Mode will inevitably result in switching to Source Mode upon exiting the current application, causing a disconnection from the Bluetooth device and interrupting music playback. Upon entering the next mode, the manual reconnection process to the Bluetooth device must be repeated to resume music playback. In short, the continuity of music playback cannot be guaranteed when switching between Art Mode and Speaker Mode, resulting in a poor overall experience when using Art Mode and Speaker Mode in combination.
[0433] Based on the above analysis of the reasons for the interruption of music playback, it can be seen that the fundamental reason for the music playback interruption is that the display device 200 switches from sink mode back to source mode. To solve the above problem, this application provides a method for switching between art mode and speaker mode, which avoids interrupting audio playback by locking the system's Bluetooth function to the enabled state and locking the sink mode. That is, when switching from speaker mode to art mode, the first Bluetooth switch needs to be kept on, and the Bluetooth mode needs to be kept in audio receiving mode. Similarly, when switching from art mode to speaker mode, the first Bluetooth switch needs to be kept on, and the Bluetooth mode needs to be kept in audio receiving mode.
[0434] In some embodiments, the display device 200 can be configured to... Figure 27 The process shown here involves switching from speaker mode to art mode. The specific steps are as follows:
[0435] In speaker mode, the S2701 responds to the user's switching command and identifies the target application after switching.
[0436] As can be seen from step S2201, after entering speaker mode, the display device 200 automatically switches to sink mode. In speaker mode, the currently connected first audio device may or may not be in audio playback mode, or the display device 200 may not be connected to a Bluetooth device in speaker mode. In other words, as long as it is in speaker mode, the display device 200 is in sink mode.
[0437] If a user wants to use the target application, they can open it using the toggle command.
[0438] Taking the target application as an art mode application as an example, in some embodiments, the user can input a switching command by using a button on the control device 100 dedicated to art mode, such as the art mode button, to instruct the display device 200 to open the art mode application.
[0439] In some embodiments, the display device 200 may have an icon for the art mode application configured in the sidebar or shortcut menu. This allows the user to control the display device 200 to open the sidebar or shortcut menu and input a switching command by selecting the art mode application icon. In speaker mode, the user can input a menu command using the menu button on the control device 100 to instruct the display device 200 to open the sidebar or shortcut menu. See also... Figure 28 As shown in ①, the music playback page can display a sidebar 2801 in response to menu commands. The sidebar 2801 may include icons for the art mode application. (See reference...) Figure 28 As shown in ②, the display device 200 can display a shortcut menu 2802 on the music playback page in response to menu commands. The shortcut menu 2802 may include an icon for the art mode application.
[0440] In some embodiments, based on the activation of the art mode, users can input switching commands by briefly pressing the power button.
[0441] In response to the switching command, the display device 200 will switch to displaying the page of the target application.
[0442] In some embodiments, the display device 200 can identify the target application by recognizing the top activity. For example, if the top activity is identified as art mode, the target application can be determined to be an art mode application. If the top activity is not identified as art mode, the target application can be determined to be not an art mode application, but another application.
[0443] In other embodiments, the display device 200 can identify the target application by listening to key events. Based on key events that launch an art mode application, such as art mode key events, power key events, or OK key events based on the icon of an art mode application, if the listened-to key event is a first specified key event, such as art mode key events, power key events, or OK key events based on the icon of an art mode application, then the target application can be determined to be an art mode application. If the listened-to key event is not an art mode key event, power key event, or OK key event based on the icon of an art mode application, then the target application can be determined to be not an art mode application, but another application.
[0444] S2702, if the target application is an art mode application, then enter art mode, lock the first Bluetooth switch to the on state, and lock the Bluetooth mode to audio receiving mode.
[0445] If the target application is an art mode application, then to ensure continuous audio playback, the system's Bluetooth function needs to be always available to prevent disconnection from Bluetooth devices, and the display device 200 needs to be always in sink mode to receive audio transmitted by the audio transmitting device. Therefore, the display device 200 is locked with the system Bluetooth function enabled and locked in sink mode.
[0446] In some embodiments, the display device 200 is in sink mode in speaker mode. If the display device 200 is connected to the first Bluetooth device and plays the first audio provided by the first Bluetooth device, the user can browse the audio information of the first audio through the music playback page and control the playback of the first audio. If the user wants to browse artwork at the same time, they can switch to art mode, such as by pressing the power button, the art mode button, or selecting the art mode application icon in the sidebar / shortcut menu. After entering art mode, the display device 200 will display the art mode application's display page and display the artwork within the display page. After recognizing that the switched application is an art mode application, the display device 200 locks the system Bluetooth function to the enabled state and locks itself in sink mode. In this way, the display device 200 can maintain a connection with the first Bluetooth device and receive the first audio sent by the first Bluetooth device during the process of switching to art mode, thus ensuring continuous playback of the first audio.
[0447] In some embodiments, in speaker mode, the display device 200 is in sink mode. If the display device 200 is not connected to a Bluetooth device, after switching to art mode, the system Bluetooth function is locked to be enabled, and the device remains in sink mode. In art mode, the display device 200 can directly pair and connect to the first Bluetooth device in response to the user opening the Bluetooth music function of the application without switching modes.
[0448] In some embodiments, after switching to Art Mode, if a first Bluetooth device is detected to be currently connected and playing audio, the device playback information of the first Bluetooth device can be displayed on the display page, and then hidden after a preset duration. This allows the user to be notified of the currently used Bluetooth device after switching modes.
[0449] S2703, if the target application is not an art mode application, restore the default state of the first Bluetooth switch and switch the Bluetooth mode from audio receive mode back to audio send mode.
[0450] If the switched application is not an Art Mode application, it means that the display device 200 is not currently in Speaker Mode or Art Mode. In this case, it is equivalent to directly exiting Speaker Mode, restoring the display device 200 to the default state of the system Bluetooth function, and switching back to Source Mode.
[0451] In some embodiments, the display device 200 can be configured to... Figure 29 The process shown here involves switching from speaker mode to art mode. The specific steps are as follows:
[0452] In Art Mode, the S2901 responds to the user's switching command, identifies the target application after switching, and identifies whether the Bluetooth mode is in audio receiving mode.
[0453] In some embodiments, when the display device 200 is in Art Mode, it switches to Sink Mode in response to a user's action of opening the Bluetooth music function in an application. Specifically, when the display device 200 is not connected to a Bluetooth device, it is in Sink Mode if it displays an operation guide page or a pairing page. If the display device 200 exits the operation guide page or pairing page in response to a user's instruction, it switches back to Source Mode. After establishing a connection with a Bluetooth device, the display device 200 remains in Sink Mode. If the display device 200 disconnects after establishing a connection with a Bluetooth device, it switches back to Sink Mode.
[0454] If a user wants to use the target application, they can open it using the toggle command.
[0455] Taking a speaker mode application as an example, in some embodiments, the user can input a switching command by using a button on the control device 100 dedicated to speaker mode, such as the music button, to instruct the display device 200 to open the speaker mode application.
[0456] In some embodiments, the display device 200 may have an icon for the speaker mode application configured in the sidebar or shortcut menu. This allows the user to control the display device 200 to open the sidebar or shortcut menu and input a switching command by selecting the icon for the art mode application. In speaker mode, the user can input a menu command using the menu button on the control device 100 to instruct the display device 200 to open the sidebar or shortcut menu. See also... Figure 28 As shown in ①, the music playback page can display a sidebar 2801 in response to menu commands. The sidebar 2801 may include icons for speaker mode applications. (See reference...) Figure 28 As shown in ②, the display device 200 can display a shortcut menu 2802 on the music playback page in response to menu commands. The shortcut menu 2802 may include an icon for the speaker mode application.
[0457] In response to the switching command, the display device 200 will switch to displaying the page of the target application.
[0458] In some embodiments, the display device 200 can identify the target application by recognizing the top activity. For example, if the top activity is identified as "My Music" (a speaker mode application), then the target application can be determined to be a speaker mode application. If the top activity is not "My Music," then the target application can be determined to be not a speaker mode application, but another application.
[0459] In other embodiments, the display device 200 can identify the target application by listening to key events. Based on key events that launch a speaker mode application, such as a music key event, or an OK key event based on the speaker mode application's icon, if the listened-to key event is a second specified key event, such as a music key event or an OK key event based on the speaker mode application's icon, then the target application can be determined to be a speaker mode application. If the listened-to key event is neither a music key event nor an OK key event based on the speaker mode application's icon, then the target application can be determined to be not a speaker mode application, but another application.
[0460] S2902, if the target application is a speaker mode application, then enter speaker mode, lock the first Bluetooth switch to the on state, and lock the Bluetooth mode to audio receiving mode.
[0461] If the target application is a speaker-mode application, then to ensure continuous audio playback, the system's Bluetooth function must always be available to prevent disconnection from Bluetooth devices, and the display device 200 must always be in sink mode to receive audio transmitted by the audio transmitting device. Therefore, the display device 200 is locked with the system Bluetooth function enabled and locked in sink mode.
[0462] In some embodiments, in art mode, the display device 200 is in sink mode. If the display device 200 connects to a first Bluetooth device based on the Bluetooth music function and plays the first audio provided by the first Bluetooth device, the display device 200 displays an artwork and plays the first audio. If the user wants to browse the audio information of the first audio and control its playback via the display device 200, they can switch to speaker mode, such as by pressing the music button or selecting the speaker mode application icon in the sidebar / shortcut menu. After recognizing that the switched application is a speaker mode application, the display device 200 locks the system Bluetooth function to the enabled state and locks itself in sink mode. In this way, the display device 200 can maintain a connection with the first Bluetooth device and receive the first audio sent by the first Bluetooth device during the switch to speaker mode, thus ensuring continuous playback of the first audio. In speaker mode, the display device 200 displays a music playback page and displays the audio information of the first audio within that page.
[0463] In some embodiments, in Art Mode, the display device 200 is in sink mode but has not yet connected to a Bluetooth device, such as when displaying an operation guide page or pairing page. After switching to speaker mode, the system Bluetooth function is locked in the enabled state, and the device remains in sink mode. In speaker mode, the display device 200 can directly pair and connect to the first Bluetooth device without switching modes.
[0464] In some embodiments, after switching to speaker mode, if a first Bluetooth device is detected as currently connected, the device playback information of the first Bluetooth device can be displayed on the music playback page. This allows the user to be notified of the currently used Bluetooth device after switching modes.
[0465] S2903, if the target application is not a speaker mode application, restore the default state of the first Bluetooth switch and switch the Bluetooth mode from audio receive mode back to audio send mode.
[0466] If the switched application is not a speaker mode application, it means that the display device 200 is not currently in either art mode or speaker mode. In this case, it is equivalent to directly exiting art mode, restoring the display device 200 to the default state of the system Bluetooth function, and switching back to source mode.
[0467] In some embodiments, the display device 200 can manage the activation and deactivation of the system's Bluetooth function, as well as the switching between source and sink modes, through the BluetoothSinkManager class. Taking the method of identifying the target application by recognizing the top activity as an example, the BluetoothSinkManager class can encapsulate methods for determining the current top activity. MyMusicActivity and ArtModeActivity respectively start Sink mode in their onCreate methods and determine whether Sink mode needs to be stopped based on the Top Activity in their onStop methods.
[0468] In some embodiments, the code design for adjusting the state and mode of the system's Bluetooth function when the display device 200 is in speaker mode, art mode, and switching from speaker mode to art mode and from art mode to speaker mode can be referenced in the following example:
[0469] public class BluetoothSinkManager {
[0470] private BluetoothAdapter bluetoothAdapter;
[0471] private Context context;
[0472] public BluetoothSinkManager(Context context) {
[0473] this.context = context;
[0474] bluetoothAdapter = BluetoothAdapter.getDefaultAdapter();
[0475] }
[0476] public void startSinkMode() {
[0477] / / Implement the logic for starting Sink mode
[0478] / / Start the A2DP Sink service, etc.
[0479] Log.d("BluetoothSinkManager", "Sink mode started");
[0480] }
[0481] public void stopSinkMode() {
[0482] / / Implement the logic to stop Sink mode
[0483] / / Stop A2DP Sink service, etc.
[0484] Log.d("BluetoothSinkManager", "Sink mode stopped");
[0485] }
[0486] public boolean isArtModeActivityTop() {
[0487] / / Check if the current TopActivity is in ArtMode
[0488] ActivityManager am = (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE);
[0489] List<ActivityManager.RunningTaskInfo> taskInfo = am.getRunningTasks(1);
[0490] if (taskInfo != null&&!taskInfo.isEmpty()) {
[0491] ComponentName topActivity = taskInfo.get(0).topActivity;
[0492] return topActivity.getClassName().equals("com.example.artmode.ArtModeActivity");
[0493] }
[0494] return false;
[0495] }
[0496] public boolean isMyMusicActivityTop() {
[0497] / / Determine whether the current top activity is My Music
[0498] ActivityManager am = (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE);
[0499] List<ActivityManager.RunningTaskInfo> taskInfo = am.getRunningTasks(1);
[0500] if (taskInfo != null &&!taskInfo.isEmpty()) {
[0501] ComponentName topActivity = taskInfo.get(0).topActivity;
[0502] return topActivity.getClassName().equals("com.example.mymusic.MyMusicActivity");
[0503] }
[0504] return false;
[0505] }
[0506] }
[0507] My Music Activity
[0508] In the Activity of the My Music application, manage the start and stop of the Sink mode.
[0509] public class MyMusicActivity extends AppCompatActivity {
[0510] private BluetoothSinkManager bluetoothSinkManager;
[0511] @Override
[0512] protected void onCreate(Bundle savedInstanceState) {
[0513] super.onCreate(savedInstanceState);
[0514] setContentView(R.layout.activity_my_music);
[0515] bluetoothSinkManager = new BluetoothSinkManager(this);
[0516] bluetoothSinkManager.startSinkMode();
[0517] }
[0518] @Override
[0519] protected void onStop() {
[0520] super.onStop();
[0521] if (!bluetoothSinkManager.isArtModeActivityTop()) {
[0522] bluetoothSinkManager.stopSinkMode();
[0523] }
[0524] }
[0525] }
[0526] ArtMode Activity
[0527] In the Activity of the ArtMode application, manage the start and stop of the Sink mode.
[0528] public class ArtModeActivity extends AppCompatActivity {
[0529] private BluetoothSinkManager bluetoothSinkManager;
[0530] @Override
[0531] protected void onCreate(Bundle savedInstanceState) {
[0532] super.onCreate(savedInstanceState);
[0533] setContentView(R.layout.activity_art_mode);
[0534] bluetoothSinkManager = new BluetoothSinkManager(this);
[0535] bluetoothSinkManager.startSinkMode();
[0536] }
[0537] @Override
[0538] protected void onStop() {
[0539] super.onStop();
[0540] if (!bluetoothSinkManager.isMyMusicActivityTop()) {
[0541] bluetoothSinkManager.stopSinkMode();
[0542] }
[0543] }
[0544] }
[0545] For ease of explanation, the above description has been provided in conjunction with specific embodiments. However, the discussion in some embodiments above is not intended to be exhaustive or to limit the embodiments to the specific forms disclosed above. Various modifications and variations can be obtained based on the above teachings. The selection and description of the above embodiments are for the purpose of better explaining the content of this disclosure, thereby enabling those skilled in the art to better utilize the embodiments.< / bluetoothdevice> < / bluetoothdevice>
Claims
1. A display device, characterized in that, include: The controller is configured as follows: In response to the user opening the second application, the system enters the second mode and switches the Bluetooth mode from audio transmission mode to audio reception mode. When the first Bluetooth switch is in the off state by default, the first Bluetooth switch is turned on. The first Bluetooth switch is used to control the opening and closing of the system's Bluetooth function. In the second mode, Bluetooth devices can be connected and audio provided by the connected Bluetooth devices can be played. Responding to the user's switching command, identify the target application after switching; If the target application is the first application, then enter the first mode and lock the first Bluetooth switch in the on state, and lock the Bluetooth mode in the audio receiving mode. In the first mode, an artwork is displayed. When the first application is switched in from the second application, the first Bluetooth switch is kept in the on state and the Bluetooth mode is kept in the audio receiving mode. If the target application is not the first application, then restore the default state of the first Bluetooth switch and switch the Bluetooth mode from the audio receiving mode back to the audio sending mode.
2. The display device according to claim 1, characterized in that, The controller responds to the user's switching command, identifies the target application after the switch, and is configured as follows: Identify the activity name of the top-level activity; If the activity name of the top-level activity is the name of the first application, then the target application is the first application; If the activity name of the top-level activity is not the name of the first application, then the target application is not the first application.
3. The display device according to claim 1, characterized in that, The controller responds to the user's switching command, identifies the target application after the switch, and is configured as follows: Identify the key events corresponding to the switching command; If the key event is a first specified key event, then the target application is the first application; If the key event is not the first specified key event, and the first specified key event is used to trigger the opening of the first application, then the target application is not the first application.
4. The display device according to claim 1, characterized in that, The controller, in response to the user opening the second application, enters the second mode and switches the Bluetooth mode from audio transmission mode to audio reception mode. It is also configured to: In response to the user opening the second application, the system enters the second mode and displays an operation guidance page. The operation guidance page includes guidance information that instructs the user to pair the display device with a Bluetooth device. After establishing a connection with the first Bluetooth device and receiving the first audio signal sent by the first Bluetooth device, the first audio signal is played, and a music playback page is displayed based on the first audio signal.
5. The display device according to claim 4, characterized in that, After the controller displays the music playback page based on the first audio, it is further configured to: In response to the user's screen-off command, the display is switched to a screen-off state while the first audio continues to play; In response to the user's screen-on command, the display screen is switched to a screen-on state, and the first audio is played continuously.
6. The display device according to claim 1, characterized in that, If the target application is the first application, the controller enters a first mode, locks the first Bluetooth switch to the on state, and locks the Bluetooth mode to the audio receiving mode, and is further configured to: Display the display page of the first application and display artwork within the display page, wherein the display page is the user display interface set in the first mode; When a connection to the first Bluetooth device is detected and the first Bluetooth device is in audio playback mode, the device playback information of the first Bluetooth device is displayed on the display page. The device playback information of the first Bluetooth device includes the device name and device icon of the first Bluetooth device.
7. A display device, characterized in that, include: The controller is configured as follows: In response to the user's operation of opening the first application, the system enters the first mode and displays a display page, and displays artwork on the display page. The display page is the user display interface set in the first mode. When using the Bluetooth music function of the application in the first mode, the Bluetooth mode is switched from audio sending mode to audio receiving mode. When the default state of the first Bluetooth switch is off, the first Bluetooth switch is turned on. The first Bluetooth switch is used to control the system Bluetooth function to be turned on and off. In response to the user's switching command, the target application after switching is identified, and it is also identified whether the Bluetooth mode is in the audio receiving mode; If the target application is the second application, then enter the second mode and lock the first Bluetooth switch to the on state and lock the Bluetooth mode to the audio receiving mode. In the second mode, a Bluetooth device can be connected and the audio provided by the connected Bluetooth device can be played. The second application is the application that keeps the first Bluetooth switch on the on state and keeps the Bluetooth mode to the audio receiving mode when switching from the first application. If the target application is not the second application, then restore the default state of the first Bluetooth switch and switch the Bluetooth mode from the audio receiving mode back to the audio sending mode.
8. The display device according to claim 7, characterized in that, The controller is also configured to: In response to the user's operation of activating the Bluetooth music function of the application, the Bluetooth mode is switched from the audio transmission mode to the audio reception mode; When not connected to a Bluetooth device, the audio receiving mode is maintained if the user is on the operation guide page or the pairing page; if the user exits the operation guide page or the pairing page in response to a return command, the audio sending mode is switched back. After connecting to a Bluetooth device, maintain the audio receiving mode, and after disconnecting from the Bluetooth device, switch back to the audio sending mode.
9. The display device according to claim 7, characterized in that, The controller responds to the user's switching command, identifies the target application after the switch, and is configured as follows: Identify the activity name of the top-level activity; If the activity name of the top-level activity is the name of the second application, then the target application is the second application; If the activity name of the top-level activity is not the name of the second application, then the target application is not the second application.
10. The display device according to claim 7, characterized in that, The controller responds to the user's switching command, identifies the target application after the switch, and is configured as follows: Identify the key events corresponding to the switching command; If the key event is a second specified key event, and the second specified key event is used to trigger the opening of the second application, then the target application is the second application; If the key event is not the second specified key event, then the target application is not the second application.
11. The display device according to claim 7, characterized in that, If the target application is the second application, the controller enters the second mode and locks the first Bluetooth switch in the on state, and locks the Bluetooth mode in the audio receiving mode, and is also configured to: When a connection to the first Bluetooth device is detected and the first Bluetooth device is in audio playback mode, a music playback page corresponding to the first audio is displayed, and the device playback information of the first Bluetooth device is displayed on the music playback page. The device playback information of the first Bluetooth device includes the device name and device icon of the first Bluetooth device.
12. A method for switching between different modes, characterized in that, Applied to a display device as described in any one of claims 1-6, the method comprises: In response to the user opening the second application, the system enters the second mode and switches the Bluetooth mode from audio transmission mode to audio reception mode. When the first Bluetooth switch is in the off state by default, the first Bluetooth switch is turned on. The first Bluetooth switch is used to control the opening and closing of the system's Bluetooth function. In the second mode, Bluetooth devices can be connected and audio provided by the connected Bluetooth devices can be played. Responding to the user's switching command, identify the target application after switching; If the target application is the first application, then enter the first mode and lock the first Bluetooth switch in the on state, and lock the Bluetooth mode in the audio receiving mode. In the first mode, an artwork is displayed. When the first application is switched in from the second application, the first Bluetooth switch is kept in the on state and the Bluetooth mode is kept in the audio receiving mode. If the target application is not the first application, then restore the default state of the first Bluetooth switch and switch the Bluetooth mode from the audio receiving mode back to the audio sending mode.
13. A method for switching between different modes, characterized in that, Applied to any one of the display devices described in claims 7-11, the method comprises: In response to the user's operation of opening the first application, the system enters the first mode and displays a display page, and displays artwork on the display page. The display page is the user display interface set in the first mode. When using the Bluetooth music function of the application in the first mode, the Bluetooth mode is switched from audio sending mode to audio receiving mode. When the default state of the first Bluetooth switch is off, the first Bluetooth switch is turned on. The first Bluetooth switch is used to control the system Bluetooth function to be turned on and off. In response to the user's switching command, the target application after switching is identified, and it is also identified whether the Bluetooth mode is in the audio receiving mode; If the target application is the second application, then enter the second mode and lock the first Bluetooth switch to the on state and lock the Bluetooth mode to the audio receiving mode. In the second mode, a Bluetooth device can be connected and the audio provided by the connected Bluetooth device can be played. The second application is the application that keeps the first Bluetooth switch on the on state and keeps the Bluetooth mode to the audio receiving mode when switching from the first application. If the target application is not the second application, then restore the default state of the first Bluetooth switch and switch the Bluetooth mode from the audio receiving mode back to the audio sending mode.
Citation Information
Patent Citations
Display equipment and display method of Bluetooth switch state of display equipment
CN112068741A
Display device and audio playing interface display method
CN117806746A