Display device, and processing method for display device
By switching from the display device's art mode to audio reception mode and pairing with a Bluetooth device to play user-selected audio, the problem of users being unable to set the audio ambiance is solved, enhancing the personalized experience of browsing artworks.
Patent Information
- Application Number
- PCT/CN2025/089420
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-09-20
- Filing Date
- 2025-04-16
- Publication Date
- 2026-01-02
AI Technical Summary
In the art mode of the display device, users cannot set the audio ambiance according to their personal preferences, resulting in a lack of personalized experience when browsing artworks.
In Art Mode, the display device responds to the user's action of turning on the Bluetooth music function by switching to audio receiving mode, pairing with Bluetooth devices, and playing the audio selected by the user to provide a personalized audio atmosphere.
It enables users to set the audio atmosphere according to their preferences in art mode, thus enhancing the user's immersive browsing experience.
Smart Images

Figure CN2025089420_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. 202410853326.2, filed on June 28, 2024; Chinese Patent Application No. 202410853772.3, filed on June 28, 2024; Chinese Patent Application No. 202411319479.5, filed on September 20, 2024; and Chinese Patent Application No. 202411321862.4, 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. However, if the display device only displays the art painting, the user will lack some atmosphere when browsing the art painting. Even if the first application can provide some art paintings with audio, the user may not want to browse these art paintings. Moreover, the audio carried by these art paintings may not be the audio that the user likes, which will result in the user being unable to create his or her own atmosphere when browsing any art painting. SUMMARY
[0007] According to some embodiments of the present application, a display device is provided, which can include a display, a memory configured to store a computer program, and at least one processor connected with the display and the memory and configured to execute the computer program to cause the display device to perform the following operations: in a first mode, in response to a user opening an application Bluetooth music function, switching to an audio receiving mode and displaying an operation guide page, the operation guide page can include first guide information, the first guide information can be used to guide the user to pair a Bluetooth device with the display device, 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 the opening and closing of a system Bluetooth function; a pairing page can be displayed according to a pairing request of a first Bluetooth device, the pairing page can include inquiry information, the inquiry information can be used to inquire whether the user agrees to pair the display device with the first Bluetooth device; in response to an instruction of the user agreeing to pair, the display device is paired with the first Bluetooth device, and after the pairing with the first Bluetooth device is successful, a prompt page is displayed, the prompt page can be used to prompt the user to play audio on the first Bluetooth device; after receiving first audio sent by the first Bluetooth device, the first audio is played.
[0008] According to some embodiments of the present application, a processing method for a display device is also provided, which can include: in a first mode, in response to a user opening an application Bluetooth music function, switching to an audio receiving mode and displaying an operation guide page, the operation guide page can include first guide information, the first guide information can be used to guide the user to pair a Bluetooth device with the display device, 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 the opening and closing of a system Bluetooth function; a pairing page can be displayed according to a pairing request of a first Bluetooth device, the pairing page can include inquiry information, the inquiry information can be used to inquire whether the user agrees to pair the display device with the first Bluetooth device; in response to an instruction of the user agreeing to pair, the display device is paired with the first Bluetooth device, and after the pairing with the first Bluetooth device is successful, a prompt page is displayed, the prompt page can be used to prompt the user to play audio on the first Bluetooth device; after receiving first audio sent by the first Bluetooth device, the first audio is played. BRIEF DESCRIPTION OF DRAWINGS
[0009] FIG. 1 is a schematic diagram of an operation scenario between a display device and a control device according to some embodiments of the present application;
[0010] FIG. 2 is a hardware configuration block diagram of a control device according to some embodiments of the present application;
[0011] FIG. 3 is a hardware configuration block diagram of a display device according to some embodiments of the present application;
[0012] FIG. 4 is an operating system configuration diagram of a display device according to some embodiments of the present application;
[0013] FIG. 5 is a display page of an art mode application according to some embodiments of the present application;
[0014] FIG. 6 is a schematic diagram of a display device according to some embodiments of the present application;
[0015] FIG. 7 is a schematic diagram of a hierarchical preview page of an art mode application according to some embodiments of the present application;
[0016] FIG. 8 is a schematic diagram of a global preview page of an art mode application according to some embodiments of the present application;
[0017] FIG. 9 is a schematic diagram of an application setting menu according to some embodiments of the present application;
[0018] FIG. 10 is a flowchart of a display device displaying an application setting menu according to some embodiments of the present application;
[0019] FIG. 11 is a flowchart of a display device distributing a menu key based on a whitelist of the menu key according to some embodiments of the present application;
[0020] FIG. 12 is a flowchart of a display device distributing a menu key based on a flag bit according to some embodiments of the present application;
[0021] FIG. 13 is a schematic diagram of an application setting menu according to some embodiments of the present application;
[0022] FIG. 14 is a schematic diagram of a prompt message according to some embodiments of the present application;
[0023] FIG. 15 is a schematic diagram of an application setting menu according to some embodiments of the present application;
[0024] FIG. 16 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;
[0025] FIG. 17 is a schematic diagram of an application setting menu according to some embodiments of the present application;
[0026] FIG. 18 is a flowchart of a display device moving an application setting menu according to some embodiments of the present application;
[0027] FIG. 19 is a schematic diagram of a moving process of an application setting menu according to some embodiments of the present application;
[0028] FIG. 20 is a schematic diagram of a three-layer view structure of an application setting menu according to some embodiments of the present application;
[0029] FIG. 21 is a schematic diagram of an artistic mode setting page according to some embodiments of the present application;
[0030] FIG. 22 is a schematic diagram of an artistic mode setting page according to some embodiments of the present application;
[0031] FIG. 23 is a schematic diagram of a system setting menu according to some embodiments of the present application;
[0032] FIG. 24 is a flowchart of a display device displaying artistic paintings according to some embodiments of the present application;
[0033] FIG. 25 is a flowchart of a display device switching quality parameters according to some embodiments of the present application;
[0034] FIG. 26 is a flowchart of a display device switching quality parameters according to some embodiments of the present application;
[0035] FIG. 27 is a flowchart of a display device switching quality parameters according to some embodiments of the present application;
[0036] FIG. 28 is a flowchart of a display device switching classification modes according to some embodiments of the present application;
[0037] FIG. 29 is a flowchart of a display device adjusting quality parameters according to some embodiments of the present application;
[0038] FIG. 30 is a flowchart of a display device individually setting application quality parameters of a current artistic painting according to some embodiments of the present application;
[0039] FIG. 31 is a schematic diagram of an artistic mode setting page according to some embodiments of the present application;
[0040] FIG. 32 is a flowchart of a display device adjusting a state of the display device according to some embodiments of the present application;
[0041] FIG. 33 is a schematic diagram of a wake-up process of a display device according to some embodiments of the present application;
[0042] FIG. 34 is a flowchart of a display device adjusting a state of the device according to some embodiments of the present application;
[0043] FIG. 35 is a flowchart of a display device setting a light-sensing parameter threshold according to some embodiments of the present application;
[0044] FIG. 36 is a flowchart of a display device setting a light-sensing parameter threshold according to some embodiments of the present application;
[0045] FIG. 37 is a flowchart of a display device setting a light-sensing parameter threshold according to some embodiments of the present application;
[0046] FIG. 38 is a flowchart of a display device adjusting a device state, according to some embodiments of the application;
[0047] FIG. 39 is a flowchart of a display device adjusting a device state, according to some embodiments of the application;
[0048] FIG. 40 is a flowchart of a display device adjusting a device state, according to some embodiments of the application;
[0049] FIG. 41 is a schematic view of an art mode setting page, according to some embodiments of the application;
[0050] FIG. 42 is a flowchart of a display device adjusting a device state, according to some embodiments of the application;
[0051] FIG. 43 is a flowchart of a display device adjusting a device state, according to some embodiments of the application;
[0052] FIG. 44 is a flowchart of a display device adjusting a device state, according to some embodiments of the application;
[0053] FIG. 45 is a schematic view of a system setting menu, according to some embodiments of the application;
[0054] FIG. 46 is a flowchart of a display device playing audio from a Bluetooth device, according to some embodiments of the application;
[0055] FIG. 47 is a schematic view of an operation guide page, according to some embodiments of the application;
[0056] FIG. 48 is a schematic view of a search result list, according to some embodiments of the application;
[0057] FIG. 49 is a schematic view of a pairing page, according to some embodiments of the application;
[0058] FIG. 50 is a schematic view of a paired device list, according to some embodiments of the application;
[0059] FIG. 51 is a schematic view of a paired device list, according to some embodiments of the application;
[0060] FIG. 52 is a schematic view of a prompt page, according to some embodiments of the application;
[0061] FIG. 53 is a flowchart of a display device switching a Bluetooth device, according to some embodiments of the application;
[0062] FIG. 54 is a schematic view of a showcase page, according to some embodiments of the application;
[0063] FIG. 55 is a schematic view of a showcase page, according to some embodiments of the application;
[0064] FIG. 56A is a flowchart of audio playback by a display device, according to some embodiments of the application;
[0065] FIG. 56B is a schematic diagram of audio playback by a display device, according to some embodiments of the application;
[0066] FIG. 57 is a flowchart of interaction between a display device and a first Bluetooth device, according to some embodiments of the application;
[0067] FIG. 58 is a schematic diagram of a showcase page, according to some embodiments of the application;
[0068] FIG. 59A is a flowchart of audio playback by a display device, according to some embodiments of the application;
[0069] FIG. 59B is a flowchart of audio playback by a display device, according to some embodiments of the application;
[0070] FIG. 60A is a flowchart of audio playback by a display device, according to some embodiments of the application;
[0071] FIG. 60B is a flowchart of internal interaction of a display device in a fourth mode, according to some embodiments of the application;
[0072] FIG. 61 is a flowchart of audio playback by a display device, according to some embodiments of the application;
[0073] FIG. 62 is a flowchart of a display device entering a soundbar mode, according to some embodiments of the application;
[0074] FIG. 63 is a schematic diagram of a music playback page, according to some embodiments of the application;
[0075] FIG. 64 is a flowchart of a display device switching Bluetooth devices providing audio, according to some embodiments of the application;
[0076] FIG. 65 is a schematic diagram of a music playback page, according to some embodiments of the application;
[0077] FIG. 66 is a flowchart of a display device adjusting a state of a display screen, according to some embodiments of the application;
[0078] FIG. 67 is a flowchart of a display device switching from a soundbar mode to an art mode, according to some embodiments of the application;
[0079] FIG. 68 is a schematic diagram of icons applied by an art mode, according to some embodiments of the application;
[0080] FIG. 69 is a flowchart of a display device switching from a soundbar mode to an art mode, according to some embodiments of the application;
[0081] FIG. 70A is a flowchart of playing audio by a display device according to some embodiments of the present application;
[0082] FIG. 70B is a flowchart of switching between a first application and a second application according to some embodiments of the present application;
[0083] FIG. 71 is a flowchart of playing audio by a display device according to some embodiments of the present application;
[0084] FIG. 72 is a timing diagram of a process of a display device according to some embodiments of the present application;
[0085] FIG. 73 is a timing diagram of a process of a display device according to some embodiments of the present application;
[0086] FIG. 74 is a flowchart of playing audio by a display device according to some embodiments of the present application;
[0087] FIG. 75 is a flowchart of playing audio by a display device according to some embodiments of the present application. DETAILED DESCRIPTION
[0088] The embodiments will be described in detail with reference to the drawings, of which examples are shown. In the following description, the same numbers are used to denote the same or similar elements throughout the several views. The embodiments described in the following examples do not represent all of the embodiments consistent with the present application. Rather, they are merely examples of systems and methods consistent with some aspects of the present application as detailed in the appended claims.
[0089] It should be noted that the brief description of terms in the present application is only for the convenience of understanding the embodiments described next, 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.
[0090] 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.
[0091] The terms "include" and "have" and any variations thereof are intended to cover but not exclusive of inclusion, for example, a product or device that includes a list of components does not necessarily limit to all the components clearly listed, but can include other components not clearly listed or inherent to such products or devices.
[0092] In the embodiments of the present application, the display device generally refers to a device with picture display and data processing capabilities. 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, and the like.
[0093] 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 stylus, a handle, and the like.
[0094] As further 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.
[0095] The display device 200 can provide a broadcast receiving television function, and can additionally provide an intelligent 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), and the like.
[0096] FIG. 2 is a hardware configuration block diagram of a control device according to some embodiments of the present application.
[0097] As shown in FIG. 2, the control device 100 can include a control apparatus 110, a communication interface 120, a user input / output interface 130, a memory 140, and a power supply 150.
[0098] 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.
[0099] In some embodiments, the communication interface 120 can include at least one of a wireless fidelity (WiFi) chip 121, a Bluetooth module 122, a near field communication (NFC) module 123, and other near field communication modules.
[0100] 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.
[0101] In some embodiments, the control device 100 can include at least one of the communication interface 120 and the input / output interface 130.
[0102] 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 device 110. The memory 140 can store various control signal instructions input by the user.
[0103] 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 device 110.
[0104] 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.
[0105] In some embodiments, the keys configured on the control device 100 can include basic keys such as a power key, a number key, a direction key, a volume key, a home key, a back key, 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 a color key, etc. Based on these special keys, the user can control the display device 200 to implement specific functions in different scenarios.
[0106] FIG. 3 is a hardware configuration block diagram of a display device according to some embodiments of the present application.
[0107] In some embodiments, the display device 200 can include at least one of a tuner 210, a communication device 220, a detector 230, a device interface 240, at least one processor 250, a display 260, an audio output device 270, a user input interface 280, a memory, and a power supply.
[0108] In some embodiments, the communication device 220 is 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 devices 220 according to different supported communication modes. The communication device 220 can make the display device 200 communicatively connected with the external device or the server 400 through wireless or wired connection.
[0109] 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.
[0110] In some embodiments, the device interface 240 can be configured to access an external device.
[0111] In some embodiments, the at least one processor 250 can be configured to control the overall operation of the display device 200.
[0112] 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.
[0113] 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.
[0114] 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.
[0115] 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 functional component for presenting a picture, and a driving component for driving the image display.
[0116] In some embodiments, the user can input user commands through a graphical user interface (GUI) displayed on the display 260, and the user input interface 280 can receive the user commands through the GUI.
[0117] 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.
[0118] In some embodiments, the user input interface 280 can be configured to receive instructions from user input. It can be in communication connection with the at least one processor 250.
[0119] In some embodiments, the user input interface 280 can be an interface capable of receiving the user's operation. The specific form of the user input interface 280 is not limited as long as the user's operation can be received, and the at least one processor 250 can convert the operation information acquired through the user input interface 280 into a control instruction for the display device 200.
[0120] In some embodiments, if the display device 200 needs or can be used in conjunction with a remote controller, the user input interface 280 can be an interface through which the display device 200 receives remote control information of the remote controller, so that the received remote control information transmitted by the remote controller can be acquired as operation information / instruction.
[0121] In some embodiments, if the display device 200 is a display device having a touch display, the user input interface 280 can also be a touch display of the display device 200, so that the detected touch operation on the touch screen can be acquired as operation information / instruction.
[0122] In some embodiments, the display device 200 can also be configured with a sound collector (such as a microphone), and at this time, the user input interface 280 can include the sound collector and acquire the audio information collected by the sound collector as operation information / instruction. As one of the display devices, the sound collector can be the sound collector in the detector 230 involved in the above embodiments.
[0123] In some embodiments, the display device 200 can also be configured with an image collector (such as a camera), and at this time, the user input interface 280 can include the image collector and acquire the image information collected by the image collector as operation information / instruction. As one of the display devices, the image collector can be the image collector in the detector 230 involved in the above embodiments.
[0124] In some embodiments, the display device 200 can also be configured with a button, and at this time, the user input interface 280 can include the button and acquire the information of the received operation on the button as operation information / instruction.
[0125] In order to perform user interaction, in some embodiments, the display device 200 can run an operating system. The operating system is a computer program for managing and controlling hardware resources and software resources in the display device 200.
[0126] The operating system can be a native operating system based on a specific operating platform, can be a third-party operating system deeply customized based on a specific operating platform, or can be an independent operating system specially developed for the display device 200.
[0127] The operating system can be divided into different modules or levels according to the implemented functions, 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 "application layer" for short), the Application Framework layer (referred to as "framework layer" for short), the system runtime library layer and the kernel layer.
[0128] In some embodiments, the application layer can be used to provide services and interfaces for applications, so that the display device 200 can run the applications and can interact with the user based on the applications. For example, the application layer can include a voice assistant, and the voice assistant can provide voice interaction functions, and the user can interact with the display device through the voice assistant in the form of voice.
[0129] The framework layer can provide application programming interfaces (APIs) and programming frameworks for applications. The application framework layer includes 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.
[0130] In some embodiments, the system runtime library layer can provide support for the framework layer. When the framework layer is used, the operating system will run 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.
[0131] 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.
[0132] It should be noted that the above examples are only a simple division of the functions of the operating system, and do not constitute a limitation on the specific operating system form of the display device 200 in the embodiments of the present application. According to the function of the display device, the type of operating system and other factors, the number and specific level type of the operating system included can be in other forms.
[0133] Generally, a user mainly regards a display device as a device with a video and audio playing function. In order 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 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 a space. In addition, 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 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.
[0134] In some embodiments of the present application, the first application is an Art Mode application, and the first mode is an Art Mode. The processing manner of the first application of other application types is similar to this, and will not be described in detail.
[0135] The display device 200 can enter the Art Mode in the following manner:
[0136] In some embodiments, the display device 200 can be configured to, in the power-off state, start the Art Mode application after the power-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.
[0137] In some embodiments, the display device 200 can be configured to, in the power-off state, display a system home page in response to an instruction of 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 a home key of the control device 100, and enter the Art Mode after starting the Art Mode application.
[0138] In some embodiments, the display device 200 can be configured to, in the power-off state, start the Art Mode application after the power-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.
[0139] In some embodiments, the display device 200 can be configured to, when displaying the system home page, enter the Art Mode in response to an instruction of the user selecting an icon of the Art Mode application. The icon of the Art Mode application can be configured on the system home page or in a sidebar of the system home page.
[0140] In some embodiments, the display device 200 can be configured to enter the art mode in response to a first instruction input by the user short pressing the power key of the control device 100 when the display device 200 is in the power-on state and has not entered the art mode.
[0141] In some embodiments, the display device 200 can be configured to enter the art mode in response to a first instruction input by the user based on the art mode key of the control device 100 when the display device 200 is in the power-on state and has not entered the art mode.
[0142] In some embodiments, if the user turns on the timing power-on and sets the power-on time, the display device 200 can be configured to start the art mode application after the power-on and enter the art mode after starting the art mode application when the system time meets the power-on time in the power-off state.
[0143] In some embodiments, the control device 100 generates a press signal in response to the user pressing the key and sends the press signal to the display device 200. The control device 100 also generates a release signal in response to the user lifting the key and sends 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.
[0144] As a specific implementation, the display device 200 can use the dispatchKeyEvent method to capture the key event, and the captured key event can include the press (KeyEvent.ACTION_DOWN) event and the 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 the timer counts a predefined time, such as 500ms. 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 the long press operation on the key. If the display device 200 listens to the release event within the predefined time, the timer is cancelled. Since the timer does not trigger the long press event, it can be determined that the user performs the short press operation on the key.
[0145] In some embodiments, the control device 100 can be configured to periodically send the key value signal to the display device 200 in response to the user pressing the key until the user releases 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 times of receiving the key value signal. If the number of times of receiving the key value signal by the display device 200 is less than or equal to a preset number of times, it can be determined that the user performs a short press operation on the key. If the number of times of receiving the key value signal by the display device 200 is greater than the preset number of times, it can be determined that the user performs a long press operation on the key. For example, assuming that the preset number of times is 1, if the number of times of receiving the key value signal 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 times of receiving the key value signal by the display device 200 is greater than 1, it can be determined that the user performs a long press operation on the key.
[0146] The display device 200 can be configured with a third application, which can call the application data of the first application running in the background, such as artistic paintings, picture quality parameters, carousel parameters, etc. In this way, the display device 200 is in a third mode after entering the third application. In the third mode, the display device 200 will display a screen saver page of the third application, and can display artistic paintings provided by the first application on the screen saver page, thereby realizing the display of 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, i.e., cannot set the artistic paintings, etc.
[0147] 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.
[0148] In some embodiments of the present application, the third application is taken as an artistic screen saver application, and the third mode is taken as an artistic screen saver mode for specific description. The processing mode of other application types of the third application is similar, and will not be described in detail.
[0149] The display device 200 can enter the artistic screen saver mode in the following manner:
[0150] In some embodiments, the display device 200 can be configured to, in a powered-on state and without entering the artistic mode, enter the artistic screen saver mode if a first condition is met. The first condition can include but is not limited to that no user operation is detected in a specified time period in a non-physical channel, or no signal input is detected in a currently used physical channel.
[0151] In some embodiments, the signal channels of the display device 200 can include physical channels and non-physical channels. Among them, 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 physical channels can be referred to as non-physical channels, and non-physical channels can include but are not limited to: launcher home page, third-party applications, etc.
[0152] After the display device 200 enters the art mode, the display device 200 can display a showcase page and display an art painting in the showcase page.
[0153] In some embodiments, the showcase page can be a user display interface set in the first mode. For example, the showcase page can be the home page of the first application, that is, the first page displayed after entering the first mode. The showcase page can also be a specified user display interface.
[0154] In some embodiments, the display device 200 can add a frame with a three-dimensional effect to the art painting in the showcase page when no hardware frame is installed, so as to simulate a real mounting effect through the added display frame.
[0155] Referring to the showcase page shown in FIG. 5, the showcase page can include an art painting 501 and an added display frame 502.
[0156] In other embodiments, a hardware frame can be installed on the frame of the display device 200 to simulate a real mounting effect through the hardware frame.
[0157] Referring to the display device 200 shown in FIG. 6, the display device 200 is installed with a hardware frame 601, and after entering the art mode, an art painting 602 is displayed in the showcase page.
[0158] In this way, the display device 200 can simulate a more realistic art painting by adding a display frame to the art picture or by installing a hardware decoration for simulating a frame in the art mode, thereby improving the immersion of the user.
[0159] In some embodiments, the art paintings provided by the art mode application can be divided into different painting categories according to scenes, picture content, etc. In this way, the user can quickly find art paintings according to different painting categories.
[0160] In some embodiments, the art pieces in the same art piece category can be further divided into different art piece categories. The same art piece category can be referred to as a superior art piece category, and the art piece categories contained therein can be referred to as inferior art piece categories. In this way, the user can further quickly search for art pieces in the same superior art piece category according to different inferior art piece categories.
[0161] In some embodiments provided in the present application, art pieces are divided into two levels of art piece categories, the superior art piece category is a first-level category, and the inferior art piece category is a second-level category. 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, and the like. 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.
[0162] In order to facilitate the user to quickly search for the art pieces that the user wants to browse according to the classification and the category, the art mode application can be configured with a hierarchical preview page. The hierarchical preview page can include but is not limited to a first menu and a second menu. The first menu includes the title of the first-level category, the second menu can be used to display the title of the second-level category included in the first-level category that is in a selected state or obtains focus, and the second menu can further include a preview image list. The preview image list can be in a single row form and can include but is not limited to the preview image of the art piece included in the second-level category that is in a selected state or obtains focus. 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.
[0163] In some embodiments of the present application, only the background of the hierarchical preview page is in a transparent state, the first menu and the second menu are in a semi-transparent state and have a gradual change in transparency. In the 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 the 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 that are seen through will change due to the existence of the upper layer page. It can be understood that the corresponding screen effect can be realized by setting the transparency in actual application. The gradual change in transparency is not shown in the drawings. Specifically, the transparency can be gradually increased from top to bottom based on actual needs, and the present application does not make specific limitations.
[0164] In some embodiments, the display device 200, when displaying the presentation page, can be configured to display a hierarchical preview page on the upper layer of the presentation page in response to a user input of a specified designation based on a confirmation key or OK key of the control device 100. Through the hierarchical preview page, the art works currently presented in the lower layer presentation page can be displayed.
[0165] Referring to the presentation 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, Art Gallery is in a selected state. Based on the fact that Art Gallery is 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, which can include preview images of art works included in the Landscape category based on the fact that Landscape is in focus. For example, the corresponding preview images of Landscape 14, Landscape 15, Landscape 16, Landscape 17, Landscape 18.
[0166] 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 blank background texture is shown in the drawings in this application 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 described in detail.
[0167] In this embodiment of the present application, for the sake of convenience, the corresponding art works are represented in the form of "second-level category + order of picture in the second-level category". For example, Landscape 16 represents the 16th art work in the Landscape category.
[0168] The background of the hierarchical preview page can be in a transparent state. Referring to FIG. 7, the background 704 is in a transparent state. Therefore, the art works currently presented in the presentation page, such as the three geometric figures, can be displayed through the background 704.
[0169] In some embodiments, based on the hierarchical preview page, a user can select a first-level category and a second-level category that he or she wants to preview to browse the preview images of the corresponding art works in the preview list. Furthermore, the user can exit the hierarchical preview page by selecting a preview image and the like, and quickly switch the art work presented in the presentation page to the art work corresponding to the selected preview image.
[0170] In some embodiments, in order to facilitate the user to preview more preview images at one time, and improve the efficiency of searching for artistic paintings, the artistic mode application can also be configured with a global preview page. The global preview page can include, but is not limited to, a third menu and a global preview image list. The third menu can include the titles of the second categories included in the target first category, in which the target second category obtains focus. The target first category can be the first category to which the artistic paintings currently displayed in the display page belong, and the target second category can be the second category to which the artistic paintings corresponding to the preview images currently included in the preview image list belong. The global preview image list can be in the form of a grid and can include the preview images of the artistic paintings included in the target second category. In this way, the user can browse the preview images of the artistic paintings included in each second category in the target first category at one time through the global preview page.
[0171] In some embodiments, when the preview image in the preview image list obtains focus, the display device 200 can be configured to display the global preview page above the hierarchical preview page in response to the downward instruction of the user based on the downward key input of the control device 100.
[0172] 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 downward instruction of the user. 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. In which, landscape obtains focus. The global preview page can also include a global preview image list 802. The global preview image list 802 can include the preview images of all artistic paintings included in the landscape category. Taking all artistic paintings included in the landscape category as examples of landscape 1-18, the global preview image list 802 can include the preview images of landscape 1-18.
[0173] In some embodiments, the user can select the second category that the user wants to preview under the target first category based on the global preview page, so as to browse the preview images of the corresponding artistic paintings in the global preview image list. Moreover, the user can exit the global preview page and the hierarchical preview page by selecting the preview image and other operations, and quickly switch the artistic paintings displayed in the display page to the artistic paintings corresponding to the selected preview image.
[0174] In the artistic mode, the user pays more attention to the display effect and display method of the artistic paintings. The artistic mode application can be configured with various functions, based on which the user can set the parameters of the artistic paintings to adjust the display effect and display method of the artistic paintings.
[0175] In some embodiments, the art mode application can be configured with an application setting menu (hereinafter referred to as application setting menu) of the art mode application. The application setting menu is distinguished from the system setting menu, and is a setting menu within the art mode application. The application setting menu can include menu items for setting art work related parameters. The parameters set based on the application setting menu do not affect the overall parameters of the display device 200.
[0176] 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.
[0177] 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.
[0178] In some embodiments, the first button can be a special button of the control device 100, which has no default system function, but is a button specially used to open the application setting menu.
[0179] In subsequent embodiments of the present application, the first button is taken as an example of a menu button.
[0180] In some embodiments, the application setting menu can be displayed on the upper layer of the display page. Referring to the application setting menu 901 shown in FIG. 9, the application setting menu 901 is displayed on the upper layer of the display page. In this way, when using the application setting menu, the user can browse the art work in the display page and observe the setting effect after setting through the application setting menu.
[0181] In some embodiments, the display device 200 can display the application setting menu according to the flow shown in FIG. 10. The specific steps can include but are not limited to the following:
[0182] S901, in response to a control instruction input by the user based on the menu button of the control device, identifying the current application.
[0183] S902, when the current application is the art mode application, processing the control instruction by the art mode application.
[0184] In the system default function, the menu key is a system application key, which can be used to pull up the shortcut menu of the system settings. If the menu key is to be used for multiple applications, i.e., the menu key can be used to pull up the setting menu of a specified application in addition to the shortcut menu of the system settings, the application currently responding to the menu key needs to be accurately controlled to avoid the conflict problem of multiple applications responding to the menu key at the same time and the non-response problem of no application responding to the menu key.
[0185] In some embodiments, the specified application can be an application configured with an independent response to the menu key function, which can include but is not limited to an artistic mode application, a media player, etc.
[0186] In some embodiments, after receiving the control instruction input by the user based on the menu key of the control device 100, the display device 200 can accurately control the response to the menu key by distributing the menu key to the application currently needing to respond to the menu key.
[0187] In some embodiments, the logic of distributing the menu key can be that, when the current application is the specified application, the menu key is distributed to the current application to be independently processed by the current application, i.e., to process the control instruction; when the current application is not the specified application, the menu key is distributed to the system application to be processed by the system application, i.e., to pull up the shortcut menu of the system settings.
[0188] In some embodiments, the current application is the application that has been opened and displayed on the top layer at present, i.e., the application currently interacting with the user.
[0189] 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 system applications and other applications at the application layer, and the other applications can include designated applications. For example, the system applications can include a Settings application, and the designated applications can include a Media player, an Art Mode application, and a Live TV, etc. The operating system can be configured with a Content Provider, an Activity Manager, and a Window Manager, etc. at the framework layer. The operating system can be configured with a KeyPad driver at the kernel layer. Among them, after the display device 200 receives the menu key, the display device 200 can distribute the menu key to the Window Manager through the KeyPad driver. In the Window Manager, the Window Manager needs to identify whether the current application is a designated application. Among them, if it is a designated application, the Window Manager can distribute the menu key to the designated application. Taking the Art Mode application as an example, the Window Manager can distribute the menu key to the Activity Manager of the Art Mode application, and then the Activity Manager can distribute the menu key to the Art Mode application. If it is not a designated application, the Window Manager can distribute the menu key to the Activity Manager of the Settings application, and then the Activity Manager can distribute the menu key to the Settings application to pull up the shortcut menu of the system settings.
[0190] In some embodiments, the display device 200 can pre-configure a white list of the menu key in the memory, and the white list of the menu key can include the package name of the application that can process the control instruction (menu key) individually. Among them, the white list of the menu key can include the package name of the Art Mode application. For example, the white list of the menu key can be: whiteList={com.vt.arttv.artmode,com.vt.media}. Among them, processing the control instruction individually means 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, instead of processing the control instruction by the system.
[0191] In some embodiments, the display device 200 can distribute the menu key based on the white list of the menu key according to the flow shown in FIG. 11, and the specific steps can include but are not limited to the following:
[0192] S1001, when identifying that the current application is the Art Mode application, obtaining the package name of the Art Mode application.
[0193] In some embodiments, the topActivity, i.e., the current application, can be identified through an Android standard interface. According to the topActivity, the corresponding currentPackageName, i.e., the package name of the current application, can be obtained. Wherein, if the current application is the art mode application, the package name of the current application is the package name of the art mode application.
[0194] S1002, compare the package name of the art mode application with the package names in the whitelist of the menu key.
[0195] In some embodiments, the obtained currentPackageName can be compared with the whitelist of the menu key.
[0196] S1003, after determining that the package name of the art mode application belongs to the whitelist of the menu key, process the control instruction by the art mode application.
[0197] If the currentPackageName is found in the whitelist of the menu key, the menu key can be directly dispatched to the topActivity, i.e., 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 whitelist of the menu key, the menu key can be directly dispatched to the art mode application, and the control instruction is processed by the art mode application.
[0198] In other embodiments, the display device 200 can mark the current application and whether the current application is a specified application, i.e., whether the menu key can be independently responded, by adding a flag bit and the like. Wherein, the flag bit can be added in attributes, databases, content providers, file writing states and the like, and the corresponding mark can be added in the flag bit.
[0199] 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, i.e., the control instruction, is processed by the art mode application. For example, the flag bit is added in the database, after entering the art mode application, the first mark can be written down by Settings.Gloal.put, such as: is_artmode_show=true.
[0200] In some embodiments, the display device 200 can dispatch the menu key based on the flag bit according to the flow shown in FIG. 12, and the specific steps can include but are not limited to the following:
[0201] S1101, in response to the control instruction, identify the first mark.
[0202] The display device 200 can read the flag bit and identify the mark carried on the flag bit in response to the control instruction.
[0203] 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.
[0204] In the above example, the WindowManager can read the identification carried on the flag bit by reading Settings.Global.get. If the read identification is is_artmode_show=true, the first identification is identified, and thus it can be confirmed that the art mode application has been started, indicating that the menu key needs to be processed independently by the art mode application. In this way, the WindowManager can distribute the menu key to the art mode application.
[0205] S1103, if the first mark is not identified, it is determined that the current application is not an art mode application.
[0206] For example, a second mark added by other specified applications on the flag bit is identified, and the display device 200 can determine that the current application is the specified application and that the menu key is processed by the specified application according to the second mark.
[0207] S903, identify the current page.
[0208] In some embodiments, in order to realize that the user can set parameters while browsing the changes of the art paintings after setting the parameters, the art mode application can be configured to display the application setting menu in the form of a shortcut menu on the display page of the art mode application.
[0209] Therefore, the display device 200 can identify the current page when it is identified that the current application is an art mode application, i.e., the current art mode, and determine whether to open the application setting menu according to the current page.
[0210] S904, if the current page is the display page of the art mode application, the application setting menu is displayed on the upper layer of the display page.
[0211] 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.
[0212] 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 901 shown in FIG. 9 and FIG. 13 can be displayed on the upper layer of the display page.
[0213] In this way, the application setting menu displayed in the form of the shortcut menu can provide the user with an entry for setting the parameters of the art piece more quickly, so that the user can set the parameters more quickly and conveniently. Meanwhile, displaying the application setting menu on the display page can present the user with the display effect of the art piece under different parameters based on the display page in real time, so that the user can set the relevant parameters more accurately.
[0214] S905, if the current page is not the display page, display prompt information on the upper layer of the current page, the prompt information being used to prompt that the menu key is unavailable on the current page.
[0215] If the current page is not the display page, for example, the hierarchical preview page as shown in FIG. 7 or the global preview page as shown in FIG. 8, 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 art piece, resulting in the user being unable to accurately set the parameters.
[0216] Taking the global preview page as shown in FIG. 8 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 will not be opened, but the display device 200 can display prompt information on the global preview page, such as “the current page does not support responding to the menu key, please return to the display page to use the menu key”, as shown in FIG. 14. In this way, according to the prompt information, the user can not only determine that the current page cannot open the application setting menu, but also know that the application setting menu can be opened from the display page.
[0217] In some embodiments, the art mode application can be configured to display different pages through a multi-level On-Screen Display (OSD) layer structure. A higher-level OSD layer can be displayed on a lower-level OSD layer, and the highest-level OSD layer is displayed as the uppermost layer, which can obtain the focus from the uppermost OSD layer.
[0218] In some embodiments, the art mode application can be configured to display different pages through a four-level OSD layer structure. The display page can be displayed in the first-level OSD layer, the hierarchical preview page can be displayed in the second-level OSD layer, the global preview page and the application setting menu can be displayed in the third-level OSD layer, and the pop-up window, prompt information and the like can be displayed in the fourth-level OSD layer. In this way, the OSD layers are arranged in order from bottom to top, and the first-level OSD layer, the second-level OSD layer, the third-level OSD layer and the fourth-level OSD layer are arranged in order from bottom to top.
[0219] The application setting menu can include a background frame, which can be used to display the background of the application device menu.
[0220] In some embodiments, the background frame can be filled with a specified color. For example, in the menu layout file, the background can be set to the RGBA value of the specified color. Referring to the application setting menu 901 shown in FIG. 13, the background frame 902 of the application setting menu 901 is filled with a specified color.
[0221] In other embodiments, the background frame can be filled with a specified color and in a transparent state or a semi-transparent state. In this way, when the application setting menu is displayed, the degree of occlusion of the showcase page can be reduced. Referring to the application setting menu 1401 shown in FIG. 15, the background frame 1402 of the application setting menu 1401 is filled with a specified color but in a semi-transparent state.
[0222] In other embodiments, the background frame can be dynamically filled with a corresponding picture according to the currently displayed art work in the showcase page. The display device 200 can dynamically fill the background frame of the application setting menu according to the flow shown in FIG. 16, and the specific steps can include but are not limited to the following:
[0223] S1501, obtaining the art work currently displayed in the showcase page.
[0224] The currently displayed art work can be the picture reference for filling the background frame of the application setting menu.
[0225] S1502, cutting a first picture with the same size as the background frame from the art work.
[0226] The display device 200 can cut a first picture in a rectangle shape from the art work, the width of the first picture is consistent with the width of the background frame, and the height of the first picture can be consistent with the height of the background frame, so that the first picture can fill the background frame.
[0227] In some embodiments, the cutting position of the art work can correspond to the display position of the application setting menu. In this way, the background frame filled based on the first picture can better integrate with the art work in terms of pattern.
[0228] S1503, performing Gaussian blurring and transparency processing on the first picture to obtain a processed first picture.
[0229] 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 the style of the art work.
[0230] S1504, displaying the application setting menu on the showcase page, wherein the processed first picture is displayed in the background frame.
[0231] The processed first picture can be used to fill the background frame, for example, a bitmap object of the processed first picture is set as the background of the application setting menu.
[0232] In this way, when the application setting menu is displayed on the artistic painting, the background of the application setting menu can be better integrated with the artistic painting, and the discomfort of the application setting menu is weakened.
[0233] Referring to the display page shown in ① of FIG. 17, if the display device 200 receives a control instruction input by the user based on the menu key of the control device 100, a first picture 1601 can be intercepted from the artistic painting, and the first picture 1601 can be subjected to Gaussian blurring and transparency processing to obtain a processed first picture. As shown in ② of FIG. 17, the application setting menu 1602 is displayed in the display page, and the background frame 1603 of the application setting menu 1602 is filled with the processed first picture. As can be seen, the background of the application setting menu 1602 can be well integrated with the artistic painting.
[0234] In some embodiments, in the artistic mode, the artistic paintings can be cycled in the display page. When the application setting menu is displayed on the display page, if the artistic painting displayed in the display page is switched to the next artistic 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 artistic painting.
[0235] 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.
[0236] The N menu items included in the menu item list can be used to set parameters of the artistic painting, such as brightness, contrast, black level, auto light sensor, auto white balance, Bluetooth music, reset, etc. The N menu items can be arranged vertically in a preset order to form the menu item list.
[0237] 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.
[0238] In some embodiments, the maximum number M of menu items that can be displayed in the list display area is less than N. Thus, only a part of the menu items in the menu item list can be displayed in the list display area at a time, i.e., n < N and n ≤ M. The n menu items displayed at a time can be the first n menu items in the menu item list.
[0239] 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. The different views correspond to different levels, and a view with a higher level is displayed on top of 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 displayed has a lower level than the view in which the list display area is displayed, i.e., the menu items displayed in the list display area block the background displayed in the background frame.
[0240] In some embodiments, the background of the menu item list can be transparent. Thus, when the n menu items are displayed on the background frame, the display effect is that the text in the n menu items is displayed on the background. Referring to the menu items “Brightness”, “Contrast” and “Reset” in FIG. 15, it can be seen that when the background frame is transparent, semi-transparent or filled with the processed first picture, it is more likely that the color of the text is similar to the color of the background in the background frame, which makes it difficult for the user to identify the text. Based on this, the display device 200 can also dynamically adjust the color of the text in the menu items according to the color presented in the background frame (e.g., the color of the artwork, the color of the processed first picture, etc.).
[0241] Taking the case of filling the background frame with the processed first picture as an example, the display device 200 can determine the second color of the text in the n menu items according to the first color of the processed first picture, and the first color and the second color satisfy the contrast requirement, so that the user can more easily identify the text in the menu items. Thus, the processed first picture is displayed in the background frame, the n menu items are displayed on top of the processed first picture, and the text in the n menu items is displayed using the second color.
[0242] In combination with the application setting menu 1602 shown in ② in FIG. 17, if the preset color of the display text is black, the second color can be determined as white according to the first color of the processed first picture in the background frame 1603, because the first color is deep. In order to improve the contrast between the text in the menu items and the background, the text in the menu items can be displayed using white, as shown in ② in FIG. 17.
[0243] In some embodiments, the art mode application can be configured to display the first n menu items in the list display area when displaying the application setting menu, and the first menu item can obtain the focus. That is, the art mode application displays the menu item list 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.
[0244] In some embodiments, the art mode application can be configured to display the application setting menu in a first position when displaying the application setting menu, and the first position can be the default position.
[0245] In some embodiments, the art mode application can divide the art paintings into different categories. For example, the art paintings can be classified according to the painting category, or the art paintings can be classified according to the picture content of the art paintings. The user can customize the way of classifying the art paintings.
[0246] In some embodiments, the art mode application can be configured to correspond a set of menu item lists to each category, and different categories can correspond to different menu item lists. The menu item lists corresponding to different categories can be isolated from each other. That is, the user's setting of a menu item in the menu item list corresponding to a category will not affect the corresponding menu item in the menu item list corresponding to another category. Each menu item list corresponding to a category can record the related settings of each menu item in the menu item list, such as the numerical value and state corresponding to each menu item.
[0247] 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 the first menu item 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, that is, the menu item that obtains the focus when the application setting menu including the menu item list is exited last time.
[0248] For example, the current setting of the art painting classification method is to classify the art paintings according to the picture content. When the display device 200 displays the application setting menu, the display device 200 can determine the category to which the art painting currently displayed in the display page belongs according to the current setting of the art painting classification method, such as the still life category. The display device 200 can determine the menu item list corresponding to the still life category. If the focus is obtained by Brightness when the application setting menu is exited, the first menu item is Brightness, and the association relationship between the menu item list and the first setting item can be recorded as SelectedItem{XXX_item,brightess}. The recorded data can be stored in the local through SharedPreferece, and the recorded data can be directly read from the local when the application setting menu is opened.
[0249] Correspondingly, the artistic mode application can also be configured to: when displaying the application setting menu, the first n menu items displayed in the list display area can include a first menu item, which is the menu item that obtained the focus when the application setting menu was last exited. That is, the first menu item is displayed preferentially each time the application setting menu is opened, and the user can preferentially set the parameters from the first menu item.
[0250] Continuing with the above example, if the application setting menu is opened when the artistic paintings in the still life category are currently displayed in the display page, the first menu item can be determined to be Brightness according to the association relationship Selectedltem{XXX_item, brightness} between the menu item list corresponding to the category of paintings and the first menu item, and Brightness can be displayed first in the list display area and obtain the focus.
[0251] In some embodiments, when the application setting menu is exited, the current display position of the application setting menu, i.e., the first position, can be recorded, and the first position can be associated with the menu item list. In this way, when the application setting menu is displayed again using the menu item list, the associated first position, i.e., the position at which the application setting menu including the menu item list was displayed when it was last exited, can be determined.
[0252] For example, the currently set category of artistic paintings is classified according to the content of the pictures. When the application setting menu is displayed, the display device 200 can determine the category to which the artistic paintings currently displayed in the display page belong, e.g., the still life category. The display device 200 can determine the menu item list corresponding to the still life category. If the application setting menu is displayed on the left when it is exited, the first position is Left. The association relationship between the menu item list and the first position can be recorded as MenuPostion{XXX_postion, left}, and stored in the local through SharedPreferece. When the application setting menu is opened, the recorded data can be directly read from the local.
[0253] Correspondingly, the artistic mode application can also be configured to: when displaying the application setting menu, the application setting menu can be displayed at the first position, which is the position at which the application setting menu was displayed when it was last exited.
[0254] If the application setting menu is opened when the still life classification of art paintings is displayed in the display page, the first position can be determined as Left according to the recorded association relationship MenuPostion{XXX_postion, left} between the menu item list corresponding to the classification of paintings and the first position, and the application setting menu can be displayed on the left side.
[0255] In some embodiments, the art mode application can pre-configure a plurality of displayable positions, i.e., specified positions, for the application setting menu. The specified positions can include, but are not limited to, the left, middle and right of the bottom of the display page, etc.
[0256] In some embodiments, the display device 200 can move the application setting menu according to the flow shown in FIG. 18, and the specific steps can include, but are not limited to, the following:
[0257] 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.
[0258] 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.
[0259] In some embodiments, the second menu item can be another menu item, i.e., after the application setting menu is opened, the user inputs the instruction by 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 the menu item obtaining the focus is obtained.
[0260] S1702, if the type of the second menu item is the text type, the application setting menu is moved to the left or to the right to the specified position.
[0261] 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.
[0262] 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 to the 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 to the left to the specified position in response to the instruction input by the user based on the left key.
[0263] Referring to FIG. 19, the application setting menu can be moved as shown in FIG. 19. After the application setting menu is opened, the application setting menu can be displayed at a first position, for example, at the left bottom of the display page, as shown in FIG. 19. In response to a user input based on the right key, the display device 200 can move the application setting menu to a designated position, for example, to the middle of the bottom of the display page, as shown in FIG. 19.
[0264] In some embodiments, if the application setting menu is displayed at the left side, in response to a user input based on the left key, the application setting menu is not moved, and the application setting menu can be displayed in a shaking state, a prompt sound can be played, prompt information can be displayed, and the like, to prompt the user that the application setting menu cannot be moved to the left.
[0265] In some embodiments, if the application setting menu is displayed at the right side, in response to a user input based on the right key, the application setting menu is not moved, and the application setting menu can be displayed in a shaking state, a prompt sound can be played, prompt information can be displayed, and the like, to prompt the user that the application setting menu cannot be moved to the right.
[0266] S1703, if the type of the second menu item is a non-text type, the value or state corresponding to the second menu item is adjusted according to the non-text type.
[0267] 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 a user input 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, in response to a user input based on the right key or the left key, the display device 200 does not move the application setting menu, and the value or state corresponding to the second menu item.
[0268] In some embodiments, the menu item list corresponding to each category can 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, and the like. 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 list corresponding to different categories can include the same third menu item, or can include different third menu items.
[0269] In the manner of classifying in accordance with the classification of paintings, the third menu item includes Add Fav and Delate Fav as examples, the list of menu items corresponding to each of the secondary classifications included in the Art Gallery classification, the list of menu items corresponding to each of the secondary classifications included in the Immersive Ambience classification, and the list of menu items corresponding to the My Photos classification can include Add Fav and Delate Fav, the list of menu items corresponding to the Photo Themes classification does not include Add Fav and Delate Fav, the list of menu items corresponding to the Favorites classification can include Delate Fav and does not include Add Fav.
[0270] In some embodiments, when the application setting menu is displayed, the base menu items can be loaded in priority, and the third menu items are loaded after the third menu items are read, and the third menu items are dynamically configured into the menu item list.
[0271] 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 in the list display area by scrolling.
[0272] In some embodiments, the art mode application can be configured to not circularly scroll the menu item list in the list display area.
[0273] The display device 200 can move the focus in the menu item list upwards in response to the upward instruction of the user. Where the first menu item in the N menu items obtains the focus, the focus is no longer moved.
[0274] In some embodiments, the focus is moved upwards in the menu item list, which can be displayed as:
[0275] If the last n-1 menu items in the N menu items obtain the focus, when the focus is moved upwards in the menu item list, the n menu items in the list display area remain unchanged, and each menu item obtains the focus in the reverse order of the N menu items.
[0276] If other menu items obtain the focus, when the focus is moved upwards in the menu item list, each menu item obtains the focus in the reverse order of the N menu items, and the menu item that obtains the focus is always displayed at the top of the list display area, and the n menu items displayed in the list display area are updated according to the menu item that obtains the focus. Where the n menu items displayed in the list display area include, from top to bottom, the menu item that obtains the focus and the n-1 menu items after the menu item that obtains the focus.
[0277] If the first menu item in the N menu items obtains the focus, based on the non-circular scrolling manner, since there is no other menu item before the first menu item, if the user continues to send the upward instruction, the focus is no longer moved.
[0278] The display device 200 can move the focus downward in the menu item list in response to a downward instruction from the user. Where the last menu item in the N menu items obtains the focus, the focus is no longer moved.
[0279] In some embodiments, the focus is moved downward in the menu item list can be shown as:
[0280] If the focus is obtained by the first n-1 menu items in the N menu items, when the focus is moved downward in the menu item list, the n menu items in the list display area remain unchanged, and each menu item obtains the focus in the order of the N menu items.
[0281] If the focus is obtained by other menu items, when the focus is moved downward in the menu item list, each menu item obtains the focus in the order of the N menu items, and the menu item obtaining the focus is always displayed at the end of the list display area, and the n menu items displayed in the list display area are updated according to the menu item obtaining the focus. Where the n menu items displayed in the list display area include the menu item obtaining the focus and the n-1 menu items before the menu item obtaining the focus from bottom to top.
[0282] If the focus is obtained by the last menu item in the N menu items, based on the non-cyclic scrolling manner, since there is no other menu item after the first menu item, if the user continues to send the downward instruction, the focus is no longer moved.
[0283] 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 first menu item or the last menu item has been scrolled to.
[0284] In some embodiments, the display device 200 can implement the design of non-cyclic scrolling menu items can refer to the following examples:
[0285] 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. Where the list data can be 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 in the list display area. When switching, the first piece of data cannot be switched upward, and the seventh piece of data cannot be switched downward. In this way, the non-fixed focus non-cyclic switching menu item scrolling display effect can be achieved.
[0286] In other embodiments, the artistic mode application can be configured to display the menu item list in the list display area in a fixed focus cyclic scrolling manner.
[0287] The display device 200 can fix the display position of the focus within the list display area in response to the user's up instruction, and move the menu item list downward to update the menu item that obtains the focus. Where the first menu item 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 up instruction, and the last menu item of the N menu items can be displayed at the first position in the list display area.
[0288] The display position of the focus that is fixed can be any position within the list display area, for example, a middle position, so that the focus is obtained by each menu item displayed at the middle position in the list display area.
[0289] In order to achieve the effect of moving the focus upward in the menu item list when the user instructs to move the focus upward, the menu item list can be moved downward so that the focus is obtained by each menu item in the reverse order of the N menu items, and the menu item that obtains the focus is always displayed at the fixed position in the list display area. When the first menu item of the N menu items is at the first position in 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 of the N menu items can be linked to, the last menu item is scrolled to the first position in the list display area, and the menu item list can continue to be scrolled downward.
[0290] The display device 200 can fix the display position of the focus within the list display area in response to the user's up instruction, and move the menu item list downward to update the menu item that obtains the focus. Where the first menu item 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 up instruction, and the last menu item of the N menu items can be displayed at the first position in the list display area.
[0291] The display position of the focus that is fixed can be any position within the list display area, for example, a middle position, so that the focus is obtained by each menu item displayed at the middle position in the list display area.
[0292] In order to achieve the effect of moving the focus downward in the menu item list when the user instructs to move the focus downward, the menu item list can be moved upward so that the focus is obtained by each menu item in the order of the N menu items, and the menu item that obtains the focus is always displayed at the fixed position in the list display area. When the last menu item of the N menu items is at the last position in 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 of the N menu items can be linked to, the first menu item is scrolled to the last position in the list display area, and the menu item list can continue to be scrolled upward.
[0293] In some embodiments, the display device 200 implements the design of the fixed-focus circularly scrolling menu item can refer to any of the following examples:
[0294] The fixed-focus circularly scrolling menu item can be implemented in a virtual fixed-focus manner. The focus can be displayed as a separate view, and the view is displayed in a fixed position, so that the fixed-focus effect can be achieved.
[0295] The application setting menu can be designed as a three-layer view structure, wherein 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 layers of views can be the first layer view, the second layer view and the third layer view from bottom to top. The background of the menu item list can be transparent, so that the focus frame in the lower layer can be displayed, and the effect of the menu item obtaining focus can be achieved.
[0296] Referring to the three-layer view structure shown in FIG. 20, 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 is displayed on the upper layer of the first layer view 1901, and the focus frame is 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 is displayed on the upper layer of the second layer view 1902, and n menu items in the menu item list, such as 3 menu items “Brightness”, “Contrast” and “Reset”, are displayed on the third layer view 1903. The display effect of the superimposed application setting menu can refer to ② shown in FIG. 17, and the menu item in the middle position of the list display area obtains focus, that is, “Contrast” obtains focus.
[0297] By setting the list quantity of the menu item list as Int.MAX_VALUE (i.e. 2147483647 super large number), almost infinite circular list data can be generated. By setting the menu item list as a super large number, the VerticalGridView component will 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 circularly switched.
[0298] In some embodiments, the art mode application can be configured with an art mode settings page. The art mode settings page is a settings page of the art mode application, which is distinguished from the system settings page and is dedicated to setting parameters related to the art painting. The parameters set based on the art mode settings page do not affect the overall parameters of the display device 200. It can be considered that the art mode settings page can be an independent page for setting various parameters of the art painting, which is a page corresponding to the application settings menu. The art mode settings page can display all the setting items of the related parameters for setting the art painting at a time, and the art mode settings page shown in FIG. 21 can be referred to. In this way, based on the art mode settings page, the user can more centrally set various parameters.
[0299] In some embodiments, an entry to the art mode settings page can be configured in the application settings menu, as shown in FIG. 9, the application settings menu 901 can include an entry to the art mode settings page, such as "art mode settings". In this way, the user can enter the art mode settings page through the application settings menu.
[0300] In some embodiments, the art mode settings page can be configured to be displayed in the three-level OSD layer, i.e., the art mode settings page is displayed in the upper layer of the display page, and the art mode settings page can obtain the focus.
[0301] 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. In response to the user's instruction of selecting the help option, the display device 200 can display a list of menu items corresponding to different categories in the information display area.
[0302] 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 different categories can be displayed in the information display area 2001.
[0303] 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 the background displayed in the background frame, such as solid color, transparent / semi-transparent, and filled with art painting. In this way, the user can set the type of the background used to fill the background frame based on the menu background option.
[0304] 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.
[0305] 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.
[0306] 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, so that the display device 200 can display a system setting menu. As shown in 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.
[0307] In the art mode, the display device 200 needs to meet certain requirements to display the picture quality effect of the art work, so as to improve the user experience. For example, the picture quality effect of the art work needs to be closer to the effect of the real art work, so as to improve the realism of the art work. For another example, the picture quality effect of the art work needs to match the environment of the space, so that the art work can play a more harmonious decoration effect on the space. If the display device 200 uses the same system picture quality parameter to display each art work, the requirements of different art works on the picture quality effect cannot be met. In order to meet the requirements of the art work on the picture quality effect, the user needs to adjust the system picture quality parameter after switching the art work each time. Moreover, if the requirements of the art work before and after switching 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 accuracy is low and the adjustment difficulty is high.
[0308] Based on this, in some embodiments of the present application, the art mode application is 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. The application picture quality parameter can meet the requirements of the art work on the picture quality effect, that is, the display device 200 can use the application picture quality parameter to display the art work in the art mode, instead of using the system picture quality parameter. After exiting the art mode, the system picture quality parameter can be used to display the picture again. In this way, the picture quality effect of the art work displayed in the art mode can be met, and the picture quality effect of the picture will not be affected after exiting the art mode.
[0309] In order to ensure that the application picture quality parameter used by the display device 200 can meet the requirements of the art work on the picture quality effect, different application picture quality parameters can be set for different types of art work.
[0310] 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 an image category. In some embodiments, the image category can include figures, landscape, still, and other.
[0311] 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 a category quality.
[0312] 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…….}.
[0313] In some embodiments, the image category and the painting category can be uniquely identified using an ID. The ID of the image category (Image Category ID) can include Figures, Landscape, Still, and Other. The ID of the painting category (Category ID) can include classic, oil, modern, Immersive Atmosphere, and Photos. Because the category quality has a corresponding relationship with the painting category, the painting category can be used to represent the category quality, and therefore, the Category ID can be used to represent the ID of the category quality.
[0314] 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.
[0315] If represented in the form of a table, the first mapping relationship between the image category and the initial application quality parameter can refer to Table 1:
[0316] Table 1: First mapping relationship between image category and initial application quality parameter
[0317] If represented in the form of a table, the first mapping relationship between the category quality and the initial application quality parameter can refer to Table 2:
[0318] Table 2: First mapping relationship between image classification and initial application image quality parameters
[0319] In some embodiments, if classified according to picture content, the user imported photos can be divided into other categories.
[0320] In some embodiments, the initial application image quality parameters corresponding to the other category can be the same as the initial application image quality parameters corresponding to the photo classification.
[0321] In some embodiments, a second mapping relationship can be established between the artistic paintings (including user imported photos) provided by the artistic mode application and the artistic painting classifications in each classification manner. In this way, based on the second mapping relationship, when the classification manner and the artistic painting are known, the corresponding artistic painting classification can be mapped to.
[0322] In some embodiments, the artistic paintings can be uniquely identified using an ID, for example, an image ID.
[0323] Taking artistic paintings 1-5 as an example, if represented in table form, the second mapping relationship between the artistic paintings and the image classifications can refer to Table 3:
[0324] Table 3: Second mapping relationship between artistic paintings and image classifications
[0325] Taking artistic paintings 1-5 as an example, if represented in table form, the second mapping relationship between the artistic paintings and the image classifications can refer to Table 3:
[0326] Table 4: Second mapping relationship between artistic paintings and image classifications
[0327] In some embodiments, the artistic mode application can provide a function of adding a favorite to the artistic paintings, and accordingly, the artistic mode application can add a first level classification, i.e., a favorite classification. The artistic paintings included in the favorite classification can correspond to the artistic painting classifications before the favorite is added.
[0328] Taking artistic painting a as an example, if classified according to picture content, the artistic painting a corresponds to the artistic painting classification Figures; if classified according to painting classification, the artistic painting a can correspond to the artistic painting classification oil. After the favorite is added to the artistic painting a, under the favorite classification, if classified according to picture content, the favorite added artistic painting a can still correspond to the artistic painting classification Figures; if classified according to painting classification, the favorite added artistic painting a can still correspond to the artistic painting classification oil.
[0329] In some embodiments, since the first mapping relationship and the second mapping relationship are static data, i.e., data with 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.
[0330] In some embodiments, referring to the operating system shown in FIG. 4, the art mode application in the application layer can be configured with a main view (Main View) module, a menu view (Menu View), a picture manager (Picture Manager), and a configuration manager (Config Manager). The Main View can be used to display art works. The Menu View can be used to display application setting menus. The Config Manager can be used to manage the database of art works, and can be used to read and write data. The Picture Manager can provide external interfaces, which can include but are not limited to obtaining and setting picture content, address, imageID, imageQualityID, categoryID, categoryQualityID, and imageCategoryID.
[0331] In some embodiments, when the display device 200 enters the art mode, the art works can be displayed according to the flow shown in FIG. 24, and the specific steps can include but are not limited to the following:
[0332] S2201, when entering the art mode, obtaining the first classification manner set currently, and determining the first art work to be displayed.
[0333] The first classification manner can be the classification manner to be used when entering the art mode.
[0334] In some embodiments, the first classification manner can be the classification manner used by the art mode application by default, such as the classification manner according to the picture content of the art work.
[0335] In other embodiments, the first classification manner can be the classification manner set by the user.
[0336] The first art work can be the art work to be displayed when entering the art mode.
[0337] In some embodiments, the first art work can be the art work displayed when the art mode was exited last time.
[0338] S2202, determine 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 determine the first picture quality parameter according to the first picture classification and the first mapping relationship.
[0339] Firstly, after determining the first classification manner, the display device 200 can map to the 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.
[0340] 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.
[0341] 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.
[0342] S2203, display the first artistic painting in the display page using the first picture quality parameter.
[0343] The display device 200 can adjust the system picture quality parameter to the first picture quality parameter, wherein the system picture quality parameter currently used by the display device 200 is stored before adjusting the picture quality parameter. After the display device 200 adjusts 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.
[0344] In some embodiments, if the display device 200 exits the artistic mode, the stored system picture quality parameter can be obtained, and the system picture quality parameter can be adjusted to the stored system picture quality parameter again, i.e., the system picture quality parameter used before entering the artistic mode can be restored to ensure that the picture quality effect displayed by the display device 200 in the non-artistic mode is not affected by the artistic mode.
[0345] When the display device 200 cycles through the artistic pictures in the artistic mode, the application picture quality parameter used needs to be adjusted according to the switched artistic picture.
[0346] In some embodiments, if the first classification manner is classification according to painting 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:
[0347] S2301, when the carousel time is reached, determine the second art painting to be displayed according to the carousel order.
[0348] The carousel time is the time interval for switching the display of art paintings during the process of carousel of art paintings, that is, the display duration of each art painting.
[0349] In some embodiments, the carousel range can include art paintings belonging to one secondary classification.
[0350] In some embodiments, the carousel range can include art paintings belonging to one secondary classification.
[0351] In the carousel range, each art painting can be carousel according to the carousel order.
[0352] In some embodiments, the carousel order can be the default order of the art mode application.
[0353] In some embodiments, the carousel order can be the order customized by the user.
[0354] S2302, if the second art painting belongs to the same secondary classification as the first art painting, maintain the use of the first picture quality parameter to display the second art painting.
[0355] Because the first classification manner currently used is classification according to painting category, the carousel is performed in the same secondary classification, and the art painting category corresponding to each art painting can remain unchanged, and accordingly, the picture quality parameter used can also remain unchanged. Therefore, if the second art painting belongs to the same secondary classification as the first art painting, the use of the first picture quality parameter to display the second art painting can be maintained.
[0356] S2303, if the second art painting belongs to a different secondary classification from the first art painting, determine the second art painting category of the second art painting in the first classification manner according to the first classification manner, the second art painting and the second mapping relationship, and determine the second picture quality parameter according to the second art painting category and the first mapping relationship, and use the second picture quality parameter to display the second art painting in the display page.
[0357] If the second artistic work belongs to a different second-level classification than the first artistic work, the application image quality parameter to be used, i.e., the second image quality parameter, needs to be determined according to the second-level classification to which the second artistic work belongs. The process of determining the second image quality parameter can refer to step S2202, which will not be described herein.
[0358] In some embodiments, if the first classification manner is classification according to picture content, the display device 200 can switch the image quality parameter according to the flow shown in FIG. 26, and the specific steps can include but are not limited to the following:
[0359] S2401, when the carousel time is reached, determining the third artistic work to be displayed according to the carousel order.
[0360] Step S2401 can refer to step S2301, which will not be described herein.
[0361] S2402, determining the third artistic work classification of the third artistic work in the first classification manner according to the first classification manner, the third artistic work and the second mapping relationship, and determining the third image quality parameter according to the third artistic work classification and the first mapping relationship.
[0362] Since the classification is according to picture content, the application image quality parameter to be used needs to be determined according to each artistic work when each artistic work is displayed. Step S2402 can refer to step S2202, which will not be described herein.
[0363] S2403, displaying the third artistic work in the display page using the third image quality parameter.
[0364] Step S2403 can refer to step S2203, which will not be described herein.
[0365] 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 image quality parameter according to the switched artistic work. The display device 200 can switch the image quality parameter according to the flow shown in FIG. 27, and the specific steps can include but are not limited to the following:
[0366] S2501, in response to the user's operation of switching the artistic work, determining the fourth artistic work to be displayed.
[0367] In some embodiments, when the display page is displayed, 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 artistic painting 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 artistic painting of the current artistic painting 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 artistic painting of the current artistic painting in the carousel order.
[0368] In some embodiments, when the hierarchical preview page is displayed, the user can switch the preview image list displayed in the second menu by switching the first-level category and the second-level category, and can input a switching instruction to the display device 200 by selecting a preview image in the preview image list. The display device 200 can determine the artistic painting corresponding to the preview image, that is, the fourth artistic painting, in response to the switching instruction.
[0369] In some embodiments, when the global preview page is displayed, the user can input a switching instruction to the display device 200 by selecting a preview image in the global preview image list. The display device 200 can determine the artistic painting corresponding to the preview image, that is, the fourth artistic painting, in response to the switching instruction.
[0370] S2502, determining a fourth artistic painting classification of the fourth artistic painting in the first classification mode according to the first classification mode, the fourth artistic painting and the second mapping relationship, and determining the fourth quality parameter according to the fourth artistic painting classification and the first mapping relationship.
[0371] S2503, displaying the fourth artistic painting in the display page using the fourth quality parameter.
[0372] Steps S2501-S2503 can refer to steps S2201-S2203, which will not be described here.
[0373] In some embodiments, the user can switch the classification mode at any time. Taking the first artistic painting displayed in the display page as an example, the display device 200 can switch the classification mode according to the flow shown in FIG. 28, and the specific steps can include but are not limited to the following:
[0374] S2601, in response to a setting instruction of the user setting the second classification mode, determining a fifth artistic painting classification of the first artistic painting in the second classification mode according to the second classification mode, the first artistic painting and the second mapping relationship, and determining a fifth quality parameter according to the fifth artistic painting classification and the first mapping relationship.
[0375] 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).
[0376] In some embodiments, when entering the artistic mode setting page, the setting item of the artistic painting classification manner displays the name of the currently set classification manner, i.e., 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”.
[0377] 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.
[0378] After switching to the second classification manner, the application image quality parameter used to display the first artistic painting is 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.
[0379] S2602, the first artistic painting is displayed in the display page using the fifth image quality parameter.
[0380] Step S2602 can refer to step S2203, which will not be repeated here.
[0381] 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.
[0382] 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.
[0383] 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. Wherein, the current artistic painting classification can be the artistic painting currently displayed, which corresponds to the classification manner currently set.
[0384] 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:
[0385] 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.
[0386] The application setting menu can be opened by referring to steps S901-S905, which will not be described here.
[0387] 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.
[0388] 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.
[0389] 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.
[0390] 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 can be 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 can not be displayed in the application setting menu.
[0391] In some embodiments, Brightness and Auto Light Sensor can be configured as a linkage parameter. When adjusting Brightness, the automatic light sensing function is turned off by default to avoid the influence of automatic light sensing on the setting of brightness.
[0392] 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.
[0393] S2703, a third mapping relationship is established between the first artistic painting category and the sixth quality parameter.
[0394] 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 category, the adjusted application quality parameter can be preferentially used. If the adjusted application quality parameter does not exist for the artistic painting category, the initial application quality parameter can be used.
[0395] 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.
[0396] In some embodiments, when the artistic painting to be displayed corresponds to the first artistic painting category 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.
[0397] 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 category to which the artistic painting currently belongs.
[0398] 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:
[0399] 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 category and the independent identifier of the first artistic painting.
[0400] 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.
[0401] 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.
[0402] S2802, in response to the setting operation of the target setting item by the user, 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.
[0403] 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.
[0404] 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 can be 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.
[0405] 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.
[0406] In some embodiments, in the art mode, the setting item of the system picture quality parameter in the system setting menu can be in an unavailable state. Thus, the user can be prevented from adjusting the system picture quality parameter through the setting item of the system picture quality parameter, thereby destroying the picture quality effect provided by the application picture quality parameter.
[0407] The art mode setting page can include a plurality of setting items, which can be used to set functions related to displaying art paintings.
[0408] In some embodiments, the setting items in the art mode setting page can include, but are not limited to, 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 the specific parameters of the corresponding functions. The entry setting items can be used to enter the setting page of the corresponding functions.
[0409] In the first implementation, for the switch setting item, the display device can switch between turning on and off in response to the selection instruction of the user.
[0410] In the second implementation, for the switch setting item, the state displayed in the display area (such as turning on or off) can be the set state. The display device can scroll the states in the display area in response to the scrolling instruction of the user, such as the left scrolling instruction input by the user through the left key of the control device 100 or the right scrolling instruction input by the user through the right key of the control device 100, and set the state displayed in the display area as the state of the corresponding function.
[0411] In the third implementation, the switch setting item can have a corresponding drop-down menu, which can include the options of turning on and off. The display device can display the drop-down menu in response to the selection instruction of the user, and set the corresponding function to the target state in response to the instruction of the user selecting the target state.
[0412] In the fourth implementation, for the parameter setting item, the parameter value displayed in the display area can be the set parameter value. The display device can scroll the parameter values in the display area in response to the scrolling instruction of the user, such as the left scrolling instruction input by the user through the left key of the control device 100 or the right scrolling instruction input by the user through the right key of the control device 100, and set the parameter value displayed in the display area as the parameter value of the corresponding function.
[0413] In the fifth implementation, the parameter setting item can have a corresponding drop-down menu, which can include the options of the parameter values. The display device can display the drop-down menu in response to the selection instruction of the user, and set the corresponding function to the target parameter value in response to the instruction of the user selecting the target parameter value.
[0414] In the second and fourth implementations, a scroll arrow can be displayed on the switch setting item and the parameter setting item, and the scroll arrow can be used to indicate the direction that can be scrolled.
[0415] In some embodiments, if the switch setting item and the parameter setting item are configured in a manner that the state or the parameter value can be scrolled in a loop, all scroll arrows can be displayed. For example, if the scroll direction includes left and right, a left scroll arrow and a right scroll arrow can be displayed.
[0416] In some embodiments, if the switch setting item and the parameter setting item are configured in a manner that the state or the parameter value cannot be scrolled in a loop, the corresponding scroll arrow can be displayed in the direction that can be scrolled, not displayed in the direction that cannot be scrolled, or displayed in an unavailable state.
[0417] In some embodiments of the present application, the switch setting item and the parameter setting item are configured in a manner that, in response to the user's scroll instruction, the state or the parameter value displayed in the setting item is set to the state and the parameter value of the corresponding function, and the scroll direction includes left and right.
[0418] In some embodiments, the functions related to the display of artistic paintings can include carousel, picture frame, painting information, Bluetooth music, photo theme, etc.
[0419] In some embodiments, the artistic mode setting page can further include an effect demonstration area, which can be used to demonstrate the setting effect of the currently set setting item.
[0420] The setting items of the parameters related to the display of artistic paintings can be described in detail in combination with the artistic mode setting page shown in FIG. 22.
[0421] In some embodiments, the carousel function can include a carousel mode.
[0422] The setting item of the carousel mode can be configured as a parameter setting item. The carousel mode can include off, sequential, reverse, etc. When the setting item of the carousel mode obtains focus, the user can control the parameter value of each carousel mode to be displayed in the setting item by controlling the left key and the right key of the control device 100, so as to display the target parameter value to be set in the setting item.
[0423] If the user controls the off to be displayed in the setting item, the display device 200 will turn off the carousel function, i.e., not carousel the artistic pictures, and only display one artistic painting.
[0424] If the user controls other parameter values to be displayed in the setting item, the display device 200 will turn on the carousel function, and carousel the artistic paintings in the carousel mode corresponding to the parameter value.
[0425] 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 showing the picture switching process with the switching direction from right to left can be played in the effect demonstration area to indicate the order by the switching direction. For another example, if the setting item shows the reverse order, an animation showing the picture switching process with the switching direction from left to right can be played in the effect demonstration area to indicate the reverse order by the switching direction.
[0426] After the display device 200 starts the cycling function, the setting item of the cycling time corresponding to the setting item of the cycling manner, such as below the setting item of the cycling manner, can be displayed in the art mode setting page. In this way, after starting the cycling function, the art mode application can provide the user with the function of further setting the cycling time.
[0427] 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, 10 min, etc. 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 with a time interval of 1 min during the cycling process.
[0428] The setting item of the frame function can be configured as a parameter setting item. The frame function can include off and different background colors, that is, the color of the frame. The process of setting the 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 frame function is turned off, that is, no frame is added to the art pictures. If the specific parameters of the background color are shown in the setting item, the frame function is turned on, and the color of the frame is consistent with the background color shown in the setting item.
[0429] 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.
[0430] 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 of the switching process of the frame color can be played in the effect demonstration area. The artistic picture with the frame is displayed full screen 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 before the frame color is switched (the artistic picture with the frame color of yellow) and is displayed full screen in the animation demonstration area. The artistic picture before the frame color is switched (the artistic picture with the frame color of yellow) has 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.
[0431] 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.
[0432] 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 of Bluetooth pairing with the display device 200 and the like.
[0433] 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 herein. If no theme is displayed in the setting item, the photos imported by the user can be carousel displayed in the manner of displaying a single photo. If a specific theme is displayed in the setting item, the photos can be displayed according to the theme set in the setting item under the photo theme classification.
[0434] 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 is in a bright screen state, and the audio output device 270 is in a non-mute state. In the sleep state, the display 260 is in an off-screen state, and the audio output device 270 is in a mute state.
[0435] The display device 200 is in the wake-up state in the art mode. 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 costs, and the long time of the display device 200 in the wake-up state will also affect the service life of the display device 200. Based on this, the art mode application can also be configured with a motion detection function. When the display device 200 is in the wake-up state, that is, in the art mode, if no moving object is detected around the display device 200 within a specified time period, the display device 200 can be 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.
[0436] In some embodiments, reference can be made to the operating system shown in FIG. 4, which 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) can be configured. In the system runtime library layer, a sensor manager (Sensor Manager) can be configured. In the core layer, a millimeter wave sensor can be configured.
[0437] In the core layer, the millimeter wave sensor is responsible for transmitting motion detection data to the system layer.
[0438] In the system runtime library layer, the millimeter wave sensor 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 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.
[0439] At the framework layer, the SensorManager API can allow applications to access motion detection data and light detection data, and can be responsible for managing motion detection functions through the MotionDetectionManager service. 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.
[0440] At the application layer, motion detection data, light sensing, and artistic mode settings can be achieved using the motion detection API provided by the framework layer.
[0441] In some embodiments, the setting item of the motion detection function can be configured within the artistic mode setting page. The setting item of the motion detection function can be configured as an on-off setting 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.
[0442] In some embodiments, referring to the artistic mode setting page shown in FIG. 31, when the setting 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 artistic 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)”.
[0443] After the motion detection function is turned on, the setting item of the detection sensitivity can be displayed on the artistic mode setting page.
[0444] In some embodiments, the artistic mode application can be configured to display the setting item of the detection sensitivity in the artistic mode setting page after the motion detection function is turned on, corresponding to the position of the setting item of the motion detection function, such as below the setting item of the motion detection function.
[0445] 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.
[0446] According to the first sensitivity set by the user based on the setting item of the detection sensitivity, the first sensitivity can be used to detect the moving object appearing around the display device.
[0447] 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.
[0448] 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.
[0449] 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:
[0450] S, detecting a moving object appearing around the display device.
[0451] The display device 200 can use the millimeter wave sensor of the Android device for motion detection.
[0452] In some embodiments, a listener SensorEventListener can be registered in the art mode to receive sensor data, and determine whether a moving object is detected according to the sensor data. In the display device 200 is in the wake-up state (bright screen and non-mute state), the way to detect a moving object is to start a timer when each round of detection starts, and use the timer to count the time when no moving object is detected. If a moving object is detected within the sleep time, such as the first time, a new round of detection is started, and the timer is restarted. If no moving object is detected when the sleep time is reached, the display device 200 enters the sleep state (screen off and mute state). The code design can be referred to the following example:
[0453] S, if a moving object is detected within the first time, the display device 200 remains in the wake-up state.
[0454] If a moving object is detected within the first time, it means that there may be user activity around the display device 200, i.e. the user still needs to be shown artistic pictures. Therefore, the display device 200 can remain 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.
[0455] S3003, if no moving object is detected within the first time, the display device 200 enters the sleep state.
[0456] If no moving object is detected within the first time, it means that there may be no user activity around the display device 200, i.e. 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.
[0457] In some embodiments, the timer can be implemented by Handler and Runnable, and if no moving object is detected within the first time (such as the sleep time 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:
[0458] In other embodiments, the display device 200 can also be adjusted to the sleep state (screen off and mute state) by acquiring a wakeLock lock and calling goToSleep to shut down. The code design can be referred to the following example:
[0459] When the display device 200 enters the sleep state in the motion detection mode, the artistic mode application can be processed in the following manner:
[0460] In some embodiments, the display device 200 can keep the artistic mode application open after entering the sleep state in the motion detection mode, and can cycle the artistic paintings in the showcase page, that is, the artistic mode application is not exited after entering the sleep state.
[0461] The artistic mode application can run normally after the display device 200 enters the sleep state. Thus, the display device 200 does not need to restart the artistic mode application after being woken up again, and the cycling process of the artistic paintings can be ensured not to be affected by the sleep state.
[0462] Since the artistic mode application is always running, in order to avoid disturbing the user after the display device 200 enters the sleep state, the display 260 can be adjusted to the screen-off state so that the user cannot view the screen, and the audio output device 270 can be adjusted to the mute state so that the user cannot hear the sound.
[0463] In some embodiments, the display device 200 can keep the artistic mode application open after entering the sleep state in the motion detection mode, and can pause the cycling of the artistic paintings, that is, the artistic mode application is not exited after entering the sleep state.
[0464] The display device 200 keeps the artistic mode application open after entering the sleep state, but pauses the cycling of the artistic paintings. Thus, the display device 200 does not need to restart the artistic mode application after being woken up again, and the cycling process of the artistic paintings can be paused to avoid the user missing the artistic paintings played in the sleep state.
[0465] Since the artistic mode application is always running, in order to avoid disturbing the user after the display device 200 enters the sleep state, the display 260 can be adjusted to the screen-off state so that the user cannot view the screen. Since the cycling process of the artistic 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.
[0466] In some embodiments, the display device 200 can exit the artistic mode application after entering the sleep state in the motion detection mode.
[0467] The display device 200 exits the art mode application after entering the sleep state, so as to avoid power consumption caused by the art mode application.
[0468] 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.
[0469] 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, the display device 200 can be automatically woken up, i.e., re-adjusted from the sleep state to the wake-up state.
[0470] In some embodiments, the display device 200 can be re-adjusted to the wake-up state in response to an instruction input by the user based on any key of the control device 100 when the display device 200 is in the sleep state. The any key of the control device 100 can include a power key, an art mode key, etc.
[0471] In some embodiments, the display device 200 can listen to the key event of the device in the sleep state. The code design for listening to the key event can refer to the following example:
[0472] The display device 200 can be 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.
[0473] When the display device 200 is re-woken up, the display 260 can be adjusted to the screen-on state, and the brightness can be gradually increased, and the audio output device 270 can be unmuted, and the volume after being unmuted can also be gradually increased.
[0474] 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 to the user's vision caused by the state switching of the display 260. When the audio output device 270 is un-muted, 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 to the user's hearing caused by the state switching of the audio output device 270.
[0475] 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.
[0476] 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 resume the cycling of the art works, instead of re-entering the art mode application.
[0477] When the cycling of the art works is resumed, 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 the cycling time is 5 minutes. After the cycling of the art works is resumed, the art work a is continued to be displayed, and the next art work is switched after 2 minutes of display.
[0478] When the cycling of the art works is resumed, 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 the cycling time is 5 minutes. After the cycling of the art works is resumed, the art work a is continued to be displayed, and the next art work is switched after 5 minutes of display.
[0479] 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.
[0480] 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:
[0481] For entering the sleep state by setting the backlight brightness to 0 and the volume to 0:
[0482] 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 the sleep state within a specified time period, it will not be woken up even if a moving object is detected.
[0483] 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 position corresponding to the setting item of the motion detection function. After the do not disturb function is turned on, the display device 200 can display setting items for the do not disturb time, such as a setting item for the start time of the do not disturb function and a setting item for the end time of the do not disturb function, at a position 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 setting items for the start time of the do not disturb function and the end time of the do not disturb function.
[0484] Referring to the art mode settings page shown in FIG. 31, after the motion detection function is turned on, a switch for the do not disturb function can be displayed below the setting item of the motion detection function. After the do not disturb function is turned on, the display device 200 can display setting items for the do not disturb time, such as a setting item for the start time of the do not disturb function and a setting 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.
[0485] The code design for setting the do not disturb time can be referred to the following example:
[0486] SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(this);
[0487] String startTime = preferences.getString("do_not_disturb_start_time", "23:00");
[0488] String endTime = preferences.getString("do_not_disturb_end_time", "07:00");
[0489] The display device 200 can automatically enter the do not disturb state when the system time reaches the start time and automatically exit the do not disturb state when the system time reaches the end time.
[0490] In some embodiments, if the motion detection function and the do-not-disturb function are started at the same time, 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:
[0491] S3201, obtaining a do-not-disturb time, and detecting a moving object appearing around the display device to obtain a first detection result.
[0492] The do-not-disturb time can include a start time and an end time.
[0493] The first detection result can include detecting a moving object and not detecting a moving object.
[0494] S3202, adjusting the device state according to the do-not-disturb time and the first detection result.
[0495] If the system time is not within the do-not-disturb time, the device state can be adjusted according to the first detection result.
[0496] 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.
[0497] That is, if not currently in the do-not-disturb time, the device state is adjusted according to step S-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 step S-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 step S-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, the display device 200 can be adjusted to the wake-up state again.
[0498] The code design when starting the motion detection function and the do-not-disturb function at the same time can refer to the following examples:
[0499] In some embodiments, the art mode application can be configured with a night mode. The night mode is used to automatically enter the sleep state when the ambient brightness is low, and can automatically enter the wake-up state when the ambient brightness is high.
[0500] 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.
[0501] 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.
[0502] 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.
[0503] 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:
[0504] 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.
[0505] 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).
[0506] 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 can be 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.
[0507] S3302, if the hardware frame data is the installed hardware frame, the light parameter threshold is the first value.
[0508] 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.
[0509] S3303, if the hardware frame data is the uninstalled hardware frame, the light parameter threshold is the second value.
[0510] 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.
[0511] The code design of setting the light parameter threshold can refer to the following examples:
[0512] 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:
[0513] S3401, obtaining the second brightness configured for the display within a specified time length.
[0514] The display device 200 can obtain whether the hardware frame has been installed in the art mode. For example, boolean hasFrame = getFrameSettingFromUser ().
[0515] 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 accordingly, the brightness of the display 260 can be adjusted to be high. If the hardware frame is not installed, the detected ambient brightness is high, and accordingly, the brightness of the display 260 can be adjusted to be low.
[0516] 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.
[0517] S3402, determining whether the hardware frame has been installed according to the value and variation trend of the second brightness.
[0518] 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.
[0519] 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.
[0520] S3403, if the hardware frame is installed, the light sensing parameter threshold is a first value.
[0521] S3404, if the hardware frame is not installed, the light sensing parameter threshold is a second value.
[0522] Steps S3403-S3404 can refer to steps S3302-S3303, which will not be described here.
[0523] 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:
[0524] S3501, detecting whether the hardware frame is installed by a hardware sensor.
[0525] 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.
[0526] 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 ().
[0527] S3502, if the hardware frame is installed, the light sensing parameter threshold is a first value.
[0528] S3503, if the hardware frame is not installed, the light sensing parameter threshold is a second value.
[0529] Steps S3502-S3503 can refer to steps S3302-S3303, which will not be described here.
[0530] 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 be as follows:
[0531] S3601, detecting a first brightness of an environment in which the display device is located.
[0532] 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.
[0533] S3602, if the first brightness is greater than or equal to a light sensing parameter threshold value, maintaining the wake-up state.
[0534] 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.
[0535] S3603, if the first brightness is less than the light sensing parameter threshold value, entering the sleep state.
[0536] 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.
[0537] 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:
[0538] if (!isMotionDetectionEnabled() && isNightModeEnabled() &&!isLightDetected()) {
[0539] enterSleepMode();
[0540] }
[0541] In some embodiments, when the display device 200 enters the sleep state in the night mode, the state of the art mode application can also be 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.
[0542] 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.
[0543] 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:
[0544] if(getLightSensorValue()>LIGHT_WAKE_THRESHOLD){
[0545] wakeUpFromSleepMode();
[0546] }
[0547] 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.
[0548] 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 be referred to as follows:
[0549] 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.
[0550] 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 can include but are not limited to the following:
[0551] 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.
[0552] The first detection result can include detecting a moving object and not detecting a moving object.
[0553] S3702, adjusting the device state according to the first detection result and the first brightness.
[0554] If in the wake-up state, the device state can be adjusted according to the first detection result.
[0555] 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.
[0556] That is, if in the wake-up state, the display device 200 can adjust the device state according to step S-S3003. Wherein, when no moving object is detected within 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 within 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.
[0557] If in the sleep state, such as when no moving object is detected within the first time length to enter the sleep state, the display device 200 needs to adjust the device state 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.
[0558] 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:
[0559] 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 display device 200 can adjust the device state according to the flow shown in FIG. 40, and the specific steps can include but are not limited to the following:
[0560] 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 where the display device is located.
[0561] S3802, adjusting the device state according to the do-not-disturb time, the first detection result and the first brightness.
[0562] Wherein, if the system time is not within 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 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.
[0563] 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 all the time. 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 value, and the first detection result is that the moving object is detected, the wake-up state can be re-entered, when the first brightness is less than the light-sensing parameter threshold value, and / or the first detection result is that the moving object is not detected, the sleep state can be maintained.
[0564] 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 control the motion detection function and the night mode at the same time. Correspondingly, the switch of the sleep duration function and the switch of the do-not-disturb function are global switches. For reference can be made to the artistic mode setting page shown in FIG. 41, which 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.
[0565] 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 can adjust the device state according to steps S-S3003.
[0566] 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.
[0567] 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 at the same time, the display device 200 can adjust the device state according to steps S3701-S3702.
[0568] 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 at the same time, the display device 200 can adjust the device state according to steps S3801-S3802.
[0569] 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:
[0570] S4001, obtain the do-not-disturb time, and detect the first brightness of the environment where the display device is located.
[0571] S4002, adjust the device state according to the do-not-disturb time and the first brightness.
[0572] If the system time is not in the do-not-disturb time, the device state is adjusted according to the first brightness, that is, the display device 200 can adjust the device state according to S3601-S3603.
[0573] If the system time is in the do-not-disturb time, if in the wake-up state, the device state is adjusted according to the first brightness, if in the sleep state, the sleep state is always maintained, 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.
[0574] 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:
[0575] S4101, detecting the first brightness of the environment where the display device is located.
[0576] Step S4101 can refer to step S3601, which will not be described here.
[0577] 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.
[0578] 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.
[0579] S4103, if the first brightness is always less than the light-sensing parameter threshold within the first duration, the sleep state is entered.
[0580] 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.
[0581] In some embodiments, when only 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:
[0582] S4201, obtaining the do-not-disturb time and detecting the first brightness of the environment where the display device is located.
[0583] S4202, adjusting the device state according to the do-not-disturb time and the first brightness.
[0584] If the system time is not in the do-not-disturb time, the device state is adjusted according to the first brightness, that is, the display device 200 can adjust the device state according to steps S4101-S4103.
[0585] If the system time is in the do-not-disturb time, if in the wake-up state, the device state is adjusted according to steps S4101-S4103, if in the sleep state, the sleep state is always maintained, and after exiting the do-not-disturb state, the wake-up state is re-entered when the first brightness is detected to be greater than or equal to the light-sensing parameter threshold.
[0586] 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 may 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. Based on this, the art mode application can also 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.
[0587] In some embodiments, with reference to the operation system shown in FIG. 4, the related modules of the first application can be configured in the application layer of the operation system, 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. 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.
[0588] Among them, 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.
[0589] The connected device management module can be used to manage each connected Bluetooth device, and can generate and display a corresponding device list.
[0590] 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.
[0591] The operation guide module can be used to show the operation guide of the operation of pairing with the Bluetooth device, etc.
[0592] The play control module can be used for audio play of the whole machine, etc.
[0593] The Bluetooth music receiving module can be used as a Bluetooth receiving end of the display device 200, and can receive Bluetooth music signals from a Bluetooth device.
[0594] The music playing control module can be used to control the playing, pausing, volume adjustment, and other functions of music according to control instructions of an application layer, and call audio service and media player service of a system.
[0595] The driver layer is located at a hardware level of the display device, and can be responsible for communication with a Bluetooth hardware module and control of an audio output device. Main functions can include: communication with the Bluetooth hardware module, and receiving Bluetooth music signals from other devices.
[0596] For a Bluetooth device, if the Bluetooth device is distinguished according to reception and transmission of audio data, the Bluetooth device can be divided into an audio source device and an audio receiving device. The audio source device can be a Bluetooth device used to provide (transmit) audio data to the audio receiving device, and the audio receiving device can be a Bluetooth device used to receive audio data transmitted by the audio source device. Thus, the audio receiving device can be used as an audio playing device to play audio data provided by the audio source device.
[0597] In some embodiments, the same Bluetooth device can switch between Bluetooth modes according to different use requirements. The Bluetooth modes can include an audio source (source) mode and an audio receiving (sink) mode. The sink mode and the source mode are two Bluetooth modes specified in a Bluetooth audio transmission protocol (Advanced Audio Distribution Profile, A2DP). If the Bluetooth device is in the source mode, the Bluetooth device currently serves as an audio source device, that is, a sender of audio data. If the Bluetooth device is in the sink mode, the Bluetooth device currently serves as an audio receiving device, that is, a receiver of audio data.
[0598] In some embodiments, the display device 200 can be configured to use the source mode by default, that is, 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.
[0599] In some embodiments, the display device 200 can be configured with a system Bluetooth function, and a first Bluetooth switch for controlling the opening and closing of the system Bluetooth function can be configured in a system setting menu, a quick setting panel, a status bar, a shortcut menu, and the like.
[0600] Taking the configuration of the first Bluetooth switch in the system settings menu as an example, refer to the system settings menu shown in Figure 45. This system settings menu may include the first Bluetooth switch 4501. When the first Bluetooth switch is in the on state, the system Bluetooth function can be enabled; when the first Bluetooth switch is in the off state, the system Bluetooth function can be disabled.
[0601] When the system's Bluetooth function is enabled, the display device 200 can pair with other Bluetooth devices. When the system's Bluetooth function is disabled, the display device 200 cannot pair with other Bluetooth devices.
[0602] In some embodiments, when the system Bluetooth function is turned on and off via a first Bluetooth switch, the display device 200 always uses source mode, that is, the display device 200 always acts as an audio source device to provide audio data to the paired Bluetooth device so that the paired Bluetooth device can play audio.
[0603] For example, when the system's Bluetooth function is enabled via the first Bluetooth switch, the display device 200 will act as an audio source device to pair with other Bluetooth devices, such as a Bluetooth speaker. After pairing with the Bluetooth speaker, the display device 200 can send audio data to the Bluetooth speaker to play audio through the Bluetooth speaker.
[0604] In some embodiments, a listening module for system controls can be configured at the application layer. This listening module can monitor the state changes of each system control. When the first Bluetooth switch is in the off state, if the user instructs the user to turn the first Bluetooth switch on, the listening module can detect the first Bluetooth switch being turned on and, upon detecting this, enable the system Bluetooth function by calling the system Bluetooth service. When the first Bluetooth switch is in the on state, if the user instructs the user to turn the first Bluetooth switch off, the listening module can detect this and, upon detecting this, disable the system Bluetooth function by calling the system Bluetooth service. Thus, it is possible to control the system Bluetooth function to be turned on and off via the first Bluetooth switch.
[0605] In some embodiments, the default state of the first Bluetooth switch, i.e., the default state of the system Bluetooth function, refers to the state of the first Bluetooth switch when the display device 200 is not using the Bluetooth music function of the application. The default state of the first Bluetooth switch can be either on or off. For example, to avoid power consumption caused by keeping the system Bluetooth function on, and to avoid frequently receiving pairing requests from other Bluetooth devices, the default state of the first Bluetooth switch can be set to off. Conversely, to facilitate pairing of the display device 200 with other Bluetooth devices, the default state of the first Bluetooth switch can be set to on.
[0606] 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 is 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.
[0607] 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.
[0608] 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 controlled to be turned on or off by calling the device visibility service, so as to realize the control of turning on or off the visibility function by the second Bluetooth switch. The process can refer to the process of controlling the system Bluetooth function to be turned on or off by the first Bluetooth switch, which will not be described here.
[0609] 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, a connection with a specified Bluetooth device will not be established. 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 with a specified Bluetooth device can be established. 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.
[0610] 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 that the Bluetooth devices can be paired, the default state of the third Bluetooth switch can be set to a closed state.
[0611] In some embodiments, the white list of Bluetooth devices can be used to manage the Bluetooth devices that can establish a connection with the display device 200. The Bluetooth devices not in 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. The Bluetooth devices in the white list can be dynamically adjusted according to the user's settings.
[0612] In some embodiments, the black list of Bluetooth devices can be used to manage the specified Bluetooth devices, i.e., the Bluetooth devices in 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. The Bluetooth devices in the black list can be dynamically adjusted according to the user's settings.
[0613] In some embodiments, the white list or the black list of Bluetooth devices can be written in the configuration file. After the first Bluetooth switch is turned on, the monitoring module of the system control can receive a pairing request or a connection request from 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.
[0614] In some embodiments, the default states of the first Bluetooth switch, the second Bluetooth switch, and the third Bluetooth switch can be independent of each other.
[0615] 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.
[0616] 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:
[0617] S4601, in the art mode, in response to the user's operation of opening the application Bluetooth music function, switch to the audio receiving mode, and display the operation guidance page. Wherein, when the default state of the first Bluetooth switch is off, turn on the first Bluetooth switch.
[0618] 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 901 shown in FIG. 9, 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 instruction can be input through the menu key of the control device 100 to control the display device 200 to open the application setting menu, and the application Bluetooth music function can be opened by selecting the switch of the application Bluetooth music function in the application setting menu.
[0619] 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 instruction can be input through the menu key of the control device 100 to control the display device 200 to open the application setting menu, and the art mode setting page can be opened by selecting the setting item of the art mode setting in the application setting menu. The application Bluetooth music function can be opened by selecting the switch of the application Bluetooth music function in the art mode setting page.
[0620] 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 can switch the display device 200 from the source mode to the sink mode to pair with other Bluetooth devices as an audio receiving device.
[0621] 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.
[0622] 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 can be 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.
[0623] When the display device 200 uses the application Bluetooth music function, the first Bluetooth switch can be turned on to open the system Bluetooth function. The implementation process can refer to the following embodiments:
[0624] 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.
[0625] 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. The Bluetooth switch module can call the system Bluetooth service to turn on the system Bluetooth function. The system Bluetooth service can record the default state of the first Bluetooth switch, such as the off state. When the activity manager detects the closing operation of the guide page or the closing of the pairing page, if the application registration listening module listens that the Bluetooth device is not paired or connected, 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 can send a first notification to the Bluetooth switch module, or when the activity manager detects that the first application is exited, the Bluetooth switch module can send a first notification to the Bluetooth switch module. The Bluetooth switch module can 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.
[0626] In some embodiments, the display device 200 can listen to the usage state of the first application through a system 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.
[0627] 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, i.e., after starting the first application, the system Bluetooth function needs to be turned on. In the application layer, a system registration listening module can also be configured. During the boot-up process of the display device 200, the system registration listening module can scan the configuration files of various applications, wherein 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 an application list according to the configuration information, the applications included in the application list all being applications that need to use the system Bluetooth function, i.e., after starting these applications, the system Bluetooth function needs to be turned on. The system registration listening module can listen to the starting state of each activity and can determine the application that is started according to the package name corresponding to the activity. After the system registration listening module listens to the activity of the first application, it can be determined that the first application is started. The system 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 can be called to turn on the first Bluetooth switch and turn on the system Bluetooth service.
[0628] In some embodiments, the configuration information of the first application can include a page with an application setting menu, so that when the system registration listening module registers the first application to the application list, it can be accurately registered to the page with the application setting menu, i.e., when the first application is entered and the application setting menu is opened, the system Bluetooth service can be turned on. After the system registration listening module listens to the activity of the page with the application setting menu, the system Bluetooth service can be called to turn on the first Bluetooth switch and turn on the system Bluetooth service.
[0629] 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.
[0630] 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:
[0631] The Android Bluetooth A2DP (Advanced Audio Distribution Profile) startSink() method can be used to start the sink mode:
[0632] In some embodiments, the code design for implementing the display device 200 to switch to the sink mode can refer to the following examples:
[0633] A method is created to switch the Bluetooth mode of the TV:
[0634] 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:
[0635] 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 enable 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.
[0636] 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 with other Bluetooth devices, the default state of the device visibility function can be restored. If the default state of the device visibility function is on, the device visibility function can be kept on, i.e., 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 turned off again, i.e., the second Bluetooth switch is switched to the off state.
[0637] In the process of opening the device visibility function by opening the second Bluetooth switch when the display device 200 uses the application Bluetooth music function, the process of opening the first Bluetooth switch can be referred to, and details are not described herein.
[0638] 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 application Bluetooth music function, and when the third Bluetooth switch is in the off state, the third Bluetooth switch is forcibly opened to open 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 opened, so as to avoid being disturbed by these Bluetooth devices.
[0639] 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 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, i.e., 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, i.e., the third Bluetooth switch is switched to the off state.
[0640] In the process of opening the device shielding function by opening the third Bluetooth switch when the display device 200 uses the application Bluetooth music function, the process of opening the first Bluetooth switch can be referred to, and details are not described herein. The configuration information of the first application can include a white list or a black list of Bluetooth devices.
[0641] In some embodiments, the states of the various Bluetooth switches of the display device 200 when the application Bluetooth music function is used and the default states are designed to be independent of each other. The code design for realizing the mutual independence can be referred to the following examples:
[0642] / / Bluetooth function used by Bluetooth music
[0643] BluetoothAdapter bluetoothAdapter = BluetoothAdapter.getDefaultAdapter();
[0644] bluetoothAdapter.setPriority(BluetoothAdapter.PRIORITY_ON);
[0645] / / Other Bluetooth functions are not affected
[0646] BluetoothGatt gatt=bluetoothAdapter.getRemoteDevice(address).connectGatt(context,false,gattCallback);
[0647] After the display device 200 switches to the sink mode and the system Bluetooth function is enabled, the display device 200 can be paired with other Bluetooth devices.
[0648] 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.
[0649] 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.
[0650] The 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 can include an advanced audio distribution profile (A2DP) service. Based on different Bluetooth modes, the supported A2DP service is 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.
[0651] 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.
[0652] The data structure of the pairing broadcast sent by the display device 200 in the sink mode can refer to the following example:
[0653] In some embodiments, the display device 200 can display an operation guide page, which can include first guide information of the operation of establishing a Bluetooth connection with the display device 200. The first guide information can include the device name of the display device 200, so as to accurately prompt the current Bluetooth device to be paired, and facilitate the user to quickly and accurately connect to the display device 200.
[0654] Referring to the operation guide page shown in FIG. 47, the operation guide page can include the first guide information. If the device name of the display device 200 is “master bedroom TV”, the first guide information can be “turn on the Bluetooth switch, and select the master bedroom TV pairing and connection”.
[0655] 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 can also be displayed on the operation guide page, so as to prompt the user about the Bluetooth status of the display device 200, and 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.
[0656] 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 television, 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.
[0657] In some embodiments, after the first Bluetooth device turns on the Bluetooth function, the first Bluetooth device can be in the source mode, and can scan the surrounding Bluetooth devices.
[0658] After the first Bluetooth device as the audio source device turns on the Bluetooth function, the pairing broadcast sent by the first Bluetooth device can include the device type, the UUID of the service, the device name, etc.
[0659] The device type of the first Bluetooth device can be the audio source device. In the source mode, the display device 200 supports the 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 name of the first Bluetooth device, or can be the user's custom name.
[0660] The data structure of the pairing broadcast sent by the first Bluetooth device in the source mode can refer to the following example:
[0661] When the display device 200 sends the pairing broadcast, the first Bluetooth device can scan the display device 200.
[0662] In some embodiments, the code design for the display device 200 to pair with other Bluetooth devices as an audio receiving device can refer to the following example:
[0663] After the first Bluetooth device scans 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, which can refer to the search result list shown in FIG. 48. The search result list can include a result item of the master bedroom TV.
[0664] 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 can send a pairing request to the corresponding display device 200 in response to the instruction of the user selecting the result item. The pairing request can be used to request to establish a Bluetooth connection.
[0665] S4602, display a pairing page according to the pairing request of the first Bluetooth device.
[0666] When the display device 200 and the first Bluetooth device pair for the first time, a pairing page can be displayed. The pairing page can include inquiry information for inquiring whether the user pairs with the first Bluetooth device. In this way, the data security of the display device 200 can be further ensured.
[0667] The pairing page can refer to FIG. 49. The pairing page can include prompt information, which can be used to prompt the device name of the first Bluetooth device currently requesting pairing, such as my phone.
[0668] 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 can also include 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.
[0669] S4603, in response to the instruction of the user agreeing to pairing, pairing with the first Bluetooth device, and displaying a prompt page after pairing with the first Bluetooth device successfully.
[0670] If the user selects the pairing button to input the instruction of agreeing to pairing, the display device 200 can pair with the first Bluetooth device and establish a connection.
[0671] In some embodiments, after pairing with the display device 200 successfully, the first Bluetooth device can query the services supported by the display device 200 using the Service Discovery Protocol (SDP) to further confirm whether the display device 200 is in sink mode. For example, the first Bluetooth device can confirm whether the display device 200 is in sink mode by querying whether the display device 200 registers the UUID of the 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 sink mode.
[0672] In some embodiments, after pairing with the first Bluetooth device successfully, 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.
[0673] 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 example:
[0674] SharedPreferences sharedPreferences = getSharedPreferences("BluetoothPrefs", MODE_PRIVATE);
[0675] SharedPreferences.Editor editor = sharedPreferences.edit();
[0676] editor.putString("PairedDevice", device.getAddress());
[0677] editor.apply();
[0678] 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 and display the paired device list after a second time length.
[0679] In some embodiments, the display device 200 can display the paired device list according to the saved pairing information of the first Bluetooth device. The paired device list can include an item of the first Bluetooth device. If the display device 200 has also established 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 has also established 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.
[0680] 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. 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.
[0681] 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:
[0682] 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.
[0683] 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.
[0684] 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.
[0685] 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.
[0686] 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.”
[0687] In some embodiments, the display device 200 can be configured to automatically exit the prompt page after a first time length, and can display a display page of the art mode application. For example, the first time length is 10s, and the display device 200 can automatically exit the prompt page after displaying the prompt page for 10s.
[0688] 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 the art mode application. For example, the user can input the return instruction through the back key of the control device 100, and the display device 200 can exit the prompt page in response to the return instruction.
[0689] 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 be automatically jumped to after a first time length, and the user can exit the prompt page through the back key. For example, referring to FIG. 52, the display device 200 can display prompt information in the prompt page.
[0690] S4604, after receiving the first audio sent by the first Bluetooth device, playing the first audio.
[0691] 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 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 can display the display page of the art mode application.
[0692] 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 includes 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:
[0693] 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 a user-favorite atmosphere.
[0694] 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.
[0695] 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.
[0696] In some embodiments, the code design for the display device 200 to hide the device playing information can refer to the following example:
[0697] 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.
[0698] 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.
[0699] 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.
[0700] 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.
[0701] 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.
[0702] 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.
[0703] In some embodiments, when the display device 200 simultaneously connects multiple Bluetooth devices, 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:
[0704] S5301, in response to the user's control instruction, the display device 200 displays a connected device list.
[0705] 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.
[0706] When the first Bluetooth device and the second Bluetooth device are currently connected simultaneously, the connected device list can include items of the first Bluetooth device and the second Bluetooth device.
[0707] Referring to the display page shown in FIG. 54, the display device 200 can display a 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 5402 can include items of my phone and living room TV.
[0708] S5302, in response to the instruction that the user selects the item of the second Bluetooth device, the display device 200 stops receiving the first audio from the first Bluetooth device and starts receiving the third audio sent by the second Bluetooth device.
[0709] The display device 200 currently plays 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. In response to the instruction, the display device 200 switches the audio source device to the second Bluetooth device, i.e., maintains the connection with the first Bluetooth device, but no longer receives the first audio sent by the first Bluetooth device, and starts receiving the third audio sent by the second Bluetooth device. In this case, the display device 200 can also send a first notification to the first Bluetooth device to inform the first Bluetooth device to stop receiving the audio. The first Bluetooth device can pause playing the first audio according to the first notification. 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 audio sent by the second Bluetooth device.
[0710] S5303, after receiving the third audio sent by the second Bluetooth device, the display device 200 plays the third audio.
[0711] 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 paused playing state or an audio stopped playing state. If the user opens a music application on the second Bluetooth device and plays the third audio, the display device 200 can receive the third audio from the second Bluetooth device, and play the third audio after receiving the third audio.
[0712] 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, the device icon can be used to identify the device type of the second Bluetooth device. In addition, the device playing information can be hidden after a preset time length. 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 here.
[0713] 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.
[0714] In some embodiments, the display device 200 can mute the second audio by setting the volume to 0, and unmute the second audio by setting the volume to 1, so that the audio can be played again. The code design for the display device 200 to mute the second audio can refer to the following example:
[0715] Video playback control:
[0716] 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 exiting the art mode application.
[0717] 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, 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, such as “Disconnect from my phone”, in the display page shown in FIG. 55. In some embodiments, the disconnection prompt can be automatically hidden after a preset time period.
[0718] In some embodiments, when the display device 200 is in the source mode and 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.
[0719] Referring to the foregoing embodiments, in some examples, 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, according to different display device manufacturers, models, etc.
[0720] As shown in FIG. 56A, in a case where the display device is only configured with the first Bluetooth switch, the display device can implement audio playing according to the flow shown in FIG. 56A, and the specific steps can include but are not limited to the following:
[0721] S5601, in response to receiving a starting instruction for the first application, starting the first application.
[0722] The first application can be at least used for playing pictures. For example, the first application can be an application used for playing pictures, or an application used for playing pictures and music, and the type of the first application is not limited in the embodiments of the present application.
[0723] 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 manner of the first application is not limited in the embodiments of the present application. For example, taking the operation instruction as an operation of selecting a first application icon by a 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.
[0724] 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.
[0725] S5602, in a case where the first picture is displayed on the display page of the first application, in response to receiving a first control instruction for the first application, displaying a first menu corresponding to the first application on the display page and maintaining the display of the first picture on the display page.
[0726] 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.
[0727] 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.
[0728] In some examples, 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 an operation of pressing a menu key of the control device 100 (such as a remote controller), or an operation of pressing a setting key of the control device 100.
[0729] For example, when the first control command is for the user to press the menu button on the control device 100, in response to the first control command, a first menu can be displayed on the display page of the first application. This first menu can be the menu of the first application. As shown in Figure 9, the first menu is displayed on top of the first image. The first menu can also be called the application settings menu 901, which is displayed on top of the first image. By displaying the application settings menu 901 on top of the first image, the user can browse the first image displayed on the display page of the first application while using the application settings menu 901.
[0730] In some embodiments, the first menu may include a first option for activating the Bluetooth function of the first application. As shown in FIG9, the first option may be a BT Music option, which can be used to activate the Bluetooth function of the first application.
[0731] In other embodiments, in response to a first control command input by a user through control device 100, a first option, such as a BT Music option, can be directly displayed on the display page of the first application.
[0732] For example, when the first control command is for the user to press the setting button on the control device 100, in response to this command, a first menu can be displayed on the display page of the first application. This first menu can be a system settings menu, which can be displayed above the first image. By displaying the system settings menu above the first image, the user can browse the first image displayed on the first application's display page while using the system settings menu. This system settings menu includes a Bluetooth option for activating the Bluetooth function of the first application.
[0733] S5603. In response to receiving a selection instruction for the first option, without exiting the first application, the state of the first Bluetooth switch is obtained. If the first Bluetooth switch is in the off state, the first Bluetooth switch is turned on and a Bluetooth connection is established with the first Bluetooth device.
[0734] The first Bluetooth switch can be used to turn the system Bluetooth function on or off; the first Bluetooth switch can also be called the system Bluetooth switch.
[0735] In some embodiments, when the display device is configured with only a system Bluetooth switch and no visibility switch, when the user selects the first option, the display device, in response to the selection instruction, can obtain the state of the system Bluetooth switch 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, when the Bluetooth function is turned on in the first application, it is not necessary to exit the first application to start the Bluetooth function, and the first application is never exited during the process of turning on the system Bluetooth.
[0736] In some embodiments, the display device not exiting the first application can include three cases, the first case is maintaining the first application running in the foreground, the second case is maintaining the first application visible, and the third case is maintaining an operation guide page, which can include first guide information, the first guide information can be used to guide the user to pair the display device with the Bluetooth device.
[0737] The following will be combined with the three cases of the display device not exiting the first application, and the implementation of step S5603 will be described in detail in combination with FIG. 56B.
[0738] 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 of the display device not exiting the first application, step S5603 can be implemented by any one of the following steps S5603a, S5603b and S5603c.
[0739] 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, turning on the first Bluetooth switch and establishing a Bluetooth connection with the first Bluetooth device.
[0740] In some embodiments, after the user selects the first option to turn on the Bluetooth function of the first application, the display device will maintain the first application running in the foreground while obtaining the state of the first Bluetooth switch. If 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 the display device 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 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.
[0741] 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 on top of the application stack.
[0742] In some embodiments, the operating system shown in FIG. 4 can be configured with a Bluetooth switch setting module in the device setting, 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 for the first application (1), and after the first application is started, the first picture can be displayed on the display page of the first application (2). In response to receiving a control instruction for the first option, a 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 for the first option, the first application can be maintained without exiting (3), and the first application can send an acquisition instruction for acquiring the Bluetooth switch state (first Bluetooth switch state) to the Bluetooth switch setting module of the setting application (4). In response to the acquisition instruction, the Bluetooth switch setting module can send a feedback instruction indicating the Bluetooth switch state to the first application (5), and record the current state of the Bluetooth switch (i.e., the first Bluetooth switch) (6). In response to the feedback instruction indicating that the Bluetooth switch is in the off state, the first application can send a Bluetooth on instruction to the Bluetooth switch setting module (7). In response to the Bluetooth on instruction, the first Bluetooth switch can be turned on. The first application sends a Bluetooth state broadcast registration instruction to the Bluetooth module of the Framework layer, so that the Bluetooth module registers the first application based on the instruction, to indicate that the first application uses the Bluetooth function (8). The first application sends a receive mode switch instruction to the Bluetooth module (9), which forwards the receive mode switch instruction to the Bluetooth driver module of the driver layer (10). The Bluetooth driver module opens the receive mode switch and broadcasts the device information of the display device, so that the Bluetooth module enters the sink mode (11).
[0743] The Bluetooth module is a near field communication module that enables the display device to establish a Bluetooth connection with at least one external Bluetooth device. The Bluetooth module can be a module for implementing Bluetooth communication in the communication device 220 involved in the above embodiments.
[0744] In some embodiments, the Bluetooth module is the core component of the display device for implementing Bluetooth functions. The Bluetooth module is responsible for wireless connection and data transmission with other external Bluetooth devices. The Bluetooth module can be a PCBA board integrated with Bluetooth functions, which can be used for short-range wireless communication. The Bluetooth module integrates chips and peripheral hardware circuits, and develops the required built-in programs to implement Bluetooth functions. The Bluetooth module can perform data transmission with MCU (microcontroller) or other control devices through relevant interfaces, to realize Bluetooth standard communication and networking. Taking a television as an example, the Bluetooth module on the television is mainly used for wireless connection with other external Bluetooth devices, to realize functions such as audio transmission and device control.
[0745] The Bluetooth switch setting module is an application module used for setting and recording the state of the Bluetooth switch in the display device.
[0746] 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 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 turn on the first Bluetooth switch; 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, so that the Bluetooth module enters the sink mode.
[0747] 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 embodiments of the present application do not limit the specific timing of the Bluetooth module entering the sink mode.
[0748] 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 the operation guide page is displayed, 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.
[0749] 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, so as to accurately prompt the Bluetooth device to be paired currently, and facilitate the user to quickly and accurately connect to the display device 200.
[0750] In some examples, the operation guide page can be displayed when the display device 200 first establishes a Bluetooth connection with the first Bluetooth device or when the display device 200 establishes a Bluetooth connection with the first Bluetooth device for the second time. Alternatively, the operation guide page can be displayed when the display device 200 first establishes a Bluetooth connection with the first Bluetooth device, 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 second time.
[0751] 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 can display the operation guide page while displaying the first picture.
[0752] 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 a 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 on top of the first picture.
[0753] In some embodiments of the present application, when the display device displays the picture of the first application, the display device can turn on the system Bluetooth switch while maintaining the first application running in the foreground, and establish a connection with the first Bluetooth device. 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 picture can be displayed on the display page of the first application while playing the first audio data selected by the user on the first Bluetooth device. That is, the present application does not need to exit the first application to turn on the Bluetooth function when displaying the picture of the first application, and ensures that the system Bluetooth switch can be turned on without the user's frequent operation while not interrupting the user's appreciation of the artistic painting, thereby improving the opening efficiency of the system Bluetooth.
[0754] 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.
[0755] 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 the first application is always visible during the process of the display device obtaining the state of the first Bluetooth switch and turning on the first Bluetooth switch, so that 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.
[0756] In some examples, the first application being visible refers to a case where the first application is opened, and the first application can be continuously displayed on the display when the user is performing other operations, 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 displays the application interface of the first application (such as the first picture), and the entire display area of the display displays 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.
[0757] 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 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 send to open 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, so that the Bluetooth module enters the sink mode.
[0758] In some embodiments of the present application, when the display device displays the picture in the first application, the first application is maintained to be visible, and the system Bluetooth switch can be turned on and connected with the first Bluetooth device; 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 playing the first audio data selected by the user on the first Bluetooth device. 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 interrupting the user's appreciation of the artistic painting and without frequent user operations, thereby improving the opening efficiency of the system Bluetooth.
[0759] S5603c, in response to receiving the selection instruction of the first option, display the 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.
[0760] 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.
[0761] 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".
[0762] In some embodiments, as shown in FIG. 57, step S5603c can include: 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 receive mode switch instruction to the Bluetooth module; in response to the Bluetooth state broadcast registration instruction and the receive mode switch instruction, the Bluetooth module can control the Bluetooth driver to turn on the receive mode switch, and can broadcast the device information of the display device to make the Bluetooth module enter the sink mode.
[0763] In some embodiments of the present application, when the display device displays the picture in the first application, the operation guide page is maintained, the system Bluetooth switch is turned on, and a 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 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 in 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 frequent user operations while not interrupting the user's appreciation of the artistic painting, thereby improving the opening efficiency of the system Bluetooth.
[0764] 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 can be established with the first Bluetooth device in response to an instruction of the user agreeing to pairing, and a prompt page can be displayed; wherein the prompt page can be used to prompt the user to play audio data on the first Bluetooth device.
[0765] 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 driver module of the display device 200 (14). The Bluetooth driver module can send the Bluetooth connection request to the Bluetooth module (15). After receiving an instruction of agreeing to pairing, the Bluetooth module can establish 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).
[0766] In some examples, when the display device 200 and the first Bluetooth device pair for the first time, a pairing page can be displayed, which can include inquiry information for inquiring whether the user agrees to pairing with the first Bluetooth device, further ensuring the data security of the display device 200. The user can input an instruction of agreeing to pairing by selecting the pairing button in the pairing page. As shown in FIG. 49, after the user inputs the instruction of agreeing to pairing in the pairing request page, the display device 200 can pair with the first Bluetooth device and establish a connection.
[0767] For example, after the display device 200 successfully pairs with the first Bluetooth device and establishes a connection, the pairing information of the first Bluetooth device can be saved.
[0768] 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 user can play audio data through the connected first Bluetooth device.
[0769] In some embodiments of the present application, a pairing page can be displayed during the process of establishing a connection between the display device and the first Bluetooth device, so that the user can confirm whether to agree to pairing with the first Bluetooth device, thereby ensuring the accuracy and security of the Bluetooth connection process. At the same time, after the display device establishes a connection with the first Bluetooth device, a prompt page can also be displayed, which can remind the user to play audio data on the first Bluetooth device, so that the user can play the music he likes in time.
[0770] In some embodiments, the manner of exiting the prompt page can include various manners, for example, the prompt page can be exited after the prompt page is displayed for a first preset time length, and the first picture can be displayed on the show 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 show page. For another example, the prompt page can be exited after detecting that the first Bluetooth device is in an audio playing state, and the first picture can be displayed on the show page.
[0771] 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 but is not limited to: starting timing when the prompt page is displayed, and automatically exiting the prompt page when a timing length reaches a first preset time length; or, exiting the prompt page in response to an exit instruction input through a remote controller or an exit instruction input through voice; or, according to detection of an audio playing state of the first Bluetooth device, automatically exiting the prompt page when it is detected that the first Bluetooth device has been in the audio playing state.
[0772] In some embodiments, after the prompt page is exited, the display can display the first picture on the show page. For example, when the user starts playing the 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 the 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.
[0773] Through the above scheme, after the display device and the first Bluetooth device establish a connection, the prompt page can be exited according to a preset exit rule. The prompt page can be automatically exited without user operation, or the prompt page can be exited according to user demand. After the prompt page is exited, the show page continues to display the first picture, so that the user can continue to appreciate the artistic painting.
[0774] In some embodiments, the step S5603 of establishing a Bluetooth connection with the first Bluetooth device can further include: in a case where the display device is not connected to the first Bluetooth device for the first time, displaying a paired device list on the show page according to stored pairing information, and maintaining the first picture displayed on the show page; and establishing a connection with the first Bluetooth device in response to receiving a selection operation on information of the first Bluetooth device in the paired device list.
[0775] In some examples, the display device 200 can save the pairing information of the successfully paired Bluetooth devices according to the historical Bluetooth pairing conditions to obtain a paired device list. That is, the paired device list can include information of a plurality of successfully paired Bluetooth devices. The information of the plurality of successfully paired Bluetooth devices can include the 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.
[0776] In some examples, the user can select a 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 the first Bluetooth device is found. For example, as shown in FIG. 50, the paired device list displayed on the display page includes information (such as a device name) of two Bluetooth devices. When the user selects the Bluetooth device with the device name “my phone”, the display device 200 can establish a connection with “my phone”.
[0777] In some embodiments, when the display device displays the paired device list, the first picture can be maintained on the display page. The paired device list can be displayed in a part of the display area of the display page, and the first picture can be displayed in another part of the display area of the display page. Alternatively, the first picture can be displayed on the entire display area of the display page, and the paired device list can be 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.
[0778] 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, and the first picture can be maintained on the display page. The user can select a Bluetooth device to be connected through the paired device list, so as to quickly establish a Bluetooth connection. At the same time, the user can continue to appreciate the art painting during the Bluetooth connection process, which can improve the user experience.
[0779] S5604, while the first application displays the first picture, receiving and playing the first audio data sent by the first Bluetooth device.
[0780] In some embodiments, as shown in FIG. 57, when the display page displays the first picture, if the Bluetooth connection between the display device and the first Bluetooth device is successful, when the first Bluetooth device plays the first audio data (18), 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, the Bluetooth driver module receives the audio data (20), and sends a data transmission instruction to the Bluetooth module (21), the Bluetooth module plays the audio data according to the data transmission instruction (22), and broadcasts the playing success to the first application (23).
[0781] In some examples, when the display device 200 displays the first picture, the first picture can be set with background music, that is, the corresponding background music of the first picture can be played while the first picture is displayed. 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.
[0782] In some embodiments, step S5604 can include: if the first picture is provided with second audio data, when the first audio data sent by the first Bluetooth device is received, the second audio data can be muted or paused, and the first audio data can be played while the first picture is displayed.
[0783] In some examples, the second audio data can be 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.
[0784] 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. When the second audio data is muted, the volume of the second audio data is reduced to 0, but the second audio data is still playing. The second audio data is paused, which controls the second audio data to stop 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.
[0785] For example, continuing to refer to FIG. 57, after the Bluetooth module sends the audio data playing success information of the first Bluetooth device to the first application, the first application obtains the playing success information, and determines whether there is a local video audio (such as the second audio data) playing. If there is a local video audio playing, pause the playing of the local video audio (24). Alternatively, the volume of the local video audio playing can be adjusted to 0.
[0786] Based on the above scheme, when the first picture is accompanied by background audio (i.e., the second audio data), the display device can mute or pause the background audio of the first picture after receiving the first audio data sent by the first Bluetooth device, thereby avoiding the background audio from affecting the playing of the first audio data and affecting the user experience when the user appreciates the first picture.
[0787] In some embodiments, after step S5604, the method can further include: in response to receiving the instruction sent by the first Bluetooth device to pause playing the first audio, the second audio data can be unmuted; or, in response to receiving the instruction sent by the first Bluetooth device to pause playing the first audio, the second audio data can continue to be played.
[0788] In one possible implementation, 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 sent by the first Bluetooth device to pause playing the first audio data, 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, the display device 200 can 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 picture is displayed by the first application when the first Bluetooth device pauses playing the first audio data.
[0789] In some examples, as shown in FIG. 57, when the first Bluetooth device pauses playing the first audio data (25), the first Bluetooth device can send an audio pause playing instruction to the Bluetooth driver module (26) of the display device 200 through the Bluetooth protocol. The Bluetooth driver module receives the pause playing instruction (27), and can send a pause playing state instruction to the Bluetooth module (28). The Bluetooth module can pause playing the audio data (29) according to the instruction, and can send a playing pause broadcast to the first application (30). The first application can obtain the pause playing state sent by the Bluetooth module, and determine whether there is local video audio playing. If there is, the first application 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.
[0790] Based on the above scheme, if the first Bluetooth device pauses playing the first audio data, the mute of the background audio can be removed, or the background audio can be controlled to continue playing, so that the user can continuously have audio playing during the appreciation of the first picture, thereby improving the user experience.
[0791] In some embodiments, after step S5604, the method can further include: if the display device has also established a Bluetooth connection with a second Bluetooth device, when playing the first audio data, in response to receiving a second control instruction inputting a list option on the presentation page, presenting a connected device list on the presentation page, and maintaining the first picture on the presentation page; in response to receiving a selection instruction of the second Bluetooth device in the connected device list, terminating the reception of the first audio data sent by the first Bluetooth device, and starting the reception of third audio data sent by the second Bluetooth device; and playing the third audio data sent by the second Bluetooth device while the first application presents the first picture.
[0792] In some examples, a list button can be configured on the presentation page, which 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 presentation 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.
[0793] In some embodiments, when the connected device list is presented on the presentation page, the first picture is still maintained on the presentation page. For example, the connected device list can be presented above the first picture, or the connected device list and the first picture can be presented in different display areas of the presentation page, respectively.
[0794] 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. 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 start receiving 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 presents the first picture.
[0795] In some examples, the display device 200 can establish a Bluetooth connection with multiple Bluetooth devices at the same time. For example, the display device 200 can establish a Bluetooth connection with the first Bluetooth device and the second Bluetooth device at the same time. 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 starting to receive the third audio data sent by the second Bluetooth device.
[0796] 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 pauses playing the first audio data according to the first notification. Meanwhile, 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 plays the third audio data according to the second notification.
[0797] 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. Meanwhile, the first picture can be maintained to 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 newly connected Bluetooth device, thereby avoiding the problem of audio data interruption in the process of switching the Bluetooth device, and ensuring the continuity of audio playing.
[0798] In some embodiments, after step S5604, it can also include: in response to receiving the instruction of disconnecting the Bluetooth connection sent by the first Bluetooth device, the second audio data can be unmuted; if the display device establishes a Bluetooth connection with the third Bluetooth device, the second audio data can be sent to the third Bluetooth device to play 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.
[0799] In some examples, when the display device 200 receives the instruction of disconnecting 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 unmuted to continue playing the second audio data. And while playing the second audio data, the display device can detect whether there is still other Bluetooth device that has established a connection.
[0800] In some examples, if it is detected that the display device 200 establishes a Bluetooth connection with a third Bluetooth device after the Bluetooth connection with the first Bluetooth device is disconnected, 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 any other Bluetooth device after the Bluetooth connection with the first Bluetooth device is disconnected, 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 Bluetooth speaker or the like working in a Bluetooth receiving mode.
[0801] As shown in FIG. 57, after the first Bluetooth device disconnects the Bluetooth connection with the display device 200 (32), a Bluetooth disconnection 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 disconnection instruction (34) and sends 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 releases the player (36) and sends a disconnection broadcast to the first application (37). The first application acquires the recorded 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.
[0802] Based on the above scheme, when the display device plays the first audio data sent by the first Bluetooth device, if the display device disconnects the Bluetooth connection with the first Bluetooth device, the background audio of the first picture (i.e., the second audio data) can be unmuted. In this case, if the display device does not establish a Bluetooth connection with a Bluetooth speaker (i.e., a third Bluetooth device), the display device plays the second audio data while the first application displays the first picture. If the display device establishes a Bluetooth connection with the Bluetooth speaker, the second audio data can be played through the Bluetooth speaker. Therefore, after the display device disconnects the connection with 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 speaker, thereby avoiding the problem of audio interruption caused by disconnection of the Bluetooth connection.
[0803] In some embodiments, after step S5604, there can further include: in response to receiving an exit instruction of the first application, the first Bluetooth switch can be restored to a default state.
[0804] In some embodiments, the display device 200 receives an 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.
[0805] 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).
[0806] 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 exits.
[0807] In some embodiments, after step S5604, it can also 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; 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.
[0808] In some embodiments, after the display device 200 identifies 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.
[0809] In some examples, the device playing information of the first Bluetooth device can be displayed on the display page at all times, or can be displayed for a period of time. For example, the device playing information of the first Bluetooth device can be displayed at the beginning of the timing, and the device playing information of the first Bluetooth device can be hidden when the timing reaches the second preset time length.
[0810] Based on the above scheme, after the first Bluetooth device is in the audio playing state, the display device can display the device playing information on the display page while displaying the first picture on the display page, so that the user can understand the device information of the current Bluetooth device playing audio data. At the same time, in order to avoid the influence of the device playing information on the user's appreciation of the first picture, after the second preset time length, the display device can automatically hide the device playing inform...
Claims
A display device, comprising: Memory, configured to store computer programs; At least one processor, connected to the memory, is configured to execute the computer program to cause the display device to perform: In the first mode, in response to the user's operation of opening the Bluetooth music function of the application, the system switches to audio receiving mode and displays an operation guidance page. The operation guidance page includes first guidance information, which is used to guide the user to pair the Bluetooth device with the display device. 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's Bluetooth function. Upon receiving a pairing request from the first Bluetooth device, a pairing page is displayed. The pairing page includes a prompt message, which asks the user whether they agree to pair the display device with the first Bluetooth device. In response to the user's instruction to agree to pairing, the device pairs with the first Bluetooth device and displays a prompt page after successful pairing with the first Bluetooth device. The prompt page is used to prompt the user to play audio on the first Bluetooth device. After receiving the first audio signal from the first Bluetooth device, play the first audio signal. According to claim 1, in the first mode, in response to a user's operation of opening the Bluetooth music function of an application, the system switches to an audio receiving mode and displays an operation guidance page; the at least one processor is further configured to execute the computer program to cause the display device to perform: If a second Bluetooth switch is configured, and the default state of the second Bluetooth switch is off, then the second Bluetooth switch is turned on. The second Bluetooth switch is used to control the on and off of the device visibility function. If a third Bluetooth switch is configured, and the default state of the third Bluetooth switch is off, then the third Bluetooth switch is turned on. The third Bluetooth switch is used to control the on and off of the device's shielding function. According to claim 1, after the display device pairs with the first Bluetooth device in response to a user's instruction to agree to pairing, and displays a prompt page after successful pairing with the first Bluetooth device, the at least one processor is further configured to execute the computer program to cause the display device to perform: After the first duration is displayed on the prompt page, the prompt page will automatically exit and the display page for the art mode application will be shown. Alternatively, in response to the user's return command, exit the prompt page and display the display page of the first application; Alternatively, after detecting that the first Bluetooth device is in audio playback mode, exit the prompt page and display the display page of the first application; The display page is the user display interface set in the first mode. According to claim 1, in the display device, after receiving the first audio signal sent by the first Bluetooth device, the first audio signal is played, and the at least one processor is further configured to execute the computer program to cause the display device to perform: After detecting that the first Bluetooth device is in audio playback mode, the device playback information of the first Bluetooth device is displayed on the display page of the first application. The device playback information of the first Bluetooth device includes the device name and device icon of the first Bluetooth device. The display page is the user display interface set in the first mode; After the device playback information of the first Bluetooth device has been displayed for a second duration, the device playback information of the first Bluetooth device is automatically hidden. According to claim 1, when playing the first audio after receiving the first audio sent by the first Bluetooth device, the at least one processor is further configured to execute the computer program to cause the display device to perform: If the second audio is played, after receiving the first audio, the second audio is muted and the first audio is played. If the first Bluetooth device is detected to have paused playback of the first audio, or if the connection with the first Bluetooth device is detected to have been lost, the second audio will be unmuteed and played. According to claim 1, in response to a user's instruction to agree to pairing, the device pairs with the first Bluetooth device and displays a prompt page after successful pairing with the first Bluetooth device; the at least one processor is further configured to execute the computer program to cause the display device to perform: Store the pairing information of the first Bluetooth device; In response to the user's operation of activating the Bluetooth music function of the application, a list of paired devices is displayed based on the stored pairing information, the list of paired devices including the item of the first Bluetooth device; In response to the user selecting an item on the first Bluetooth device, a connection is established with the first Bluetooth device. According to claim 1, when the display device also establishes a connection with the second Bluetooth device, the at least one processor is further configured to execute the computer program to cause the display device to perform: While the first audio is playing, in response to the user's control command, a list of connected devices is displayed, which includes items for the first Bluetooth device and the second Bluetooth device; In response to the user's instruction to select an item on the second Bluetooth device, the reception of the first audio from the first Bluetooth device is terminated, and the reception of audio sent by the second Bluetooth device is started. After receiving the third audio from the second Bluetooth device, the third audio is played. The display device according to claim 2, wherein the at least one processor is further configured to execute the computer program to cause the display device to perform: If it is detected that all connected Bluetooth devices have been disconnected, or the Art mode has been exited, then switch back to Audio Sending mode and restore the default state of the first Bluetooth switch. in, If the second Bluetooth switch is configured, restore the default state of the second Bluetooth switch; If the third Bluetooth switch is configured, then the default state of the third Bluetooth switch is restored. The display device according to claim 1, wherein the at least one processor is further configured to execute the computer program to cause the display device to perform: If a disconnection is detected with the first Bluetooth device, a disconnection message will be displayed. The display device according to claim 1, wherein the at least one processor is further configured to execute the computer program to cause the display device to perform: Responding to the user's control command input based on the first key press of the control device, identify the current application; When the current application is the first application, the control command is processed by the first application; Identify the current page; If the current page is the display page of the first application, then the display is controlled to show the application settings menu on the upper layer of the display page. The application settings menu includes a background frame and a list display area. The list display area is displayed on the upper layer of the background frame. The list display area is used to display n menu items in the menu item list. The menu item list includes N menu items, N≥1, 1≤n≤N. The N menu items are used to set the parameters of the artwork. The background of the menu item list is transparent. If the current page is not the display page, the display is controlled to show a prompt message on top of the current page. The prompt message is used to indicate that the first button is unavailable on the current page. The display page is the user display interface set in the first mode. According to the display device of claim 10, the memory is configured to store a whitelist of first buttons, the whitelist of first buttons including the package names of applications that individually process the control commands, wherein... The whitelist for the first button includes the package name of the first application; When the current application is the first application, and the control instructions are processed by the first application, the at least one processor is further configured to execute the computer program to cause the display device to perform: When the current application is identified as the first application, the package name of the first application is obtained; Compare the package name of the first application with the package names in the whitelist of the first button; After determining that the package name of the first application belongs to the whitelist of the first button, the first application processes the control command. The display device according to claim 10, wherein the at least one processor is further configured to execute the computer program to cause the display device to perform: After entering the first application, a first marker is recorded, indicating that the first application has been launched; The at least one processor, in response to a control command input by the user based on a first keypad input from the control device, identifies the current application and is configured as follows: In response to the control command, the first marker is identified; If the first marker is identified, it is determined that the current application is the first application, and that the control command is processed by the first application; If the first tag is not identified, then the current application is determined not to be the first application. According to claim 10, if the current page is a display page of the first application, then when the display is controlled to display an application settings menu on top of the display page, the at least one processor is further configured to execute the computer program to cause the display device to perform: Retrieve the artwork currently displayed on the display page; Extract a first image from the artwork that is the same size as the background frame; The first image is subjected to Gaussian blurring and transparency processing to obtain the processed first image; The application settings menu is displayed on the display page, and the processed first image is displayed within the background frame. According to the display device of claim 13, after performing Gaussian blurring and transparency processing on the first image to obtain the processed first image, the at least one processor is further configured to execute the computer program to cause the display device to perform: Based on the first color of the processed first image, determine the second color of the text in the n menu items, wherein the first color and the second color satisfy the contrast requirement; The at least one processor is configured to display the application settings menu on the display page as follows: The processed first image is displayed within the background frame, the first option list is displayed on top of the processed first image, and the text of the n menu items is displayed using the second color. According to claim 10, in the display device, if the current page is a display page of the first application, the display is controlled to display an application settings menu on top of the display page, and the at least one processor is further configured to execute the computer program to cause the display device to perform: When the application settings menu is displayed, the first n menu items displayed in the list display area include a first menu item, and items that receive focus from the first menu item, wherein... The first menu item is the menu item that received focus when the application settings menu was last exited. According to claim 10, in the display device, if the current page is a display page of the first application, the display is controlled to display an application settings menu on top of the display page, and the at least one processor is further configured to execute the computer program to cause the display device to perform: The application settings menu is displayed in a first position on the display page, which is the position where the application settings menu was displayed the last time the user exited the application settings menu. According to claim 16, in the display device, if the current page is a display page of the first application, after controlling the display to display an application settings menu above the display page, the at least one processor is further configured to execute the computer program to cause the display device to perform: When the second menu item gains focus, the type of the second menu item is identified in response to a user's instruction based on a left-click input or a right-click input on the control device. If the second menu item is of type text, then move the application settings menu to the left or right to the specified position; If the second menu item is of a non-text type, then adjust the value or state corresponding to the second option according to the non-text type. According to the display device of claim 10, the memory is further configured to: store a correspondence between the categories of artworks and third menu items, wherein the third menu item is used to set parameters of the artwork corresponding to the category; If the current page is a display page for the art mode application, the display is controlled to show an application settings menu on top of the display page, and the at least one processor is further configured to execute the computer program to cause the display device to perform: Obtain the target category to which the artwork currently displayed on the display page belongs; Based on the correspondence, determine the third menu item corresponding to the target category; Add the target third menu item to the menu item list. According to claim 10, in the display device, if the current page is a display page of the first application, after controlling the display to display an application settings menu above the display page, 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's up command, the focus is moved up in the menu item list, wherein, When the first menu item among the N menu items gains focus, the focus will not be moved further. In response to a user's downward command, the focus is moved down in the menu item list, wherein the focus is not moved further when the last menu item among the N menu items gains focus. According to claim 10, in the display device, if the current page is a display page of the first application, after controlling the display to display an application settings menu above the display page, 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's upward command, the focus is fixed at its position within the list display area, and the menu item list is moved downwards to update the menu item that has received focus. When the first menu item among the N menu items is displayed at the top of the list display area, in response to the up command, the menu item list is moved down, and the last menu item among the N menu items is displayed at the top of the list display area; In response to the user's downward command, the focus is fixed in the display position of the list display area, and the menu item list is moved upward to update the menu item that has gained focus. Specifically, when the last menu item among the N menu items is displayed at the end of the list display area, in response to the downward command, the menu item list is moved upward, and the first menu item among the N menu items is displayed at the end of the list display area. The display device according to claim 1 further includes: The monitor is configured to display the user interface; The at least one processor, coupled to the display, is further configured to execute the computer program to cause the display device to perform: In response to receiving a launch command for the first application, the first application is launched; The first application is used at least to play images; When the first image is displayed on the display page of the first application, in response to receiving the first control command for the first application, the first menu corresponding to the first application is displayed on the display page, and the first image is displayed on the display page; wherein, the first menu is displayed on top of the first image, and the first menu includes a first option for activating the Bluetooth function of the first application; When the display device is equipped with a first Bluetooth switch, in response to receiving a selection instruction for the first option, the system does not exit the first application and obtains the state of the first Bluetooth switch. If the first Bluetooth switch is in the off state, the system turns on the first Bluetooth switch and establishes a Bluetooth connection with the first Bluetooth device. The first Bluetooth switch is used to turn the system Bluetooth function on or off. While the first application displays the first image, it receives and plays the first audio data sent by the first Bluetooth device. The display device according to claim 1 further includes: The monitor is configured to display the user interface; The at least one processor, coupled to the display, is further configured to execute the computer program to cause the display device to perform: In response to receiving a launch command for the first application, the first application is launched; The first application is used at least to play images; When the first image is displayed on the display page of the first application, in response to receiving the first control command for the first application, the first menu corresponding to the first application is displayed on the display page, and the first image is displayed on the display page; wherein, the first menu is displayed on top of the first image, and the first menu includes a first option for activating the Bluetooth function of the first application; When the display device is equipped with a first Bluetooth switch and a second Bluetooth switch, in response to receiving a selection instruction for the first option, the system does not exit the first application and obtains the status of the first Bluetooth switch and the second Bluetooth switch. If the first Bluetooth switch and the second Bluetooth switch are in the off state, the system turns on the first Bluetooth switch and the second Bluetooth switch and establishes a Bluetooth connection with the first Bluetooth device. The first Bluetooth switch is used to turn the system Bluetooth function on or off, and the second Bluetooth switch is used to turn the device visibility function on or off. While the first application displays the first image, it receives and plays the first audio data sent by the first Bluetooth device. The display device according to claim 1 further includes: The monitor is configured to display the user interface; The at least one processor, coupled to the display, is further configured to execute the computer program to cause the display device to perform: In response to receiving a launch command for the first application, the first application is launched; The first application is used at least to play images; When the first image is displayed on the display page of the first application, in response to receiving the first control command for the first application, the first menu corresponding to the first application is displayed on the display page, and the first image is displayed on the display page; wherein, the first menu is displayed on top of the first image, and the first menu includes a first option for activating the Bluetooth function of the first application; When the display device is equipped with a first Bluetooth switch and a second Bluetooth switch, in response to receiving a selection instruction for the first option, the system does not exit the first application and obtains the status of the first Bluetooth switch and the second Bluetooth switch. If the first Bluetooth switch is in the on state and the second Bluetooth switch is in the off state, the system turns on the second Bluetooth switch and establishes a Bluetooth connection with the first Bluetooth device. The first Bluetooth switch is used to turn the system Bluetooth function on or off, and the second Bluetooth switch is used to turn the device visibility function on or off. While the first application displays the first image, it receives and plays the first audio data sent by the first Bluetooth device. The display device according to claim 1 further includes: The monitor is configured to display the page of the primary application; An audio output device configured to play audio; The Bluetooth module is configured to establish a Bluetooth connection with at least one external Bluetooth device; The at least one processor is also connected to the display, the audio output device, and the Bluetooth module, and is further configured to execute the computer program to cause the display device to perform: On the display page of the first application, the application's built-in Bluetooth switch is displayed; In response to a trigger operation on the Bluetooth switch of the application, the Bluetooth module is controlled to be in a connectable state; When at least one external Bluetooth device establishes a Bluetooth connection with the display device, the device information of the external Bluetooth device is displayed on the display page; The Bluetooth module receives the first audio signal sent by the external Bluetooth device, and while the display page is displayed on the monitor, the audio output module plays the first audio signal. The display device according to claim 1 further includes: The monitor is configured to display the page of the primary application; An audio output device configured to play audio; The Bluetooth module is configured to establish a Bluetooth connection with at least one external Bluetooth device; A light sensor is configured to collect light data of the current environment; The at least one processor is also connected to the display, the audio output device, the Bluetooth module, and the light sensor, and is further configured to execute the computer program to cause the display device to perform: On the display page of the first application, the application's built-in Bluetooth switch and fourth mode switch are displayed; In response to a trigger operation on the Bluetooth switch of the application, the Bluetooth module is controlled to be in a connectable state; When at least one external Bluetooth device establishes a Bluetooth connection with the display device, the first audio signal sent by the external Bluetooth device is received through the Bluetooth module, and the first audio signal is played through the audio output module. When the fourth mode switch indicates that the fourth mode is enabled and the ambient light data meets the conditions for enabling the fourth mode, the display device is controlled to enter a screen-off and mute state. A processing method for a display device, the method comprising: In the first mode, in response to the user's operation of opening the Bluetooth music function of the application, the system switches to audio receiving mode and displays an operation guidance page. The operation guidance page includes first guidance information, which is used to guide the user to pair the Bluetooth device with the display device. 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's Bluetooth function. Upon receiving a pairing request from the first Bluetooth device, a pairing page is displayed. The pairing page includes a prompt message, which asks the user whether they agree to pair the display device with the first Bluetooth device. In response to the user's instruction to agree to pairing, the device pairs with the first Bluetooth device and displays a prompt page after successful pairing with the first Bluetooth device. The prompt page is used to prompt the user to play audio on the first Bluetooth device. After receiving the first audio signal from the first Bluetooth device, play the first audio signal.
Citation Information
Patent Citations
Screen menu transparency setting method and device and chip
CN105898614A
Display equipment and method for playing music in terminal
CN111343489A
Method for adjusting Bluetooth mode on display equipment and display equipment
CN111756413A
Display device and display method of application setting menu
CN118732908A
Display device and music playing method
CN119342269A