Display device and processing method for display device
By introducing a Bluetooth switch control mechanism into the display device, the problem of audio playback interruption when switching between art mode and audio mode is solved, realizing the continuity of Bluetooth audio playback and improving the user experience.
Patent Information
- Application Number
- PCT/CN2025/089563
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-09-20
- Filing Date
- 2025-04-17
- Publication Date
- 2026-01-02
AI Technical Summary
When switching between art mode and audio mode on a display device, audio playback is easily interrupted, affecting the user experience.
By introducing a Bluetooth switch control mechanism into the display device, it is possible to switch Bluetooth modes in different modes, ensuring the continuity of audio playback.
It achieves continuity of Bluetooth audio playback when switching between art mode and audio mode, improving the user experience.
Smart Images

Figure CN2025089563_02012026_PF_FP_ABST
Abstract
Description
Display device and processing method for display device
[0001] Cross-reference to related applications
[0002] This application claims priority to Chinese Patent Application No. 202410853330.9, filed on June 28, 2024; Chinese Patent Application No. 202410853326.2, filed on June 28, 2024; Chinese Patent Application No. 202410853772.3, filed on June 28, 2024; Chinese Patent Application No. 202411319516.2, filed on September 20, 2024; and Chinese Patent Application No. 202411319492.0, filed on September 20, 2024, the entire contents of which are incorporated herein by reference. TECHNICAL FIELD
[0003] The present application relates to the technical field of display devices, and in particular to a display device and a processing method for the display device. BACKGROUND
[0004] A display device refers to a terminal device capable of outputting a specific display screen, which can be a smart television, a mobile terminal, a smart advertising screen, a projector, or the like. Taking a smart television as an example, a smart television is a television product based on Internet application technology, having an open operating system and a chip, and possessing an open application platform, which can realize bidirectional man-machine interaction and integrate functions such as audio and video, entertainment, and data, to meet the diversified and personalized needs of users.
[0005] Generally, a user mainly uses a display device as a device with audio and video playback functions. In order to fully develop the use value of the display device, a first application can be configured for the display device to provide a first mode through the first application. The first application can also be referred to as an art application, an art mode application, or the like. The first mode can also be referred to as an art mode, a gallery mode, or the like. In the first mode, the display device can display an art painting as a decoration in a space. Moreover, the art painting can be simulated as a real art painting, so that the user can immerse in the art painting. For example, a display frame can be added to the art painting, a hardware frame can be installed on the frame of the display device, a paper-like screen can be used as a display screen, or the like.
[0006] In the first mode, the user can browse the art painting through the display device. In the second mode, the user can enjoy audio. When the user wants to switch between the two modes while the display device is playing audio provided by another Bluetooth device, the audio will be interrupted and played. SUMMARY
[0007] According to some embodiments of the present application, a display device is provided, which can include a memory configured to store a computer program; at least one processor configured to execute the computer program to cause the display device to perform: in response to a user opening a second application, entering a second mode, and switching a Bluetooth mode from an audio sending mode to an audio receiving mode, wherein when a default state of a first Bluetooth switch is an off state, the first Bluetooth switch can be turned on, the first Bluetooth switch can be used to control the on and off of a system Bluetooth function, in the second mode, a Bluetooth device can be connected, and audio provided by the connected Bluetooth device can be played; in response to a user's switching instruction, identifying a target application after switching; if the target application is a first application, entering a first mode, and locking the first Bluetooth switch in an on state, and locking the Bluetooth mode in the audio receiving mode, wherein in the first mode, an art painting is displayed, the first application can be an application that keeps the first Bluetooth switch in an on state and keeps the Bluetooth mode in the audio receiving mode when switching from the second application; if the target application is not the first application, restoring the default state of the first Bluetooth switch, and switching the Bluetooth mode from the audio receiving mode back to the audio sending mode.
[0008] According to some embodiments of the present application, a display device is also provided, which can include a memory configured to store a computer program; at least one processor configured to execute the computer program to cause the display device to perform: in response to a user opening a first application, entering a first mode, and displaying a showcase page, and displaying an art painting in the showcase page, the showcase page can be a user interface set in the first mode, wherein when using a Bluetooth music function in the first mode, the Bluetooth mode can be switched from an audio sending mode to an audio receiving mode, and when the default state of a first Bluetooth switch is off, the first Bluetooth switch can be turned on, the first Bluetooth switch can be used to control the opening and closing of the system Bluetooth function; in response to a user's switching instruction, identifying the target application after switching, and identifying whether the Bluetooth mode is in the audio receiving mode; if the target application is a second application, entering a second mode, and locking the first Bluetooth switch in the on state, and locking the Bluetooth mode in the audio receiving mode, wherein in the second mode, a Bluetooth device can be connected, and audio provided by the connected Bluetooth device can be played, the second application can be an application that keeps the first Bluetooth switch in the on state and keeps the Bluetooth mode in the audio receiving mode when switching from the first application; if the target application is not the second application, the default state of the first Bluetooth switch can be restored, and the Bluetooth mode can be switched from the audio receiving mode back to the audio sending mode.
[0009] According to some embodiments of the present application, a processing method for a display device is also provided, which can include: in response to a user opening a second application, entering a second mode, and switching a Bluetooth mode from an audio sending mode to an audio receiving mode, wherein when the default state of a first Bluetooth switch is off, the first Bluetooth switch can be turned on, the first Bluetooth switch can be used to control the opening and closing of the system Bluetooth function, in the second mode, a Bluetooth device can be connected, and audio provided by the connected Bluetooth device can be played; in response to a user's switching instruction, identifying the target application after switching; if the target application is a first application, entering a first mode, and locking the first Bluetooth switch in the on state, and locking the Bluetooth mode in the audio receiving mode, wherein in the first mode, an art painting is displayed, the first application can be an application that keeps the first Bluetooth switch in the on state and keeps the Bluetooth mode in the audio receiving mode when switching from the second application; if the target application is not the first application, the default state of the first Bluetooth switch can be restored, and the Bluetooth mode can be switched from the audio receiving mode back to the audio sending mode.
[0010] According to some embodiments of the present application, another processing method for a display device is also provided. The method can include: in response to a user opening a first application, entering a first mode, and displaying a showcase page, and displaying an art piece in the showcase page, the showcase page being a user interface set in the first mode. When using a Bluetooth music function of the application in the first mode, the Bluetooth mode can be switched from an audio sending mode to an audio receiving mode. When a default state of a first Bluetooth switch is off, the first Bluetooth switch can be turned on, and the first Bluetooth switch can be used to control the opening and closing of a system Bluetooth function. In response to a user switching instruction, a target application after switching can be identified, and whether the Bluetooth mode is in the audio receiving mode can be identified. If the target application is a second application, the second mode can be entered, and the first Bluetooth switch can be locked in an on state, and the Bluetooth mode can be locked in the audio receiving mode. In the second mode, a Bluetooth device can be connected, and audio provided by the connected Bluetooth device can be played. The second application can be an application that keeps the first Bluetooth switch in an on state and keeps the Bluetooth mode in the audio receiving mode when switching from the first application. If the target application is not the second application, the default state of the first Bluetooth switch can be restored, and the Bluetooth mode can be switched from the audio receiving mode back to the audio sending mode. BRIEF DESCRIPTION OF DRAWINGS
[0011] FIG. 1 is a schematic diagram of an operating scenario between a display device and a control device according to some embodiments of the present application;
[0012] FIG. 2 is a hardware configuration block diagram of a control device according to some embodiments of the present application;
[0013] FIG. 3 is a hardware configuration block diagram of a display device according to some embodiments of the present application;
[0014] FIG. 4 is an operating system configuration diagram of a display device according to some embodiments of the present application;
[0015] FIG. 5 is a schematic diagram of a showcase page of an art mode application according to some embodiments of the present application;
[0016] FIG. 6 is a schematic diagram of a showcase page of an art mode application according to some embodiments of the present application;
[0017] FIG. 7 is a schematic diagram of a hierarchical preview page of an art mode application according to some embodiments of the present application;
[0018] FIG. 8 is a schematic diagram of a global preview page of an art mode application according to some embodiments of the present application;
[0019] FIG. 9 is a flowchart of a display device displaying an application setting menu according to some embodiments of the present application;
[0020] FIG. 10 is a flowchart of a display device distributing a menu key based on a white list of menu keys according to some embodiments of the present application;
[0021] FIG. 11 is a flowchart of a display device distributing a menu key based on a flag according to some embodiments of the present application;
[0022] FIG. 12 is a schematic diagram of an application setting menu according to some embodiments of the present application;
[0023] FIG. 13 is a schematic diagram of a prompt message according to some embodiments of the present application;
[0024] FIG. 14 is a schematic diagram of an application setting menu according to some embodiments of the present application;
[0025] FIG. 15 is a flowchart of a display device dynamically filling a background frame of an application setting menu according to some embodiments of the present application;
[0026] FIG. 16 is a schematic diagram of an application setting menu according to some embodiments of the present application;
[0027] FIG. 17 is a flowchart of a display device moving an application setting menu according to some embodiments of the present application;
[0028] FIG. 18 is a schematic diagram of a moving process of an application setting menu according to some embodiments of the present application;
[0029] FIG. 19 is a schematic diagram of a three-layer view structure of an application setting menu according to some embodiments of the present application;
[0030] FIG. 20 is a schematic diagram of an application setting menu according to some embodiments of the present application;
[0031] FIG. 21 is a schematic diagram of an art mode setting page according to some embodiments of the present application;
[0032] FIG. 22 is a schematic diagram of an art mode setting page according to some embodiments of the present application;
[0033] FIG. 23 is a schematic diagram of a system setting menu according to some embodiments of the present application;
[0034] FIG. 24 is a flowchart of a display device displaying an art piece according to some embodiments of the present application;
[0035] FIG. 25 is a flowchart of switching a picture quality parameter of a display device according to some embodiments of the present application;
[0036] FIG. 26 is a flowchart of switching a picture quality parameter of a display device according to some embodiments of the present application;
[0037] FIG. 27 is a flowchart of switching a picture quality parameter of a display device according to some embodiments of the present application;
[0038] FIG. 28 is a flowchart of switching a classification method of a display device according to some embodiments of the present application;
[0039] FIG. 29 is a flowchart of adjusting a picture quality parameter of a display device according to some embodiments of the present application;
[0040] FIG. 30 is a flowchart of individually setting an application picture quality parameter of a current artistic painting of a display device according to some embodiments of the present application;
[0041] FIG. 31 is a schematic view of an artistic mode setting page according to some embodiments of the present application;
[0042] FIG. 32 is a flowchart of adjusting a state of a display device according to some embodiments of the present application;
[0043] FIG. 33 is a schematic view of a wake-up process of a display device according to some embodiments of the present application;
[0044] FIG. 34 is a flowchart of adjusting a state of a display device according to some embodiments of the present application;
[0045] FIG. 35 is a flowchart of setting a light-sensing parameter threshold of a display device according to some embodiments of the present application;
[0046] FIG. 36 is a flowchart of setting a light-sensing parameter threshold of a display device according to some embodiments of the present application;
[0047] FIG. 37 is a flowchart of setting a light-sensing parameter threshold of a display device according to some embodiments of the present application;
[0048] FIG. 38 is a flowchart of adjusting a state of a display device according to some embodiments of the present application;
[0049] FIG. 39 is a flowchart of adjusting a state of a display device according to some embodiments of the present application;
[0050] FIG. 40 is a flowchart of adjusting a state of a display device according to some embodiments of the present application;
[0051] FIG. 41 is a schematic view of an artistic mode setting page according to some embodiments of the present application;
[0052] FIG. 42 is a flowchart of a display device adjusting a device state, according to some embodiments of the present application;
[0053] FIG. 43 is a flowchart of a display device adjusting a device state, according to some embodiments of the present application;
[0054] FIG. 44 is a flowchart of a display device adjusting a device state, according to some embodiments of the present application;
[0055] FIG. 45 is a diagram of a system setting menu, according to some embodiments of the present application;
[0056] FIG. 46 is a flowchart of a display device playing audio from a Bluetooth device, according to some embodiments of the present application;
[0057] FIG. 47 is a diagram of an operation guide page, according to some embodiments of the present application;
[0058] FIG. 48 is a diagram of a search result list, according to some embodiments of the present application;
[0059] FIG. 49 is a diagram of a pairing page, according to some embodiments of the present application;
[0060] FIG. 50 is a diagram of a paired device list, according to some embodiments of the present application;
[0061] FIG. 51 is a diagram of a paired device list, according to some embodiments of the present application;
[0062] FIG. 52 is a diagram of a prompt page, according to some embodiments of the present application;
[0063] FIG. 53 is a flowchart of a display device switching a Bluetooth device, according to some embodiments of the present application;
[0064] FIG. 54 is a diagram of a showcase page, according to some embodiments of the present application;
[0065] FIG. 55 is a diagram of a showcase page, according to some embodiments of the present application;
[0066] FIG. 56A is a diagram of a display device playing audio, according to some embodiments of the present application;
[0067] FIG. 56B is a diagram of a display device playing audio, according to some embodiments of the present application;
[0068] FIG. 57 is a flowchart of an interaction between a display device and a first Bluetooth device, according to some embodiments of the present application;
[0069] FIG. 58 is a schematic diagram of a display page, according to some embodiments of the present application;
[0070] FIG. 59A is a schematic diagram of a display device playing audio, according to some embodiments of the present application;
[0071] FIG. 59B is a schematic diagram of a display device playing audio, according to some embodiments of the present application;
[0072] FIG. 60A is a schematic diagram of a display device playing audio, according to some embodiments of the present application;
[0073] FIG. 60B is a flowchart of internal interactions of a display device in a fourth mode, according to some embodiments of the present application;
[0074] FIG. 61 is a schematic diagram of a display device playing audio, according to some embodiments of the present application;
[0075] FIG. 62 is a flowchart of a display device entering a sound box mode, according to some embodiments of the present application;
[0076] FIG. 63 is a schematic diagram of a music playing page, according to some embodiments of the present application;
[0077] FIG. 64 is a flowchart of a display device switching a Bluetooth device providing audio, according to some embodiments of the present application;
[0078] FIG. 65 is a schematic diagram of a music playing page, according to some embodiments of the present application;
[0079] FIG. 66 is a flowchart of a display device adjusting a state of a display screen, according to some embodiments of the present application;
[0080] FIG. 67 is a flowchart of a display device switching from a sound box mode to an art mode, according to some embodiments of the present application;
[0081] FIG. 68 is a schematic diagram of an icon of an art mode application, according to some embodiments of the present application;
[0082] FIG. 69 is a flowchart of a display device switching from a sound box mode to an art mode, according to some embodiments of the present application;
[0083] FIG. 70A is a schematic diagram of a display device playing audio, according to some embodiments of the present application;
[0084] FIG. 70B is a flowchart of switching between a first application and a second application, according to some embodiments of the present application;
[0085] FIG. 71 is a schematic diagram of a display device playing audio, according to some embodiments of the present application;
[0086] FIG. 72 is a timing diagram of a process of a television device, according to some embodiments of the present application;
[0087] FIG. 73 is a flowchart of a method of processing of a television device, according to some embodiments of the present application;
[0088] FIG. 74 is a flowchart of a method of processing of a television device, according to some embodiments of the present application;
[0089] FIG. 75 is a flowchart of a method of processing of a television device, according to some embodiments of the present application;
[0090] FIG. 76 is a flowchart of a method of processing of a television device, according to some embodiments of the present application;
[0091] FIG. 77 is a flowchart of a method of processing of a display device, according to some embodiments of the present application. DETAILED DESCRIPTION
[0092] The embodiments will be described in detail with reference to drawings, of which examples are shown. The description of the embodiments is not meant to limit the application to all of the embodiments set forth in the description or drawings. Rather, the description is meant to serve as an example of the system and method consistent with the application, which is set forth in the claims.
[0093] It should be noted that the brief description of terms in the present application is only for the convenience of understanding the following described embodiments, and is not intended to limit the embodiments of the present application. Unless otherwise specified, these terms should be understood according to their ordinary and customary meanings.
[0094] The terms "first", "second", "third", and the like in the specification and claims of the present application and the above-described drawings are used to distinguish similar or like objects or entities, and do not necessarily mean a specific order or sequence, unless otherwise noted. It should be understood that the terms used in this way can be interchanged under appropriate circumstances.
[0095] The terms "include" and "have" and any variations thereof are intended to cover but not exclusively include, for example, a product or device that includes a list of components without being limited to all the components clearly listed, but can include other components not clearly listed or inherent to such products or devices.
[0096] In the present application, the display device refers to a device with the ability of picture display and data processing. For example, the display device can include but is not limited to a television, a mobile terminal, a computer, a monitor, an advertising screen, a wearable device, a virtual reality device, an augmented reality device, etc.
[0097] FIG. 1 is a schematic diagram of an operating scenario between a display device and a control device according to some embodiments of the present application. As shown in FIG. 1, a user can operate the display device 200 through a touch operation, voice, a control device 100 and a mobile terminal 300. For example, the control device 100 can be a remote controller, a touch pen, a handle, etc.
[0098] As also shown in FIG. 1, the display device 200 can also communicate data with a server 400 through various communication modes. The display device 200 can be allowed to be connected in communication through a Local Area Network (LAN), a Wireless Local Area Network (WLAN) and other networks.
[0099] In some embodiments, the display device 200 can provide a broadcast receiving television function, and can additionally provide a smart network television function supporting a computer function, which can include but is not limited to a network television, a television, an Interactive Personality TV (IPTV), etc.
[0100] FIG. 2 is a hardware configuration block diagram of a control device according to some embodiments of the present application.
[0101] As shown in FIG. 2, in some embodiments, the control device 100 can include a control apparatus 110, a communication interface 120, a user input / output interface 130, a memory 140, a power supply 150.
[0102] In some embodiments, the control apparatus 110 can include a processor 111, a Random Access Memory (RAM) 112, a Read-Only Memory (ROM) 113 and a communication bus.
[0103] In some embodiments, the communication interface 120 can include at least one of a Wireless Fidelity (Wifi or WiFi) chip 121, a Bluetooth module 122, a Near Field Communication (NFC) module 123 and other near field communication modules.
[0104] In some embodiments, the user input / output interface 130, wherein the input interface can include at least one of a microphone 131, a touchpad 132, a sensor 133, a key 134 and other input interfaces.
[0105] In some embodiments, the control device 100 can include at least one of a communication interface 120 and an input / output interface 130.
[0106] In some embodiments, the memory 140 can be used to store various running programs, data and applications for driving and controlling the control device 100 under the control of the control apparatus 110. The memory 140 can store various control signal instructions input by the user.
[0107] In some embodiments, the power supply 150 can be used to provide operating power support for various elements of the control device 100 under the control of the control apparatus 110.
[0108] In some embodiments, the control device 100 can be configured with various keys, and the display device 200 can be configured with a key-value-function mapping table, which can include the mapping relationship between the key value corresponding to each key on the control device 100 and the corresponding function.
[0109] In some embodiments, the keys configured on the control device 100 can include basic keys such as power keys, number keys, direction keys, volume keys, home keys, back keys, etc. Based on these basic keys, the user can control the display device 100 to implement corresponding basic functions. The keys configured on the control device 100 can also include special keys such as color keys, etc. Based on these special keys, the user can control the display device 200 to implement specific functions in different scenarios.
[0110] FIG. 3 is a hardware configuration block diagram of a display device according to some embodiments of the present application.
[0111] In some embodiments, the display device 200 can include at least one of a tuner and demodulator 210, a communication apparatus 220, a detector 230, an apparatus interface 240, at least one processor 250, a display 260, an audio output apparatus 270, a user input interface 280, a memory, a power supply.
[0112] In some embodiments, the communication apparatus 220 can be a component for communicating with an external device or a server 400 according to various communication protocol types. The display device 200 can be provided with multiple communication apparatuses 220 according to different supported communication manners. The communication apparatus 220 can make the display device 200 and the external device or the server 400 communicate and connect through wireless or wired connection.
[0113] In some embodiments, the detector 230 can be configured to collect signals from the external environment or interaction. For example, the detector 230 can include a light receiver, which can be configured to collect ambient light intensity; or the detector 230 can include an image collector, such as a camera, which can be configured to collect an external environment scene, a user attribute, or a user interaction gesture; or the detector 230 can include a sound collector, such as a microphone, which can be configured to receive external sound.
[0114] In some embodiments, the device interface 240 can be configured to access an external device.
[0115] In some embodiments, the at least one processor 250 can be configured to control the overall operation of the display device 200.
[0116] In some embodiments, the processor can include at least one of a central processing unit (CPU), a video processor, an audio processor, a graphics processing unit (GPU), a power processor, and a first interface to an n-th interface for input / output.
[0117] In some embodiments, the at least one processor 250 can control the operation of the display device 200 and respond to user operations through various software control programs / computer programs stored in the memory.
[0118] In some embodiments, the at least one processor 250 and the tuner demodulator 210 can be located in different split devices, i.e., the tuner demodulator 210 can also be located in an external device of the main device where the at least one processor 250 is located, such as an external set-top box.
[0119] In some embodiments, the display 260 can be configured to receive image signals output from the at least one processor 250 for display. The display 260 can include a display function component for presenting a picture, and a driving component for driving image display.
[0120] In some embodiments, the user can input user commands on a graphical user interface (GUI) displayed on the display 260, and the user input interface 280 can receive the user commands through the GUI.
[0121] In some embodiments, the audio output device 270 can be a native speaker of the display device 200, or an audio output device connected to the display device 200.
[0122] In some embodiments, the user input interface 280 can be configured to receive instructions from user input.
[0123] To perform user interactions, in some embodiments, the display device 200 can run an operating system. The operating system is a computer program used to manage and control hardware and software resources in the display device 200.
[0124] The operating system can be a native operating system based on a specific operating platform, a third-party operating system deeply customized based on a specific operating platform, or an independent operating system specially developed for the display device 200.
[0125] The operating system can be divided into different modules or levels according to the functions implemented, for example, as shown in FIG. 4, 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.
[0126] In some embodiments, the application layer is used to provide services and interfaces for applications, so that the display device 200 can run the applications and interact with the user based on the applications. For example, the application layer can include a voice assistant, and the voice assistant provides voice interaction functions, and the user can interact with the display device through the voice assistant in the form of voice.
[0127] In some embodiments, the framework layer can provide application programming interfaces (APIs) and programming frameworks for applications. The application framework layer can include some pre-defined functions. The application framework layer is equivalent to a processing center that decides which application in the application layer to act. The application can access the resources in the system and obtain the services of the system through the API interface during execution.
[0128] 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 included in the system runtime library layer, such as the C / C++ instruction library, to implement the functions implemented by the framework layer.
[0129] In some embodiments, the kernel layer is a functional layer between the hardware and software of the display device 200. The kernel layer can implement hardware abstraction, multitasking, memory management, and other functions.
[0130] It should be noted that the above examples are only a simple division of the operating system functions, and do not constitute a limitation on the specific operating system form of the display device 200 in the present application. Depending on the function of the display device, the type of operating system, and other factors, the number and specific types of levels included in the operating system can take other forms.
[0131] Generally, users mainly use the display device as a device with audio and video playback functions. In order to be able to more fully develop the use value of the display device, the display device can be configured with a first application to provide a first mode through the first application. The first application is at least used to play pictures, and the first application can also be referred to as an art application, an Art Mode application, a Gallery application, a Frame application, etc. The first mode can also be referred to as an Art Mode, a Gallery Mode, a Frame Mode, etc. In the first mode, the display device can display an art painting as a decoration of the space. Moreover, the user can immerse in the art painting by simulating the art painting as a real art painting. For example, a display frame is added on the art painting, a hardware frame is installed on the frame of the display device, a paper-like screen is used as a display screen, etc.
[0132] In some embodiments of the present application, only the first application is an Art Mode application, and the first mode is an Art Mode, which is taken as an example for specific description. The processing mode of the first application of other application types is similar, and will not be described again.
[0133] The display device 200 can enter the Art Mode in the following manner:
[0134] In some embodiments, the display device 200 can be configured to, in the shutdown state, start the Art Mode application after turning on in response to a first instruction input by the user short-pressing the power key of the control device 100, and enter the Art Mode after starting the Art Mode application.
[0135] In some embodiments, the display device 200 can be configured to, in the shutdown state, display the system home page in response to an instruction input by the user long-pressing the power key of the control device 100, and start the Art Mode application in response to a first instruction input by the user short-pressing the power key or the home key of the control device 100, and enter the Art Mode after starting the Art Mode application.
[0136] In some embodiments, the display device 200 can be configured to, in the shutdown state, start the Art Mode application after turning on in response to a first instruction input by the user through the Art Mode key of the control device 100, and enter the Art Mode after starting the Art Mode application.
[0137] In some embodiments, the display device 200 can be configured to enter the art mode in response to the user selecting the icon of the art mode application on the system home page. The icon of the art mode application can be configured on the system home page or in the sidebar of the system home page.
[0138] In some embodiments, the display device 200 can be configured to enter the art mode in response to the user short-pressing the power key of the control device 100 in the booting state.
[0139] In some embodiments, the display device 200 can be configured to enter the art mode in response to the user inputting the first instruction based on the art mode key of the control device 100 in the booting state.
[0140] In some embodiments, if the user turns on the timed booting and sets the booting time, the display device 200 can be configured to start the art mode application after booting and enter the art mode after starting the art mode application when the system time meets the booting time in the shutdown state.
[0141] In some embodiments, the control device 100 can generate a press signal in response to the user pressing the key and send the press signal to the display device 200. The control device 100 can also generate a release signal in response to the user lifting the key and send the release signal to the display device 200. Accordingly, the display device 200 can determine whether the user performs a short-press operation or a long-press operation on the key by listening to the press event and the release event of the key.
[0142] As a specific implementation, the display device 200 can capture the key event using the dispatchKeyEvent method, and the captured key event can include a press (KeyEvent.ACTION_DOWN) event and a release (KeyEvent.ACTION_UP) event. When the display device 200 listens to the key event, it detects whether it is the first press. If it is detected that it is the first press, such as event.getRepeatCount() == 0, a timer (such as Handler and Runnable) is started, and a predefined time, such as 500 ms, is counted by the timer. If the display device 200 does not listen to the release event within the predefined time, the timer triggers the long press event, that is, it can be determined that the user performs a long press operation on the key. If the display device 200 listens to the release event within the predefined time, the timer is canceled. Since the timer does not trigger the long press event, it can be determined that the user performs a short press operation on the key.
[0143] In other embodiments, the control device 100 periodically sends a key value signal to the display device 200 in response to the user pressing the key until the user lifts the key. The display device 200 can determine whether the user performs a short press operation or a long press operation on the key according to the number of received key value signals. If the number of received key value signals by the display device 200 is less than or equal to a preset number, it can be determined that the user performs a short press operation on the key. If the number of received key value signals by the display device 200 is greater than the preset number, it can be determined that the user performs a long press operation on the key. For example, assuming that the preset number is 1, if the number of received key value signals by the display device 200 is 1, it can be determined that the user performs a short press operation on the key. If the number of received key value signals by the display device 200 is greater than 1, it can be determined that the user performs a long press operation on the key.
[0144] The display device 200 can be configured with a third application, and the third application can call the application data of the first application running in the background, such as artistic paintings, picture quality parameters, and carousel parameters. In this way, after the display device 200 enters the third application, it is in a third mode. In the third mode, the display device 200 will display a screen saver page of the third application, and display the artistic paintings provided by the first application on the screen saver page, thereby realizing the display of the artistic paintings provided by the first application in the form of a screen saver. In the third mode, the user cannot use the related functions of the first application, that is, cannot set the artistic paintings, etc.
[0145] In some embodiments, the third application can also be referred to as an artistic screen saver application, a gallery screen saver application, a picture frame screen saver application, etc., and the third mode can also be referred to as an artistic screen saver mode, a gallery screen saver mode, a picture frame screen saver mode, etc.
[0146] In some embodiments of the present application, the third application is an art screen saver application, and the third mode is an art screen saver mode. The processing mode of the third application of other application types is similar to this, and will not be described again.
[0147] The display device 200 can enter the art screen saver mode in the following manner:
[0148] In some embodiments, the display device 200 can be configured to, in the powered-on state and without entering the art mode, enter the art screen saver mode if the first condition is met. The first condition can include that no user operation is detected in a specified time period in a non-physical channel, or no signal input is detected in the currently used physical channel.
[0149] In some embodiments, the signal channel of the display device 200 can include a physical channel and a non-physical channel. The physical channel refers to a channel that transmits signals through a physical medium, which can be a cable, an optical fiber, a satellite antenna, etc. The physical channel can include, but is not limited to, a TV channel, an AV channel, a High Definition Multimedia Interface (HDMI) channel, etc. The non-physical channel refers to a channel that transmits signals through wireless means without the need for physical connection to transmit signals. Signals other than the physical channel can be referred to as non-physical channels, which can include, but are not limited to, launcher homepages, third-party applications, etc.
[0150] After the display device 200 enters the art mode, the display device 200 can display a display page and display art paintings in the display page.
[0151] In some embodiments, the display page can be a user display interface set in the first mode. For example, the display page can be the homepage of the first application, i.e., the first page displayed after entering the first mode. The display page can also be a specified user display interface.
[0152] In some embodiments, the display device 200 can add a frame with a three-dimensional effect to the art paintings in the display page when no hardware frame is installed, to simulate the real mounting effect through the added display frame.
[0153] Referring to the display page shown in FIG. 5, the display page includes art paintings 501 and an added display frame 502.
[0154] In other embodiments, a hardware frame can be installed on the frame of the display device 200 to simulate the real mounting effect through the hardware frame.
[0155] Referring to FIG. 6, the display device 200 is provided with a hardware frame 601. After entering the art mode, the art picture 602 is displayed in the display page.
[0156] In this way, the display device 200 can simulate the art picture as a more realistic art picture by adding a display frame on the art picture or by installing a hardware decoration for simulating the frame in the art mode, thereby improving the immersion of the user.
[0157] In some embodiments, the art pictures provided by the art mode application can be divided into different picture categories according to scenes, picture contents, etc. In this way, the user can quickly find the art pictures according to different picture categories.
[0158] In some embodiments, the art pictures in the same picture category can be further divided into different picture categories. The same picture category can be referred to as a superior picture category, and the picture categories contained in the superior picture category can be referred to as inferior picture categories. In this way, the user can further quickly find the art pictures according to different inferior picture categories in the same superior picture category.
[0159] In some embodiments provided in the present application, the art pictures are divided into two-level picture categories. The superior picture category is a first-level category, and the inferior picture category is a second-level category.
[0160] The first-level category can include but is not limited to an art gallery category, a photo set category, an immersive atmosphere category, a favorite category, etc. The second-level categories included in the art gallery category can include but are not limited to a landscape category, a figure category, a modern category, and a still life category. The second-level categories included in the photo set category can include but are not limited to a my photo category and a photo theme category. The second-level categories included in the immersive atmosphere category can include but are not limited to an immersive atmosphere category, and the second-level categories included in the favorite category can include but are not limited to a favorite category.
[0161] To facilitate the user to quickly find the art works to be browsed according to the classification, the art mode application can be configured with a hierarchical preview page. The hierarchical preview page can include a first menu and a second menu. The first menu can include the title of the first-level classification, and the second menu can be used to display the title of the second-level classification included in the first-level classification in a selected state or in a focused state. The second menu can also include a preview image list, which can be in a single row and can include the preview image of the art work included in the second-level classification in a selected state or in a focused state. In some embodiments, the background of the hierarchical preview page can be in a transparent state. In other embodiments, the background of the hierarchical preview page can be in an opaque state or a semi-transparent state. In some embodiments, the first menu and the second menu can be in a semi-transparent state and have a gradual change in transparency. In other embodiments, the first menu and the second menu can be in an opaque state or a transparent state.
[0162] In some embodiments of the present application, only the background of the hierarchical preview page is in a transparent state, and the first menu and the second menu are in a semi-transparent state and have a gradual change in transparency. In subsequent drawings, the above-mentioned transparent state and semi-transparent state are schematically shown by filling different patterns. As the name implies, in the transparent state or semi-transparent state, the user can see the objects or contents shown in the lower layer through the upper layer page. At this time, the objects or contents passed through will change due to the existence of the upper layer page. It can be understood that the corresponding screen effect can be achieved by setting the transparency in actual application. The gradual change in transparency is not shown in the drawings. Specifically, it can be set based on actual needs, such as gradually increasing the transparency from top to bottom, and the present application does not make specific limitations.
[0163] In some embodiments, when displaying the display page, the display device 200 can be configured to display the hierarchical preview page on the upper layer of the display page in response to the user inputting a specification based on the confirmation key or OK key of the control device 100. Through the hierarchical preview page, the art work currently displayed in the display page in the lower layer can be displayed.
[0164] Referring to the display effect of the hierarchical preview page shown in FIG. 7, the hierarchical preview page can include a first menu 701 and a second menu 702. The first menu 701 can include titles of first-level categories, such as Art Gallery, Photo Collection, Immersive Ambience, and Favorites. Among them, the Art Gallery can be in a selected state. Based on the Art Gallery being in the selected state, the second menu 702 can include titles of second-level categories included in the Art Gallery category, such as Landscape, Figure, Modern, Still Life, and Other. Among them, Landscape is in focus. The second menu 702 can also include a preview list 703, and based on Landscape being in focus, the preview list 703 can include preview images of art works included in the Landscape category. For example, preview images corresponding to Landscape 14, Landscape 15, Landscape 16, Landscape 17, and Landscape 18.
[0165] It should be noted that the "Art Gallery", "Immersive Ambience", "Photo Collection", "Favorites", "Figure", "Modern", "Still Life", and "Other" shown in FIG. 7 can not be provided with a background texture. The reason why the drawings in the present application show a blank background texture is only to improve the legibility of the text. In actual application, the corresponding text can be directly displayed without setting the text background texture shown in the drawings. The purpose of showing the text background texture in the drawings of subsequent embodiments is similar, and will not be repeated here.
[0166] In some embodiments of the present application, for the sake of illustration, the corresponding art works are represented in the form of "second-level category + order of the picture in the second-level category". For example, Landscape 16 represents the 16th art work in the Landscape category.
[0167] The background of the hierarchical preview page can be in a transparent state. Referring to FIG. 7, the background 704 can be in a transparent state. Therefore, the art works currently displayed in the display page, such as the three geometric figures, can be displayed through the background 704.
[0168] In some embodiments, based on the hierarchical preview page, the user can select the first-level category and the second-level category that he or she wants to preview to browse the preview images of the corresponding art works in the preview list. Moreover, the user can exit the hierarchical preview page by selecting a preview image and the like, and quickly switch the art work displayed in the display page to the art work corresponding to the selected preview image.
[0169] In some embodiments, in order to facilitate the user to preview more preview pictures at one time, so as to improve the efficiency of searching for artistic pictures, the artistic mode application can also be configured with a global preview page. The global preview page can include a third menu and a global preview picture list, the third menu can include the titles of the second categories included in the target first category, and the target second category can be obtained by focusing on the title of the target second category. The target first category can be the first category to which the artistic picture currently displayed in the display page belongs, and the target second category can be the second category to which the artistic picture corresponding to the preview picture currently included in the preview picture list belongs. The global preview picture list can be in the form of a grid and can include preview pictures of artistic pictures included in the target second category. In this way, the user can browse the preview pictures of each artistic picture included in each second category in the target first category at one time through the global preview page.
[0170] In some embodiments, when the preview picture in the preview picture list obtains focus, the display device 200 can be configured to: in response to the user inputting a downward instruction based on the down key of the control device 100, display the global preview page above the hierarchical preview page.
[0171] With the hierarchical preview page shown in FIG. 7, the display device 200 can display the global preview page shown in FIG. 8 above the hierarchical preview page in response to the user's downward instruction. The global preview page can include a third menu 801. The third menu 801 can include the titles of the second categories of the artistic gallery, such as landscape, figure, modern, still life, and other. Among them, the focus is obtained by landscape. The global preview page can also include a global preview picture list 802, and the global preview picture list 802 can include preview pictures of all artistic pictures included in the landscape category. Taking all artistic pictures included in the landscape category as examples of landscape 1-18, the global preview picture list 802 can include preview pictures of landscape 1-18.
[0172] In some embodiments, based on the global preview page, the user can select the second category under the target first category that he or she wants to preview to browse the preview pictures of the corresponding artistic pictures in the global preview picture list. And the user can exit the global preview page and the hierarchical preview page by selecting the preview picture and other operations, and quickly switch the artistic picture displayed in the display page to the artistic picture corresponding to the selected preview picture.
[0173] In the artistic mode, the user pays more attention to the display effect and display method of the artistic picture. The artistic mode application can be configured with various functions, based on which the user can set the parameters of the artistic picture to adjust the display effect and display method of the artistic picture.
[0174] In some embodiments, the artistic mode application can be configured with an application setting menu (hereinafter referred to as an application setting menu). The application setting menu is distinguished from the system setting menu, and is a setting menu within the artistic mode application. The application setting menu can include menu items for setting artistic painting related parameters. The parameters set based on the application setting menu do not affect the overall parameters of the display device 200.
[0175] In some embodiments, the application setting menu can be a shortcut menu. When displaying the display page, the display device 200 can open the application setting menu in response to a control instruction input by the user based on the first button of the control device 100.
[0176] In some embodiments, the first button can be a system application button of the control device 100, i.e., a button with a default system function, such as a menu (menu) button, a color button, etc.
[0177] In this application, the first button is taken as an example of a menu button for specific description.
[0178] The display device 200 can display the application setting menu according to the flow shown in FIG. 9. The specific steps can include but are not limited to the following:
[0179] S901, in response to a control instruction input by the user based on the menu button of the control device, identifying the current application.
[0180] S902, when the current application is an artistic mode application, processing the control instruction by the artistic mode application.
[0181] In the system default function, the menu button is a system application button, which can be used to pull up the shortcut menu of the system setting. If it is desired to realize the reuse of the menu button by multiple applications, i.e., to realize that the menu button can not only pull up the shortcut menu of the system setting, but also pull up the setting menu of a specified application, it is necessary to accurately control the application currently responding to the menu button, so as to avoid the conflict problem of multiple applications responding to the menu button at the same time, and the non-response problem of no application responding to the menu button, etc.
[0182] In some embodiments, the specified application can be an application configured with an independent response function of the menu button, which can include an artistic mode application, a media player, etc.
[0183] In some embodiments, after receiving the control instruction input by the user based on the menu button of the control device 100, the display device 200 can accurately control the response to the menu button by distributing the menu button to one application currently needing to respond to the menu button.
[0184] In some embodiments, the logic of distributing the menu key can be: when the current application is the specified application, distributing the menu key to the current application to be processed by the current application independently, i.e. to process the control instruction; when the current application is not the specified application, distributing the menu key to the system application to be processed by the system application to pull up the shortcut menu of the system settings.
[0185] In some embodiments, the current application is the application that has been opened currently and displayed in the top layer, i.e. the application that is currently interacting with the user.
[0186] In some embodiments, the distribution process of the menu key can be implemented based on the operating system shown in FIG. 4. As shown in FIG. 4, the operating system can be configured with the system application and other applications in the application layer, and the other applications can include the specified application. For example, the system application can include the Settings application, and the specified application can include the Media, Art Mode application, Live TV, etc. The operating system can be configured with the Content Provider, Activity Manager, and Window Manager, etc. in the framework layer. The operating system can be configured with the KeyPad driver in the kernel layer. Wherein, after the display device 200 receives the menu key, the menu key can be distributed to the Window Manager by the KeyPad driver. In the Window Manager, the Window Manager needs to identify whether the current application is the specified application. If it is the specified application, the Window Manager distributes the menu key to the specified application. For example, when the current application is the Art Mode application, the Window Manager distributes the menu key to the Activity Manager of the Art Mode application, and then the Activity Manager distributes the menu key to the Art Mode application. If it is not the specified application, the Window Manager distributes the menu key to the Activity Manager of the Settings application, and then the Activity Manager distributes the menu key to the Settings application to pull up the shortcut menu of the system settings.
[0187] In some embodiments, the display device 200 can pre-configure a white list of menu keys in the memory, which can include the package name of the application that can process the control instruction (menu key) separately. Wherein the white list of menu keys includes the package name of the art mode application. For example, the white list of menu keys can be: whiteList = {com.vt.arttv.artmode, com.vt.media}. Wherein, processing the control instruction separately refers to processing the control instruction by the corresponding application, that is, executing the logic set by the application for the control instruction by the corresponding application, rather than processing the control instruction by the system.
[0188] The display device 200 can distribute the menu key based on the white list of menu keys according to the flow shown in FIG. 10, and the specific steps can include but are not limited to the following:
[0189] S1001, when identifying that the current application is an art mode application, obtaining the package name of the art mode application.
[0190] In some embodiments, the topActivity, that is, the current application, can be identified through the Android standard interface. According to the topActivity, the corresponding currentPackageName, that is, the package name of the current application, can be obtained. Wherein, if the current application is an art mode application, the package name of the current application is the package name of the art mode application.
[0191] S1002, comparing the package name of the art mode application with the package name in the white list of menu keys.
[0192] In some embodiments, the obtained currentPackageName can be compared with the white list of menu keys.
[0193] S1003, after determining that the package name of the art mode application belongs to the white list of menu keys, processing the control instruction by the art mode application.
[0194] If the currentPackageName is found in the white list of menu keys, the menu key can be directly distributed to the topActivity, that is, the current application, and the control instruction is processed by the current application. For example, if the package name of the art mode application is found in the white list of menu keys, the menu key can be directly distributed to the art mode application, and the control instruction is processed by the art mode application.
[0195] In some embodiments, the display device 200 can add a flag bit to mark the current application, and mark whether the current application is a specified application, i.e., whether the menu key can be independently responded.
[0196] After entering the art mode application, the display device 200 can add a first mark in the flag bit, which indicates that the art mode application has been started and the menu key is processed by the art mode application, i.e., the control instruction is processed. For example, the flag bit is added in the database, and the first mark is written down by Settings.Gloal.put, such as is_artmode_show=true.
[0197] The display device 200 can distribute the menu key based on the flag bit according to the flow shown in FIG. 11, and the specific steps can include but are not limited to the following:
[0198] S1101, in response to the control instruction, identifying the first mark.
[0199] The display device 200 can read the flag bit and identify the mark carried on the flag bit.
[0200] S1102, if the first mark is identified, it is determined that the current application is an art mode application, and it is determined that the control instruction is processed by the art mode application.
[0201] For example, the Window Manager can read the mark carried on the flag bit by reading Settings.Global.get. If the read mark is is_artmode_show=true, the first mark is identified, and it can be confirmed that the art mode application has been started, which means that the menu key needs to be independently processed by the art mode application. In this way, the Window Manager can distribute the menu key to the art mode application.
[0202] S1103, if the first mark is not identified, it is determined that the current application is not an art mode application.
[0203] For example, a second mark added by other specified applications in the flag bit is identified, and the display device 200 will determine that the current application is the specified application according to the second mark, and determine that the menu key is processed by the specified application.
[0204] S903, identifying the current page.
[0205] In some embodiments, in order to realize that the user can set the parameters while browsing the changes of the artistic paintings after the parameters are set, the artistic mode application can be configured to: on the display page of the artistic mode application, the application setting menu can be displayed in the form of a shortcut menu.
[0206] Therefore, the display device 200 can identify the current page when it identifies that the current application is the artistic mode application, i.e., the current application is in the artistic mode, and can determine whether to open the application setting menu according to the current page.
[0207] S904, if the current page is a display page of the artistic mode application, the application setting menu is displayed on the upper layer of the display page.
[0208] If the current page is a display page, for example, the display page shown in FIG. 5 or FIG. 6, it means that the application setting menu can be opened at present.
[0209] Taking the display page shown in FIG. 6 as an example, if the display device 200 receives the control instruction input by the user based on the menu key of the control device 100, the application setting menu 1201 shown in FIG. 12 can be displayed on the upper layer of the display page.
[0210] In this way, compared with setting the artistic paintings in a separate page in the related art, the user cannot timely watch the changes of the artistic paintings when setting the parameters, which leads to the problem that the user needs to enter and exit the setting page multiple times and repeatedly debug the parameters, and the operation of setting the artistic paintings is relatively cumbersome, and the setting effect is not intuitive. In some embodiments of the present application, the application setting menu displayed in the form of a shortcut menu can provide an entry for the user to set the parameters of the artistic paintings more quickly, so that the user can set the parameters more quickly and conveniently. At the same time, displaying the application setting menu on the display page can present the display effect of the artistic paintings under different parameters to the user in real time based on the display page, so that the user can set the related parameters more accurately.
[0211] S905, if the current page is not a display page, a prompt information is displayed on the upper layer of the current page, and the prompt information is used to prompt that the menu key is not available in the current page.
[0212] If the current page is not a display page, for example, the hierarchical preview page shown in FIG. 7 or the global preview page shown in FIG. 8, etc., the application setting menu will not be opened, so as to avoid the problem that these pages cannot clearly and accurately reflect the display effect of the artistic paintings, leading to the problem that the user cannot accurately set the parameters.
[0213] Taking the global preview page shown in Figure 8 as an example, if the display device 200 receives a control command input by the user via the menu key of the control device 100, it will not open the application settings menu. Instead, as shown in Figure 13, it can display a prompt message on the global preview page, such as "The current page does not support responding to the menu key. Please return to the display page and use the menu key." In this way, based on the prompt message, the user can not only confirm that the application settings menu cannot be opened on the current page, but also know that the application settings menu can be opened from the display page.
[0214] In some embodiments, the art mode application can be configured to display different pages through a multi-level graphics (On-Screen Display, OSD) layer structure. Higher-level OSD layers can be displayed on top of lower-level OSD layers, with the highest-level OSD layer appearing as the topmost layer and receiving focus.
[0215] In some embodiments, the art mode application can be configured to display different pages through a four-level OSD layer structure. The presentation page is displayed in the first-level OSD layer, the hierarchical preview page in the second-level OSD layer, the global preview page and application settings menu in the third-level OSD layer, and pop-ups, prompts, etc., in the fourth-level OSD layer. The OSD layers are arranged from bottom to top as follows: first-level OSD layer, second-level OSD layer, third-level OSD layer, and fourth-level OSD layer.
[0216] In some embodiments, the application settings menu may include a background frame, which can be used to display the background of the application device menu.
[0217] In some embodiments, the background frame can be filled with a specified color. For example, in a menu layout file, the background can be set to the RGBA value of a specified color. Referring to the application settings menu 1201 shown in Figure 12, the background frame 1202 of the application settings menu 1201 is filled with a specified color.
[0218] In other embodiments, the background frame can be filled with a specified color and be transparent or semi-transparent. This reduces the obstruction of the displayed page when the application settings menu is shown. Referring to the application settings menu 1401 shown in Figure 14, the background frame 1402 of the application settings menu 1401 is filled with a specified color but is semi-transparent.
[0219] In another embodiment, the background frame can be dynamically filled with a corresponding image based on the artwork currently displayed on the page. The display device 200 can dynamically fill the background frame of the application settings menu according to the process shown in Figure 15. Specific steps may include, but are not limited to, the following:
[0220] S1501, acquire an art painting currently displayed in a showcase page.
[0221] The currently displayed art painting can be a picture reference for filling a background frame of an application setting menu.
[0222] S1502, cut a first picture with a same size as the background frame from the art painting.
[0223] The display device 200 can cut the first picture from the art painting, the first picture being rectangular, a width of the first picture being consistent with a width of the background frame, and a height of the first picture being consistent with a height of the background frame, so that the first picture can fill the background frame.
[0224] In some embodiments, a cutting position of the art painting can correspond to a display position of the application setting menu. In this way, the background frame filled based on the first picture can be better fused with the art painting in pattern.
[0225] S1503, perform Gaussian blurring and transparency processing on the first picture to obtain a processed first picture.
[0226] The processed first picture is not only a semi-transparent picture with a pure color, but also a semi-transparent picture with blurred pattern lines and color blocks, and the blurred pattern lines and color blocks are consistent with a style of the art painting.
[0227] S1504, display the application setting menu on the showcase page, wherein the processed first picture is displayed in the background frame.
[0228] The background frame is filled with the processed first picture, for example, a bitmap object of the processed first picture is set as a background of the application setting menu.
[0229] In this way, when the application setting menu is displayed on the art painting, the background of the application setting menu can be better fused with the art painting, and the discomfort of the application setting menu is weakened.
[0230] Referring to the showcase page shown by ① in FIG. 16, if the display device 200 receives a control instruction input by the user based on the menu key of the control device 100, the first picture 1601 can be cut from the art painting, Gaussian blurring and transparency processing can be performed on the first picture 1601 to obtain a processed first picture, and the application setting menu 1602 can be displayed in the showcase page as shown by ② in FIG. 16, a background frame 1603 of the application setting menu 1602 can be filled with the processed first picture, and it can be seen that the background of the application setting menu 1602 can be well fused with the art painting.
[0231] In some embodiments, in the art mode, the art paintings can be cycled within the display page. When the application setting menu is displayed on the display page, if the art painting displayed within the display page is switched to the next art painting according to the cycling task, the picture filled in the background frame of the application setting menu can be dynamically adjusted according to the next art painting.
[0232] In some embodiments, the application setting menu can further include a list display area, which can be used for n menu items in a menu item list, and the menu item list can include N menu items, where N≥1 and 1≤n≤N.
[0233] The N menu items included in the menu item list can be used to set parameters of the art painting, such as brightness, contrast, black level, auto light sensor, auto white balance, Bluetooth music, reset, and the like. The N menu items can be arranged vertically in a preset order to form the menu item list.
[0234] In some embodiments, the maximum number M of menu items that can be displayed in the list display area is greater than or equal to N. In this way, the complete menu item list can be displayed in the list display area at one time, i.e., n=N.
[0235] In other embodiments, the maximum number M of menu items that can be displayed in the list display area is less than N. In this way, only part of the menu items in the menu item list can be displayed in the list display area at one time, i.e., n
[0236] In some embodiments, the application setting menu can be displayed in the same OSD layer, and the background frame and the list display area can be displayed in different views, respectively. Different views correspond to different levels, and a view with a higher level is displayed on a view with a lower level, i.e., a view with a higher level blocks a view with a lower level. The view in which the background frame is located has a lower level than the view in which the list display area is located, i.e., the menu items displayed in the list display area block the background displayed in the background frame.
[0237] In some embodiments, the background of the menu item list can be in a transparent state, and thus, when n menu items are displayed on the background box, the display effect is to display the text in the n menu items on the background. Referring to the menu items "Brightness", "Contrast" and "Reset" in FIG. 14, it can be seen that when the background box is in a transparent state, a semi-transparent state or filled with the processed first picture, it is more likely that the color of the text is close to the color of the background in the background box, causing the user to have difficulty identifying the text. To solve this problem, the display device 200 can be configured to dynamically adjust the color of the text of the menu items according to the color presented in the background box (e.g., the color of the artwork, the color of the processed first picture, etc.).
[0238] Taking the case of filling the background box with the processed first picture, the display device 200 can determine the second color of the text of the n menu items according to the first color of the processed first picture, the first color and the second color satisfying the contrast requirement, so that the user can more easily identify the text in the menu items. In this way, the processed first picture is displayed in the background box, the n menu items are displayed on the upper layer of the processed first picture, and the text in the n menu items is displayed using the second color.
[0239] In combination with the application setting menu 1602 shown in FIG. 16, if the preset color of the display text is black, the second color can be determined to be white according to the first color of the processed first picture in the background box 1603, because the first color is deep, in order to improve the contrast between the text of the menu items and the background, the second color can be determined to be white, that is, as shown in FIG. 16, the text in the menu items is displayed using white.
[0240] In some embodiments, the artistic mode application can be configured to display the n menu items displayed in the list display area for the first time as the first n menu items in the menu item list when displaying the application setting menu, and the first menu item obtains the focus, that is, the menu item list can be displayed starting from the first n menu items each time the application setting menu is opened, and the user can set the parameters starting from the first menu item.
[0241] In some embodiments, the artistic mode application can be configured to display the application setting menu at a first position when displaying the application setting menu, and the first position can be a default position.
[0242] In some embodiments, the artistic mode application can divide the artistic paintings into different categories. For example, the artistic paintings can be classified according to the painting categories, or classified according to the picture content of the artistic paintings. Among them, the user can customize the way of classifying the artistic paintings.
[0243] In some embodiments, the art mode application can be configured such that each category can correspond to a set of menu item list, different categories can correspond to different menu item lists, and the menu item lists corresponding to different categories can be isolated from each other, i.e., the settings made by the user on the menu items in the menu item list corresponding to one category will not affect the corresponding menu items in the menu item list corresponding to other categories. Each category corresponds to a menu item list, which records the settings of each menu item in the menu item list, such as the numerical value, state, etc. corresponding to each menu item.
[0244] In some embodiments, when the application setting menu is exited, the first menu item that obtains the focus can be recorded, and the first menu item can be associated with the menu item list to which it belongs. In this way, when the application setting menu is displayed again using the menu item list, the associated first menu item can be determined, i.e., the menu item that obtains the focus when the application setting menu including the menu item list is exited last time.
[0245] For example, the currently set category mode of the art works is to classify according to the content of the pictures, and when the display device 200 displays the application setting menu, it can determine the category to which the art works currently displayed in the display page belong according to the currently set category mode of the art works, such as belonging to the still life category. The display device 200 can determine the menu item list corresponding to the still life category, and if the focus is obtained by Brightness when the application setting menu is exited, the first menu item is Brightness, and the association relationship of the menu item list with the first setting item can be recorded as SelectedItem{XXX_item,brightess}, and can be stored in the local through SharedPreferece. When the application setting menu is opened, the recorded data can be directly read from the local.
[0246] Correspondingly, the art mode application can also be configured such that when the application setting menu is displayed, the first n menu items displayed in the list display area can include the first menu item, which can be the menu item that obtains the focus when the application setting menu is exited last time, i.e., the first menu item is displayed preferentially each time the application setting menu is opened, and the user can preferentially start setting the parameters from the first menu item.
[0247] Continuing the above example, if the art works of the still life category are currently displayed in the display page when the application setting menu is opened, the first menu item can be determined to be Brightness according to the recorded association relationship SelectedItem{XXX_item,brightess} between the menu item list corresponding to the category works and the first menu item, and then Brightness is displayed first in the list display area and obtains the focus.
[0248] In some embodiments, when the application setting menu is exited, the current display position of the application setting menu, i.e., the first position, is recorded, and the first position is associated with the menu item list to which the first position belongs. In this way, when the application setting menu is displayed again using the menu item list, the associated first position can be determined, i.e., the position at which the application setting menu was displayed when the application setting menu including the menu item list was exited last time.
[0249] For example, the currently set classification mode of the art works is to classify the art works according to the picture content. When the application setting menu is displayed, the display device 200 can determine the classification to which the art work currently displayed in the display page belongs, e.g., the still life classification. The display device 200 can determine the menu item list corresponding to the still life classification. If the application setting menu is displayed on the left side when the application setting menu is exited, the first position is Left. The association between the menu item list and the first position can be recorded as MenuPostion{XXX_postion, left}, and can be stored in the local through the SharedPreferece. When the application setting menu is opened, the recorded data can be directly read from the local.
[0250] Correspondingly, the art mode application can also be configured to: when the application setting menu is displayed, the application setting menu can be displayed at the first position, which can be the position at which the application setting menu was displayed when the application setting menu was exited last time.
[0251] Continuing the above example, if the art works of the still life classification are currently displayed in the display page when the application setting menu is opened, the first position can be determined to be Left according to the recorded association between the menu item list corresponding to the classification works and the first position MenuPostion{XXX_postion, left}, and the application setting menu can be displayed on the left side.
[0252] In some embodiments, the art mode application can pre-configure multiple displayable positions, i.e., specified positions, for the application setting menu. The specified positions can include the left side, the middle, and the right side of the bottom of the display page, etc.
[0253] The display device 200 can move the application setting menu according to the flow shown in FIG. 17. The specific steps can include but are not limited to the following:
[0254] S1701, when the second menu item obtains the focus, in response to the instruction input by the user based on the left key of the control device, or the instruction input based on the right key of the control device, the type of the second menu item is identified.
[0255] In some embodiments, the second menu item can be the first menu item, i.e., after the application setting menu is opened, the user does not move the focus in the menu items and directly inputs the instruction.
[0256] In some embodiments, the second menu item can be other menu item, i.e., after the application setting menu is opened, the user inputs the instruction by controlling the up key or the down key of the control device 100 to control the focus to move up or down in the menu items, and then obtains the menu item with the focus.
[0257] S1702, if the type of the second menu item is the text type, the application setting menu is moved left or right to the specified position.
[0258] The type of the menu item can include the text type and the non-text type, wherein, when the menu item of the text type obtains the focus, only the corresponding parameter or state can be set in response to the selection instruction of the user; when the menu item of the non-text type obtains the focus, the corresponding parameter or state can be set in response to the instruction input by the user based on the left key or the right key of the control device 100.
[0259] If the type of the second menu item is the text type, it means that the operation of moving the application setting menu in response to the instruction input by the user based on the left key or the right key of the control device 100 does not conflict with the operation of setting the corresponding parameter or state. The display device 200 can move the application setting menu right to the specified position in response to the instruction input by the user based on the right key. Alternatively, the display device 200 can move the application setting menu left to the specified position in response to the instruction input by the user based on the left key.
[0260] Referring to the moving process of the application setting menu shown in FIG. 18, as shown in ① in FIG. 18, after the application setting menu is opened, the application setting menu is displayed at the first position, such as the left side of the bottom of the display page. The display device 200 can move the application setting menu right to the specified position, such as the middle of the bottom of the display page, in response to the instruction input by the user based on the right key, as shown in ② in FIG. 18.
[0261] In some embodiments, if the application setting menu is displayed on the left side, the application setting menu can not be moved in response to the instruction input by the user based on the left key, and the application setting menu can be in a shaking state, a prompt sound can be played, a prompt information can be displayed, etc., to prompt the user that the application setting menu cannot be moved left continuously.
[0262] In some embodiments, if the application setting menu is displayed on the right side, the application setting menu can not be moved in response to the instruction input by the user based on the right key, and the application setting menu can be in a shaking state, a prompt sound can be played, a prompt information can be displayed, etc., to prompt the user that the application setting menu cannot be moved right continuously.
[0263] S1703, if the type of the second menu item is a non-text type, adjusting the value or state corresponding to the second menu item according to the non-text type.
[0264] If the type of the second menu item is a non-text type, it means that the operation of moving the application setting menu in response to the instruction input by the user based on the left key or the right key of the control device 100 will conflict with the operation of setting the corresponding parameter or state. In order to avoid the conflict, the display device 200 can adjust the value or state corresponding to the second menu item in response to the instruction input by the user based on the right key or the left key, without moving the application setting menu.
[0265] In some embodiments, the menu item list corresponding to each category can each include a basic menu item, which can be used to set some basic parameters of the art painting, such as Brightness, Contrast, Black Level, Auto Light Sensor, Auto White balance, BT Music, Reset, etc. The menu item list corresponding to each category can also include a third menu item, which can be a menu item for setting the parameters of the art painting of the corresponding category. The menu item lists corresponding to different categories can include the same third menu item, or different third menu items.
[0266] For example, taking the third menu item including Add Fav and Delate Fav as an example in the manner of dividing categories according to painting categories, the menu item list corresponding to each sub-category included in the Art Gallery category, each sub-category included in the Immersive Atmosphere category, and the My Photos category can include Add Fav and Delate Fav, the menu item list corresponding to the Photo Theme category does not include Add Fav and Delate Fav, and the menu item list corresponding to the Favorite category can include Delate Fav but not Add Fav.
[0267] In some embodiments, when displaying the application setting menu, the basic menu item can be loaded first, and the third menu item can be loaded after the third menu item is read, and the third menu item can be dynamically configured into the menu item list.
[0268] If the maximum number M of menu items that can be displayed in the list display area is less than N, that is, only part of the menu items in the menu item list can be displayed in the list display area each time, the user can control the menu item list to be displayed by scrolling in the list display area.
[0269] In some embodiments, the art mode application can be configured to not circularly scroll and display the menu item list in the list display area.
[0270] The display device 200 can move the focus up in the menu item list in response to a user's up instruction. Where the first menu item in the N menu items obtains the focus, the focus is no longer moved.
[0271] In some embodiments, the focus moving up in the menu item list can be shown as follows:
[0272] If the focus is obtained by the last n-1 menu items in the N menu items, when the focus is moved up in the menu item list, the n menu items in the list display area can remain unchanged, and each menu item can obtain the focus in the reverse order of the N menu items.
[0273] If the focus is obtained by other menu items, when the focus is moved up in the menu item list, each menu item can obtain the focus in the reverse order of the N menu items, and the menu item obtaining the focus can always be displayed at the beginning of the list display area, and the n menu items displayed in the list display area can be updated according to the menu item obtaining the focus. Where the n menu items displayed in the list display area can include, from top to bottom, the menu item obtaining the focus and the n-1 menu items after the menu item obtaining the focus.
[0274] If the focus is obtained by the first menu item in the N menu items, the focus can no longer be moved based on the non-cyclic scrolling manner, because there is no other menu item before the first menu item, and if the user continues to send the up instruction, the focus is no longer moved.
[0275] The display device 200 can move the focus down in the menu item list in response to a user's down instruction. Where the last menu item in the N menu items obtains the focus, the focus is no longer moved.
[0276] In some embodiments, the focus moving down in the menu item list can be shown as follows:
[0277] If the focus is obtained by the first n-1 menu items in the N menu items, when the focus is moved down in the menu item list, the n menu items in the list display area can remain unchanged, and each menu item can obtain the focus in the order of the N menu items.
[0278] If the focus is obtained by other menu items, when the focus is moved down in the menu item list, each menu item can obtain the focus in the order of the N menu items, and the menu item obtaining the focus can always be displayed at the end of the list display area, and the n menu items displayed in the list display area can be updated according to the menu item obtaining the focus. Where the n menu items displayed in the list display area can include, from bottom to top, the menu item obtaining the focus and the n-1 menu items before the menu item obtaining the focus.
[0279] If the last one of the N menu items obtains the focus, the focus can no longer be moved based on the non-cyclic scrolling manner, and since there is no other menu item after the first one, if the user continues to send the downward instruction, the focus is no longer moved.
[0280] In some embodiments, if the focus is no longer moved, the focus can be presented in a jitter state, a prompt tone is played, a prompt sentence is displayed, and the like, to prompt the user that the current has been scrolled to the first menu item or the last menu item.
[0281] In some embodiments, the display device 200 implements the design of non-cyclically scrolling menu items can refer to the following examples:
[0282] The list data can be generated based on the VerticalGridView, the focus is bound to the item in the list data, and when the item in the list data is selected, the focus frame is displayed on the item, otherwise the focus frame is not displayed. The list data is the data of the actual menu item list. For example, there are 7 menu items in total, and only 7 pieces of data are displayed and scrolled in the list display area. When switching, when the first piece of data is selected, the data cannot be switched upward, and when the seventh piece of data is selected, the data cannot be switched downward. In this way, the non-fixed focus non-cyclically switching menu item scrolling display effect can be achieved.
[0283] In other embodiments, the artistic mode application can be configured to fixedly focus and cyclically scroll the menu item list in the list display area.
[0284] The display device 200 can fix the display position of the focus in the list display area in response to the upward instruction of the user, and can move the menu item list downward to update the menu item that obtains the focus. When the first one of the N menu items is displayed at the first position in the list display area, the menu item list can be moved downward in response to the upward instruction, and the last one of the N menu items can be displayed at the first position in the list display area.
[0285] The display position of the fixed focus can be any position in the list display area, for example, the middle position, so that the focus is obtained by each menu item displayed at the middle position in the list display area.
[0286] When the user indicates to move the focus up, to achieve the effect of moving the focus up in the menu item list, the menu item list can be moved down to obtain the focus of each menu item in the reverse order of N menu items, and the menu item obtaining the focus is always displayed at the fixed position of the list display area. When the first menu item in the N menu items is located at the first position of the list display area, based on the way of circular scrolling, although there is no other menu item before the first menu item, the last menu item in the N menu items can be connected to, the last menu item is scrolled to the first position of the list display area, and the menu item list can continue to be scrolled down.
[0287] The display device 200 can fix the display position of the focus in the list display area in response to the downward instruction of the user, and can move the menu item list up to update the menu item obtaining the focus. When the last menu item in the N menu items is displayed at the last position in the list display area, the menu item list can be moved up in response to the downward instruction, and the first menu item in the N menu items can be displayed at the last position in the list display area.
[0288] The fixed display position of the focus can be any position in the list display area, for example, the middle position, so that the focus is obtained by each menu item displayed at the middle position in the list display area.
[0289] When the user indicates to move the focus down, to achieve the effect of moving the focus down in the menu item list, the menu item list can be moved up to obtain the focus of each menu item in the order of N menu items, and the menu item obtaining the focus is always displayed at the fixed position of the list display area. When the last menu item in the N menu items is located at the last position of the list display area, based on the way of circular scrolling, although there is no other menu item after the last menu item, the first menu item in the N menu items can be connected to, the first menu item is scrolled to the last position of the list display area, and the menu item list can continue to be scrolled up.
[0290] In some embodiments, the display device 200 can implement the design of focusing and circularly scrolling menu items, which can refer to the following examples:
[0291] The focusing and circularly scrolling menu items can be implemented by a virtual focusing method. The focus can be displayed as a separate view, and the view is displayed at a fixed position, so that the focusing effect can be achieved.
[0292] The application setting menu can be designed as a three-layer view structure, the first layer view can be used to display a background frame, the second layer view can be used to display a focus frame, and the third layer view can be used to display list data of a menu item list. The three layers of views are arranged in order from bottom to top as the first layer view, the second layer view, and the third layer view. The background of the menu item list can be in a transparent state, so that the focus frame located in the lower layer can be displayed, and the effect of the menu item obtaining focus can be realized.
[0293] Referring to the three-layer view structure shown in FIG. 19, the background frame can be displayed on the first layer view 1901, and the background can be filled in the background frame. The second layer view 1902 can be displayed on the upper layer of the first layer view 1901, and the focus frame can be displayed on the second layer view 1902, which can be displayed in a fixed position, such as the middle position of the list display area. The third layer view 1903 can be displayed on the upper layer of the second layer view 1902, and n menu items, such as 3 menu items “Brightness”, “Contrast”, and “Reset”, in the menu item list can be displayed on the third layer view 1903. The display effect of the superimposed application setting menu can be referred to as shown in FIG. 16, and the menu item located in the middle position of the list display area obtains focus, that is, “Contrast” obtains focus.
[0294] By setting the list quantity of the menu item list as Int.MAX_VALUE (i.e., 2147483647 super large number), almost infinite loop list data can be generated. By setting the menu item list as a super large number, the VerticalGridView component can automatically generate list data, and the list data can be up to 2147483647, which is equivalent to infinite scrolling data for scrolling operation, so that the list data can be switched in a loop.
[0295] In some embodiments, the application setting menu is displayed on the upper layer of the display page, and the application setting menu 2001 shown in FIG. 20 can be referred to. The application setting menu 2001 is displayed on the upper layer of the display page. In this way, when the user uses the application setting menu, the user can browse the art paintings in the display page and observe the setting effect after the setting through the application setting menu at the same time.
[0296] In some embodiments, the art mode application can be configured with an art mode settings page. The art mode settings page can be a settings page of the art mode application, which is distinguished from the system settings page and can be dedicated to setting parameters related to the art painting. The parameters set based on the art mode settings page will not affect the overall parameters of the display device 200. It can be considered that the art mode settings page can be a page corresponding to the application settings menu. The art mode settings page can display all the setting items for setting the related parameters of the art painting at one time, and can refer to the art mode settings page shown in FIG. 21. In this way, based on the art mode settings page, the user can more centrally set each parameter.
[0297] In some embodiments, the art mode settings page can be configured with an entry in the application settings menu, as shown in FIG. 20, the application settings menu 2001 includes an entry of the art mode settings page, such as "art mode settings". In this way, the user can enter the art mode settings page through the entry in the application settings menu.
[0298] In some embodiments, the art mode settings page can be configured to be displayed in the three-level OSD layer, that is, the art mode settings page is displayed in the upper layer of the display page, and can be focused by the art mode settings page.
[0299] In some embodiments, the art mode settings page can be configured with a help option, and the art mode settings page can also be configured with an information display area. The display device 200 can display a list of menu items corresponding to different categories in the information display area in response to the user's instruction of selecting the help option.
[0300] Referring to the art mode settings page shown in FIG. 22, the art mode settings page can include a help (Help) option, and when the user selects the option, a list of menu items corresponding to each category can be displayed in the information display area 2201.
[0301] In some embodiments, the art mode settings page can be configured with a menu background option of the application settings menu, which can be used to set the type of background displayed in the background box, such as solid color, transparent / semi-transparent, and using art painting to fill, etc. In this way, the user sets the type of background used to fill the background box based on the menu background option.
[0302] Referring to the art mode settings page shown in FIG. 22, the art mode settings page can include a menu background (Menu Background) option, and the currently set type, such as solid color, can be displayed on the option.
[0303] When displaying a picture, the display device 200 can use a picture quality parameter (hereinafter referred to as a "system picture quality parameter" for short) in the system parameters to display the picture. In some embodiments, the system picture quality parameter can include brightness, contrast, and the like.
[0304] In some embodiments, if the user wants to set the system picture quality parameter, the user can input a control instruction to the display device 200 through a specified key (for example, a setting key) of the control device 100 to control the display device 200 to display a system setting menu. Referring to FIG. 23, the system setting menu can include setting items of the system picture quality parameter, and the user can adjust the corresponding system picture quality parameter through the setting items.
[0305] In the art mode, the display device 200 needs to meet certain requirements to exhibit the picture quality effect of the art piece and improve the user experience. For example, the picture quality effect of the art piece needs to be closer to the effect of the real art piece to improve the realism of the art piece. For another example, the picture quality effect of the art piece needs to match the environment of the space in which the art piece is located to make the art piece have a more harmonious decoration effect on the space. If the display device 200 uses the same system picture quality parameter to exhibit different art pieces, the requirements of different art pieces on the picture quality effect cannot be met. In order to meet the requirements of the art piece on the picture quality effect, the user needs to adjust the system picture quality parameter after switching the art piece each time. Moreover, if the requirements of the art pieces before and after switching on the picture quality effect are quite different, the user needs to adjust more setting items and make large adjustments to each setting item, and even the user does not know which setting items should be adjusted. In this way, the user needs to operate frequently, and the adjustment precision is low and the adjustment difficulty is high.
[0306] Based on this, in some embodiments of the present application, the art mode application can be configured with a picture quality parameter (hereinafter referred to as an "application picture quality parameter" for the sake of distinction) that is independent of the system picture quality parameter, and the application picture quality parameter can meet the requirements of the art piece on the picture quality effect, that is, the display device 200 uses the application picture quality parameter to exhibit the art piece in the art mode instead of using the system picture quality parameter. After exiting the art mode, the system picture quality parameter is used to exhibit the picture. In this way, the picture quality effect of the art piece exhibited in the art mode can be met, and the picture quality effect of the picture will not be affected after exiting the art mode.
[0307] In order to ensure that the application picture quality parameter used by the display device 200 can meet the requirements of the art piece on the picture quality effect, different application picture quality parameters can be set for different types of art pieces.
[0308] In some embodiments, the artistic paintings can be classified according to the picture content of the artistic paintings, and the obtained artistic painting classification can be referred to as image classification (Image Category). In some embodiments, the image classification can include figures, landscapes, stills, and others (Other).
[0309] In some embodiments, the artistic paintings can be classified according to the painting category to which the artistic paintings belong, and the obtained artistic painting classification can be referred to as painting quality classification (Category Quality).
[0310] In some embodiments, a corresponding initial application quality parameter can be configured for each artistic painting classification in each classification manner. A first mapping relationship can be established between the artistic painting classification of each classification manner and the initial application quality parameter, so that based on the first mapping relationship, when the artistic painting classification is known, the corresponding initial application quality parameter can be mapped. For example, {brightness: 10, contrast: 10, black level 10, white balance 10: 10…….}.
[0311] In some embodiments, the image classification and the painting classification can be uniquely identified using an identity document (Identity Document, ID). The ID of the image classification (Image Category ID) can include Figures, Landscape, Still, and Other. The painting classification ID (Category ID) can include classic, oil, modern, Immersive Atmosphere, and Photos. Because the painting quality classification has a corresponding relationship with the painting classification, the painting classification can be used to represent the painting quality classification, and therefore the Category ID can be used to represent the ID of the painting quality classification.
[0312] In this way, a first mapping relationship can be established between the ID of the artistic painting classification and the corresponding application quality parameter. The first mapping relationship can be recorded in the form of a table, a key-value pair, etc.
[0313] If represented in the form of a table, the first mapping relationship between the image classification and the initial application quality parameter can refer to Table 1:
[0314] Table 1: First mapping relationship between image classification and initial application quality parameter
[0315] If represented in a table form, the first mapping relationship between the picture quality classification and the initial applied picture quality parameter can refer to Table 2:
[0316] Table 2: First mapping relationship between picture quality classification and initial applied picture quality parameter
[0317] In some embodiments, if classified according to the picture content of the artistic work, the user imported photo can be divided into other categories.
[0318] In some embodiments, the initial applied picture quality parameter corresponding to the other category is the same as the initial applied picture quality parameter corresponding to the photo classification.
[0319] In some embodiments, a second mapping relationship can be established between the artistic work (including the user imported photo) provided by the artistic mode application and the artistic work classification in each classification manner. In this way, based on the second mapping relationship, when the classification manner and the artistic work are known, it can be mapped to the corresponding artistic work classification.
[0320] In some embodiments, the artistic work can be uniquely identified using an ID, for example, an image ID.
[0321] Taking artistic works 1-5 as an example, if represented in a table form, the second mapping relationship between the artistic work and the image classification can refer to Table 3:
[0322] Table 3: Second mapping relationship between artistic work and image classification
[0323] Taking artistic works 1-5 as an example, if represented in a table form, the second mapping relationship between the artistic work and the picture quality classification can refer to Table 4:
[0324] Table 4: Second mapping relationship between artistic work and picture quality classification
[0325] In some embodiments, the artistic mode application can provide a function of adding a favorite to the artistic work, and accordingly, the artistic mode application can add a first-level classification, i.e., a favorite classification. The artistic work included in the favorite classification corresponds to the artistic work classification before the favorite is added.
[0326] Taking the artistic painting a as an example, if classification is performed according to picture content, the artistic painting classification corresponding to the artistic painting a can be Figures, and if classification is performed according to painting classification, the artistic painting classification corresponding to the artistic painting a can be oil. After the artistic painting a is added to the favorite, under the favorite classification, if classification is performed according to picture content, the artistic painting classification corresponding to the artistic painting a that has been added to the favorite is still Figures, and if classification is performed according to painting classification, the artistic painting classification corresponding to the artistic painting a that has been added to the favorite is still oil.
[0327] In some embodiments, since the first mapping relationship and the second mapping relationship are static data, i.e., data with a low frequency of change, the first mapping relationship and the second mapping relationship can be stored in a database, for example, in a configuration file. The database can be used to store static data, and can better ensure the storage effectiveness and stability of the first mapping relationship and the second mapping relationship.
[0328] In some embodiments, with reference to the operating system shown in FIG. 4, the artistic mode application in the application layer can be configured with a Main View module, a Menu View, a Picture Manager, and a Config Manager. The Main View can be used to display artistic paintings. The Menu View can be used to display an application setting menu. The Config Manager can be used to manage a database of artistic paintings, and can be used to read and write data. The Picture Manager provides an external interface, and can include obtaining and setting picture content, an address, an image ID, an image quality ID, a category ID, a category quality ID, and an image category ID.
[0329] When the display device 200 enters the artistic mode, the artistic paintings can be displayed according to the flow shown in FIG. 24, and the specific steps can include but are not limited to the following:
[0330] S2201, when entering the artistic mode, a first classification manner that is currently set is obtained, and a first artistic painting to be displayed is determined.
[0331] The first classification manner can be a classification manner to be used when entering the artistic mode.
[0332] In some embodiments, the first classification manner can be a classification manner that is used by the artistic mode application by default, such as a classification manner according to picture content of an artistic painting.
[0333] In some embodiments, the first classification manner can be a classification manner set by a user.
[0334] The first artistic painting can be an artistic painting to be displayed when entering the artistic mode.
[0335] In some embodiments, the first artistic painting can be an artistic painting displayed when exiting the artistic mode last time.
[0336] S2202, determining a first artistic painting classification of the first artistic painting in the first classification manner according to the first classification manner, the first artistic painting and the second mapping relationship, and determining the first picture quality parameter according to the first picture classification and the first mapping relationship.
[0337] Firstly, after determining the first classification manner, the display device 200 can map to the first artistic painting classification corresponding to the first artistic painting in the first classification manner, i.e., the first artistic painting classification, according to the second mapping relationship.
[0338] Then, after determining the first artistic painting classification corresponding to the first artistic painting, the display device 200 can map to the initial application picture quality parameter corresponding to the first artistic painting classification, i.e., the first picture quality parameter, according to the second mapping relationship.
[0339] In combination with Tables 1-4, taking the first classification manner as a classification manner according to painting classification and the first artistic painting as oil painting 1 as an example, the display device 200 can obtain the Image ID corresponding to the first artistic painting, such as Image1, when entering the artistic mode, and can map to the first artistic painting classification corresponding to the first artistic painting in the first classification manner, i.e., the corresponding Category ID is oil, according to the second mapping relationship. After determining that the Category ID is oil, the display device 200 can map to the initial application picture quality parameter corresponding to the first artistic painting classification, i.e., Params6, according to the first mapping relationship.
[0340] S2203, displaying the first artistic painting in the display page using the first picture quality parameter.
[0341] The display device 200 can adjust the system picture quality parameter to the first picture quality parameter, wherein, before adjusting the picture quality parameter, the display device 200 can store the system picture quality parameter currently used by the display device 200. After adjusting the system picture quality parameter to the first picture quality parameter, the display device 200 can display the first artistic painting using the first picture quality parameter. In this way, the picture quality effect of the first artistic painting can meet the corresponding requirements. Taking the use of Params6 to display oil painting 1 as an example, the picture quality effect of oil painting 1 can be closer to the real oil painting effect.
[0342] In some embodiments, if the display device 200 exits the artistic mode, the stored system picture quality parameter can be acquired, and the system picture quality parameter can be readjusted to the stored system picture quality parameter, i.e., the system picture quality parameter used before entering the artistic mode is restored, so as to ensure that the picture quality effect exhibited by the display device 200 in the non-artistic mode is not affected by the artistic mode.
[0343] When the display device 200 cycles the artistic pictures in the artistic mode, the application picture quality parameter used needs to be adjusted according to the switched artistic picture.
[0344] In some embodiments, if the first classification manner is classification according to the artwork category, the display device 200 can switch the picture quality parameter according to the flow shown in FIG. 25, and the specific steps can include but are not limited to the following:
[0345] S2301, when the cycling time is reached, the second artistic artwork to be displayed is determined according to the cycling order.
[0346] The cycling time is the time interval for switching the display of the artistic artwork during the cycling of the artistic artwork, i.e., the display duration of each artistic artwork.
[0347] In some embodiments, the cycling range can include artistic artworks belonging to one secondary category.
[0348] In some other embodiments, the cycling range can include artistic artworks belonging to one primary category and the secondary categories included in the one primary category.
[0349] In the cycling range, each artistic artwork is cycled according to the cycling order.
[0350] In some embodiments, the cycling order can be the default order applied in the artistic mode.
[0351] In some other embodiments, the cycling order can be the order customized by the user.
[0352] S2302, if the second artistic artwork belongs to the same secondary category as the first artistic artwork, the first picture quality parameter is maintained for displaying the second artistic artwork.
[0353] Because the first classification manner currently used is classification according to the artwork category, the cycling is performed in the same secondary category, the artistic artwork category corresponding to each artistic artwork remains unchanged, and accordingly, the picture quality parameter used also remains unchanged. Therefore, if the second artistic artwork belongs to the same secondary category as the first artistic artwork, the first picture quality parameter can be maintained for displaying the second artistic artwork.
[0354] S2303, if the second artistic work belongs to a different second-level classification than the first artistic work, determining a second artistic work classification of the second artistic work in the first classification mode according to the first classification mode, the second artistic work and the second mapping relationship, and determining a second picture quality parameter according to the second artistic work classification and the first mapping relationship, and displaying the second artistic work in the display page using the second picture quality parameter.
[0355] If the second artistic work belongs to a different second-level classification than the first artistic work, the application picture quality parameter to be used, i.e. the second picture quality parameter, needs to be determined again according to the second-level classification to which the second artistic work belongs. The process of determining the second picture quality parameter can refer to step S2202, which will not be described here.
[0356] In some embodiments, if the first classification mode is classification according to picture content, the display device 200 can switch the picture quality parameter according to the flow shown in FIG. 26, and the specific steps can include but are not limited to the following:
[0357] S2401, when the carousel time is reached, determining a third artistic work to be displayed according to the carousel order.
[0358] Step S2401 can refer to step S2301, which will not be described here.
[0359] S2402, determining a third artistic work classification of the third artistic work in the first classification mode according to the first classification mode, the third artistic work and the second mapping relationship, and determining a third picture quality parameter according to the third artistic work classification and the first mapping relationship.
[0360] Since the classification is according to picture content, the application picture quality parameter to be used needs to be determined according to each artistic work when displaying each artistic work. Step S2402 can refer to step S2202, which will not be described here.
[0361] S2403, displaying the third artistic work in the display page using the third picture quality parameter.
[0362] Step S2403 can refer to step S2203, which will not be described here.
[0363] In some embodiments, in the artistic mode, the user can manually switch the artistic work displayed in the display page. The display device 200 needs to use the matching application picture quality parameter according to the switched artistic work. The display device 200 can switch the picture quality parameter according to the flow shown in FIG. 27, and the specific steps can include but are not limited to the following:
[0364] S2501, in response to the user's operation of switching the artistic work, determining a fourth artistic work to be displayed.
[0365] In some embodiments, when displaying the exhibition page, the user can send a switching instruction to the display device 200 based on the left key or the right key on the control device 100. The display device 200 can determine the fourth artwork according to the switching direction and the carousel order in response to the switching instruction. The switching direction indicated by the switching instruction input by the user based on the left key is forward switching, that is, switching to the previous artwork of the current artwork in the carousel order. The switching direction indicated by the switching instruction input by the user based on the right key is backward switching, that is, switching to the next artwork of the current artwork in the carousel order.
[0366] In some embodiments, when displaying the hierarchical preview page, the user can switch the preview list displayed in the second menu by switching the first classification and the second classification, and can input a switching instruction to the display device 200 by selecting a preview in the preview list. The display device 200 can determine the artwork corresponding to the preview, that is, the fourth artwork, in response to the switching instruction.
[0367] In some embodiments, when displaying the global preview page, the user can input a switching instruction to the display device 200 by selecting a preview in the global preview list. The display device 200 can determine the artwork corresponding to the preview, that is, the fourth artwork, in response to the switching instruction.
[0368] S2502, determining a fourth artwork classification of the fourth artwork in the first classification manner according to the first classification manner, the fourth artwork and the second mapping relationship, and determining the fourth quality parameter according to the fourth artwork classification and the first mapping relationship.
[0369] S2503, displaying the fourth artwork in the exhibition page using the fourth quality parameter.
[0370] Steps S2501-S2503 can refer to steps S2201-S2203, which will not be described here.
[0371] In some embodiments, the user can switch the classification manner at any time. Taking the first artwork displayed in the exhibition page as an example, the display device 200 can switch the classification manner according to the flow shown in FIG. 28, and the specific steps can include but are not limited to the following:
[0372] S2601, in response to a setting instruction of the user setting the second classification manner, determining a fifth artwork classification of the first artwork in the second classification manner according to the second classification manner, the first artwork and the second mapping relationship, and determining a fifth quality parameter according to the fifth artwork classification and the first mapping relationship.
[0373] In some embodiments, the setting item of the artistic painting classification manner can be configured in the artistic mode setting page. The user can control the display device 200 to open the artistic mode setting page, wherein the application setting menu can be opened according to steps S901-S905, which will not be repeated here. After opening the application setting menu, the user can open the artistic mode setting page by selecting the artistic mode setting option in the application setting menu, and the artistic mode setting page can include a setting item of the artistic painting classification manner, such as (Graphic settings).
[0374] In some embodiments, when entering the artistic mode setting page, the setting item of the artistic painting classification manner can display the name of the currently set classification manner, that is, the first classification manner. Taking the first classification manner as an example, the name displayed on the setting item of the artistic painting classification manner can be “Image Category”.
[0375] In some embodiments, after the user sets the second classification manner, the user can control the display device 200 to exit the artistic mode setting page and display the display page by controlling the back key of the control device 100.
[0376] After switching to the second classification manner, the application image quality parameter used to display the first artistic painting can be adjusted according to the second classification manner. The process of determining the application image quality parameter currently corresponding to the first artistic painting according to the second classification manner, the first artistic painting, the first mapping relationship and the second mapping relationship can refer to step S2202, which will not be repeated here.
[0377] S2602, display the first artistic painting using the fifth image quality parameter in the display page.
[0378] Step S2602 can refer to step S2203, which will not be repeated here.
[0379] When the display device 200 displays the artistic painting using the application image quality parameter, the image quality effect may still not meet the user's needs. The artistic mode application can be configured with an adjustment function of the application image quality parameter, and the user can adjust the image quality parameter according to the needs.
[0380] In some embodiments, the artistic mode application can configure setting items of the application image quality parameter in the application setting menu, and the user can adjust the corresponding application image quality parameter through these setting items.
[0381] In some embodiments, the artistic mode application can be configured to adjust the application image quality parameter only for the current artistic painting classification, without affecting the application image quality parameters corresponding to other artistic painting classifications. Among them, the current artistic painting classification is the currently displayed artistic painting, and the corresponding artistic painting classification in the currently set classification manner.
[0382] In some embodiments, when the first classification mode is currently used and the first artistic painting is displayed, the display device 200 can adjust the picture quality parameters according to the flow shown in FIG. 29. The specific steps can include but are not limited to the following:
[0383] S2701, in response to the menu instruction of the user, display the application setting menu on the exhibition page. The application setting menu includes a setting item of the application picture quality parameter.
[0384] The application setting menu can be opened by referring to steps S901-S905, which will not be described here.
[0385] The user can control the display device 200 to obtain focus from the target setting item which the user wants to set, so as to set the target setting item.
[0386] S2702, in response to the setting operation of the user on the target setting item, adjust the first picture quality parameter to the sixth picture quality parameter.
[0387] In some embodiments, the setting item of the application picture quality parameter can include brightness (Brightness), contrast (Contrast), black level (Black Level), auto light sensor (Auto Light Sensor), Bluetooth music (BT Music), reset (Reset), etc.
[0388] In some embodiments, the Auto Light Sensor can be configured with auxiliary parameters such as light sensor shift (Light Sensor Shift) and auto white balance (Auto White balance). After opening the Auto Light Sensor, Light Sensor Shift and Auto White balance are displayed in the application setting menu. In this way, the display device 200 can automatically detect the brightness level of the surrounding light through the ambient light sensor, and fine-tune the current picture quality parameters according to the detection result. For example, increase the brightness and backlight in a dark environment, and reduce the brightness and backlight in a bright environment, to ensure the comfort and visibility of the artistic picture exhibition. After turning off the Auto Light Sensor, Light Sensor Shift and Auto White balance are not displayed in the application setting menu.
[0389] In some embodiments, Brightness and Auto Light Sensor are configured as linkage parameters. When Brightness is adjusted, the automatic light sensing function is turned off by default to avoid the influence of automatic light sensing on the setting of brightness.
[0390] In some embodiments, the setting item of the application quality parameter can further include a filter setting item. In this way, the user can realize one-key adjustment of the quality effect of the artistic painting through the filter setting item. The filter setting item can include a static filter and a dynamic filter. When the user selects the static filter through the filter setting item, the static filter, i.e., the static quality effect, can be added to the first artistic picture. When the user selects the dynamic filter through the filter setting item, the dynamic filter, i.e., the dynamic quality effect, such as rain and snow, can be added to the first artistic picture.
[0391] S2703, a third mapping relationship is established between the first artistic painting classification and the sixth quality parameter.
[0392] In some embodiments, the artistic mode application can be configured to preferentially use the application quality parameter obtained based on the third mapping relationship. That is, if the adjusted application quality parameter exists for the artistic painting classification, the adjusted application quality parameter can be preferentially used. If the adjusted application quality parameter does not exist for the artistic painting classification, the initial application quality parameter can be used.
[0393] In some embodiments, the third mapping relationship can be stored in the local data of the artistic mode application, so as to facilitate updating of the third mapping relationship.
[0394] In some embodiments, when the artistic painting to be displayed corresponds to the first artistic painting classification when switching the displayed artistic painting, the sixth quality parameter can be determined to be used to display the artistic painting according to the third mapping relationship.
[0395] In some embodiments, the setting item of the application quality parameter can further include a separate adjustment setting item, such as Image Quality. The setting item can be a switch setting item. When the separate adjustment setting item is turned on, the application quality parameter of the currently displayed artistic painting can be separately set, that is, the operation of adjusting the application quality parameter will not affect the application quality parameter corresponding to the artistic painting classification to which the artistic painting currently belongs.
[0396] When the first artistic painting is displayed, the display device 200 can separately set the application quality parameter of the current artistic painting according to the flow shown in FIG. 30. The specific steps can include but are not limited to the following:
[0397] S2801, in response to the instruction of the user turning on the separate adjustment setting item, an independent identifier is added to the first artistic painting, and a fourth mapping relationship is established between the first artistic painting classification and the independent identifier of the first artistic painting.
[0398] If the user wants to adjust the application quality parameters of the current artistic painting individually, the user can open the setting item for individual adjustment. When the setting item for individual adjustment is in the open state, the application quality parameters adjusted by the user only take effect on the current artistic painting and do not affect the application quality parameters corresponding to the current artistic painting classification.
[0399] In some embodiments, after the setting item for individual adjustment is opened, an independent identifier can be added for the first artistic painting to indicate that the first artistic painting has independently set application quality parameters. The independent identifier can be uniquely identified by an ID, such as an Image Quality ID. A fourth mapping relationship is established between the first artistic painting classification and the independent identifier of the first artistic painting, indicating that the first artistic painting has independently set application quality parameters under the current artistic classification.
[0400] S2802, in response to the user's setting operation on the target setting item, obtaining a seventh quality parameter, and establishing a fifth mapping relationship between the independent identifier of the first artistic painting and the seventh quality parameter.
[0401] The seventh quality parameter obtained after the target setting item is set can be an application quality parameter independently set for the first artistic painting. The fifth mapping relationship established between the independent identifier of the first artistic painting and the seventh quality parameter can be used to indicate the application quality parameter corresponding to the first artistic painting.
[0402] After the application quality parameter is independently set for the first artistic painting, the application quality parameter corresponding to the first artistic painting classification is not affected. When the first artistic painting is displayed, the target artistic painting classification corresponding to the first artistic painting under the currently set classification mode needs to be determined according to the currently set classification mode, the first artistic painting, and the second mapping relationship. According to the target artistic painting classification and the fourth mapping relationship, it is determined whether there is an independent identifier corresponding to the target picture classification. If there is no corresponding independent identifier, the target quality parameter to be used can be determined according to the target artistic painting classification and the first mapping relationship, and the first artistic painting can be displayed using the target quality parameter. If there is a corresponding independent identifier, the seventh quality parameter can be determined according to the independent identifier and the fifth mapping relationship, and the first artistic painting can be displayed using the seventh quality parameter.
[0403] In some embodiments, the user can restore the application quality parameters corresponding to the current artistic painting classification to the initial application quality parameters through the reset item in the application setting menu. The reset operation does not affect the application quality parameters corresponding to other artistic painting classifications.
[0404] In some embodiments, in the art mode, the setting item of the system quality parameter in the system setting menu can be configured to be in an unavailable state. In this way, the user can be prevented from adjusting the system quality parameter through the setting item of the system quality parameter, thereby destroying the quality effect provided by the application quality parameter.
[0405] The art mode setting page can include a plurality of setting items, which can be used to set functions related to displaying art paintings.
[0406] In some embodiments, the setting items in the art mode setting page can include switch setting items, parameter setting items, and entry setting items. The switch setting items can be used to turn on and off the corresponding functions. The parameter setting items can be used to set specific parameters of the corresponding functions. The entry setting items can be used to enter the setting page of the corresponding functions.
[0407] In the first implementation, the switch setting item can be configured to be switched between on and off in response to the selection instruction of the user.
[0408] In the second implementation, the switch setting item can be configured to display the state (such as on or off) in the display area as the set state. In response to the scrolling instruction of the user, such as the left scrolling instruction input by the left key of the control device 100 or the right scrolling instruction input by the right key of the control device 100, the states can be scrolled in the display area, and the state displayed in the display area can be set as the state of the corresponding function.
[0409] In the third implementation, the switch setting item can be configured to have a corresponding drop-down menu, which can include options of on and off. In response to the selection instruction of the user, the drop-down menu can be displayed, and in response to the instruction of the user selecting the target state to be set, the corresponding function can be set to the target state.
[0410] In the fourth implementation, the parameter setting item can be configured to display the parameter value in the display area as the set parameter value. In response to the scrolling instruction of the user, such as the left scrolling instruction input by the left key of the control device 100 or the right scrolling instruction input by the right key of the control device 100, the parameter values can be scrolled in the display area, and the parameter value displayed in the display area can be set as the parameter value of the corresponding function.
[0411] In the fifth implementation, the parameter setting item can be configured to have a corresponding drop-down menu, which can include options of the parameter values. In response to the selection instruction of the user, the drop-down menu can be displayed, and in response to the instruction of the user selecting the target parameter value to be set, the corresponding function can be set to the target parameter value.
[0412] In the second and fourth implementations, a scroll arrow can be displayed on the switch settings and parameter settings to indicate the direction in which scrolling is possible.
[0413] In some embodiments, if the switch settings and parameter settings are configured such that the status or parameter value can be scrolled cyclically, then all scroll arrows can be displayed. For example, if the scrolling direction includes left and right, then a left scroll arrow and a right scroll arrow can be displayed.
[0414] In some embodiments, if the switch setting item and parameter setting item are configured such that the status or parameter value cannot be scrolled continuously, then the corresponding scroll arrow can be displayed in the scrollable direction, and the corresponding scroll arrow can not be displayed in the non-scrollable direction, or the corresponding scroll arrow can be displayed as unavailable.
[0415] In some embodiments of this application, the switch setting item and the parameter setting item are described in the manner that, in response to the user's scrolling command, the status or parameter value displayed in the setting item is set to the status and parameter value of the corresponding function, and the scrolling direction includes left and right.
[0416] In some embodiments, features related to displaying artwork may include carousels, frames, artwork information, Bluetooth music, photo themes, etc.
[0417] In some embodiments, the art mode settings page may also include an effect demonstration area, which can be used to demonstrate the effect of the settings of the currently set items.
[0418] The settings for various parameters related to displaying artworks can be explained in detail by referring to the Art Mode Settings page shown in Figure 22.
[0419] In some embodiments, the carousel function may include carousel modes. The settings for a carousel mode can be configured as parameter settings. Carousel modes may include off, sequential, reverse, etc. When a carousel mode's settings item receives focus, the user can use the left and right buttons on the control device 100 to control the scrolling display of parameter values for each carousel mode within the settings item, so as to display the desired target parameter value in the settings item.
[0420] If the user controls to turn off the display in the settings, the display device 200 will turn off the carousel function, that is, it will not carousel the art images, but only display one artwork.
[0421] If the user controls to display other parameter values in the settings, the display device 200 will enable the carousel function and rotate the artwork in the carousel mode corresponding to that parameter value.
[0422] In some embodiments, the effect of the art paintings being cycled according to the cycling manner shown in the setting item can be demonstrated in the effect demonstration area. For example, if the setting item shows the order, an animation is played in the effect demonstration area, and the animation includes a picture switching process, and the switching direction is from right to left, so as to indicate the order by the switching direction. For another example, if the setting item shows the reverse order, an animation is played in the effect demonstration area, and the animation includes a picture switching process, and the switching direction is from left to right, so as to indicate the reverse order by the switching direction.
[0423] After the display device 200 starts the cycling function, the setting item of the cycling time can be displayed in the art mode setting page, for example, below the setting item of the cycling manner. In this way, after the cycling function is started, the art mode application can provide the user with the function of further setting the cycling time.
[0424] The setting item of the cycling time can be configured as a parameter setting item. The cycling time can include different time intervals, such as 1 min, 5 min, and 10 min. The process of setting the cycling time can refer to the process of setting the cycling manner, which is not described herein. For example, the cycling time is set to 1 min, that is, the art paintings are switched at a time interval of 1 min during the cycling process.
[0425] The setting item of the picture frame function can be configured as a parameter setting item. The picture frame function can include off and different background colors, that is, the color of the picture frame. The process of setting the picture frame function can refer to the process of setting the cycling manner, which is not described herein. If off is shown in the setting item, the picture frame function is turned off, that is, no picture frame is added to the art pictures. If the specific parameters of the background color are shown in the setting item, the picture frame function is turned on, and the color of the picture frame is consistent with the background color shown in the setting item.
[0426] In some embodiments, the background color can be represented by a corresponding color block. For example, if the background color is yellow, it can be represented by a yellow color block.
[0427] In some embodiments, the effect of displaying the frame according to the background color displayed in the setting item can be demonstrated in the effect demonstration area. Taking the current background color as yellow as an example, if the user adjusts the background color displayed in the setting item to red, an animation can be played in the effect demonstration area, and the content of the animation can be the switching process of the frame color. Among them, the artistic picture with the frame is full-screen displayed in the animation demonstration area, and the artistic picture after the frame color is switched to red appears from the left side and gradually slides to the right, covering the artistic picture (the frame color is yellow) displayed before the frame color is switched. Until it is full-screen displayed in the animation demonstration area. Among them, the artistic picture before the frame color is switched (the frame color is yellow) presents a fading effect, so that the user can more clearly distinguish the display effect before and after the frame color is switched through the fading effect.
[0428] The setting item of the painting information can be configured as an on-off setting item. The state of the painting information can include on and off. When the setting item of the painting information obtains focus, the user can control the states to be displayed in the setting item by rolling display through the left and right keys of the control device 100, so as to display the target state to be set in the setting item.
[0429] The setting item of the Bluetooth music can be configured as an entry setting item. The display device 200 can display a setting page in response to the instruction of the user selecting the setting item. The setting page can provide information such as Bluetooth pairing with the display device 200.
[0430] The setting item of the photo theme can be configured as a parameter setting item. The photo theme can include no theme and various themes. The process of setting the photo theme can refer to the process of setting the carousel mode, which is not described here. Among them, if no theme is displayed in the setting item, the photos imported by the user can be carousel displayed in the manner of displaying single photos. If a specific theme is displayed in the setting item, each photo can be displayed according to the theme set in the setting item under the photo theme classification.
[0431] The device state of the display device 200 can include a wake-up state and a sleep state. In the wake-up state, the display 260 can be in a bright screen state, and the audio output device 270 is in a non-mute state. In the sleep state, the display 260 can be in an off-screen state, and the audio output device 270 is in a mute state.
[0432] The display device 200 is in the art mode and in the wake-up state. In the wake-up state, the display device 200 has a high power consumption. Since in the art mode, the user usually does not use the display device 200 at all times, it is easy to cause the user to forget that the display device 200 is still in the wake-up state, so that the display device 200 is always in a high power consumption state, which will generate high cost, and the display device 200 is in the wake-up state for a long time, which will also affect the service life of the display device 200.
[0433] Therefore, the art mode application can also be configured with a motion detection function. In the art mode, that is, when the display device 200 is in the wake-up state, if no moving object is detected around the display device 200 within a specified time, the display device 200 is adjusted to the sleep state, so as to reduce the power consumption of the display device 200 and prolong the service life of the display device 200.
[0434] In some embodiments, the operating system shown in FIG. 4 can be referred to. The operating system is configured with a key processing module and a screen state control module in the application layer. In the framework layer, a sensor API, a power manager (Power Manager), and an alarm manager (Alarm Manager) are configured. In the system runtime library layer, a sensor driver manager (Sensor Manager) is configured. In the core layer, a motion detection device such as a millimeter wave sensor is configured.
[0435] In the core layer, the millimeter wave sensor can be responsible for transmitting motion detection data to the system layer.
[0436] In the system runtime library layer, the millimeter wave sensor driver manager is responsible for interacting with the driver layer, obtaining data of the millimeter wave sensor, and using the data by a motion detection algorithm module to detect the motion state of the user. The SensorManager service module is responsible for providing motion detection data to the framework layer, and the data processing module and the motion detection event processing module are responsible for processing the motion detection data and events. The light sensor driver manager is responsible for interacting with the driver layer, obtaining data of the light sensor, and using the data by a light sensing algorithm module to detect the ambient brightness. The SensorManager service module is responsible for providing light detection data to the framework layer, and the data processing module and the light detection event processing module are responsible for processing the light detection data and events.
[0437] In the framework layer, the SensorManager API allows applications to access motion detection data and light detection data, and can be managed by the MotionDetectionManager service responsible for managing motion detection functions. The PowerManager can be used to provide the PowerManager service, which is responsible for managing the power state of the device, controlling the brightness and volume of the screen in sleep mode, etc. The ActivityManager can be used to provide the ActivityManager service, which is responsible for managing the life cycle of applications, reawakening applications in sleep mode, etc.
[0438] In the application layer, motion detection data and light sensing are obtained using the motion detection API provided by the framework layer. Art mode settings are implemented.
[0439] In some embodiments, the settings item of the motion detection function can be configured within the art mode setting page. The settings item of the motion detection function can be configured as a switch settings item. The state of the motion detection function can include on and off. The process of setting the motion detection function can refer to the process of setting the painting information, which is not described here.
[0440] In some embodiments, referring to the art mode setting page shown in FIG. 31, when the settings item of the motion detection function is displayed, the use effect of the motion detection function can be demonstrated in the effect demonstration area. In some embodiments, an introduction to the motion detection function can also be displayed in the effect demonstration area, such as “After enabling motion detection, the art painting will be displayed according to the motion around it. (If there is a moving object in the same space, it will be displayed, otherwise it will be in sleep mode)”.
[0441] After the motion detection function is turned on, the settings item of the detection sensitivity can be displayed on the art mode setting page.
[0442] In some embodiments, the art mode application can be configured to display the settings item of the detection sensitivity in the art mode setting page corresponding to the settings item of the motion detection function, such as below the settings item of the motion detection function, after the motion detection function is turned on.
[0443] In this way, after the motion detection function is enabled, the user can set the detection sensitivity, i.e., the capture ability of the motion amplitude of the moving object. The higher the detection sensitivity, the smaller the motion amplitude of the object that can be captured, that is, even if the motion amplitude of the object is small, the display device 200 can capture that the object is moving and determine it as a moving object. The lower the detection sensitivity, the larger the motion amplitude of the object that can be captured, that is, only when the motion amplitude of the object is large enough, the display device 200 can capture that the object is moving and determine it as a moving object, and for some objects with small motion amplitude, it will not be determined as a moving object. Correspondingly, if the detection sensitivity is high, the probability of the display device 200 entering the sleep state is lower; if the detection sensitivity is low, the probability of the display device 200 entering the sleep state is higher.
[0444] According to the first sensitivity set by the user based on the setting item of the detection sensitivity, the first sensitivity is used to detect the moving object appearing around the display device.
[0445] The setting item of the detection sensitivity can be configured as a parameter setting item. The detection sensitivity can include a degree value of sensitivity, such as low, medium, and high. The process of setting the detection sensitivity can refer to the process of setting the carousel mode, which is not described here. Taking the set sensitivity as the first sensitivity as an example, the first sensitivity can be any one of low, medium, and high, and the display device 200 will use the first sensitivity to detect the moving object appearing around the display device 200.
[0446] In some embodiments, the art mode application can configure a sub-function for the motion detection function, such as a sleep duration function. After the display device 200 enables the motion detection function, the display device 200 can display the switch of the sleep duration function in the art mode setting page at a position corresponding to the setting item of the motion detection function, such as below the setting item of the motion detection function. After the sleep duration function is enabled, the setting item of the sleep duration can be displayed. The sleep duration refers to the duration of the display device 200 entering the sleep state without detecting a moving object. As shown in FIG. 31, after the motion detection function is enabled, the switch of the sleep duration function can be displayed below the motion detection function. After the switch of the sleep duration function is enabled, the setting item of the sleep duration can be displayed. The setting item of the sleep duration can be configured as a parameter setting item, and the sleep duration can include a specific value of the duration, such as 5 min, 10 min, 30 min, 1 h, etc. The user can customize the sleep duration through the setting item, for example, the sleep duration shown in FIG. 31 is 10 min.
[0447] When the motion detection function is enabled, the display device 200 can adjust the state of the display device according to the flow shown in FIG. 32, and the specific steps can include but are not limited to the following:
[0448] S3001, detecting a moving object appearing around the display device.
[0449] The display device 200 can use the millimeter wave sensor of the Android device for motion detection.
[0450] In some embodiments, a listener SensorEventListener can be registered in the art mode to receive sensor data, and whether a moving object is detected can be determined according to the sensor data. Wherein, when the display device 200 is in the wake-up state (bright screen and non-mute state), the way to detect the moving object is to start a timer when starting each round of detection, and the duration of not detecting the moving object is counted through the timer. If a moving object is detected within the sleep duration, such as the first duration, a new round of detection is started, and the timer is restarted. If no moving object is detected when the sleep duration is reached, the display device 200 enters the sleep state (screen off and mute state). The code for implementing the above process can be referred to the following example:
[0451] S3002, if a moving object is detected within the first duration, the display device 200 remains in the wake-up state.
[0452] If a moving object is detected within the first duration, it means that there may be user activity around the display device 200, that is, the user still needs to be shown artistic pictures. Therefore, the display device 200 remains in the wake-up state. In this way, the display device 200 can still show artistic pictures to the user, and when the artistic pictures have audio, the corresponding audio can be played through the audio output device 270.
[0453] S3003, if no moving object is detected within the first duration, the display device 200 enters the sleep state.
[0454] If no moving object is detected within the first duration, it means that there may be no user activity around the display device 200, that is, the user does not need to be shown artistic pictures. Therefore, the display device 200 can be adjusted to the sleep state. In this way, the display device 200 can effectively reduce power consumption and prolong the service life.
[0455] In some embodiments, the timer can be implemented by Handler and Runnable, and if no moving object is detected within the first duration (such as the sleep duration of 10 minutes), the task of entering the sleep state (screen off and mute state) is executed. The code design can be referred to the following example:
[0456] In other embodiments, the display device 200 can also be adjusted to the sleep state, i.e. the screen-off and mute state, by acquiring the wakeLock lock and calling the goToSleep to shut down. The code design can refer to the following examples:
[0457] When the display device 200 enters the sleep state in the motion detection mode, the art mode application can be processed in the following manner:
[0458] In some embodiments, the display device 200 can keep the art mode application open after entering the sleep state in the motion detection mode, and can cycle the art paintings within the showcase page, i.e. the art mode application is not exited after entering the sleep state.
[0459] The running of the art mode application is not affected after the display device 200 enters the sleep state. Thus, the display device 200 does not need to restart the art mode application after being woken up again, and the cycling process of the art paintings can be ensured not to be affected by the sleep state.
[0460] Since the art mode application is always in the running state, in order to avoid the display device 200 from disturbing the user after entering the sleep state, the display 260 is adjusted to the screen-off state so that the user cannot watch the screen, and the audio output device 270 is adjusted to the mute state so that the user cannot hear the sound.
[0461] In some embodiments, the display device 200 can keep the art mode application open after entering the sleep state in the motion detection mode, and can pause the cycling of the art paintings, i.e. the art mode application is not exited after entering the sleep state.
[0462] The display device 200 keeps the art mode application open after entering the sleep state, but pauses the cycling of the art paintings. Thus, the display device 200 does not need to restart the art mode application after being woken up again, and the cycling process of the art paintings can be paused to avoid the user from missing the art paintings played in the sleep state.
[0463] Since the art mode application is always in the running state, in order to avoid the display device 200 from disturbing the user after entering the sleep state, the display 260 is adjusted to the screen-off state so that the user cannot watch the screen. Since the cycling process of the art paintings is paused, the corresponding audio is also paused, and thus the audio output device 270 can be kept in the non-mute state. In some embodiments, the audio output device 270 can also be adjusted to the mute state to ensure that no audio is played, and the power consumption of the audio output device 270 can also be reduced.
[0464] In some embodiments, the display device 200 exits the art mode application after entering the sleep state in the motion detection mode.
[0465] The display device 200 exits the art mode application after entering the sleep state, which avoids the power consumption caused by the art mode application.
[0466] In order to avoid the display device 200 from interfering with the user after entering the sleep state, the display 260 is adjusted to the screen-off state so that the user cannot watch the picture, and the audio output device 270 is adjusted to the mute state so that the user cannot hear the sound.
[0467] In some embodiments, the motion detection service of the art mode application is still running when the display device 200 is in the sleep state, so that the display device 200 continues to detect whether there is a moving object around when in the sleep state. If the display device 200 detects a moving object in the sleep state, it can be automatically woken up, i.e., re-adjusted from the sleep state to the wake-up state.
[0468] In some embodiments, the display device 200 in the sleep state can be re-adjusted to the wake-up state in response to the user's instruction based on the input of any key of the control device 100. The any key of the control device 100 can include a power key, an art mode key, etc.
[0469] In some embodiments, the display device 200 in the sleep state can listen to the key event of the device. The code design for listening to the key event can refer to the following example:
[0470] The display device 200 is re-adjusted from the sleep state to the wake-up state, i.e., the display 260 is adjusted from the screen-off state to the screen-on state, and if the audio output device 270 is in the mute state, the audio output device 270 is unmuted.
[0471] When the display device 200 is re-woken up, the display 260 is adjusted to the screen-on state with gradually increasing brightness, and the audio output device 270 is unmuted with gradually increasing volume after being unmuted.
[0472] Referring to ①-② in FIG. 33, when the display 260 is adjusted to the screen-on state, the display 260 first displays a picture at a first brightness value and gradually adjusts from the first brightness value to a second brightness value, the first brightness value being less than the second brightness value. In this way, the display brightness of the display 260 has a transition from low to high, which can effectively reduce the stimulation of the state switching of the display 260 to the user's vision. When the audio output device 270 is unmuted, the audio output device 270 first plays sound at a first volume value and gradually adjusts from the first volume value to a second volume value, the first volume value being less than the second volume value. In this way, the volume value of the audio output device 270 has a transition from low to high, which can effectively reduce the stimulation of the state switching of the audio output device 270 to the user's hearing.
[0473] In some embodiments, in the sleep state, if the display device 200 keeps the art mode application open and cycles the art works in the showcase page, after being readjusted to the wake-up state, the display device 200 does not need to re-enter the art mode application, but can directly show the art works in the cycling state.
[0474] In some embodiments, in the sleep state, if the display device 200 keeps the art mode application open and suspends the cycling of the art works, after being readjusted to the wake-up state, the display device 200 needs to restore the cycling of the art works, instead of re-entering the art mode application.
[0475] When the cycling of the art works is restored, the cycling time can be calculated according to the cycling progress when the cycling of the art works is suspended. For example, when the cycling of the art works is suspended, the currently displayed art work a has been displayed for 3 minutes, and if the cycling time is 5 minutes, after the cycling of the art works is restored, the art work a can be continued to be displayed, and the next art work can be switched after 2 minutes of display.
[0476] When the cycling of the art works is restored, the cycling time can also be recalculated. For example, when the cycling of the art works is suspended, the currently displayed art work a has been displayed for 3 minutes, and if the cycling time is 5 minutes, after the cycling of the art works is restored, the art work a is continued to be displayed, and the next art work is switched after 5 minutes of display.
[0477] In some embodiments, in the sleep state, if the display device 200 has exited the art mode application, after being readjusted to the wake-up state, the display device 200 needs to re-enter the art mode application.
[0478] Taking the display device 200 exiting the art mode application in the sleep state as an example, the code design when the display device 200 is readjusted to the wake-up state can refer to the following example:
[0479] For entering the sleep state by setting the backlight brightness to 0 and the volume to 0:
[0480] For entering the sleep state by acquiring a wakeLock lock and calling goToSleep:
[0481] In some embodiments, the art mode application can also configure a sub-function for the motion detection function, such as a do not disturb function. After the do not disturb function is turned on, if the display device 200 is in a sleep state within a specified time period, it will not be awakened even if a moving object is detected.
[0482] In some embodiments, after the motion detection function is turned on, the display device 200 can display a switch for the do not disturb function in the art mode settings page at a location corresponding to the settings item for the motion detection function. After the do not disturb function is turned on, the display device 200 can display settings items for the do not disturb time, such as a settings item for the start time of the do not disturb function and a settings item for the end time of the do not disturb function, at a location corresponding to the do not disturb function. The user can customize the do not disturb start time and the do not disturb end time through the settings item for the start time of the do not disturb function and the settings item for the end time of the do not disturb function
[0483] Referring to the art mode settings page shown in FIG. 31, after the motion detection function is turned on, the display device 200 can display a switch for the do not disturb function below the settings item for the motion detection function. After the do not disturb function is turned on, the display device 200 can display settings items for the do not disturb time, such as a settings item for the start time of the do not disturb function and a settings item for the end time of the do not disturb function, and the currently set start time is 11:00 PM and the end time is 7:00 AM. The code design for setting the do not disturb time can be referred to the following example:
[0484] SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(this);
[0485] String startTime = preferences.getString("do_not_disturb_start_time", "23:00");
[0486] String endTime = preferences.getString("do_not_disturb_end_time", "07:00");
[0487] The display device 200 can enter the do-not-disturb state when the system time reaches the start time, and exit the do-not-disturb state when the system time reaches the end time.
[0488] In some embodiments, if the motion detection function and the do-not-disturb function are both enabled, the display device 200 can adjust the device state according to the flow shown in FIG. 34, and the specific steps can include but are not limited to the following:
[0489] S3201, obtaining the do-not-disturb time, and detecting a moving object appearing around the display device to obtain a first detection result.
[0490] The do-not-disturb time can include a start time and an end time.
[0491] The first detection result can include detecting a moving object and not detecting a moving object.
[0492] S3202, adjusting the device state according to the do-not-disturb time and the first detection result.
[0493] If the system time is not within the do-not-disturb time, the device state can be adjusted according to the first detection result.
[0494] If the system time is within the do-not-disturb time, if in the wake-up state, the device state can be adjusted according to the first detection result, and if in the sleep state, the sleep state can be maintained.
[0495] That is, if not currently in the do-not-disturb time, the device state is adjusted according to steps S3001-S3003. If currently in the do-not-disturb time, if in the wake-up state, the display device 200 can still adjust the device state according to steps S3001-S3003. If in the sleep state, such as having entered the sleep state before entering the do-not-disturb state, or entering the sleep state in the do-not-disturb state, the motion detection function is equivalent to being disabled, that is, even if the display device 200 detects a moving object again, it will not be adjusted to the wake-up state. After exiting the do-not-disturb state, the display device 200 will resume adjusting the device state according to steps S3001-S3003. If the display device 200 enters the sleep state in the do-not-disturb state, after exiting the do-not-disturb state, if a moving object is detected, it is adjusted to the wake-up state again. The code design when the motion detection function and the do-not-disturb function are both enabled can refer to the following examples:
[0496] In some embodiments, the artistic mode application can be configured with a night mode. The night mode can be used to automatically enter the sleep state when the ambient brightness is low, and automatically enter the wake-up state when the ambient brightness is high.
[0497] Referring to FIG. 31, an artistic mode setting page can include a setting item of a night mode. The setting item of the night mode can be configured as a switch setting item, and the state of the night mode can include on and off. The process of setting the night mode can refer to the process of setting the painting information, which is not described herein.
[0498] In some embodiments, the artistic mode application can be configured with a light sensing parameter threshold, which can be the minimum brightness value for determining entry into the sleep mode.
[0499] In some embodiments, the display device 200 can be installed with a hardware frame at the frame to simulate a real artistic painting. If the display device 200 is installed with a hardware frame, the detection result of the display device 200 on the ambient brightness will be affected by the hardware frame. For example, for the display device 200 in the same environment, i.e., in the same ambient brightness, if the display device 200 has been installed with a hardware frame, the ambient brightness detected by the display device 200 will be lower than the real ambient brightness; if the display device 200 has not been installed with a hardware frame, the ambient brightness detected by the display device 200 will be closer to the real ambient brightness. Based on the influence of whether the hardware frame is installed on the detection result of the ambient brightness, the artistic mode application can set different light sensing parameter thresholds according to whether the hardware frame is installed, for example, set the light sensing parameter threshold to a first value when the hardware frame is installed, and set the light sensing parameter threshold to a second value when the hardware frame is not installed. In this way, the device state of the display device 200 can be adjusted more accurately and reasonably.
[0500] In some embodiments, the display device 200 can set the light sensing parameter threshold according to the flow shown in FIG. 35, and the specific steps can include but are not limited to the following:
[0501] S3301, when the night mode is turned on, the setting data of the boot navigation is obtained, and the setting data includes hardware frame data.
[0502] When the user uses the display device 200 for the first time, the display device 200 will show the user a boot navigation page to guide the user to set the related parameters of the display device 200 through the boot navigation page. The related parameters can include whether the hardware frame is installed. For example, when the hardware frame is installed, the related parameter can be setFrameSetting(true).
[0503] After the user sets the related parameters of the display device 200 based on the boot navigation page, the display device 200 will save the set parameters to obtain setting data. The data of whether the hardware frame is installed set by the user is the hardware frame data in the setting data, and correspondingly, the hardware frame data can be that the hardware frame is installed or not installed.
[0504] S3302, if the hardware frame data is the installed hardware frame, the light parameter threshold is the first value.
[0505] If the hardware frame data is the installed hardware frame, it can be determined that the display device 200 currently has installed the hardware frame, and the display device 200 can set the light parameter threshold to the first value according to the installed hardware frame.
[0506] S3303, if the hardware frame data is the uninstalled hardware frame, the light parameter threshold is the second value.
[0507] If the hardware frame data is the uninstalled hardware frame, it can be determined that the display device 200 currently has not installed the hardware frame, and the display device 200 can set the light parameter threshold to the second value according to the uninstalled hardware frame.
[0508] The code design of setting the light parameter threshold can refer to the following examples:
[0509] In some embodiments, the display device 200 can set the light parameter threshold according to the flow shown in FIG. 36, and the specific steps can include but are not limited to the following:
[0510] S3401, obtaining the second brightness configured for the display within a specified time length.
[0511] The display device 200 can obtain whether the hardware frame has been installed in the art mode. For example, boolean hasFrame = getFrameSettingFromUser ().
[0512] The display device 200 can be configured to adjust the brightness of the display 260 according to the detected ambient brightness, wherein the ambient brightness is related to whether the hardware frame is installed. For example, if the hardware frame is installed, the detected ambient brightness is low, and the brightness of the display 260 is adjusted accordingly. If the hardware frame is not installed, the detected ambient brightness is high, and the brightness of the display 260 is adjusted accordingly.
[0513] The display device 200 can be configured to determine whether the hardware frame has been installed by monitoring the real brightness of the display 260, i.e., the second brightness configured for the display 260.
[0514] S3402, determining whether the hardware frame has been installed according to the value and variation trend of the second brightness.
[0515] For example, if the value of the second luminance decreases and the amount of the second luminance is lower than the first threshold, it indicates that the luminance detected by the display device 200 decreases and the detected luminance is consistent with the luminance that can be detected when the hardware frame is installed. At this time, it is determined that the hardware frame is installed.
[0516] For another example, if the value of the second luminance increases and the amount of the second luminance is higher than the second threshold, the second threshold is greater than the first threshold, it indicates that the luminance detected by the display device 200 increases and the detected luminance is consistent with the luminance that can be detected when the hardware frame is not installed. At this time, it is determined that the hardware frame is not installed.
[0517] S3403, if the hardware frame is installed, the light sensing parameter threshold is a first value.
[0518] S3404, if the hardware frame is not installed, the light sensing parameter threshold is a second value.
[0519] Steps S3403-S3404 can refer to steps S3302-S3303, which are not repeated here.
[0520] In some embodiments, the display device 200 can set the light sensing parameter threshold according to the flow shown in FIG. 37, and the specific steps can include but are not limited to the following:
[0521] S3501, detecting whether the hardware frame is installed by a hardware sensor.
[0522] The display device 200 can be configured with a hardware sensor at the installation position of the hardware frame, and the display device 200 can detect whether the hardware frame is installed through the hardware sensor.
[0523] For example, the hardware sensor can be a magnetic attraction device. If the display device 200 detects an attractive force through the magnetic attraction device, it can be determined that the hardware frame is installed. If no attractive force is detected through the magnetic attraction device, it can be determined that the hardware frame is not installed. For example, boolean hasFrame = detectFrameUsingMagneticSensor().
[0524] S3502, if the hardware frame is installed, the light sensing parameter threshold is a first value.
[0525] S3503, if the hardware frame is not installed, the light sensing parameter threshold is a second value.
[0526] Steps S3502-S3503 can refer to steps S3302-S3303, which are not repeated here.
[0527] In some embodiments, when the night mode is enabled, the display device 200 can adjust the device state according to the flow shown in FIG. 38, and the specific steps can include but are not limited to the following:
[0528] S3601, detecting a first brightness of an environment in which the display device is located.
[0529] The display device 200 can detect the brightness value of the environment in which it is located, i.e., the first brightness, through the detector 230, such as a brightness sensor.
[0530] S3602, if the first brightness is greater than or equal to a light sensing parameter threshold value, maintaining the wake-up state.
[0531] If the first brightness is greater than or equal to the light sensing parameter threshold value, it means that the current environmental brightness is high, and it is highly probable that it is not the user's rest time. Therefore, the display device 200 can continue to maintain the wake-up state to ensure normal use by the user.
[0532] S3603, if the first brightness is less than the light sensing parameter threshold value, entering the sleep state.
[0533] If the first brightness is less than the light sensing parameter threshold value, it means that the current environmental brightness is low, and it is highly probable that it is the user's rest time. Therefore, the display device 200 can need to be adjusted to the sleep state to avoid the user's rest.
[0534] In some embodiments, the code design of the display device 200 entering the sleep state in the night mode can refer to the following example:
[0535] if (!isMotionDetectionEnabled() && isNightModeEnabled() &&!isLightDetected()) {
[0536] enterSleepMode();
[0537] }
[0538] In some embodiments, when the display device 200 enters the sleep state in the night mode, the state of the art mode application is also adjusted accordingly. The process of adjusting the state of the art mode application can refer to the process of adjusting the state of the art mode application when entering the sleep state in the motion detection mode, which will not be described here.
[0539] In some embodiments, the light detection service of the art mode application is still running when the display device 200 is in the sleep state, so that the display device 200 continues to detect the ambient brightness when in the sleep state. The display device 200 can be automatically woken up, i.e., adjusted from the sleep state to the wake-up state, if the detected ambient brightness is greater than or equal to the light sensing parameter threshold in the sleep state.
[0540] In some embodiments, the code design of the display device 200 in the sleep state according to the ambient brightness to wake up again can be as follows:
[0541] if(getLightSensorValue()>LIGHT_WAKE_THRESHOLD){
[0542] wakeUpFromSleepMode();
[0543] }
[0544] In some embodiments, the display device 200 can be adjusted to the wake-up state in response to the user's instruction based on the input of any key of the control device 100 when the display device 200 is in the sleep state.
[0545] In some embodiments, the code design of the display device 200 in the sleep state to listen to the key event of the device can refer to the following example:
[0546] In some embodiments, when the display device 200 is woken up again, the process of adjusting the state of the art mode application and the state of the display 260 and the audio output device 270 can refer to the process of waking up again under the motion detection function, which is not described here.
[0547] In some embodiments, if the motion detection function and the night mode are turned on at the same time, the display device 200 can adjust the device state according to the flow shown in FIG. 39, and the specific steps are as follows:
[0548] S3701, detecting a moving object appearing around the display device to obtain a first detection result, and detecting a first brightness of an environment in which the display device is located.
[0549] The first detection result can include detecting a moving object and not detecting a moving object.
[0550] S3702, adjusting the device state according to the first detection result and the first brightness.
[0551] Among them, if in the wake-up state, the device state can be adjusted according to the first detection result.
[0552] If in the sleep state, the device state can be adjusted according to the first brightness and the first detection result. Wherein, when the first brightness is greater than or equal to the light sensing parameter threshold and the first detection result is detecting a moving object, the device state can be adjusted to the wake-up state; when the first brightness is less than the light sensing parameter threshold and / or the first detection result is not detecting a moving object, the device state can be kept in the sleep state.
[0553] That is, if in the wake-up state, the device state can be adjusted according to steps S3001-S3003. Wherein, when no moving object is detected in the first time length, the device state is adjusted to the sleep state even if the first brightness is greater than or equal to the light sensing parameter threshold; when a moving object is detected in the first time length, the device state is adjusted to the sleep state even if the first brightness is less than the light sensing parameter threshold.
[0554] If in the sleep state, such as when no moving object is detected in the first time length to enter the sleep state, the device state needs to be adjusted based on the first brightness and the first detection result. Wherein, only when the first brightness is greater than or equal to the light sensing parameter threshold and a moving object is detected, the device state is adjusted to the wake-up state. As long as the first brightness is less than the light sensing parameter threshold or no moving object is detected, the device state is kept in the sleep state.
[0555] In some embodiments, after the motion detection function and the night mode are turned on at the same time, if the device state is adjusted to the sleep state, the code design for re-waking up can refer to the following examples:
[0556] In some embodiments, if the motion detection function, the do-not-disturb function and the night mode are turned on at the same time, the device state can be adjusted according to the flow shown in FIG. 40, and the specific steps can include but are not limited to the following:
[0557] S3801, obtaining a do-not-disturb time, detecting a moving object appearing around the display device to obtain a first detection result, and detecting a first brightness of an environment in which the display device is located.
[0558] S3802, adjusting the device state according to the do-not-disturb time, the first detection result and the first brightness.
[0559] Wherein, if the system time is not in the do-not-disturb time, if in the wake-up state, the device state is adjusted according to the first detection result; if in the sleep state, the device state is adjusted according to the first brightness and the first detection result. Wherein, when the first brightness is greater than or equal to the light sensing parameter threshold and the first detection result is detecting a moving object, the device state is adjusted to the wake-up state; when the first brightness is less than the light sensing parameter threshold and / or the first detection result is not detecting a moving object, the device state is kept in the sleep state.
[0560] If the system time is in the do-not-disturb time, if in the wake-up state, the device state can be adjusted according to the first detection result, if in the sleep state, the sleep state can be maintained. After exiting the do-not-disturb state, the device state can be adjusted according to the first brightness and the first detection result, wherein, when the first brightness is greater than or equal to the light sensing parameter threshold, and the first detection result is that a moving object is detected, the wake-up state can be re-entered, when the first brightness is less than the light sensing parameter threshold, and / or the first detection result is that a moving object is not detected, the sleep state is maintained.
[0561] In some embodiments, the sleep duration function and the do-not-disturb function can be configured as global functions, that is, the sleep duration function and the do-not-disturb function can simultaneously control the motion detection function and the night mode. Correspondingly, the switch of the sleep duration function and the switch of the do-not-disturb function are global switches. Referring to the artistic mode setting page shown in FIG. 41, the artistic mode setting page can include the switch of the motion detection function, the switch of the night mode, the switch of the sleep duration function, and the switch of the do-not-disturb function.
[0562] In some embodiments, when only the switch of the motion detection function and the switch of the sleep duration function are turned on, the display device 200 will adjust the device state according to steps S3001-S3003.
[0563] In some embodiments, when the switch of the motion detection function, the switch of the sleep duration function, and the switch of the do-not-disturb function are turned on, the display device 200 can adjust the device state according to steps S3201-S3202.
[0564] In some embodiments, when the switch of the motion detection function, the switch of the night mode, and the switch of the sleep duration function are turned on, the display device 200 will adjust the device state according to steps S3701-S3702.
[0565] In some embodiments, when the switch of the motion detection function, the switch of the night mode, the switch of the sleep duration function, and the switch of the do-not-disturb function are turned on, the display device 200 will adjust the device state according to steps S3801-S3802.
[0566] In some embodiments, when only the night mode and the do-not-disturb function are turned on, the display device 200 can adjust the device state according to the flow shown in FIG. 42, and the specific steps can include but are not limited to the following:
[0567] S4001, obtain the do-not-disturb time, and detect the first brightness of the environment in which the display device is located.
[0568] S4002, adjust the device state according to the do-not-disturb time and the first brightness.
[0569] If the system time is not in the do-not-disturb time, the device state can be adjusted according to the first brightness, that is, the display device 200 can adjust the device state according to S3601-S3603.
[0570] If the system time is in the do-not-disturb time, if in the wake-up state, the device state can be adjusted according to the first brightness, if in the sleep state, the sleep state can be maintained all the time, and after exiting the do-not-disturb state, the wake-up state can be re-entered when the first brightness is greater than or equal to the light-sensing parameter threshold.
[0571] In some embodiments, when only the night mode and the sleep duration function are turned on, the display device 200 can adjust the device state according to the flow shown in FIG. 43, and the specific steps can include but are not limited to the following:
[0572] S4101, detecting the first brightness of the environment where the display device is located.
[0573] Step S4101 can refer to step S3601, which will not be described here.
[0574] S4102, if the first brightness greater than or equal to the light-sensing parameter threshold is detected within the first duration, the wake-up state is maintained.
[0575] The first duration is the sleep duration, and if the first brightness greater than or equal to the light-sensing parameter threshold is detected within the first duration, the wake-up state can be maintained and the sleep state is not entered.
[0576] S4103, if the first brightness is always less than the light-sensing parameter threshold within the first duration, the sleep state is entered.
[0577] If the first brightness is always less than the light-sensing parameter threshold within the first duration, it means that the ambient brightness is always low, and the sleep state can be entered.
[0578] In some embodiments, when the night mode, the sleep duration function, and the do-not-disturb function are turned on, the display device 200 can adjust the device state according to the flow shown in FIG. 44, and the specific steps can include but are not limited to the following:
[0579] S4201, obtaining the do-not-disturb time, and detecting the first brightness of the environment where the display device is located.
[0580] S4202, adjusting the device state according to the do-not-disturb time and the first brightness.
[0581] If the system time is not in the do-not-disturb time, the device state can be adjusted according to the first brightness, that is, the display device 200 can adjust the device state according to steps S4101-S4103.
[0582] If the system time is in the do-not-disturb time, if in the wake-up state, the device state can be adjusted according to steps S4101-S4103, if in the sleep state, the sleep state can be always maintained, and after exiting the do-not-disturb state, the wake-up state can be re-entered when the first brightness is detected to be greater than or equal to the light-sensing parameter threshold.
[0583] In some embodiments, the immersive atmosphere category can include dynamic art works with audio, i.e. the art works included in the immersive atmosphere category are videos. In this way, when the display device 200 displays the art works under the immersive atmosphere category, the corresponding audio is played at the same time to create an atmosphere for the user. However, the audio carried by the art works under the immersive atmosphere category can not be the music that the user likes, which will result in that the atmosphere that the user likes cannot be created. And for the art works under other categories, these art works are all pictures, so when the display device 200 displays these art works, no audio will be played. Then, the user will lack atmosphere when browsing these art works.
[0584] Based on this, the art mode application can be configured with an application Bluetooth music function, so that in the art mode, the user can use the application Bluetooth music function to connect a Bluetooth device at any time, and send the audio that the user likes to the display device 200 through the Bluetooth device, so as to play the audio through the display device 200, so that the atmosphere that the user likes can be created.
[0585] In some embodiments, the operating system shown in FIG. 4 can be referred to, and the related modules of the first application, such as the Bluetooth switch module, the connected device management module, the registration and listening module, the operation guide module, the play control module, etc. can be configured in the application layer of the operating system. The Bluetooth music receiving module, the music play control module, etc. can be configured in the framework layer. The Bluetooth communication module, the Bluetooth driver, etc. can be configured in the core layer.
[0586] The Bluetooth switch module can be used to show different Bluetooth switches to the user and interact with the user to turn on or off.
[0587] The connected device management module can be used to manage each connected Bluetooth device, and can generate and display a corresponding device list.
[0588] The registration and listening module can be used to listen to the connection state of the Bluetooth device, the audio play state of the Bluetooth device, etc.
[0589] The operation guide module can be used to show the operation guide of the operation of pairing with the Bluetooth device, etc.
[0590] The play control module can be used for audio play of the whole machine, etc.
[0591] The Bluetooth music receiving module, as a Bluetooth receiving end of the display device 200, can receive Bluetooth music signals from a Bluetooth device.
[0592] The music playing control module can be used to control the playing, pausing, volume adjustment, etc. of music according to the control instructions of the application layer, and call the audio service and the media player service of the system.
[0593] The driver layer is located at the hardware level of the display device such as a television, is responsible for communication with the Bluetooth hardware module, and controls the audio output device. The main functions can include: communication with the Bluetooth hardware module, receiving Bluetooth music signals from other devices.
[0594] For a Bluetooth device, if it is distinguished according to the reception and transmission of audio data, it can be divided into an audio source device and an audio receiving device, wherein the audio source device can be a Bluetooth device for providing (transmitting) audio data to the audio receiving device, and the audio receiving device can be a Bluetooth device for receiving the audio data transmitted by the audio source device. Thus, the audio receiving device can be used as an audio playing device to play the audio data provided by the audio source device.
[0595] In some examples, the same Bluetooth device can switch the Bluetooth mode according to different use requirements. The Bluetooth mode can include an audio source (source) mode and an audio receiving (sink) mode, which are two Bluetooth modes specified in the Bluetooth audio transmission protocol (Advanced Audio Distribution Profile, A2DP). Among them, if the Bluetooth device is in the source mode, the Bluetooth device currently acts as an audio source device, i.e. the sender of the audio data. If the Bluetooth device is in the sink mode, the Bluetooth device currently acts as an audio receiving device, i.e. the receiver of the audio data.
[0596] In some embodiments, the display device 200 can be configured to use the source mode by default, i.e. as an audio source device. In some examples, the display device 200 can switch between the source mode and the sink mode according to different use scenarios.
[0597] In some embodiments, the display device 200 can be configured with a system Bluetooth function. A first Bluetooth switch for controlling the opening and closing of the system Bluetooth function can be configured in the system setting menu, the quick setting panel, the status bar, the shortcut menu, etc.
[0598] Taking the first Bluetooth switch being configured in the system settings menu as an example, the system settings menu shown in FIG. 45 can be referred to, which can include a first Bluetooth switch 4501. When the first Bluetooth switch is in an on state, the system Bluetooth function can be turned on, and when the first Bluetooth switch is in an off state, the system Bluetooth function can be turned off.
[0599] When the system Bluetooth function is turned on, the display device 200 can be paired with other Bluetooth devices. When the system Bluetooth function is turned off, the display device 200 can not be paired with other Bluetooth devices.
[0600] In some embodiments, when the system Bluetooth function is controlled by the first Bluetooth switch to be turned on and off, the display device 200 always uses the source mode, i.e., the display device 200 always acts as an audio source device, which can be used to provide audio data to a paired Bluetooth device to play audio through the paired Bluetooth device.
[0601] For example, when the system Bluetooth function is turned on by the first Bluetooth switch, the display device 200 will be paired with other Bluetooth devices as an audio source device, such as pairing with 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.
[0602] In some embodiments, the application layer can be configured with a listening module of system controls, which can listen to the state changes of each system control. When the first Bluetooth switch is in an off state, if the user indicates to turn on the first Bluetooth switch, the listening module can listen to the turning on of the first Bluetooth switch, and after listening to the turning on of the first Bluetooth switch, the system Bluetooth function can be turned on by calling the system Bluetooth service. When the first Bluetooth switch is in an on state, if the user indicates to turn off the first Bluetooth switch, the listening module can listen to the turning off of the first Bluetooth switch, and after listening to the turning off of the first Bluetooth switch, the system Bluetooth function can be turned off by calling the system Bluetooth service. In this way, the system Bluetooth function can be controlled to be turned on and off by the first Bluetooth switch.
[0603] 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 in scenarios other than using the application Bluetooth music function. The default state of the first Bluetooth switch can be an on state or an off state. For example, to avoid power consumption caused by constantly turning on the system Bluetooth function, and to avoid frequently receiving pairing requests from other Bluetooth devices caused by constantly turning on the system Bluetooth function, the default state of the first Bluetooth switch can be set to an off state. For example, to facilitate pairing of the display device 200 with other Bluetooth devices, the default state of the first Bluetooth switch can be set to an on state.
[0604] In some embodiments, the display device 200 can also be configured with a second Bluetooth switch, which can be a switch for the device visibility function. Reference can be made to the system setting menu shown in FIG. 45, which can include a second Bluetooth switch 4502. When the second Bluetooth switch is in the on state, the device visibility function can be turned on, i.e., if the system Bluetooth function is turned on, the display device 200 can be discovered by other Bluetooth devices. When the second Bluetooth switch is in the off state, the device visibility function is turned off, i.e., if the system Bluetooth function is turned on, the display device 200 will not be discovered by other Bluetooth devices.
[0605] 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 in scenarios other than using the application Bluetooth music function. The default state of the second Bluetooth switch can be the on state or the off state. 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 the off state. For example, to facilitate pairing of the display device 200 with other Bluetooth devices, the default state of the second Bluetooth switch can be set to the on state.
[0606] In some embodiments, the state change of the second Bluetooth switch can be monitored by a monitoring module of the system control, and the visibility function can be turned on and off by calling the device visibility service, so as to control the turning on and off of the visibility function by the second Bluetooth switch. The process can refer to the process of controlling the turning on and off of the system Bluetooth function by the first Bluetooth switch, which will not be described here.
[0607] In some embodiments, the display device 200 can also be configured with a third Bluetooth switch, which can be a switch for the device shielding function. When the third Bluetooth switch is in the on state, the device shielding function can be turned on, so that when the system Bluetooth function is turned on, no connection can be established with the specified Bluetooth device. When the third Bluetooth switch is in the off state, the device shielding function can be turned off, so that when the system Bluetooth function is turned on, a connection can be established with the specified Bluetooth device. The specified Bluetooth device can be a Bluetooth device specified by the user, a Bluetooth device other than the Bluetooth device specified by the user that can be connected, or a Bluetooth device other than the currently connected Bluetooth device.
[0608] In some embodiments, the default state of the third Bluetooth switch, i.e., the default state of the device shielding function, refers to the state of the third Bluetooth switch in scenarios other than using the application Bluetooth music function. The default state of the third Bluetooth switch can be an open state or a closed state. For example, in order to avoid frequently receiving pairing requests and connection requests from the specified Bluetooth devices when the system Bluetooth function is always on, and to avoid the specified Bluetooth devices establishing a connection with the display device 200 and sending audio data to the display device 200, affecting the current playing of the display device 200, the default state of the third Bluetooth switch can be set to an open state. For another example, in order to show the user the Bluetooth devices that can be paired, the default state of the third Bluetooth switch can be set to a closed state.
[0609] In some embodiments, the Bluetooth devices that can establish a connection with the display device 200 can be managed by a white list of Bluetooth devices, and the Bluetooth devices not on the white list are the specified Bluetooth devices, i.e., the Bluetooth devices that cannot establish a connection with the display device 200 after the device shielding function is turned on. Among them, the Bluetooth devices in the white list can be dynamically adjusted according to the user's settings.
[0610] In some embodiments, the specified Bluetooth devices can be managed by a black list of Bluetooth devices, i.e., the Bluetooth devices on the black list are the specified Bluetooth devices, i.e., the Bluetooth devices that cannot establish a connection with the display device 200 after the device shielding function is turned on. Among them, the Bluetooth devices in the black list can be dynamically adjusted according to the user's settings.
[0611] In some embodiments, the white list or the black list of Bluetooth devices can be written in the configuration file, and after the first Bluetooth switch is turned on, the listening module of the system control can receive a pairing request or a connection request of another Bluetooth device. The white list or the black list in the configuration file can be read to determine whether the Bluetooth device is a specified Bluetooth device according to the white list or the black list. When the Bluetooth device is a specified Bluetooth device, the device shielding service can be called to reject or not respond to the request of the Bluetooth device. When the Bluetooth device is not a specified Bluetooth device, the device shielding service can not be called to normally respond to the request of the Bluetooth device.
[0612] 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.
[0613] In the art mode, in order to expand the audio resources that the display device 200 can play, more abundant audio data can be provided through other Bluetooth devices, at this time, the display device 200 needs to be used as an audio receiving device to receive the audio data provided by other Bluetooth devices. That is, the display device 200 needs to be switched to the sink mode. Correspondingly, the application Bluetooth music function provided by the art mode application is a Bluetooth function of pairing the display device 200 as an audio receiving device with other Bluetooth devices.
[0614] In some embodiments, in the art mode, the display device 200 can play the audio from the Bluetooth device according to the flow shown in FIG. 46, and the specific steps can include but are not limited to the following:
[0615] S4601, in the art mode, in response to the user's operation of opening the application Bluetooth music function, switching to the audio receiving mode, and displaying the operation guidance page. Wherein, when the default state of the first Bluetooth switch is off, turn on the first Bluetooth switch.
[0616] In some embodiments, the art mode application can configure the switch of the application Bluetooth music function in the application setting menu. It can be referred to the application setting menu 2001 shown in FIG. 20, which can include the switch of the application Bluetooth music function, such as BT Music. Correspondingly, the user's operation of opening the application Bluetooth music function can be: when the display device 200 displays the display page, the menu key of the control device 100 can be used to input the menu instruction to control the display device 200 to open the application setting menu, and the switch of the application Bluetooth music function in the application setting menu can be selected to open the application Bluetooth music function.
[0617] In other embodiments, the art mode application can configure the switch of the application Bluetooth music function in the art mode setting page. It can be referred to the art mode setting page shown in FIG. 21, which can include the switch of the application Bluetooth music function, such as BT Music. Correspondingly, the user's operation of opening the application Bluetooth music function can be: when the display device 200 displays the display page, the menu key of the control device 100 can be used to input the menu instruction to control the display device 200 to open the application setting menu, and the setting item of the art mode setting in the application setting menu can be selected to open the art mode setting page. The switch of the application Bluetooth music function in the art mode setting page is selected to open the application Bluetooth music function.
[0618] Since the application Bluetooth music function is a Bluetooth function of pairing the display device 200 as an audio receiving device with other Bluetooth devices, when the application Bluetooth music function is opened, the display device 200 switches the display device 200 from the source mode to the sink mode to pair with other Bluetooth devices as an audio receiving device.
[0619] In some embodiments, in order to ensure the availability of the application Bluetooth music function, when the application Bluetooth music function is used, if the system Bluetooth function of the display device 200 is in the closed state, the system Bluetooth function can be forcibly opened so that the display device 200 can use the Bluetooth function to pair with other Bluetooth devices.
[0620] In some embodiments, in order to avoid affecting the overall performance of the display device 200, if the application Bluetooth music function is not used, such as exiting the art mode or disconnecting from other Bluetooth devices, the default state of the system Bluetooth function is restored. If the default state of the system Bluetooth function is on, the system Bluetooth function can be kept on, that is, the first Bluetooth switch is kept in the on state. If the default state of the system Bluetooth function is off, the system Bluetooth function can be closed again, that is, the first Bluetooth switch is switched back to the off state.
[0621] The implementation process of the display device 200 opening the first Bluetooth switch to open the system Bluetooth function when using the application Bluetooth music function can refer to the following embodiments:
[0622] In some embodiments, the display device 200 can call the first Bluetooth switch by the first application to realize the linkage effect between the application Bluetooth music function and the system Bluetooth function.
[0623] Referring to the operating system shown in FIG. 4, the user interacts with the first application through the Bluetooth switch module, such as opening the application Bluetooth music function, and the Bluetooth switch module calls the system Bluetooth service to open 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 the closing operation guide page or the closing pairing page, if the application registration listening module listens that it is not paired or connected with the Bluetooth device, the application registration listening module can send a first notification to the Bluetooth switch module, or after the application registration listening module listens that the Bluetooth device is disconnected, the Bluetooth switch module sends a first notification to the Bluetooth switch module, or when the activity manager detects that the first application is exited, the Bluetooth switch module sends a first notification to the Bluetooth switch module. The Bluetooth switch module will call the system Bluetooth service according to the first notification to restore the default state of the first Bluetooth switch, such as closing the first Bluetooth switch to close the system Bluetooth service.
[0624] In some embodiments, the display device 200 can listen to the usage state of the first application through the system's registration listening module, and can call the first Bluetooth switch to achieve the linkage effect between the application Bluetooth music function and the system Bluetooth function.
[0625] Referring to the operating system shown in FIG. 4, in the application layer, the related module of the first application can further include a configuration file, which can include configuration information of the first application, such as the first application being an application that needs to use the system Bluetooth function, that is, after starting the first application, the system Bluetooth function needs to be turned on. In the application layer, the system's registration listening module can also be configured. During the boot-up process of the display device 200, the system's registration listening module scans the configuration files of various applications. When the configuration file of the first application is scanned, the configuration information of the first application can be read, and the first application can be registered to the application list according to the configuration information. The application list includes applications that need to use the system Bluetooth function, that is, after starting these applications, the system Bluetooth function needs to be turned on. The system's registration listening module can listen to the startup of each activity and determine the application that is started according to the package name corresponding to the activity. After the system's registration listening module listens to the activity of the first application, it can be determined that the first application is started. The system's registration listening module determines whether the first application belongs to the application list, and after determining that the first application belongs to the application list, the system Bluetooth service is called to turn on the first Bluetooth switch and turn on the system Bluetooth service.
[0626] In some embodiments, the configuration information of the first application can include a page with an application setting menu. When the system's registration listening module registers the first application to the application list, it can be accurately registered to the page with the application setting menu, that is, when entering the first application and opening the application setting menu, the system Bluetooth service is turned on. After the system's registration listening module listens to the activity of the page with the application setting menu, the system Bluetooth service is called to turn on the first Bluetooth switch and turn on the system Bluetooth service.
[0627] When the activity manager detects that the closing operation guide page or the closing pairing page, a message can be sent to the system registration listening module, and after the system registration listening module receives the message, if it is detected that the Bluetooth device is not paired or connected, the system registration listening module can close the system Bluetooth service to close the first Bluetooth switch and the system Bluetooth function. Alternatively, after the system registration listening module detects that the Bluetooth device is disconnected, the system registration listening module can close the system Bluetooth service to close the first Bluetooth switch and the system Bluetooth function. Alternatively, when the activity manager detects that the first application is exited, a message can be sent to the system registration listening module, and after the system registration listening module receives the message, the system registration listening module can close the system Bluetooth service to close the first Bluetooth switch and the system Bluetooth function.
[0628] In some embodiments, the code design for implementing the display device 200 to switch to the sink mode when the application Bluetooth music function is opened can refer to the following examples:
[0629] In some embodiments, the code design for implementing the display device 200 to switch to the sink mode can refer to the following examples:
[0630] Create a method to switch the Bluetooth mode of the TV:
[0631] In some embodiments, the code design for implementing the display device 200 to force the system Bluetooth function to be turned on when the application Bluetooth music function is opened can refer to the following examples:
[0632] In some embodiments, if the display device 200 is configured with a second Bluetooth switch, the display device 200 can respond to the user's operation of opening the application Bluetooth music function, and when the second Bluetooth switch is in the off state, the second Bluetooth switch is forced to be turned on to turn on the device visibility function, so that the display device 200 can be discovered by other Bluetooth devices when the system Bluetooth function is turned on, thereby ensuring that the application Bluetooth music function is available. Wherein, the second Bluetooth switch 4502 shown in FIG. 45 can be referred to.
[0633] Correspondingly, in order to avoid affecting the overall performance of the display device 200, if the application Bluetooth music function is not used, such as exiting the art mode or disconnecting from other Bluetooth devices, the default state of the device visibility function is restored. Wherein, if the default state of the device visibility function is on, the device visibility function can be kept on, that is, the second Bluetooth switch is kept in the on state. If the default state of the device visibility function is off, the device visibility function can be closed again, that is, the second Bluetooth switch is switched to the off state.
[0634] When the display device 200 uses the Bluetooth music application function, the second Bluetooth switch can be turned on. The process of turning on the device visibility function can refer to the process of turning on the first Bluetooth switch, which will not be described here.
[0635] In some embodiments, if the display device 200 is configured with a third Bluetooth switch, the display device 200 can respond to the user's operation of opening the Bluetooth music application function, and when the third Bluetooth switch is in the off state, forcibly turn on the third Bluetooth switch to turn on the device shielding function, so that the display device 200 can not be discovered by the specified Bluetooth device when the system Bluetooth function is turned on, to avoid interference from these Bluetooth devices.
[0636] Correspondingly, in order to avoid affecting the overall performance of the display device 200, if the Bluetooth music application function is not used, such as exiting the art mode or disconnecting the connection with other Bluetooth devices, the default state of the device shielding function can be restored. If the default state of the device shielding function is on, the device shielding function can be kept on, that is, the third Bluetooth switch is kept in the on state. If the default state of the device shielding function is off, the device shielding function can be turned off again, that is, the third Bluetooth switch is switched to the off state.
[0637] When the display device 200 uses the Bluetooth music application function, the third Bluetooth switch can be turned on to turn on the device shielding function. The process of turning on the device shielding function can refer to the process of turning on the first Bluetooth switch, which will not be described here. The configuration information of the first application can include a white list or a black list of Bluetooth devices.
[0638] In some embodiments, the code design for realizing the independence between the state of each Bluetooth switch of the display device 200 when using the Bluetooth music application function and the default state can refer to the following example:
[0639] / / Bluetooth function used by Bluetooth music
[0640] BluetoothAdapter bluetoothAdapter = BluetoothAdapter.getDefaultAdapter();
[0641] bluetoothAdapter.setPriority(BluetoothAdapter.PRIORITY_ON);
[0642] / / Other Bluetooth functions are not affected
[0643] BluetoothGatt gatt = bluetoothAdapter.getRemoteDevice(address).connectGatt(context, false, gattCallback);
[0644] After the display device 200 switches to the sink mode and the system Bluetooth function is turned on, the display device 200 can be paired with other Bluetooth devices.
[0645] In some embodiments, after the display device 200 switches to the sink mode, the display device 200 can send a pairing broadcast to the surrounding environment. The pairing broadcast can include a device class, a universally unique identifier (UUID) of a service, a device name, and the like.
[0646] The device class can be the current Bluetooth device type of the display device 200. For example, when the display device 200 is in the sink mode, the device type is an audio receiving device.
[0647] The universally unique identifier (UUID) of the service included in the pairing broadcast can be used to uniquely identify the service supported by the display device 200. For a Bluetooth device supporting an audio streaming function, the supported service includes an advanced audio distribution profile (A2DP) service. Based on different Bluetooth modes, the supported A2DP service is also different. For example, in the sink mode, the Bluetooth device supports an A2DP receiving service. In the source mode, the Bluetooth device supports an A2DP sending service. Accordingly, the display device 200 registers the UUID of the currently supported service. After the display device 200 switches to the sink mode, the display device 200 supports the A2DP receiving service. Therefore, the display device 200 registers the UUID of the A2DP receiving service, for example, 0000110b-0000-1000-8000-00805f9b34fb.
[0648] The device name can be a default name of the display device 200 or a user-defined name. The device name can be used to display in a search result list of a peer device and represent the display device 200.
[0649] The data structure of the pairing broadcast sent by the display device 200 in the sink mode can refer to the following example:
[0650] In some embodiments, the display device 200 can display an operation guide page, which can include first guide information of an operation of Bluetooth connection with the display device 200. The first guide information can include the device name of the display device 200 to accurately prompt the current Bluetooth device to be paired, so as to facilitate the user to quickly and accurately connect to the display device 200.
[0651] Referring to the operation guide page shown in FIG. 47, the first guide information can be “turn on the Bluetooth switch and select the master bedroom TV pairing and connection” if the device name of the display device 200 is “master bedroom TV”.
[0652] In some embodiments, after the display device 200 turns on the system Bluetooth function, the status of the system Bluetooth function of the display device 200 is also displayed on the operation guide page to prompt the user of the Bluetooth status of the display device 200, so as to facilitate the user to check the reason for different situations when the display device 200 is connected with other Bluetooth devices. Referring to the operation guide page shown in FIG. 47, the current status of the system Bluetooth function can be displayed in the upper right corner of the operation guide page, such as “Bluetooth function available”. The icon of the Bluetooth function can also be included.
[0653] Taking the user wanting to use the audio data provided by the first Bluetooth device as an example, the first Bluetooth device can be a smart phone, a tablet computer, a computer, a TV, etc. The user can perform the Bluetooth connection operation with the display device 200 on the first Bluetooth device according to the first guide information in the operation guide page.
[0654] In some embodiments, after the first Bluetooth device turns on the Bluetooth function, the first Bluetooth device can be in a source mode and can scan the surrounding Bluetooth devices.
[0655] The pairing broadcast that can be sent out by the first Bluetooth device as an audio source device after turning on the Bluetooth function can include the device type, the UUID of the service, the device name, etc.
[0656] Among them, the device type of the first Bluetooth device is an audio source device. In the source mode, the display device 200 supports A2DP sending service and registers the UUID of the A2DP sending service, such as 0000110a-0000-1000-8000-00805f9b34fb. The device name can be the default naming of the first Bluetooth device, or can be the user's custom name.
[0657] The data structure of the pairing broadcast sent out by the first Bluetooth device in the source mode can be referred to the following example:
[0658] When the display device 200 sends out the pairing broadcast, the first Bluetooth device can scan the display device 200.
[0659] In some embodiments, the code design for implementing the display device 200 to pair with other Bluetooth devices as an audio receiving device can refer to the following examples:
[0660] After scanning the display device 200, the first Bluetooth device can display a search result list. The first Bluetooth device can display the device name in the pairing broadcast sent by the display device 200 in the search result list. For example, the device name of the display device 200 is the master bedroom TV, and the search result list shown in FIG. 48 can be referred to, which includes a result item of the master bedroom TV.
[0661] The user can determine that the device to be connected is the master bedroom TV according to the first guide information on the operation guide page, and then find the result item of the master bedroom TV in the search result list and select the result item to pair with the display device 200. The first Bluetooth device sends a pairing request to the corresponding display device 200 in response to the instruction of the user selecting the result item, and the pairing request is used to request to establish a Bluetooth connection.
[0662] S4602, display a pairing page according to the pairing request of the first Bluetooth device.
[0663] When the display device 200 and the first Bluetooth device are paired for the first time, a pairing page can be displayed, which can include inquiry information and can be used to inquire whether the user pairs with the first Bluetooth device. In this way, the data security of the display device 200 can be further ensured.
[0664] The pairing page shown in FIG. 49 can be referred to, which can include prompt information and can be used to prompt the device name of the first Bluetooth device currently requesting pairing, such as my phone.
[0665] In some embodiments, the display device 200 can also send a pairing password to the first Bluetooth device during pairing with the first Bluetooth device, to further ensure the accuracy and security of pairing. The pairing page also includes a pairing button and a cancel button. If the user agrees to pair with the first Bluetooth device, the pairing button can be selected. If the user does not agree to pair with the first Bluetooth device, the cancel button can be selected.
[0666] S4603, pair with the first Bluetooth device in response to the instruction of the user agreeing to pair, and display a prompt page after successfully pairing with the first Bluetooth device.
[0667] If the user selects the pairing button to input an instruction of agreeing to pairing, the display device 200 is paired with the first Bluetooth device and a connection is established.
[0668] In some embodiments, after the pairing with the display device 200 is successful, the first Bluetooth device can use a Service Discovery Protocol (SDP) to query the services supported by the display device 200, to further confirm whether the display device 200 is in the sink mode. For example, the first Bluetooth device can confirm whether the display device 200 is in the sink mode by querying whether the display device 200 registers a UUID of an A2DP receiving service. After identifying that the display device 200 registers the UUID of the A2DP receiving service, it can be confirmed that the display device 200 is in the sink mode.
[0669] In some embodiments, after the pairing with the first Bluetooth device is successful, the display device 200 can save the pairing information of the first Bluetooth device, so that when the Bluetooth music function is used again, the display device 200 can quickly connect with the first Bluetooth device based on the stored pairing information of the first Bluetooth device.
[0670] In some embodiments, the code design for the display device 200 to save the pairing information of the paired Bluetooth device can refer to the following examples:
[0671] SharedPreferences sharedPreferences = getSharedPreferences("BluetoothPrefs", MODE_PRIVATE);
[0672] SharedPreferences.Editor editor = sharedPreferences.edit();
[0673] editor.putString("PairedDevice", device.getAddress());
[0674] editor.apply();
[0675] In some embodiments, in the art mode, if the user opens the Bluetooth music function of the application again, the display device 200 can display an operation guide page, the process can refer to step S4601, and details are not described here. The display device 200 can also display a paired device list. In some embodiments, the display device 200 can display the paired device list in the operation guide page. In other embodiments, the display device 200 can be configured to automatically exit the operation guide page after a second time length, and can display the paired device list.
[0676] In some embodiments, the display device 200 can display the paired device list according to the saved pairing information of the first Bluetooth device, and the paired device list can include an item of the first Bluetooth device. If the display device 200 also establishes a Bluetooth connection with other Bluetooth devices based on the application of the Bluetooth music function, the paired device list can also include items of these Bluetooth devices. Referring to the paired device list shown in FIG. 50, if the device name of the first Bluetooth device is my phone, the paired device list can include an item of my phone. If the display device 200 also establishes a Bluetooth connection with other Bluetooth devices based on the application of the Bluetooth music function, and the device name of the other Bluetooth device is living room TV, the paired device list can also include an item of living room TV.
[0677] The user can select the target Bluetooth device that the user wants to connect this time on the display device 200 based on the paired device list. Taking the example that the user wants to use the first Bluetooth device, the user can input a connection instruction by selecting the item of the first Bluetooth device, and the display device 200 can search for the first Bluetooth device in response to the connection instruction, and after searching for the first Bluetooth device, the display device 200 can establish a connection with the first Bluetooth device.
[0678] In some embodiments, the code design for the display device 200 to establish a connection with a Bluetooth device based on the paired device list can refer to the following examples:
[0679] In some embodiments, after the first Bluetooth device is successfully paired with the display device 200, the first Bluetooth device can save the pairing information of the display device 200 to quickly establish a connection with the display device 200 next time.
[0680] In some embodiments, after the first Bluetooth device turns on the Bluetooth function, the first Bluetooth device can display a paired device list according to the stored paired information, and the paired device list can include an item of the display device 200. Referring to the paired device list shown in FIG. 51, if the device name of the display device 200 is Master Bedroom TV, the paired device list can include an item of the Master Bedroom TV. If the first Bluetooth device has also established a connection with another Bluetooth device, such as a Bluetooth headset, the paired device list can also include an item of the Bluetooth headset.
[0681] If the user wants to connect the display device 200, the user can select the item of the Master Bedroom TV to input a connection instruction. The first Bluetooth device searches for the display device 200 in response to the connection instruction, and establishes a connection with the display device 200 after searching for the display device 200.
[0682] In some embodiments, when the display device 200 is paired with the first Bluetooth device for the first time, the display device 200 can directly pair with the first Bluetooth device and establish a connection in response to a pairing request of the first Bluetooth device, without displaying a pairing page.
[0683] In some embodiments, the display device 200 can display a prompt page after successfully pairing with the first Bluetooth device, to prompt the user that the first Bluetooth device has been connected. The prompt page can include second guidance information, which can be used to guide the user to use the first Bluetooth device to play audio. Referring to the prompt page shown in FIG. 52, the prompt page can include second guidance information, such as “Please open the mobile phone application and play your favorite song.”
[0684] In some embodiments, the display device 200 can be configured to automatically exit the prompt page after a first time period, and can display a display page of an art mode application. For example, the first time period is 10s, and the display device 200 can automatically exit the prompt page after displaying the prompt page for 10s.
[0685] In some embodiments, the display device 200 can be configured to exit the prompt page in response to a return instruction of the user, and can display a display page of an art mode application. For example, the user can input a return instruction through a back key of the control device 100, and the display device 200 can exit the prompt page in response to the return instruction.
[0686] In some embodiments, the display device 200 can display prompt information in the prompt page, which can be used to prompt the user that the display page will automatically jump to a display page after a first time period, and the user can exit the prompt page through a back key. For example, referring to FIG. 52, the display device 200 can display prompt information in the prompt page.
[0687] S4604, after receiving the first audio sent by the first Bluetooth device, playing the first audio.
[0688] In some embodiments, if the user plays the first audio using the first Bluetooth device, the first Bluetooth device can send a playing notification to the display device 200, and can send the first audio. The display device 200 can determine that the first Bluetooth device is in the audio playing state according to the playing notification, and after determining that the first Bluetooth device is in the audio playing state, the display device 200 can exit the prompt page and display the display page of the art mode application.
[0689] In some embodiments, the BluetoothA2dpAPI of Android can be used to listen to the connection state and the audio playing state of the first Bluetooth device. The connection state can include connected and unconnected, and the audio playing state can include playing state and non-playing state. The code design for the display device 200 to listen to the connection state and the audio playing state of the first Bluetooth device can refer to the following example:
[0690] After receiving the first audio, the display device 200 can play the first audio and display the display page of the art mode application, thereby creating an atmosphere that the user likes.
[0691] In some embodiments, when the display device 200 determines that the first Bluetooth device is in the audio playing state, the display device 200 can display the device playing information on the display page. The device playing information can include the device name and the device icon of the first Bluetooth device, and the device icon can be used to identify the device type of the first Bluetooth device. Referring to the display page shown in FIG. 52, when the display device 200 determines that the first Bluetooth device is in the audio playing state, if the first Bluetooth device is a mobile phone and the device name is my phone, the display device 200 can display the icon identifying the mobile phone and my phone in the upper right corner of the display page.
[0692] In some embodiments, the display device 200 can hide the device playing information after a preset time period. In this way, the display effect of the art painting can be avoided.
[0693] In some embodiments, the code design for the display device 200 to hide the device playing information can refer to the following example:
[0694] In some embodiments, if the display device 200 is currently playing the second audio, when the first Bluetooth device is identified to be in the audio playing state, in order to avoid the playing of the second audio affecting the playing quality of the first audio, the display device 200 can mute the second audio.
[0695] In some embodiments, when the display device 200 identifies that the first Bluetooth device is in the audio playing state, the display device 200 can control the first player to be in a mute state, and the first player can be used to play the second audio. In this way, the volume of the second audio is 0, and the second audio is in a mute state, which does not affect the playing quality of the first audio.
[0696] In some embodiments, when the display device 200 identifies that the first Bluetooth device is in the audio playing state, the display device 200 can control to pause or close the audio channel playing the second audio, so as to pause or exit the playing of the second audio, and achieve the effect of muting the second audio. In addition, the display device 200 opens the audio channel of the first audio to play the first audio.
[0697] In some embodiments, the display device 200 can simultaneously establish a connection with the first Bluetooth device and the second Bluetooth device, and the number of the second Bluetooth devices is at least 1.
[0698] In some embodiments, after the display device 200 opens the system Bluetooth function and the device visibility function, the display device 200 can be discovered by other Bluetooth devices. The display device 200 can respond to the pairing request of the second Bluetooth device, and pair with the second Bluetooth device and establish a connection when the user agrees to pair.
[0699] 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 can display a paired device list in response to the user opening the application Bluetooth music function, and can establish a connection with the second Bluetooth device in response to the user selecting the item of the second Bluetooth device from the list.
[0700] In some embodiments, when the display device 200 is connected to multiple Bluetooth devices at the same time, one Bluetooth device can be selected to provide audio. The display device 200 can switch the Bluetooth device according to the flow shown in FIG. 53, and the specific steps can include but are not limited to the following:
[0701] S5301, in response to the user's control instruction, the display device 200 displays a connected device list.
[0702] In some embodiments, the art mode application can be configured to display a list button on the display page when the application Bluetooth music function is used. The user can input a control instruction by selecting the list button, and the display device 200 can display a connected device list in response to the control instruction.
[0703] When the first Bluetooth device and the second Bluetooth device are currently connected at the same time, the connected device list can include items of the first Bluetooth device and the second Bluetooth device.
[0704] Referring to the display page shown in FIG. 54, the display device 200 can display the connected device list 5402 in the display page in response to the instruction that the user selects the list button 5401. 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, the connected device list 2002 can include items of my phone and living room TV.
[0705] S5302, in response to the instruction that the user selects the item of the second Bluetooth device, the first audio transmitted by the first Bluetooth device is terminated and the third audio transmitted by the second Bluetooth device is started to be received.
[0706] 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, the user can select the item of the second Bluetooth device in the connected device list. The display device 200 can switch the audio source device to the second Bluetooth device in response to the instruction, i.e., maintain the connection with the first Bluetooth device, but no longer receive the first audio transmitted by the first Bluetooth device, and start to receive the third audio transmitted by the second Bluetooth device. In this case, the display device 200 can further transmit a first notification to the first Bluetooth device to inform the first Bluetooth device to terminate the reception of the audio. The first Bluetooth device can pause the playing of the first audio according to the first notification. The display device 200 can further transmit a second notification to the second Bluetooth device to inform the second Bluetooth device that the audio transmitted by the second Bluetooth device can be received.
[0707] S5303, after receiving the third audio transmitted by the second Bluetooth device, the third audio is played.
[0708] When the display device 200 switches the audio source device to the second Bluetooth device, the second Bluetooth device can be in an audio playing state, or can be in an audio pausing state or an audio stopping state. If the user opens a music application in the second Bluetooth device and plays the third audio, the display device 200 can receive the third audio. After receiving the third audio, the display device 200 can play the third audio.
[0709] In some embodiments, after the display device 200 identifies that the second Bluetooth device is in the audio playing state, the display device 200 can display device playing information on the display page. The device playing information can include the device name of the second Bluetooth device and a device icon, which can be used to identify the device type of the second Bluetooth device. After a preset time period, the device playing information can be hidden. The process of displaying and hiding the device playing information can refer to the process of displaying and hiding the device playing information of the first Bluetooth device, which will not be described herein.
[0710] In some embodiments, the display device 200 can be configured to unmute the second audio when it is detected that the currently used Bluetooth device suspends playing audio, or when it is detected that the currently used Bluetooth device is disconnected. The disconnection of the currently used Bluetooth device can include that the currently used Bluetooth device is disconnected from the display device 200, or that the display device 200 exits the art mode application, etc.
[0711] In some embodiments, the display device 200 can be configured to mute the second audio by setting the volume to 0, and to unmute the second audio by setting the volume to 1, so that the audio can be played again when the volume is set to 1. The code design for the display device 200 to mute the second audio can refer to the following example:
[0712] Video playback control:
[0713] In some embodiments, the display device 200 can be configured to switch back to the source mode as the audio source device when it is detected that all the connected Bluetooth devices are disconnected, or after it exits the art mode application.
[0714] In some embodiments, the display device 200 can display a disconnection prompt when it is detected that the currently used Bluetooth device is disconnected. The currently used Bluetooth device is the Bluetooth device that currently provides audio to the display device 200. For example, when the first Bluetooth device is currently used, and the device name of the first Bluetooth device is my phone, the display device 200 can display a disconnection prompt in the display page, such as “Disconnect from my phone”. In some embodiments, the disconnection prompt can be automatically hidden after a preset time period.
[0715] In some embodiments, when the display device 200 is in the source mode and is connected to a third Bluetooth device that is in the sink mode, such as a Bluetooth speaker, the display device 200 can disconnect the third Bluetooth device after switching to the sink mode. The display device 200 can automatically reconnect to the third Bluetooth device after switching back to the source mode.
[0716] Referring to the foregoing embodiments, in some embodiments, the display device can be configured with a system Bluetooth switch (i.e., the first Bluetooth switch) and a visibility switch (i.e., the second Bluetooth switch), or can not be configured with the visibility switch, but only with the system Bluetooth switch, depending on the display device manufacturer, model, etc.
[0717] As shown in FIG. 56A, in a case where the display device is only configured with the first Bluetooth switch, the display device can play audio in the following flow, and the specific steps can include but are not limited to the following:
[0718] S5601, in response to receiving a starting instruction of the first application, starting the first application.
[0719] The first application can be at least used for playing pictures. For example, the first application can be an application for playing pictures, or an application for playing pictures and music, and the type of the first application is not limited in the present application.
[0720] In some embodiments, the starting instruction can be a voice instruction or an operation instruction. In a case where the starting instruction is an operation instruction, the operation instruction can be an operation of selecting a first application icon, an operation input on a control device (such as a remote controller), or other pre-set operations for starting the first application, and the starting method of the first application is not limited in the present application. For example, taking the operation of selecting the first application icon by the user as an example, the display device can start the first application in response to receiving the operation of selecting the first application icon by the user.
[0721] After the first application is started, the home page can be displayed on the display page of the first application, or any picture pre-set or selected by the user can be displayed.
[0722] S5602, in response to receiving a first control instruction of the first application, displaying a first menu corresponding to the first application on the display page while maintaining the display of the first picture on the display page.
[0723] The first menu can be displayed above the first picture, and the first menu can include a first option for starting the Bluetooth function of the first application.
[0724] In some embodiments, the first picture can be a home page picture of the first application, or a picture pre-set by the user, or a picture selected by the user after starting the first application.
[0725] In some embodiments, in a case where the first picture is displayed on the display page of the first application, the first menu corresponding to the first application can be displayed on the display page of the first application in response to a first control instruction input by the user through the control device 100. The first control instruction can be a menu key pressed by the user on the control device 100 (such as a remote controller), or a setting key pressed by the user on the control device 100.
[0726] For example, when the first control instruction is that the user presses the menu key of the control device 100, the first menu can be displayed on the display page of the first application in response to the first control instruction, and the first menu can be the menu of the first application. As shown in FIG. 20, the first menu is displayed on the upper layer of the first picture, and the first menu can also be referred to as an application setting menu 2001, and the application setting menu 2001 is displayed on the upper layer of the first picture. By displaying the application setting menu 2001 on the upper layer of the first picture, the user can browse the first picture displayed in the display page of the first application while using the application setting menu 2001.
[0727] In some embodiments, the first menu can include a first option for starting the Bluetooth function of the first application. As shown in FIG. 20, the first option can be a BT Music option, and the BT Music option can be used to start the Bluetooth function of the first application.
[0728] In other embodiments, the first option, such as the BT Music option, can be directly displayed on the display page of the first application in response to the first control instruction input by the user through the control device 100.
[0729] For another example, when the first control instruction is that the user presses the setting key of the control device 100, the first menu can be displayed on the display page of the first application in response to the first control instruction, and the first menu can be a system setting menu, and the system setting menu is displayed on the upper layer of the first picture. By displaying the system setting menu on the upper layer of the first picture, the user can browse the first picture displayed in the display page of the first application while using the system setting menu. The system setting menu can include a Bluetooth option for starting the Bluetooth function of the first application.
[0730] S5603, in response to receiving the selection instruction of the first option, acquiring the state of the first Bluetooth switch without exiting the first application, if the first Bluetooth switch is in the off state, turning on the first Bluetooth switch and establishing a Bluetooth connection with the first Bluetooth device.
[0731] The first Bluetooth switch can be used to turn on or off the system Bluetooth function, and the first Bluetooth switch can also be referred to as a system Bluetooth switch.
[0732] In some embodiments, when the user selects the first option, the display device can obtain the state of the system Bluetooth switch in response to the selection instruction without exiting the first application, and can turn on the system Bluetooth switch and establish a connection with the first Bluetooth device when the system Bluetooth switch is in the off state. That is, the present application can start the Bluetooth function without exiting the first application when opening the Bluetooth function in the first application, and the first application is not exited during the process of turning on the system Bluetooth.
[0733] In some embodiments, the operating system shown in FIG. 4 can be configured with a Bluetooth switch setting module in the setting application, a Bluetooth module in the Framework layer, and a Bluetooth driver module in the driver layer. As shown in FIG. 57, the display device can start the first application in response to receiving a start instruction of the first application (1), and the first application can display a first picture on the display of the first application after starting (2). In response to receiving a control instruction of the first option, the first menu corresponding to the first application can be displayed, and the first picture can be maintained (2). In response to receiving a selection instruction of the first option, the first application can be maintained without exiting (3), and the first application can send an acquisition instruction indicating the state of the Bluetooth switch (i.e., the first Bluetooth switch state) to the Bluetooth switch setting module (4). The Bluetooth switch setting module sends a feedback instruction indicating the state of the Bluetooth switch to the first application in response to the acquisition instruction (5), and records the current state of the Bluetooth switch (i.e., the first Bluetooth switch) (6). The first application sends a Bluetooth on instruction to the Bluetooth switch setting module in response to the feedback instruction indicating that the Bluetooth switch is in the off state (7). The Bluetooth switch turns on the first Bluetooth switch in response to the Bluetooth on instruction. The first application sends a Bluetooth state broadcast registration instruction to the Bluetooth module to register the first application based on the instruction to represent that the first application uses the Bluetooth function (8), and sends a receiving mode switch instruction to the Bluetooth module (9). The Bluetooth module forwards the receiving mode switch instruction to the Bluetooth driver module (10), and the Bluetooth driver module opens the receiving mode switch and broadcasts the device information of the display device to make the Bluetooth module enter the sink mode (11).
[0734] In some embodiments, the display device not exiting the first application can include three cases, the first case is to maintain the first application running in the foreground, the second case is to maintain the first application visible, and the third case is to maintain an operation guide page, which can include first guide information, and the first guide information can be used to guide the user to use the Bluetooth device to pair with the display device.
[0735] The implementation of step S5603 will be described in detail in combination with three cases that the display device does not exit the first application and in combination with FIG. 56B. As shown in FIG. 56B, step S5603 can include steps S5603a, S5603b and S5603c as shown below. It should be noted that according to the three cases that the display device does not exit the first application, step S5603 can be implemented in any of the following steps S5603a, S5603b and S5603c.
[0736] S5603a, in response to receiving the selection instruction of the first option, maintaining the first application running in the foreground, and obtaining the state of the first Bluetooth switch. If the first Bluetooth switch is in the off state, the first Bluetooth switch is turned on, and the Bluetooth connection with the first Bluetooth device is established.
[0737] In some embodiments, after the user selects the first option to open the Bluetooth function of the first application, the display device maintains the first application running in the foreground, obtains the state of the first Bluetooth switch, and turns on the first Bluetooth switch if the first Bluetooth switch is in the off state. It should be noted that during the process of obtaining the state of the first Bluetooth switch and turning on the first Bluetooth switch, the first application is always running in the foreground. Therefore, the present application can open the Bluetooth function in the first application, and turn on the system Bluetooth switch without exiting the first application, so that the display device can establish a connection with the Bluetooth device.
[0738] In some examples, the first application running in the foreground means that the first application is being operated or interacted with by the user, and the display interface of the first application is displayed on the display of the display device. When the first application is running in the foreground, the Activity of the first application is the Activity running in the foreground, and the Activity of the first application is located at the top of the task stack (Task Stack). That is, the Activity of the first application is the Activity at the top of the application stack.
[0739] In some embodiments, as shown in FIG. 57, step S5603a can include: in response to receiving the selection instruction of the first option, maintaining the first application running in the foreground, and can control the first application to send an acquisition instruction for acquiring the first Bluetooth switch state to the Bluetooth switch setting module; in response to the acquisition instruction, controlling the Bluetooth switch setting module to send a feedback instruction indicating the first Bluetooth switch state to the first application, and can control the Bluetooth switch setting module to record the current state of the first Bluetooth switch; in response to the feedback instruction indicating that the first Bluetooth switch is in the off state, controlling the first application to send a Bluetooth on instruction to the Bluetooth switch setting module; in response to the Bluetooth on instruction, controlling the Bluetooth switch setting module to turn on the first Bluetooth switch; can control the first application to send a Bluetooth state broadcast registration instruction and a receiving mode switch instruction to the Bluetooth module; in response to the Bluetooth state broadcast registration instruction and the receiving mode switch instruction, the Bluetooth module controls the Bluetooth driver to open the receiving mode switch, and can broadcast the device information of the display device to make the Bluetooth module enter the sink mode.
[0740] In some examples, the Bluetooth module entering the sink mode can include three cases: the Bluetooth module can enter the sink mode after the Bluetooth switch setting module turns on the first Bluetooth switch; the Bluetooth module can enter the sink mode after the display device establishes a connection with the first Bluetooth device; the Bluetooth module can enter the sink mode after the first Bluetooth device plays the first audio data. The specific timing of the Bluetooth module entering the sink mode is not limited in the present application.
[0741] In some embodiments, when the display device establishes a Bluetooth connection with the first Bluetooth device, in response to receiving the selection instruction of the first option, the first application can be maintained running in the foreground, and the operation guide page can be displayed; and while maintaining the display of the operation guide page, the state of the first Bluetooth switch can be acquired, and if the first Bluetooth switch is in the off state, the first Bluetooth switch can be turned on.
[0742] For example, the operation guide page can include first guide information for guiding the user to use the Bluetooth device to pair with the display device, and the first guide information can include the device name of the display device 200 to accurately prompt the Bluetooth device to be paired currently, so as to facilitate the user to quickly and accurately connect to the display device 200.
[0743] In some examples, the operation guide page can be displayed when the display device 200 establishes a Bluetooth connection with the first Bluetooth device for the first time or when the display device 200 establishes a Bluetooth connection with the first Bluetooth device for the first time. The operation guide page can be displayed when the display device 200 establishes a Bluetooth connection with the first Bluetooth device for the first time, and the operation guide page can not be displayed when the display device 200 establishes a Bluetooth connection with the first Bluetooth device for the first time.
[0744] In some embodiments, in response to receiving the selection instruction of the first option, the display device can display the operation guide page while maintaining the first application running in the foreground, and display the first picture at the same time.
[0745] For example, as shown in FIG. 58, when the operation guide page is displayed while maintaining the first application running in the foreground, the operation guide page can be displayed in part of the display area of the display, and the other part of the display area can display the first picture, or the operation guide page can be displayed above the first picture.
[0746] Based on the above embodiments of the present application, when the display device displays the picture, the display device can turn on the system Bluetooth switch and establish a connection with the first Bluetooth device while maintaining the first application running in the foreground. Moreover, during the process of establishing a connection between the display device and the first Bluetooth device, the first application is always running in the foreground, so that after the display device establishes a Bluetooth connection with the first Bluetooth device, the first application can display the first picture on the display page while playing the first audio data selected by the user on the first Bluetooth device. That is, the present application can turn on the Bluetooth function without exiting the first application when the first application displays the picture, ensuring that the system Bluetooth switch can be turned on without interrupting the user's appreciation of the artistic painting, and without the user's frequent operation, thereby improving the opening efficiency of the system Bluetooth.
[0747] S5603b, in response to receiving the selection instruction of the first option, maintaining the first application visible, and obtaining the state of the first Bluetooth switch, if the first Bluetooth switch is in the off state, turning on the first Bluetooth switch and establishing a Bluetooth connection with the first Bluetooth device.
[0748] In some embodiments, after the user selects the first option to turn on the Bluetooth function of the first application, the display device can obtain the state of the first Bluetooth switch while maintaining the first application visible, and if it is obtained that the first Bluetooth switch is in the off state, the first Bluetooth switch will be turned on. It should be noted that during the process of obtaining the state of the first Bluetooth switch and turning on the first Bluetooth switch, the first application is always visible, so the present application can turn on the Bluetooth function in the first application and turn on the system Bluetooth switch without exiting the first application, so that the display device can establish a connection with the Bluetooth device.
[0749] In some examples, the first application being visible refers to a case where the first application is opened, and when the user is performing other operations, the first application can continue to be displayed on the display, i.e., the user can see the application interface of the first application on the display. For example, a part of the display area of the display can display the application interface of the first application (such as the first picture), and the entire display area of the display can display the application interface of the first application (such as the first picture). When the first application is visible to the user, the application interface of the first application can be displayed on the top layer or can be displayed on the top layer of other controls. For example, the menu or guide page or other page of the application can be displayed simultaneously with the application interface of the first application, or the menu or guide page or other page of the application can be displayed on the top layer of the application interface of the first application, and the application interface of the first application is visible to the user.
[0750] In some embodiments, as shown in FIG. 57, step S5603b can include: in response to receiving the selection instruction of the first option, maintaining the first application being visible, and controlling the first application to send an acquisition instruction for acquiring the first Bluetooth switch state to the Bluetooth switch setting module; in response to the acquisition instruction, controlling the Bluetooth switch setting module to send a feedback instruction indicating the first Bluetooth switch state to the first application, and controlling the Bluetooth switch setting module to record the current state of the first Bluetooth switch; in response to the feedback instruction indicating that the first Bluetooth switch is in the off state, controlling the first application to send a Bluetooth on instruction to the Bluetooth switch setting module; in response to the Bluetooth on instruction, controlling the Bluetooth switch setting module to send the first Bluetooth switch to be turned on; controlling the first application to send a Bluetooth state broadcast registration instruction and a receiving mode switch instruction to the Bluetooth module; in response to the Bluetooth state broadcast registration instruction and the receiving mode switch instruction, the Bluetooth module controls the Bluetooth driver to turn on the receiving mode switch, and broadcasts the device information of the display device to make the Bluetooth module enter the sink mode.
[0751] Based on the above embodiments of the present application, when the display device displays the picture in the first application, the first application is maintained to be visible, the system Bluetooth switch is turned on, and the connection with the first Bluetooth device is established; and during the process of establishing the connection between the display device and the first Bluetooth device, the first application is always visible, so that after the Bluetooth connection between the display device and the first Bluetooth device is established, the first picture can be displayed on the display page of the first application while the first audio data selected by the user on the first Bluetooth device is played. That is, the Bluetooth function can be turned on without exiting the first application when the first application displays the picture, ensuring that the system Bluetooth switch can be turned on without the user frequently operating while the user appreciates the artistic painting, and the opening efficiency of the system Bluetooth is improved.
[0752] S5603c, in response to receiving the selection instruction of the first option, display an operation guide page; and when the display device is configured with the first Bluetooth switch, acquire the state of the first Bluetooth switch while maintaining the operation guide page, and if the first Bluetooth switch is in the off state, turn on the first Bluetooth switch and establish a Bluetooth connection with the first Bluetooth device.
[0753] In some embodiments, after the user selects the first option to open the Bluetooth function of the first application, the display device can acquire the state of the first Bluetooth switch while maintaining the display of the operation guide page, and if the first Bluetooth switch is in the off state, the first Bluetooth switch will be turned on.
[0754] In some examples, the operation guide page refers to first guide information for guiding the user to use the Bluetooth device to pair with the display device. As shown in FIG. 47, the first guide information included in the operation guide page can be "turn on the Bluetooth switch, select the master bedroom TV to pair and connect", wherein the device name of the display device 200 is "master bedroom TV".
[0755] In some embodiments, as shown in FIG. 57, step S5603c includes: while maintaining the operation guide page, the first application can send an acquisition instruction for acquiring the state of the first Bluetooth switch to the Bluetooth switch setting module; in response to the acquisition instruction, the Bluetooth switch setting module can send a feedback instruction indicating the state of the first Bluetooth switch to the first application, and the Bluetooth switch setting module can record the current state of the first Bluetooth switch; in response to the feedback instruction indicating that the first Bluetooth switch is in the off state, the first application can send a Bluetooth on instruction to the Bluetooth switch setting module; in response to the Bluetooth on instruction, the Bluetooth switch setting module can turn on the first Bluetooth switch; the first application can send a Bluetooth state broadcast registration instruction and a receiving mode switch instruction to the Bluetooth module; in response to the Bluetooth state broadcast registration instruction and the receiving mode switch instruction, the Bluetooth module controls the Bluetooth driver to turn on the receiving mode switch, and can broadcast the device information of the display device, so that the Bluetooth module enters the sink mode.
[0756] Based on the above embodiments of the present application, when the first application displays the picture, the display device maintains the operation guide page, turns on the system Bluetooth switch, and establishes a connection with the first Bluetooth device. Moreover, during the process of establishing the connection between the display device and the first Bluetooth device, the operation guide page is maintained, so that after the Bluetooth connection between the display device and the first Bluetooth device is established, the first picture can be displayed on the display page of the first application, and the first audio data selected by the user on the first Bluetooth device can be played. That is, when the first application displays the picture, the Bluetooth function can be turned on without exiting the first application, ensuring that the system Bluetooth switch can be turned on without interrupting the user's appreciation of the artistic painting and without the user's frequent operation, thereby improving the opening efficiency of the system Bluetooth.
[0757] In some embodiments, the step S5603 of establishing a Bluetooth connection with the first Bluetooth device can include: in the case that the display device establishes a connection with the first Bluetooth device for the first time, a pairing page can be displayed in response to receiving a pairing request of the first Bluetooth device; a Bluetooth connection with the first Bluetooth device can be established in response to an instruction of the user agreeing to the pairing, and a prompt page can be displayed; the prompt page can be used to prompt the user to play audio data on the first Bluetooth device.
[0758] In some embodiments, as shown in FIG. 57, the first Bluetooth device receives the information of the Bluetooth broadcast (12), selects the display device 200 as the Bluetooth device to be connected (13), and then sends a Bluetooth connection request to the Bluetooth drive module of the display device 200 (14). The Bluetooth drive module sends the Bluetooth connection request to the Bluetooth module (15). After receiving an instruction of agreeing to the pairing, the Bluetooth module establishes a Bluetooth connection with the first Bluetooth device (16). At the same time, the Bluetooth module can send a Bluetooth connection success broadcast to the first application (17).
[0759] In some examples, when the display device 200 and the first Bluetooth device are paired for the first time, a pairing page can be displayed, which can include inquiry information used to inquire whether the user agrees to pair with the first Bluetooth device, further ensuring the data security of the display device 200. The user can input an instruction of agreeing to the pairing by selecting the pairing button in the pairing page. As shown in FIG. 49, after the user inputs the instruction of agreeing to the pairing in the pairing request page, the display device 200 can be paired with the first Bluetooth device and establish a connection.
[0760] For example, after the display device 200 is successfully paired with the first Bluetooth device and establishes a connection, the pairing information of the first Bluetooth device can be saved.
[0761] In some embodiments, after the display device 200 establishes a connection with the first Bluetooth device, the display can display a prompt page, which can be used to prompt the user to play audio data on the first Bluetooth device. As shown in FIG. 52, the prompt page can also be used to prompt the user that the connection is successful, and the audio data can be played through the connected first Bluetooth device.
[0762] Based on the above embodiments of the present application, during the process of establishing a connection between the display device and the first Bluetooth device, a pairing page can be displayed to prompt the user to confirm whether to agree to pair with the first Bluetooth device, thereby ensuring the accuracy and security of the Bluetooth connection process. Meanwhile, after the display device establishes a connection with the first Bluetooth device, a prompt page can also be displayed to remind the user to play audio data on the first Bluetooth device, so that the user can play the music he likes in time.
[0763] In some embodiments, the way to exit the prompt page can include multiple ways. For example, after the prompt page is displayed for a first preset time length, the prompt page can be exited, and the first picture can be displayed on the showcase page. For another example, the prompt page can be exited in response to a received return instruction, and the first picture can be displayed on the showcase page. For yet another example, after detecting that the first Bluetooth device is in an audio playing state, the prompt page can be exited, and the first picture can be displayed on the showcase page.
[0764] In some examples, after the display displays the prompt page, the display can exit the prompt page according to a preset exit rule. The preset exit rule can include: starting timing when the prompt page is displayed, and automatically exiting the prompt page when the timing time length reaches a first preset time length; or, in response to an exit instruction input through a remote control or an exit instruction input through voice, exiting the prompt page; or, according to detection of the audio playing state of the first Bluetooth device, automatically exiting the prompt page when it is detected that the first Bluetooth device is in the audio playing state.
[0765] In some embodiments, after the prompt page is exited, the display can display the first picture on the showcase page. For example, when the user starts to play first audio data through the first Bluetooth device, the first Bluetooth device can send a playing notification to the display device 200 and send the first audio data. The display device 200 can determine that the first Bluetooth device is in an audio playing state according to the playing notification, and after determining that the first Bluetooth device is in the audio playing state, the prompt page is exited and the first picture is displayed.
[0766] Through the above scheme, after the display device and the first Bluetooth device establish a connection, the prompt page can exit the display according to the preset exit rule. Among them, the prompt page can automatically exit the display without user operation, or the prompt page can exit according to user demand. After the prompt page exits, the show page continues to show the first picture, so that the user can continue to appreciate the art painting.
[0767] In some embodiments, the step S5603 of establishing a Bluetooth connection with the first Bluetooth device can further include: in the case that the display device has established a connection with the first Bluetooth device before, the paired device list can be displayed on the show page according to the stored pairing information, and the first picture can be maintained on the show page; and the first Bluetooth device can be connected in response to receiving a selection operation on the information of the first Bluetooth device in the paired device list.
[0768] In some examples, the display device 200 can save the pairing information of the successfully paired Bluetooth devices according to the historical Bluetooth pairing situation to obtain a paired device list. That is, the paired device list can include information of a plurality of successfully paired Bluetooth devices. Among them, the information of the plurality of successfully paired Bluetooth devices can include information of the first Bluetooth device. For example, the information of each Bluetooth device in the paired device list can include a device name, a device serial number, or other device identifiers, which are not limited in the present application.
[0769] In some examples, the user can select the Bluetooth device to be connected this time based on the paired device list. When the user wants to connect the first Bluetooth device, the user can input a connection instruction by selecting the information of the first Bluetooth device in the paired device list, search for the first Bluetooth device, and establish a connection with the first Bluetooth device after searching for the first Bluetooth device. For example, as shown in FIG. 16, the paired device list displayed on the show page includes information (such as a device name) of two Bluetooth devices, and when the user selects the Bluetooth device with the device name “my phone”, the display device 200 can establish a connection with “my phone”.
[0770] In some embodiments, the display device can maintain the first picture on the show page when displaying the paired device list. Among them, the paired device list can be displayed in part of the display area of the show page, and the first picture is displayed in another part of the display area of the show page; or the first picture is displayed on the entire display area of the show page, and the paired device list is displayed on the upper layer of the first picture, as shown in FIG. 50, the paired device list is displayed on the upper layer of the first picture.
[0771] Through the above scheme, when the display device establishes a connection with the first Bluetooth device for the first time, the paired device list can be displayed on the display page, while the first picture is maintained on the display page, and the user can select the Bluetooth device to be connected from the paired device list, so as to quickly establish a Bluetooth connection; meanwhile, the user can continue to appreciate the art painting during the Bluetooth connection process, thereby improving the user experience.
[0772] S5604, while the first application displays the first picture, receiving and playing the first audio data sent by the first Bluetooth device.
[0773] In some embodiments, as shown in FIG. 57, when the display device and the first Bluetooth device are successfully connected by Bluetooth, the first Bluetooth device can transmit the audio data to the Bluetooth driver module (19) of the display device 200 through the A2DP protocol transmission when the first Bluetooth device plays the audio (18). The Bluetooth driver module receives the audio data (20) and can send a data transmission instruction (21) to the Bluetooth module. The Bluetooth module can play the audio data (22) according to the data transmission instruction and can broadcast the playing success to the first application (23).
[0774] In some examples, the display device 200 can set background music for the first picture when displaying the first picture, that is, the corresponding background music of the first picture can be played while displaying the first picture. In this case, the sound of the background music can affect the first audio data played by the first Bluetooth device, reducing the user experience.
[0775] In some embodiments, step S5604 can include: if the first picture is equipped with second audio data, the second audio data can be muted or paused when the first audio data sent by the first Bluetooth device is received, and the first audio data can be played while the first picture is displayed.
[0776] In some examples, the second audio data can be the background audio data corresponding to the first picture. While the first application displays the first picture, the display device will play the second audio data. In order to avoid the influence of the second audio data on the first audio data played by the first Bluetooth device, the second audio data can be muted or paused when the first audio data sent by the first Bluetooth device is received.
[0777] In some embodiments, when the first audio data sent by the first Bluetooth device is received, the second audio data can be muted by setting the volume of the audio track of the display device 200 to 0. In this case, the volume of the second audio data is reduced to 0 when the second audio data is muted, but the second audio data continues to play. The second audio data is paused, which means that the second audio data stops playing. When the second audio data is paused or the volume is reduced to 0, the playing of the first audio data is not affected.
[0778] For example, with continued reference to FIG. 57, after the Bluetooth module sends the first application the audio data playing success information of the first Bluetooth device, the first application determines whether there is local video audio (e.g., the second audio data) playing after obtaining the playing success information. If there is local video audio playing, the local video audio playing is paused (24). Alternatively, the volume of the local video audio playing can be adjusted to 0.
[0779] Based on the above scheme, when the first picture is accompanied by background audio (i.e., the second audio data), after the display device receives the first audio data sent by the first Bluetooth device, the background audio of the first picture can be muted or paused, so as to avoid the background audio affecting the playing of the first audio data when the user appreciates the first picture, and affecting the user experience.
[0780] In some embodiments, after step S5604, the method can further include: in response to receiving the instruction to pause playing the first audio sent by the first Bluetooth device, unmute the second audio data; or, in response to receiving the instruction to pause playing the first audio sent by the first Bluetooth device, continue playing the second audio data.
[0781] In some embodiments, when the display device 200 plays the first audio data, the first Bluetooth device can control the playing of the first audio data, such as pausing the playing. When the display device 200 receives the instruction to pause playing the first audio data sent by the first Bluetooth device, the display device 200 can adjust the volume of the audio track of the display device from 0 to the initial volume in response to the instruction to pause playing the first audio data; or, cancel the pause of the second audio data to continue playing the second audio data. In this case, the second audio data accompanied by the first picture can be played while the first application displays the first picture when the first Bluetooth device pauses the playing of the first audio data.
[0782] In some examples, as shown in FIG. 57, when the first Bluetooth device suspends playing the first audio data (25), the first Bluetooth device can send an audio pause playing instruction to the Bluetooth driver module of the display device 200 through the Bluetooth protocol (26). The Bluetooth driver module receives the pause playing instruction (27), can send a pause playing state instruction to the Bluetooth module (28), the Bluetooth module can suspend playing the audio data according to the instruction (29), and can send a playing broadcast to the first application (30). The first application can obtain the pause playing state sent by the Bluetooth module, determine whether there is a local video audio playing, and if there is, can resume playing the local video audio (31). Resuming playing the local video audio can include restoring the volume of the local video audio to the initial volume, or continuing to play the local video audio.
[0783] Based on the above scheme, if the first Bluetooth device suspends playing the first audio data, the mute of the background audio can be released, or the background audio can be controlled to continue playing, so that the user can continuously enjoy audio playing in the process of enjoying the first picture, and the user experience is improved.
[0784] In some embodiments, after step S5604, the method can further include: if the display device also establishes a Bluetooth connection with a second Bluetooth device, when playing the first audio data, the display device can display a connected device list on the display page in response to receiving a second control instruction input to a list option on the display page, and can maintain displaying the first picture on the display page; the display device can terminate receiving the first audio data sent by the first Bluetooth device in response to receiving a selection instruction to the second Bluetooth device in the connected device list, and can start receiving third audio data sent by the second Bluetooth device; the display device can play the third audio data sent by the second Bluetooth device while the first application displays the first picture.
[0785] In some examples, a list button can be configured on the display page, and the list button can be an entry of the connected device list. For example, the user can select the list button (i.e., input the second control instruction) through the remote controller, and the display device 200 can open the connected device list on the display page in response to the second control instruction. The connected device list can include information of at least two Bluetooth devices that have established a Bluetooth connection with the display device, such as device names of the at least two Bluetooth devices.
[0786] In some embodiments, when the connected device list is displayed on the display page, the first picture is still displayed on the display page. For example, the connected device list can be displayed above the first picture, or the connected device list and the first picture can be displayed in different display areas of the display page, respectively.
[0787] In some examples, the user can select a Bluetooth device, such as the second Bluetooth device, from the connected device list through the remote controller to send a selection instruction of the second Bluetooth device to the display device 200, and the display device 200 can stop playing the first audio data sent by the first Bluetooth device according to the selection instruction of the second Bluetooth device, and can receive the third audio data sent by the second Bluetooth device. The display device 200 can play the third audio data sent by the second Bluetooth device while the first application displays the first picture.
[0788] In some examples, the display device 200 can simultaneously establish Bluetooth connections with multiple Bluetooth devices. For example, the display device 200 can simultaneously establish Bluetooth connections with the first Bluetooth device and the second Bluetooth device. The display device 200 can switch the audio source device to the second Bluetooth device in response to the selection instruction of the second Bluetooth device, while maintaining the connection with the first Bluetooth device, but no longer receiving the first audio data sent by the first Bluetooth device, and simultaneously starting to receive the third audio data sent by the second Bluetooth device.
[0789] For example, the display device 200 can send a first notification to the first Bluetooth device to inform the first Bluetooth device to stop receiving the first audio data sent by the first Bluetooth device, and the first Bluetooth device can pause playing the first audio data according to the first notification. At the same time, the display device 200 can also send a second notification to the second Bluetooth device to inform the second Bluetooth device that it can receive the third audio data sent by the second Bluetooth device, and the second Bluetooth device can play the third audio data according to the second notification.
[0790] Based on the above scheme, in the case that the display device plays the first audio data sent by the first Bluetooth device, the user can display the connected device list on the display page for the user to select to switch the Bluetooth device, and after the display device is connected with the second Bluetooth device, the playing of the first audio data sent by the first Bluetooth device can be terminated, and the third audio data sent by the second Bluetooth device can be played. At the same time, the first picture can be displayed on the display page during the process of connecting with the second Bluetooth device. Therefore, in the process of switching the Bluetooth device, the user can continue to appreciate the first picture, and the audio data can be switched to the audio data sent by the latest connected Bluetooth device, thereby avoiding the problem of audio data interruption during the process of switching the Bluetooth device, and ensuring the continuity of audio playing.
[0791] In some embodiments, after step S5604, the method can further include: in response to receiving the instruction to disconnect the Bluetooth connection sent by the first Bluetooth device, the second audio data can be un-muted; if the display device establishes a Bluetooth connection with a third Bluetooth device, the second audio data can be sent to the third Bluetooth device for playing the second audio data through the third Bluetooth device while the first application displays the first picture; if the display device does not establish a Bluetooth connection with the third Bluetooth device, the second audio data can be played while the first application displays the first picture.
[0792] In some examples, when the display device 200 receives the instruction to disconnect the Bluetooth connection sent by the first Bluetooth device, the display device 200 enters the source mode. Since the playing of the first audio data is disconnected, the second audio data can be un-muted and continue to be played. While the second audio data is being played, the display device can detect whether there are other Bluetooth devices that have established a connection.
[0793] In some examples, if it is detected that the display device 200 establishes a Bluetooth connection with a third Bluetooth device after disconnecting the Bluetooth connection with the first Bluetooth device, the second audio data can be played through the third Bluetooth device while the first application displays the first picture. If it is detected that the display device 200 does not establish a Bluetooth connection with other Bluetooth devices after disconnecting the Bluetooth connection with the first Bluetooth device, the display device 200 can play the second audio data while the first application displays the first picture, i.e., the second audio data is played through the audio player of the display device. The third Bluetooth device can be a device such as a Bluetooth speaker that works in a Bluetooth receiving mode.
[0794] As shown in FIG. 57, after the first Bluetooth device disconnects the Bluetooth connection with the display device 200 (32), the Bluetooth disconnect instruction can be transmitted to the Bluetooth driver module (33) of the display device 200 through the Bluetooth protocol. The Bluetooth driver module receives the disconnect instruction (34) and can send a transmission state instruction to the Bluetooth module to indicate that the connection between the first Bluetooth device and the display device 200 is disconnected (35). The Bluetooth module can release the player (36) and can send a disconnect broadcast to the first application (37). The first application can obtain the record switch item (38). For example, after determining that the display device 200 disconnects the Bluetooth connection with the first Bluetooth device, the first application can send a Bluetooth switch state recovery instruction (39) and a sink switch off instruction (40) to the Bluetooth switch setting module, so that the display device closes the sink mode and enters the source mode.
[0795] Based on the above scheme, when the display device plays the first audio data sent by the first Bluetooth device, if the Bluetooth connection between the display device and the first Bluetooth device is disconnected, the background audio of the first picture (i.e., the second audio data) is un-muted. In this case, if the display device does not establish a Bluetooth connection with the Bluetooth sound box (i.e., the third Bluetooth device), the display device plays the second audio data while displaying the first picture. If the display device establishes a Bluetooth connection with the Bluetooth sound box, the second audio data is played through the Bluetooth sound box. Therefore, after the display device is disconnected from the first Bluetooth device, the background audio can be continued to be played while the first picture is displayed, or the background audio can be continued to be played through the Bluetooth sound box, thereby avoiding the problem of audio interruption caused by disconnection of the Bluetooth connection.
[0796] In some embodiments, after step S5604, the method can further include: in response to receiving the exit instruction of the first application, the first Bluetooth switch can be restored to the default state.
[0797] In some embodiments, the display device 200 receives the exit instruction of the first application and automatically restores the first Bluetooth switch to the default state. For example, taking the default state of the first Bluetooth switch as the off state as an example, if the first Bluetooth switch is in the off state before the first application is started, and the first Bluetooth switch is turned on through the BT music option after the first application is started, the state of the first Bluetooth switch can be restored to the default off state after the first application is exited.
[0798] In some examples, as shown in FIG. 57, when the first application exits, in response to the instruction (41) for exiting the application, the first application can send a de-registration Bluetooth state broadcast (42) and a sink mode off instruction (43) to the Bluetooth module of the display device 200. After obtaining the de-registration Bluetooth state broadcast and the sink mode off instruction, the Bluetooth module can send a sink mode off instruction (44) to the Bluetooth driver module, the Bluetooth driver module closes the sink mode (45), and can send a disconnection (46) to the first Bluetooth device. At the same time, the first application can also send an instruction to restore the state of the Bluetooth switch to the Bluetooth switch setting module in the display device 200, and the Bluetooth switch setting module restores the state of the first Bluetooth switch to the default state (47).
[0799] Based on the above scheme, when the first application is running in the foreground, the state of the first Bluetooth switch (i.e., the system Bluetooth switch) can have changed (e.g., from the off state to the on state). In order to avoid affecting the performance of the display device, the first Bluetooth switch can be restored to the default state after the first application is exited.
[0800] In some embodiments, after step S5604, the method can further include: after detecting that the first Bluetooth device is in the audio playing state, the device playing information of the first Bluetooth device can be displayed on the display page of the first application, and the first picture can be maintained to be displayed on the display page; and after the device playing information of the first Bluetooth device is displayed for a second preset time length, the device playing information of the first Bluetooth device can be hidden.
[0801] In some embodiments, after the display device 200 detects that the first Bluetooth device is in the audio playing state, the device playing information can be displayed on the display page. The device playing information of the first Bluetooth device can include the device name and the device icon of the first Bluetooth device, and the device icon can be used to identify the device type of the second Bluetooth device.
[0802] In some examples, the device playing information of the first Bluetooth device can be displayed on the display page at all times or for a period of time. For example, the device playing information of the first Bluetooth device can be displayed for a second preset time length after timing starts when the device playing information of the first Bluetooth device starts to be displayed.
[0803] Based on the above scheme, after the first Bluetooth device is in the audio playing state, the display device displays the device playing information on the display page while displaying the first picture on the display page, so that the user can know the device information of the Bluetooth device currently playing the audio data. Meanwhile, in order to avoid the influence of the device playing information on the user's appreciation of the first picture, the display device can automatically hide the device playing information after a second preset time length, so that the user can continue to appreciate the artistic painting and improve the user experience.
[0804] Next, the display device with the first Bluetooth switch (i.e., the system Bluetooth switch) and the second Bluetooth switch (i.e., the visibility switch) is combined with FIG. 59A, that is, when the display device is configured with the first Bluetooth switch and the second Bluetooth switch, the display device can implement audio playing according to the following flow, and the specific steps can include but are not limited to the following:
[0805] S5901, in response to receiving a starting instruction of the first application, starting the first application.
[0806] S5902, when the first picture is displayed on the display page of the first application, in response to...
Claims
1. A display device, comprising: a memory configured to store a computer program; at least one processor connected with the memory and configured to execute the computer program to cause the display device to perform: in response to a user opening a second application, entering a second mode, and switching a Bluetooth mode from an audio sending mode to an audio receiving mode, wherein when a default state of a first Bluetooth switch is an off state, the first Bluetooth switch is turned on, the first Bluetooth switch is used to control turning on and off of a system Bluetooth function, in the second mode, a Bluetooth device can be connected and audio provided by the connected Bluetooth device can be played; in response to a user switching instruction, identifying a target application after switching; if the target application is a first application, entering a first mode, and locking the first Bluetooth switch in an on state, and locking the Bluetooth mode in the audio receiving mode, wherein in the first mode, an art painting is displayed, the first application is an application that keeps the first Bluetooth switch in the on state and keeps the Bluetooth mode in the audio receiving mode when switching from the second application; if the target application is not the first application, restoring the default state of the first Bluetooth switch, and switching the Bluetooth mode from the audio receiving mode back to the audio sending mode. 2.The display device of claim 1, wherein in response to the user switching instruction, identifying the target application after switching, the at least one processor is further configured to execute the computer program to cause the display device to perform: identifying an activity name of a top-level activity; if the activity name of the top-level activity is a name of the first application, the target application is the first application; if the activity name of the top-level activity is not the name of the first application, the target application is not the first application. 3.The display device of claim 1, wherein in response to the user switching instruction, identifying the target application after switching, the at least one processor is further configured to execute the computer program to cause the display device to perform: identifying a key event corresponding to the switching instruction; if the key event is a first specified key event, the target application is the first application; if the key event is not the first specified key event, the first specified key event is used to trigger turning on the first application, the target application is not the first application. 4.The display device of claim 1, wherein in response to the user opening the second application, entering the second mode, and switching the Bluetooth mode from the audio sending mode to the audio receiving mode, the at least one processor is further configured to execute the computer program to cause the display device to perform: in response to the user opening the second application, entering the second mode, and displaying an operation guide page, the operation guide page includes guide information used to guide the user to use a Bluetooth device to pair with the display device. After establishing a connection with the first Bluetooth device and receiving the first audio sent by the first Bluetooth device, the first audio is played, and a music playing page is displayed according to the first audio.
5. The display device of claim 4, after displaying the music playing page according to the first audio, the at least one processor is further configured to execute the computer program to cause the display device to perform: in response to a user's screen-off instruction, adjusting the display screen to a screen-off state and keeping playing the first audio; in response to a user's screen-on instruction, adjusting the display screen to a screen-on state and keeping playing the first audio.
6. The display device of claim 1, if the target application is a first application, when entering the first mode, locking the first Bluetooth switch in an on state, and locking the Bluetooth mode in the audio receiving mode, the at least one processor is further configured to execute the computer program to cause the display device to perform: displaying a display page of the first application and displaying an art painting within the display page, wherein the display page is a user display interface set in the first mode; when detecting that the first Bluetooth device is connected and the first Bluetooth device is in an audio playing state, displaying device playing information of the first Bluetooth device in the display page, the device playing information of the first Bluetooth device including a device name and a device icon of the first Bluetooth device.
7. A display device, comprising: a memory configured to store a computer program; at least one processor connected with the memory and configured to execute the computer program to cause the display device to perform: in response to a user's operation of opening a first application, entering a first mode and displaying a display page, and displaying an art work in the display page, the display page being a user display interface set in the first mode, wherein when using a Bluetooth music function in the first mode, switching a Bluetooth mode from an audio sending mode to an audio receiving mode, and when a default state of a first Bluetooth switch is an off state, turning on the first Bluetooth switch, the first Bluetooth switch being used to control opening and closing of a system Bluetooth function; in response to a user's switching instruction, identifying a target application after switching, and identifying whether the Bluetooth mode is in the audio receiving mode; if the target application is a second application, entering a second mode and locking the first Bluetooth switch in an on state, and locking the Bluetooth mode in the audio receiving mode, wherein in the second mode, a Bluetooth device can be connected, and audio provided by the connected Bluetooth device can be played, the second application being an application that keeps the first Bluetooth switch in an on state and keeps the Bluetooth mode in the audio receiving mode when switching from the first application; if the target application is not the second application, restoring the default state of the first Bluetooth switch, and switching the Bluetooth mode from the audio receiving mode back to the audio sending mode. 8.The display device of claim 7, wherein the at least one processor is further configured to execute the computer program to cause the display device to perform: switching the Bluetooth mode from the audio transmission mode to the audio reception mode in response to a user’s operation of turning on the application Bluetooth music function; maintaining the audio reception mode if the display device is under an operation guide page or under a pairing page when not connected with a Bluetooth device; switching back to the audio transmission mode if the operation guide page and the pairing page are exited in response to a user’s return instruction; maintaining the audio reception mode after connecting with a Bluetooth device, and switching back to the audio transmission mode after disconnecting with the Bluetooth device. 9.The display device of claim 7, wherein, in response to the user’s switching instruction and in identifying a target application after switching, the at least one processor is further configured to execute the computer program to cause the display device to perform: identifying an activity name of a top activity; if the activity name of the top activity is a name of the second application, the target application is the second application; and if the activity name of the top activity is not the name of the second application, the target application is not the second application. wherein 10.The display device of claim 7, wherein, in response to the user’s switching instruction and in identifying a target application after switching, the at least one processor is further configured to execute the computer program to cause the display device to perform: identifying a key event corresponding to the switching instruction; if the key event is a second specified key event, the second specified key event being used to trigger turning on the second application, the target application is the second application; and if the key event is not the second specified key event, the target application is not the second application. 11.The display device of claim 7, wherein, if the target application is the second application, after entering the second mode and locking the first Bluetooth switch in an on state and locking the Bluetooth mode in the audio reception mode, the at least one processor is further configured to execute the computer program to cause the display device to perform: displaying a music play page corresponding to the first audio and displaying device play information of the first Bluetooth device in the music play page when detecting connection with a first Bluetooth device and the first Bluetooth device being in an audio play state, the device play information of the first Bluetooth device including a device name and a device icon of the first Bluetooth device. 12.A processing method for a display device, the method comprising: entering a second mode and switching a Bluetooth mode from an audio transmission mode to an audio reception mode in response to a user’s operation of turning on a second application, wherein, when a default state of a first Bluetooth switch is an off state, the first Bluetooth switch being used to control turning on and off of a system Bluetooth function, the first Bluetooth switch is turned on, and in the second mode, a Bluetooth device can be connected and audio provided by the connected Bluetooth device can be played. In response to a switching instruction of the user, a target application after switching is identified; If the target application is the first application, a first mode is entered, the first Bluetooth switch is locked in an on state, and the Bluetooth mode is locked in the audio receiving mode. In the first mode, an art painting is displayed, and the first application is an application that keeps the first Bluetooth switch in the on state and keeps the Bluetooth mode in the audio receiving mode when switching from the second application; If the target application is not the first application, the default state of the first Bluetooth switch is restored, and the Bluetooth mode is switched back to the audio sending mode from the audio receiving mode.
13. A processing method for a display device, the method comprising: In response to an operation of the user opening a first application, a first mode is entered, and a display page is displayed, and an art painting is displayed in the display page. The display page is a user display interface set in the first mode. When the Bluetooth music function of the application is used in the first mode, the Bluetooth mode is switched from the audio sending mode to the audio receiving mode, and 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 opening and closing of the system Bluetooth function; In response to a switching instruction of the user, a target application after switching is identified, and whether the Bluetooth mode is in the audio receiving mode is identified; If the target application is the second application, a second mode is entered, the first Bluetooth switch is locked in an on state, and the Bluetooth mode is locked in the audio receiving mode. In the second mode, a Bluetooth device can be connected, and audio provided by the connected Bluetooth device can be played. The second application is an application that keeps the first Bluetooth switch in the on state and keeps the Bluetooth mode in the audio receiving mode when switching from the first application; If the target application is not the second application, the default state of the first Bluetooth switch is restored, and the Bluetooth mode is switched back to the audio sending mode from the audio receiving mode.
Citation Information
Patent Citations
Display equipment and method for playing music in terminal
CN111343489A
Bluetooth state switching method and device, electronic equipment and readable storage medium
CN117041405A
Display device and switching method between different modes
CN118870091A
Display device and music playing method
CN119342269A
Display device and music playing method
CN119342270A