Display device, key control method and storage medium
By detecting external devices on the display device and popping up the target page to allow the user to select the target device that handles key commands, the problems of key failure and information occlusion in the prior art are solved, and a better user experience is achieved.
Patent Information
- Application Number
- CN202210864137.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-21
- Publication Date
- 2024-12-13
- Estimated Expiration
- 2042-07-21
AI Technical Summary
When existing display devices process key commands, they may cause key failure or information occlusion problems, affecting the user experience.
By detecting the accessed external devices on the display device, setting up an HDMI channel, and a target page pops up for the user to select the target device that processes the key command, responding to the user's selection to control the display of the processed results of the target device.
Taking into account the key functions of external devices and display devices, avoid key failure and information obstruction, and improve user experience.
Smart Images

Figure CN115361572B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of display technology, and in particular to a display device, a key control method and a storage medium. Background Art
[0002] With the continuous development of science and technology, the functions of display devices are becoming more and more abundant, bringing great convenience to people's work and life.
[0003] In the prior art, by connecting an external device (such as a set-top box, a network box, and a DVD, etc.) to a display device, a user can watch the content of the external device through the display device. However, when using a control device (such as a remote control) of the display device to operate, after the display device receives a key command, one processing method is: the display device forwards the key command to the external device, and the external device processes it. This situation may cause the display device button to fail; another processing method is: the display device and the external device both process the key command. At this time, the information after the key command is processed by both is displayed on the page of the display device, and there may be an occlusion problem, resulting in incomplete information display. Both of the above methods will cause inconvenience to the user and reduce the user experience. Summary of the invention
[0004] In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides a display device, a key control method and a storage medium. By allowing the user to determine the target device for processing key commands, the key functions of the external device and the display device can be taken into account to meet the user's operations, avoid key failure or obstruction, and improve the user experience.
[0005] In a first aspect, the present disclosure provides a display device, the display device comprising:
[0006] The controller is configured to: detect that an external device is connected, and set the channel of the display device to a high-definition multimedia interface HDMI channel connected to the external device;
[0007] receiving a key instruction for a first key sent by a control device of the display device, and controlling a display of the display device to pop up a target page, wherein the target page includes prompt information, and the prompt information is used to instruct a user to select a target device for processing the key instruction from the external device and the display device;
[0008] In response to the operation of selecting the target device, the display is controlled to display a corresponding processing result after the target device processes the key instruction.
[0009] As an optional implementation of the embodiment of the present disclosure, the target device is a display device;
[0010] The controller is specifically configured as follows:
[0011] In response to the operation of selecting the target device, the display is controlled to display a first processing result corresponding to the key instruction processed by the display device.
[0012] As an optional implementation of the embodiment of the present disclosure, the target device is an external device;
[0013] The controller is specifically configured as follows:
[0014] In response to an operation of selecting the target device, sending the key instruction to the external device;
[0015] The display is controlled to display a second processing result corresponding to the external device processing the key instruction.
[0016] As an optional implementation of the embodiment of the present disclosure, the controller is specifically configured as follows:
[0017] It is detected that the external device is connected, it is determined that the external device is in a powered-on state, and in response to a trigger operation of the second button by the user, the channel of the display device is set to the HDMI channel to which the external device is connected.
[0018] As an optional implementation of the embodiment of the present disclosure, the controller is further configured as follows:
[0019] Detecting that the external device is connected, determining that the external device is switched from a power-off state to a power-on state, and obtaining an HDMI channel to which the external device is connected;
[0020] A channel jump instruction sent by the external device is received, and according to the channel jump instruction, a channel of the display device is set to be an HDMI channel to which the external device is connected.
[0021] As an optional implementation of the embodiment of the present disclosure, the target device is an external device;
[0022] The controller is specifically configured as follows:
[0023] In response to the operation of selecting the target device, the HDMI control service of the display device is called, and the key instruction is sent to the external device.
[0024] As an optional implementation of the embodiment of the present disclosure, the controller is further configured as follows:
[0025] The connection of the external device is detected, the HDMI channel to which the external device is connected is determined through the TV input framework TIF provided by the operating system of the display device, and the channel of the display device is set to the HDMI channel to which the external device is connected.
[0026] In a second aspect, the present disclosure provides a key control method, comprising:
[0027] Upon detecting that an external device is connected, setting a channel of the display device to a high-definition multimedia interface HDMI channel connected to the external device;
[0028] receiving a key instruction for a first key sent by a control device of the display device, and controlling a display of the display device to pop up a target page, wherein the target page includes prompt information, and the prompt information is used to instruct a user to select a target device for processing the key instruction from the external device and the display device;
[0029] In response to the operation of selecting the target device, the display is controlled to display a corresponding processing result after the target device processes the key instruction.
[0030] As an optional implementation of the embodiment of the present disclosure, the target device is a display device;
[0031] In response to the operation of selecting the target device, controlling the display to display a processing result corresponding to the key instruction processed by the target device includes:
[0032] In response to the operation of selecting the target device, the display is controlled to display a first processing result corresponding to the key instruction processed by the display device.
[0033] As an optional implementation of the embodiment of the present disclosure, the target device is an external device;
[0034] In response to the operation of selecting the target device, controlling the display to display a processing result corresponding to the key instruction processed by the target device includes:
[0035] In response to an operation of selecting the target device, sending the key instruction to the external device;
[0036] The display is controlled to display a second processing result corresponding to the external device processing the key instruction.
[0037] As an optional implementation of the embodiment of the present disclosure, the detecting that an external device is connected and setting the channel of the display device to a high-definition multimedia interface HDMI channel connected to the external device includes:
[0038] It is detected that the external device is connected, it is determined that the external device is in a powered-on state, and in response to a trigger operation of the second button by the user, the channel of the display device is set to the HDMI channel to which the external device is connected.
[0039] As an optional implementation of the embodiment of the present disclosure, the method further includes:
[0040] Detecting that the external device is connected, determining that the external device is switched from a power-off state to a power-on state, and obtaining an HDMI channel to which the external device is connected;
[0041] A channel jump instruction sent by the external device is received, and according to the channel jump instruction, a channel of the display device is set to be an HDMI channel to which the external device is connected.
[0042] As an optional implementation of the embodiment of the present disclosure, the target device is an external device;
[0043] In response to the operation of selecting the target device, sending the key instruction to the external device includes:
[0044] In response to the operation of selecting the target device, the HDMI control service of the display device is called, and the key instruction is sent to the external device.
[0045] As an optional implementation of the embodiment of the present disclosure, the method further includes:
[0046] The connection of the external device is detected, the HDMI channel to which the external device is connected is determined through the TV input framework TIF provided by the operating system of the display device, and the channel of the display device is set to the HDMI channel to which the external device is connected.
[0047] In a third aspect, the present disclosure provides a computer-readable storage medium, including: a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the key control method shown in the second aspect is implemented.
[0048] In a fourth aspect, the present disclosure provides a computer program product, comprising: when the computer program product is run on a computer, the computer implements the key control method shown in the second aspect.
[0049] Compared with the prior art, the technical solution provided by the embodiment of the present disclosure has the following advantages: first, it is detected that an external device is connected, and the channel of the display device is set to the HDMI channel to which the external device is connected; then, a key instruction for a first key sent by a control device of the display device is received, and the display of the display device is controlled to pop up a target page, wherein the target page includes prompt information, and the prompt information is used to instruct the user to select a target device for processing the key instruction from the external device and the display device; finally, in response to the operation of selecting the target device, the display is controlled to display the corresponding processing result after the target device processes the key instruction. In the above technical solution, the target device for processing the key instruction is determined by the user, so that the key functions of the external device and the display device can be taken into account, the user's operation can be met, the problem of key failure or obstruction can be avoided, and the user experience is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0051] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0052] Figure 1A A schematic diagram of an operation scenario between a display device, an external device, and a control device according to one or more embodiments of the present disclosure;
[0053] Figure 1B A schematic diagram of a key control method in the prior art;
[0054] Figure 1C A schematic diagram of an interface display when another key control method in the prior art has an occlusion problem;
[0055] Figure 2 is a hardware configuration block diagram of a control device 100 according to one or more embodiments of the present disclosure;
[0056] Figure 3A is a hardware configuration block diagram of a display device 200 according to one or more embodiments of the present disclosure;
[0057] Figure 3B A schematic diagram of software configuration in a display device 200 according to one or more embodiments of the present disclosure;
[0058] Figure 3CA schematic diagram showing an icon control interface of an application in a display device 200 according to one or more embodiments of the present disclosure;
[0059] Figure 4A A system framework diagram for key control according to one or more embodiments of the present disclosure;
[0060] Figure 4B A schematic diagram of a key control system according to one or more embodiments of the present disclosure;
[0061] Figure 5A A flowchart of a key control method provided by an embodiment of the present disclosure;
[0062] Figure 5B A schematic diagram of the principle of a key control method provided by an embodiment of the present disclosure;
[0063] Figure 5C A schematic diagram of a target page provided by an embodiment of the present disclosure;
[0064] Fig. 6A A flowchart of another key control method provided by an embodiment of the present disclosure;
[0065] Figure 6B A schematic diagram of another key control method provided by an embodiment of the present disclosure;
[0066] Figure 6C A schematic diagram of a page of a first processing result provided by an embodiment of the present disclosure;
[0067] Fig.6D A schematic diagram of a page of a second processing result provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0068] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.
[0069] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.
[0070] The terms "first" and "second" in this disclosure are used to distinguish different objects rather than to describe a specific order of objects. For example, a first processing result and a second processing result are used to distinguish different processing results rather than to describe a specific order of processing results.
[0071] The external device mainly refers to a device that can be connected to the display device to achieve the purpose of surfing the Internet, watching online TV programs or playing digital video discs. Generally, the external device can be a set-top box, a DVD, and network boxes of various brands. The specific type of the external device is not limited in the embodiments of the present disclosure. Through the interaction between the external device and the display device, the user can have a richer experience.
[0072] Currently, display devices of various brands generally support the key transmission function of Consumer Electronics Control (CEC). Through this key transmission function, the key information received by the display device can be transparently transmitted to the external device, so as to achieve the function of controlling the corresponding keys of the external device, such as controlling the play, pause, up, down, left, right and other keys of the external device.
[0073] Figure 1A FIG. 1 is a schematic diagram of an operation scenario among a display device, an external device, and a control device according to one or more embodiments of the present disclosure. Figure 1A As shown, the external device 201 is connected to the display device 200, and the user can watch the content in the external device 201 through the display device 200. The external device 201 can be controlled using the control device (such as a remote controller) 100 of the display device.
[0074] Figure 1B FIG. 1 is a schematic diagram of a key control method in the prior art. Figure 1B As shown, the display device detects that an external device is connected, and the channel of the display device is a High Definition Multimedia Interface (HDMI) channel to which the external device is connected. When the display device receives a key command sent by a control device of the display device, it directly forwards the key command to the external device, which processes the key command. This method may cause the display device buttons to fail.
[0075] Another key control method is: the display device detects that an external device is connected, and the channel of the display device is the HDMI channel to which the external device is connected. When the display device receives a key command sent by the control device of the display device, both the display device and the external device will process the key command. At this time, the information after both devices process the key command is displayed on the page of the display device. Occlusion problems may occur, resulting in incomplete information display.
[0076] For example, Figure 1C FIG. 1 is a schematic diagram of an interface display when another key control method in the prior art has an occlusion problem. Figure 1CAs shown in the figure: when external device A is connected to the display device, and the channel of the display device is the HDMI channel connected to the external device A, the display of the display device displays the screen of the external device. When the display device and the external device both process the received key command, the first processing result after the display device processes the key command is: XXXX; the second processing result after the external device A processes the key command is: XX page, from Figure 1C It can be seen that when the first processing result and the second processing result are displayed at the same time, an occlusion problem occurs, resulting in incomplete information display, thereby affecting the user experience.
[0077] In order to solve the above problems, an embodiment of the present disclosure proposes a key control method, first, the controller of the display device detects that an external device is connected, and sets the channel of the display device to the HDMI channel to which the external device is connected, then the controller receives a key instruction for a first key sent by the control device of the display device, and controls the display of the display device to pop up a target page, wherein the target page includes prompt information, and the prompt information is used to instruct the user to select a target device for processing the key instruction from the external device and the display device, and finally the controller responds to the operation of selecting the target device and controls the display to display the corresponding processing result after the target device processes the key instruction. In the above technical scheme, the target device for processing the key instruction is determined by the user, so that the key functions of the external device and the display device can be taken into account, the user's operation can be met, the problem of key failure or obstruction can be avoided, and the user experience is improved.
[0078] In some embodiments, the control device 100 may be a remote controller, and the communication between the remote controller and the display device 200 may include infrared protocol communication, Bluetooth protocol communication, wireless or other wired methods, etc., and the display device 200 can be controlled through the above communication methods. The user can input user commands through buttons on the remote controller, voice input, and control panel input to control the display device 200 or the external device 201.
[0079] In some embodiments, a mobile terminal, a tablet computer, a computer, a laptop computer, and other smart devices may also be used to control the display device 200 .
[0080] In some embodiments, the display device 200 may not use the above-mentioned smart device or control device to receive instructions, but may receive user control through touch or gestures.
[0081] In some embodiments, the display device 200 can also be controlled in ways other than control devices and smart devices. For example, the user's voice command control can be directly received through a module for obtaining voice commands configured inside the display device 200, or the user's voice command control can be received through a voice control device set outside the display device 200.
[0082] In some embodiments, the mobile terminal can install software applications with the display device 200, and realize connection communication through the network communication protocol to achieve the purpose of one-to-one control operation and data communication. The audio and video content displayed on the mobile terminal can also be transmitted to the display device 200 to realize the synchronous display function. The display device 200 can also communicate data with the server through a variety of communication methods, allowing the display device 200 to communicate and connect through a local area network (LAN), a wireless local area network (WLAN) and other networks. The server can be a cluster or multiple clusters, and can include one or more types of servers. The server can provide various content and interactions to the display device 200. The display device 200 can be a liquid crystal display, an OLED display or a projection display device. In addition to providing a broadcast receiving television function, the display device 200 can also provide an intelligent network TV function that provides a computer support function.
[0083] Figure 2 FIG. 1 is a block diagram of a hardware configuration of a control device 100 according to one or more embodiments of the present disclosure. Figure 2 As shown, the control device includes a controller 110, a communication interface 130, a user input / output interface 140, a memory, and a power supply. The control device can receive the user's input operation instructions, and convert the operation instructions into instructions that the display device 200 can recognize and respond to, and play the role of an interactive intermediary between the user and the display device 200. The communication interface 130 is used to communicate with the outside, and includes at least one of a WIFI chip, a Bluetooth module, NFC or an alternative module. The user input / output interface 140 includes at least one of a microphone, a touchpad, a sensor, a button or an alternative module.
[0084] Figure 3A FIG. 2 is a block diagram of a hardware configuration of a display device 200 according to one or more embodiments of the present disclosure. Figure 3AThe display device 200 shown includes at least one of a tuner 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a memory, a power supply, and a user interface (i.e., a user input interface) 280. The controller 250 includes a central processing unit, a video processor, an audio processor, a graphics processor, a RAM, a ROM, and a first interface to an nth interface for input / output. The display 260 can be at least one of a liquid crystal display, an OLED display, a touch display, and a projection display, and can also be a projection device and a projection screen. The tuner 210 receives broadcast television signals by wired or wireless reception, and demodulates audio and video signals from multiple wireless or wired broadcast television signals, such as and EPG data signals. The communicator 220 is a component for communicating with an external device or server according to various communication protocol types. For example: the communicator can include other network communication protocol chips or near field communication protocol chips such as Wifi modules, Bluetooth modules, wired Ethernet modules, and at least one of infrared receivers. The display device 200 can establish the transmission and reception of control signals and data signals with the external control device 100 or the server 400 through the communicator 220. The detector 230 is used to collect signals of the external environment or the external interaction. The controller 250 and the tuner 210 can be located in different split devices, that is, the tuner 210 can also be in an external device of the main device where the controller 250 is located, such as an external set-top box. The user interface 280 can be used to receive control signals of a control device (such as an infrared remote controller, etc.).
[0085] In some embodiments, the controller 250 controls the operation of the display device and responds to the user's operation through various software control programs stored in the memory. The controller 250 controls the overall operation of the display device 200. The user can input a user command through a graphical user interface (GUI) displayed on the display 260, and the user input interface receives the user input command through the graphical user interface (GUI). Alternatively, the user can input a user command by inputting a specific sound or gesture, and the user input interface recognizes the sound or gesture through a sensor to receive the user input command.
[0086] In some embodiments, "user interface" is a medium interface for interaction and information exchange between an application or operating system and a user, which realizes the conversion between the internal form of information and the form acceptable to the user. The commonly used form of user interface is the graphical user interface (GUI), which refers to a user interface related to computer operation displayed in a graphical manner. It can be an interface element such as an icon, window, and control displayed on the display screen of an electronic device, where the control can include at least one of the visual interface elements such as icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets, etc.
[0087] Figure 3B FIG. 1 is a schematic diagram of software configuration in a display device 200 according to one or more embodiments of the present disclosure. Figure 3B As shown in the figure, the system is divided into four layers, from top to bottom, namely the application layer (Applications) layer (referred to as "application layer"), the application framework layer (Application Framework) layer (referred to as "framework layer"), the Android runtime (Android runtime) and system library layer (referred to as "system runtime library layer"), and the kernel layer.
[0088] In some embodiments, at least one application is running in the application layer, and these applications may be window programs, system settings programs, clock programs, etc. provided by the operating system, or applications developed by third-party developers. In specific implementations, the applications in the application layer include but are not limited to the above examples.
[0089] In some embodiments, the system runtime layer provides support for the upper layer, namely the framework layer. When the framework layer is used, the Android operating system will run the C / C++ library contained in the system runtime layer to implement the functions to be implemented by the framework layer.
[0090] In some embodiments, the kernel layer is a layer between hardware and software, and includes at least one of the following drivers: audio driver, display driver, Bluetooth driver, camera driver, WIFI driver, USB driver, HDMI driver, sensor driver (such as fingerprint sensor, temperature sensor, pressure sensor, etc.), and power driver, etc.
[0091] Figure 3C FIG. 1 is a schematic diagram showing an icon control interface of an application in a display device 200 according to one or more embodiments of the present disclosure. Figure 3CAs shown in , the application layer includes at least one application that can display corresponding icon controls in the display, such as: live TV application icon control, video on demand application icon control, media center application icon control, application center icon control, game application icon control, etc. Live TV application can provide live TV through different signal sources. Video on demand application can provide videos from different storage sources. Unlike live TV application, video on demand provides video display from certain storage sources. Media center application can provide applications for playing various multimedia content. Application center can provide storage for various applications.
[0092] In some embodiments, the display device is a terminal device with a display function, such as a television, a mobile phone, a computer, a learning machine, etc. In the display device:
[0093] An output interface (display 260 and / or audio output interface 270), configured to output user interaction information;
[0094] A communicator 220, used for communicating with a server;
[0095] The controller 250 is configured to: detect that an external device is connected, and set the channel of the display device to the high-definition multimedia interface HDMI channel connected to the external device;
[0096] receiving a key instruction for a first key sent by a control device of the display device, and controlling a display of the display device to pop up a target page, wherein the target page includes prompt information, and the prompt information is used to instruct a user to select a target device for processing the key instruction from the external device and the display device;
[0097] In response to the operation of selecting the target device, the display is controlled to display a corresponding processing result after the target device processes the key instruction.
[0098] In some embodiments, the target device is a display device;
[0099] The controller 250 is specifically configured as follows:
[0100] In response to the operation of selecting the target device, the display is controlled to display a first processing result corresponding to the key instruction processed by the display device.
[0101] In some embodiments, the target device is an external device;
[0102] The controller 250 is specifically configured as follows:
[0103] In response to an operation of selecting the target device, sending the key instruction to the external device;
[0104] The display is controlled to display a second processing result corresponding to the external device processing the key instruction.
[0105] In some embodiments, the controller 250 is specifically configured to:
[0106] It is detected that the external device is connected, it is determined that the external device is in a powered-on state, and in response to a trigger operation of the second button by the user, the channel of the display device is set to the HDMI channel to which the external device is connected.
[0107] In some embodiments, the controller 250 is further configured to:
[0108] Detecting that the external device is connected, determining that the external device is switched from a power-off state to a power-on state, and obtaining an HDMI channel to which the external device is connected;
[0109] A channel jump instruction sent by the external device is received, and according to the channel jump instruction, a channel of the display device is set to be an HDMI channel to which the external device is connected.
[0110] In some embodiments, the target device is an external device;
[0111] The controller 250 is specifically configured as follows:
[0112] In response to the operation of selecting the target device, the HDMI control service of the display device is called, and the key instruction is sent to the external device.
[0113] In some embodiments, the controller 250 is further configured to:
[0114] The connection of the external device is detected, the HDMI channel to which the external device is connected is determined through the TV input framework TIF provided by the operating system of the display device, and the channel of the display device is set to the HDMI channel to which the external device is connected.
[0115] In summary, the present disclosure executes the above-mentioned key control method on a display device. First, the controller of the display device detects that an external device is connected, and sets the channel of the display device to the HDMI channel to which the external device is connected. Then, the controller receives a key instruction for a first key sent by the control device of the display device, and controls the display of the display device to pop up a target page. The target page includes prompt information, and the prompt information is used to instruct the user to select a target device for processing the key instruction from the external device and the display device. Finally, the controller responds to the operation of selecting the target device and controls the display to display the corresponding processing result after the target device processes the key instruction. In the above-mentioned technical scheme, the target device for processing the key instruction is determined by the user, so that the key functions of the external device and the display device can be taken into account, the user's operation can be met, the key failure or obstruction problem can be avoided, and the user experience is improved.
[0116] Figure 4A FIG. 1 is a system framework diagram for key control according to one or more embodiments of the present disclosure, such as Figure 4A As shown, the system may include a channel setting module 401, a control module 402 and a display module 403. The system detects that an external device is connected. First, the channel setting module 401 sets the channel of the display device to the HDMI channel to which the external device is connected. Then, after receiving the key command for the first key sent by the control device of the display device, the control module 402 controls the display of the display device to pop up a target page. The target page includes prompt information. The prompt information is used to instruct the user to select a target device for processing the key command from the external device and the display device. Finally, the display module 403 responds to the operation of selecting the target device and controls the display to display the corresponding processing result after the target device processes the key command. In the above technical solution, the target device for processing the key command is determined by the user, so that the key functions of the external device and the display device can be taken into account, the user's operation can be met, the key failure or occlusion problem can be avoided, and the user experience is improved.
[0117] Figure 4B FIG. 1 is an architecture diagram for key control according to one or more embodiments of the present disclosure. Based on the above system framework, the present disclosure is implemented in the Android system as follows: Figure 4B As shown, the Android system mainly includes an application layer, a framework layer, a system runtime layer and a kernel layer. The implementation logic is mainly reflected in the application layer, which includes a channel setting module, a control module and a display module. The function of each module has been described in detail in the above embodiments. In order to avoid repetition, it will not be repeated here.
[0118] In the key control method provided in the embodiment of the present disclosure, the controller of the display device detects that an external device is connected, and sets the channel of the display device to the HDMI channel to which the external device is connected. Then, the controller receives a key instruction for a first key sent by the control device of the display device, and controls the display of the display device to pop up a target page, wherein the target page includes prompt information, and the prompt information is used to instruct the user to select a target device for processing the key instruction from the external device and the display device. Finally, in response to the operation of selecting the target device, the controller controls the display to display the corresponding processing result after the target device processes the key instruction. In the above technical scheme, the target device for processing the key instruction is determined by the user, and the key functions of the external device and the display device can be taken into account to meet the user's operation, avoid the problem of key failure or occlusion, and improve the user experience. In order to explain this scheme in more detail, the following will be combined in an exemplary manner. Figure 5A To explain, it is understandable that Figure 5A The steps involved may include more steps or fewer steps in actual implementation, and the order of these steps may also be different, subject to the key control method provided in the embodiment of the present disclosure being implemented, and the embodiment of the present disclosure is not limited thereto.
[0119] Figure 5A A flowchart of a key control method provided by an embodiment of the present disclosure is shown in FIG. Figure 5B The schematic diagram of the principle of a key control method provided by an embodiment of the present disclosure is shown in FIG. This embodiment is applicable to the case where a display device processes a key command when receiving a key command sent by a control device. Figure 5A As shown, the key control method specifically includes the following steps:
[0120] S510: Detecting that an external device is connected, setting a channel of the display device to an HDMI channel to which the external device is connected.
[0121] Among them, the external device mainly refers to a device that can be connected to a display device to achieve the purpose of surfing the Internet, watching online TV programs or playing digital video discs. Generally, the external device can be a set-top box, a DVD, and network boxes of various brands, etc. The specific type of the external device is not limited in the embodiments of the present disclosure. HDMI is a fully digital video and sound transmission interface that can send uncompressed audio and video signals. HDMI can be used for set-top boxes, DVD players, personal computers, TVs, game consoles, integrated amplifiers, digital audio and TVs, etc.
[0122] Specifically, when an external device is connected to the display device, the controller of the display device can detect that the display device is currently connected to the external device, and set the channel of the display device to the HDMI channel to which the external device is connected. At this time, the picture displayed on the display of the display device is the picture of the external device.
[0123] S520, receiving a key instruction for a first key sent by a control device of the display device, controlling the display of the display device to pop up a target page, wherein the target page includes prompt information, and the prompt information is used to instruct the user to select a target device for processing the key instruction from an external device and a display device.
[0124] Among them, the control device of the display device can be understood as a remote control corresponding to the display device or other devices that can control the display device through the CEC function. The target page can be understood as an interactive (Dialog) page with prompt information. The first button can be understood as a button that can be processed by both the external device and the display device. The first button is a button included in the control device of the display device, for example, an INFO (Information) button, a PICTURE (Image Setting) button or a SOUND (Sound Setting) button, etc. This embodiment does not specifically limit the first button.
[0125] Specifically, when the user wants to control the display device or the external device, the purpose can be achieved by operating the control device of the display device. Therefore, when the user presses the first button included in the control device of the display device, the controller of the display device can receive the key command for the first button sent by the control device of the display device, and control the display of the display device to pop up the target page, which includes prompt information. Through the prompt information, the user can be instructed to select the target device for processing the key command from the external device and the display device, thereby giving the user sufficient prompts and selection rights, allowing the user to independently choose whether the key command is processed by the display device, or forwarded to the external device for processing by the external device, so as to avoid the failure of the display device button due to the processing by the external device, or the occlusion problem caused by the simultaneous processing of the external device and the display device.
[0126] S530, in response to the operation of selecting the target device, controlling the display to display the corresponding processing result after the target device processes the key instruction.
[0127] Specifically, the user can select a target device for processing key commands from external devices and display devices by operating the control device or voice control according to the prompt information in the target page. After the user selects the target device, the key commands are processed by the target device accordingly. Then, the controller of the display device responds to the user's operation of selecting the target device and can control the display to display the corresponding processing results after the target device processes the key commands.
[0128] For example, Figure 5C A schematic diagram of a target page provided by an embodiment of the present disclosure. Figure 5C As shown, external device A is connected to the display device, and the prompt information in the target page is: Both external device A and the display device will process key commands, please select the target device that processes key commands. There are two options below the prompt information: external device A and display device. Through this target page, the user can be prompted to select the target device that processes key commands from the external device and the display device, avoiding the problem in the prior art that the key commands are processed by the external device, which may cause the display device key to fail, or the occlusion problem that occurs when the display device and the external device jointly process the key commands.
[0129] In some embodiments, the detecting that an external device is connected and setting the channel of the display device to a high-definition multimedia interface HDMI channel connected to the external device may specifically include:
[0130] It is detected that the external device is connected, it is determined that the external device is in a powered-on state, and in response to a trigger operation of the second button by the user, the channel of the display device is set to the HDMI channel to which the external device is connected.
[0131] The second button may be an INPUT button.
[0132] Specifically, the controller of the display device detects that an external device is connected and determines that the external device is in a powered-on state. The user triggers a second button in the control device to call out the second button. Accordingly, the controller of the display device responds to the user's triggering operation on the second button and can directly select the HDMI channel to which the external device is connected, that is, the channel of the display device is set to the HDMI channel to which the external device is connected.
[0133] In this embodiment, the channel of the display device is set as the HDMI channel to which the external device is connected by the above method, which is simple and convenient and is conducive to the smooth progress of subsequent processes.
[0134] In some embodiments, the detecting that an external device is connected and setting the channel of the display device to a high-definition multimedia interface HDMI channel connected to the external device may further specifically include:
[0135] Detecting that the external device is connected, determining that the external device is switched from a power-off state to a power-on state, and obtaining an HDMI channel to which the external device is connected;
[0136] A channel jump instruction sent by the external device is received, and according to the channel jump instruction, a channel of the display device is set to be an HDMI channel to which the external device is connected.
[0137] Specifically, if the external device is in the off state, when the external device is connected to the display device, the user turns on the external device. Accordingly, the controller of the display device can obtain the HDMI channel connected to the external device after detecting the connection of the external device and determining that the external device is switched from the off state to the on state. At the same time, after the external device is in the on state, it can also obtain the HDMI channel connected to itself by reading the physical address reported by the extended display identification data (EDID). The external device sends a channel jump instruction to the display device, and then the controller of the display device can receive the channel jump instruction sent by the external device, and according to the channel jump instruction, set the channel of the display device to the HDMI channel connected to the external device.
[0138] In this embodiment, by receiving a channel jump instruction sent by an external device and according to the channel jump instruction, the channel of the display device can be set to the HDMI channel to which the external device is connected. This is another channel setting method, which can expand the channel setting method and ensure that various situations are covered, which is conducive to the smooth progress of subsequent processes.
[0139] In some embodiments, setting the channel of the display device to a high-definition multimedia interface HDMI channel to which the external device is connected may further specifically include:
[0140] The connection of the external device is detected, the HDMI channel to which the external device is connected is determined through the TV input framework TIF provided by the operating system of the display device, and the channel of the display device is set to the HDMI channel to which the external device is connected.
[0141] Among them, TV Input Framework (TIF) is a set of standard application programming interfaces (Application Program Interface, API) provided by Android system for TV (TV) manufacturers. TIF is mainly used to create TvInput module to control TV with Android system, and provide system signal source management. The corresponding system service is TvInputManagerService (TV input management service). HDMITvInputService (High Definition Multimedia Interface TV Input Management Service) is a signal control service for controlling HDMI channels provided by TV manufacturers. It can provide identification registration, creation, control and destruction of HDMI channels, etc. It starts running after the TV system is started. The operating system of the display device can be Android system.
[0142] Correspondingly, after the external device is connected to the display device, the display device automatically turns on the CEC Control function by default. If the CEC function is not turned on, you can set CEC Control to on and TV autopower on to on in Settings. At the same time, the external device is connected to the display device via an HDMI cable. When TV auto power on is set to on, HDMI is connected to the signal source (external device, such as DVD), and the signal source and display device are both turned off. When the signal source is turned on, the display device automatically turns on and switches to the HDMI channel.
[0143] Therefore, when the controller of the display device detects that an external device is connected, the HDMI channel to which the external device is connected can be determined through the TIF provided by the operating system of the display device, and the channel of the display device can be directly set to the HDMI channel to which the external device is connected.
[0144] In this example, the channel of the display device is set by the above channel setting method, which is efficient and fast, and is conducive to the smooth progress of subsequent processes.
[0145] In some embodiments, the physical channels of the display device in the TIF may include Tuner (Tv channel, i.e., the channel connected to the signal line of the display device), HDMI channel, and Composite channel (AV channel, i.e., the channel connected to the yellow, white, and red lines), etc. Each channel corresponds to a unique string inputId (input identifier) as the unique identifier of the channel. Among them, the HDMI channel is special. When an external device (such as a DVD, a box, etc.) is inserted into the HDMI port, the external device will be added to the channel list as a sub-channel (i.e., the external device name, CEC Name), and after the external device is inserted into the HDMI port, the Android system will receive a notification from the underlying hardware, and the external device will be automatically added to the channel list. At the same time, the sub-channel will disappear after the external device is unplugged to avoid being displayed all the time.
[0146] Fig. 6A A flowchart of another key control method provided by an embodiment of the present disclosure is shown in FIG. Figure 6B The schematic diagram of another key control method provided by the embodiment of the present disclosure is a principle diagram. This embodiment is optimized on the basis of the above embodiment. Optionally, this embodiment can be applied to the process of controlling the display to display the corresponding processing result after the target device processes the key command when the target device is a display device and an external device respectively. Fig. 6A As shown, the key control method specifically includes the following steps:
[0147] S610: Detecting that an external device is connected, setting a channel of the display device to an HDMI channel to which the external device is connected.
[0148] S620, receiving a key instruction for a first key sent by a control device of the display device, controlling the display of the display device to pop up a target page, wherein the target page includes prompt information, and the prompt information is used to instruct the user to select a target device for processing the key instruction from an external device and a display device.
[0149] S630: Determine whether the target device is a display device.
[0150] If yes, execute S640; if no, execute S650-S660.
[0151] Specifically, the user can select a target device for processing key commands from external devices and display devices by operating the control device or voice control according to the prompt information in the target page. After the user selects the target device, the controller of the display device needs to determine whether the target device is a display device.
[0152] S640, in response to the operation of selecting the target device, controlling the display to display a first processing result corresponding to the key instruction processed by the display device.
[0153] Specifically, if the target device is a display device, the key instruction is processed by the display device. Accordingly, the controller of the display device directly controls the display to display a first processing result corresponding to the key instruction processed by the display device in response to the operation of selecting the target device.
[0154] Exemplarily, if the first button is an INFO button, after receiving a button instruction for the INFO button, the display device will respond to the button instruction and control the display to display the channel information of the HDMI channel of the display device.
[0155] For example, Figure 6C This is a schematic diagram of a page of the first processing result provided by an embodiment of the present disclosure. Figure 6C As shown, the external device A is connected to the display device, and the display of the display device displays: when the target device is the display device, the first processing result corresponding to the key instruction processed by the display device: XX information.
[0156] S650: In response to the operation of selecting the target device, the key instruction is sent to the external device.
[0157] Specifically, if the target device is an external device, the key instruction is processed by the external device. Accordingly, the controller of the display device sends the key instruction to the external device in response to the operation of selecting the target device, so that the external device can process the key instruction after receiving the key instruction.
[0158] S660, controlling the display to display a second processing result corresponding to the key instruction processed by the external device.
[0159] After receiving the key command, the external device processes the key command, and accordingly, the controller of the display device controls the display of the display device to display the second processing result corresponding to the key command processed by the external device.
[0160] Exemplarily, if the first button is an INFO button, after receiving the button instruction for the INFO button, the display device will send the button instruction to the external device. After the external device responds to the button instruction, it will control the display to display the information of the external device.
[0161] For example, Fig.6D This is a schematic diagram of a page of a second processing result provided by an embodiment of the present disclosure. Fig.6D As shown, the external device A is connected to the display device, and the display of the display device displays: when the target device is the external device A, the second processing result corresponding to the key instruction processed by the external device: XX page.
[0162] In this embodiment, the controller of the display device first detects that an external device is connected, sets the channel of the display device to the HDMI channel to which the external device is connected, then receives a key instruction for a first key sent by the control device of the display device, controls the display of the display device to pop up a target page, and the target page includes prompt information, the prompt information is used to instruct the user to select a target device for processing the key instruction from the external device and the display device, and then determines whether the target device is a display device. If the target device is a display device, then in response to the operation of selecting the target device, the display is controlled to display a first processing result corresponding to the display device processing the key instruction; if the target device is an external device, then in response to the operation of selecting the target device, the key instruction is sent to the external device, and the display is controlled to display a second processing result corresponding to the external device processing the key instruction. In the above scheme, the target device is selected through the user's operation, and when the target devices are the display device and the external device respectively, the display displays the corresponding processing result after the target device processes the key instruction. This is not only comprehensive, but also can take into account the key functions of the external device and the display device, meet the user's operation, avoid the problem of key failure or obstruction, and is conducive to improving the user's usage experience and satisfaction.
[0163] In some embodiments, the target device is an external device; in response to the operation of selecting the target device, sending the key instruction to the external device may specifically include:
[0164] In response to the operation of selecting the target device, the HDMI control service of the display device is called, and the key instruction is sent to the external device.
[0165] Specifically, after the HDMITvInputService service is started, the underlying hardware device will report the physical channel information through onHardwareAdded or onHdmiDeviceAdded. HDMIControlService (HDMI control service) is a service of the Android system, which is responsible for CEC-related functions and is also started when the display device is started. After the external device is connected to the display device, HDMITvInputService will receive the HDMI channel information reported by onHdmiDeviceAdded. If the external device supports the CEC function, the HDMIControlService is obtained through HDMITvClinet. At this time, the key instructions received by the display device can be sent to the external device through HDMIControlService. Therefore, when the target device is an external device, the controller of the display device responds to the operation of selecting the target device, and can send the key instructions to the external device by calling the HDMI control service (HDMIControlService) of the display device, so that the external device can process the key instructions after receiving the key instructions.
[0166] In this embodiment, the key command is sent to the external device by the above method, which is simple, efficient and fast, and is conducive to the smooth progress of the subsequent process.
[0167] In summary, the present disclosure executes the above-mentioned key control method on a display device. First, the controller of the display device detects that an external device is connected, and sets the channel of the display device to the HDMI channel to which the external device is connected. Then, the controller receives a key instruction for a first key sent by the control device of the display device, and controls the display of the display device to pop up a target page. The target page includes prompt information, and the prompt information is used to instruct the user to select a target device for processing the key instruction from the external device and the display device. Finally, the controller responds to the operation of selecting the target device and controls the display to display the corresponding processing result after the target device processes the key instruction. In the above-mentioned technical scheme, the target device for processing the key instruction is determined by the user, so that the key functions of the external device and the display device can be taken into account, the user's operation can be met, the key failure or obstruction problem can be avoided, and the user experience is improved.
[0168] An embodiment of the present disclosure provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the various processes of the above-mentioned key control method are implemented and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0169] The computer readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0170] The present disclosure provides a computer program product, including: when the computer program product is run on a computer, the computer is enabled to implement the above-mentioned key control method.
[0171] For the convenience of explanation, the above description has been made in conjunction with specific embodiments. However, the above discussion in some embodiments is not intended to be exhaustive or limit the embodiments to the specific forms disclosed above. According to the above teachings, various modifications and variations can be obtained. The selection and description of the above embodiments are to better explain the principles and practical applications, so that those skilled in the art can better use the embodiments and various different variations of the embodiments suitable for specific use considerations.
Claims
1. A display device, characterized in that: include: The controller is configured to: detect that an external device is connected, and set the channel of the display device to a high-definition multimedia interface HDMI channel connected to the external device; receiving a key instruction for a first key sent by a control device of the display device, and controlling a display of the display device to pop up a target page, wherein the target page includes prompt information, and the prompt information is used to instruct a user to select a target device for processing the key instruction from the external device and the display device; When the target device is a display device, in response to an operation of selecting the target device, controlling the display to display a first processing result corresponding to the key instruction processed by the display device; When the target device is an external device, in response to an operation of selecting the target device, the key instruction is sent to the external device; and the display is controlled to display a second processing result corresponding to the external device processing the key instruction.
2. The display device according to claim 1, characterized in that The controller is specifically configured as follows: It is detected that the external device is connected, it is determined that the external device is in a powered-on state, and in response to a trigger operation of the second button by the user, the channel of the display device is set to the HDMI channel to which the external device is connected.
3. The display device according to claim 1, characterized in that The controller is further configured to: Detecting that the external device is connected, determining that the external device is switched from a power-off state to a power-on state, and obtaining an HDMI channel to which the external device is connected; A channel jump instruction sent by the external device is received, and according to the channel jump instruction, a channel of the display device is set to be an HDMI channel to which the external device is connected.
4. The display device according to claim 1, characterized in that The target device is an external device; The controller is specifically configured as follows: In response to the operation of selecting the target device, the HDMI control service of the display device is called to send the key instruction to the external device.
5. The display device according to any one of claims 1 to 4, characterized in that: The controller is further configured to: The connection of the external device is detected, the HDMI channel to which the external device is connected is determined through the TV input framework TIF provided by the operating system of the display device, and the channel of the display device is set to the HDMI channel to which the external device is connected.
6. A key control method, characterized in that: include: Upon detecting that an external device is connected, setting the channel of the display device to the high-definition multimedia interface HDMI channel connected to the external device; receiving a key instruction for a first key sent by a control device of the display device, and controlling a display of the display device to pop up a target page, wherein the target page includes prompt information, and the prompt information is used to instruct a user to select a target device for processing the key instruction from the external device and the display device; When the target device is a display device, in response to an operation of selecting the target device, controlling the display to display a first processing result corresponding to the key instruction processed by the display device; When the target device is an external device, in response to an operation of selecting the target device, the key instruction is sent to the external device; and the display is controlled to display a second processing result corresponding to the external device processing the key instruction.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method as claimed in claim 6 is implemented.
Citation Information
Patent Citations
Remote control method and remote control apparatus
CN101521729A
