Television control method and device, equipment and storage medium

By judging and identifying the view of applications that are not adapted to the remote control of the smart TV, the problem of inability to operate through the remote control is solved, and effective remote control of the unadapted applications is achieved, improving the user experience.

CN120281973APending Publication Date: 2025-07-08SHENZHEN CULTRAVIEW DIGITAL TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510398591.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-31
Publication Date
2025-07-08

AI Technical Summary

Technical Problem

In the prior art, although applications on smart TVs can be installed, they cannot be operated through the TV remote control, affecting the user experience.

Method used

Use the remote control signal of the remote control to determine whether the application displayed in the TV is an unadapted target application, identify the view in its display window, and select the adapted view as the remote control focus for display.

Benefits of technology

It realizes effective remote control operation for applications that do not adapt to the remote control, meets users' operating needs for using TV remote control and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120281973A_ABST
    Figure CN120281973A_ABST
Patent Text Reader

Abstract

The invention is suitable for the field of display control, and provides a television control method and device, equipment and a storage medium, and the method comprises the steps: judging whether an application program displayed in a television is a target application program which is not adaptive to a remote controller or not based on a first remote control signal of the remote controller; if it is judged that the currently displayed application program is the target application program not matched with the remote controller, multiple views contained in a current display window of the target application program are recognized, and a first target view matched with the first remote control signal is selected from the multiple views; and overlapping the first target view with a view effect and then displaying the first target view as a remote control focus. According to the scheme, a user can realize effective remote control operation on the application program which is not adaptive to the remote controller, and the user experience is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of display control, and particularly relates to a television control method, apparatus, device, and storage medium. Background Art

[0002] Operating a smart TV using a TV remote control is one of its basic functions. There are a large number of applications (Apps) supported by smart TVs. However, a large number of these applications are only adapted to the local operations of mobile phones or tablets and are not adapted to the operation mode of the TV remote control. As a result, although the applications can be installed on the smart TV, they cannot be operated through the TV remote control, which affects the user experience. Summary of the Invention

[0003] Embodiments of this application provide a television control method, apparatus, device, and storage medium to solve the problem in the prior art that although applications can be installed on a smart TV, they cannot be operated through the TV remote control, which affects the user experience.

[0004] The first aspect of the embodiments of this application provides a television control method, including:

[0005] Based on a first remote control signal of the remote control, determine whether the application program displayed on the TV is a target application program that is not adapted to the remote control;

[0006] If it is determined that the currently displayed application program is a target application program that is not adapted to the remote control, identify multiple views included in the current display window of the target application program, and select a first target view adapted to the first remote control signal from the multiple views;

[0007] Display the first target view after superimposing a view effect as a remote control focus.

[0008] The second aspect of the embodiments of this application provides a television control apparatus, including:

[0009] A judgment module, configured to determine, based on a first remote control signal of the remote control, whether the application program displayed on the TV is a target application program that is not adapted to the remote control;

[0010] An identification module, configured to, if it is determined that the currently displayed application program is a target application program that is not adapted to the remote control, identify multiple views included in the current display window of the target application program, and select a first target view adapted to the first remote control signal from the multiple views;

[0011] A display module, configured to display the first target view after superimposing a view effect as a remote control focus.

[0012] The third aspect of the embodiments of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the method described in the first aspect are implemented.

[0013] The fourth aspect of the embodiments of the present application provides a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.

[0014] The fifth aspect of the present application provides a computer program product, including computer-readable code or a non-volatile computer-readable storage medium carrying the computer-readable code. When the computer-readable code runs in an electronic device, the processor in the electronic device executes the steps of the method described in the first aspect above.

[0015] In the embodiments of the present application, based on the first remote control signal of the remote control, it is determined whether the application program displayed on the TV is a target application program that is not adapted to the remote control. When it is determined that the currently displayed application program is a target application program that is not adapted to the remote control, multiple views included in the current display window of the target application program are identified, a first target view adapted to the first remote control signal is selected from the multiple views, and the first target view is displayed as a remote control focus after being superimposed with a view effect. This solution can enable users to perform effective remote control operations on application programs that are not adapted to the TV remote control, meet the user's need to operate application programs using the TV remote control in the case where the application program is not adapted to the TV remote control operation, and ensure the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] By reading the following detailed description of the preferred embodiments, various other advantages and benefits will become clear to those of ordinary skill in the art. The drawings are only for the purpose of showing the preferred embodiments and are not considered to be a limitation of the present application. Moreover, in all the drawings, the same reference numerals are used to represent the same components. In the drawings:

[0017] Figure 1 is the flowchart of the TV control method in some embodiments of the present application Figure 1 ;

[0018] Figure 2 is the display schematic of the APP window in some embodiments of the present application Figure 1 ;

[0019] Figure 3 is the flowchart of the TV control method in some embodiments of the present application Figure 2 ;

[0020] Figure 4Schematic diagram of the display of the APP window in some embodiments of the present application Figure 2 ;

[0021] Figure 5 Block diagram of the TV control device in some embodiments of the present application;

[0022] Figure 6 Structural diagram of the electronic device provided by the embodiments of the present application. Detailed implementation manners

[0023] The embodiments of the technical solutions of the present application will be described in detail below with reference to the accompanying drawings. The following embodiments are only used to illustrate the technical solutions of the present application more clearly, so they are only examples and cannot be used to limit the protection scope of the present application.

[0024] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those of ordinary skill in the technical field to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" and any variations thereof in the specification and claims of this application and the above drawings are intended to cover non-exclusive inclusion.

[0025] In the description of the embodiments of the present application, technical terms such as "first" and "second" are only used to distinguish different objects and cannot be understood as indicating or implying relative importance or implicitly indicating the quantity, specific order or primary-secondary relationship of the indicated technical features. In the description of the embodiments of the present application, the meaning of "a plurality" is more than two unless otherwise specifically defined.

[0026] Referring to "embodiments" herein means that the specific features, structures or characteristics described in connection with the embodiments may be included in at least one embodiment of this application. The phrase appears in various places in the specification and does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art will explicitly and implicitly understand that the embodiments described herein may be combined with other embodiments.

[0027] In the description of the embodiments of the present application, the term "and / or" is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " in this article generally represents an "or" relationship between the associated objects before and after.

[0028] In order to illustrate the technical solutions described in this application, specific embodiments will be used for illustration below.

[0029] In combination with Figure 1As shown in the figure, an embodiment of the present application provides a television control method, and the method includes the following steps:

[0030] Step 101: Based on the first remote control signal of the remote control, determine whether the application program displayed on the television is a target application program that is not adapted to the remote control.

[0031] The remote control outputs a remote control signal to the television through a wireless communication method. For example, it outputs an infrared remote control signal in an infrared manner, or outputs a Bluetooth remote control signal in a Bluetooth communication manner.

[0032] Multiple APPs are installed on the television. For the currently used APP, when the user triggers a remote control signal through the remote control, it is necessary to determine whether the currently displayed APP on the television is a target APP that is not adapted to the remote control.

[0033] It is possible to determine whether the current APP is not adapted to the remote control by the package name of the APP, or it is possible to determine whether the current APP is not adapted to the remote control by the usage record of the APP, or it is possible to determine whether the current APP is not adapted to the remote control by the function configuration field in the APP.

[0034] In one embodiment, determining whether the application program displayed on the television is a target application program that is not adapted to the remote control includes:

[0035] Obtain the package name of the application program displayed on the television; when the package name is the package name of the application program that needs to be adapted to the remote control, determine that the currently displayed application program is a target application program that is not adapted to the remote control.

[0036] By reading and discriminating the package name of the APP, an effective determination and recognition of whether the currently displayed application program is an APP that is not adapted to the remote control can be achieved.

[0037] Step 102: If it is determined that the currently displayed application program is a target application program that is not adapted to the remote control, identify multiple views included in the current display window of the target application program, and select a first target view adapted to the first remote control signal from the multiple views.

[0038] In this step, when it is determined that the currently displayed application program is a target application program that is not adapted to the remote control, view adaptation processing is enabled. By identifying the views of the display window of the target application program, the view information of the application program running on the current television in the current display window can be obtained, and then a target view adapted to the current remote control signal can be selected from the identified views. Through view identification and view selection, the remote control signal can be associated with the current display window in the currently running target application program, and an effective adaptation between the view of the target application program that is not adapted to the remote control and the remote control signal can be achieved.

[0039] Among them, when identifying multiple views included in the current display window of the target application, it can be to directly traverse the view layout of the current display window in the target application to obtain the multiple views included in the current display window.

[0040] Alternatively, when identifying multiple views included in the current display window of the target application, it can be to parse the target application to obtain the hierarchical structure between windows and the views included in each window under the hierarchical structure, so as to obtain the multiple views included in the current display window.

[0041] Correspondingly, identifying multiple views included in the current display window of the target application includes:

[0042] Based on the version information of the target application, parse the target application to obtain the window layout information of the target application, and based on the window layout information, determine the multiple views included in the current display window in the target application.

[0043] Among them, the window layout information includes the hierarchical structure of the window and the views included in each window under the hierarchical structure.

[0044] In different versions of the application, there may be differences in the view layout. After obtaining the APP software version, the APP can be parsed according to the current version of the APP to obtain the view tree (View tree) of the APP.

[0045] During the implementation process, when parsing the APP, AccessibilityService can be used to traverse the view hierarchy, obtain the root node of the display window in the APP, and recursively traverse all child nodes to obtain the hierarchical structure in the view tree and the views included in each window under the hierarchical structure. Subsequently, capture the node of the current display window in the hierarchical structure, and determine the hierarchical structure where the node is located and the multiple views included by the node in the hierarchical structure, so as to effectively obtain the multiple views included in the current display window of the APP.

[0046] In an alternative embodiment, a television includes an operating system and a newly added adaptation module. The adaptation module can implement the adaptation between the remote control signal of the remote control and the target application that has not been adapted to the remote control. In some cases, the adaptation module can perform the processing actions of the foregoing steps 101 to 102.

[0047] Correspondingly, the method further includes:

[0048] Obtain a first remote control event of the remote control transmitted by the operating system in the television based on the ViewRootImpl class; the first remote control event corresponds to the first remote control signal of the remote control.

[0049] The operating system here is, for example, the Android system, etc. In the UI (User Interface) system of the operating system, View is the parent class of all UI controls. ViewRootImpl is responsible for managing the root node of the entire view tree and communicating with system services (such as WindowManagerService), connecting the logic of the view tree with system services.

[0050] The operating system forwards the remote control events of the TV remote control to the aforementioned adaptation module through ViewRootImpl to achieve the adaptation between the remote control signal and the target application that has not adapted the remote control.

[0051] In one embodiment, correspondingly to the above implementation process, step 102, selecting the first target view adapted to the first remote control signal from multiple views includes:

[0052] Based on the view tree of the current display window of the target application, select the view adapted to the first remote control event from multiple views as the first target view.

[0053] Each display window in the application can have a corresponding view tree. Based on the view tree of the current display window of the target application, the display parameters of the views in the current display window can be obtained, such as position and size, visibility of the view, transparency, hierarchical depth, etc.

[0054] Remote control events are, for example, events for entering the next-level view, focus up event, focus down event, focus left event, focus right event, etc.

[0055] Based on the remote control event indicated by the remote control signal of the remote control, the remote control event can be used as a triggering event for an adaptation operation, and a view can be selected from multiple views in the current display window as the target view based on the view tree.

[0056] Optionally, when selecting a view from multiple views as the target view in response to the remote control event of the remote control, it can be to select any view from multiple views as the target view, or to select the first view from multiple views as the target view, or to select the view whose display position is in the middle of the window from multiple views. The selected target view is used as the view adapted to the first remote control signal.

[0057] This can respond to the remote control event of the remote control, trigger the real-time recognition and selection of the views in the APP when determining that the currently displayed target application on the TV is an APP that has not adapted the remote control, so as to achieve the matching between the remote control signal and the views in the APP that has not adapted the remote control, and effectively determine the focus view of the remote control operation of the remote control.

[0058] Step 103: Superimpose the view effect on the first target view and display it as the remote control focus.

[0059] The view effect is, for example, the background color, border, etc.

[0060] Combined with Figure 2 As shown, in the current display window of the APP, a drama list is displayed on the right. The view of the currently playing drama in the drama list is used as the target view, and the view effect of adding a gray background to this view is displayed as the remote control focus.

[0061] Superimpose the view effect on the selected first target view so that the user knows which view in the current target application forms the focus, enabling the remote control operation of the TV remote control to be effectively responded to in an APP that is not adapted to the remote control. When the target application is an APP that is not adapted to the remote control, it realizes the effective adaptation of the remote control signal to the view in the APP, and realizes the effective determination and display of the remote control focus in the APP that is not adapted to the remote control.

[0062] In this way, it is possible to achieve the automatic adaptation of the APP that is not adapted to the TV remote control to the TV remote control operation, ensure the effective response of the APP that is not adapted to the remote control to the remote control operation of the TV remote control, and meet the user's usage requirements for the application programs installed on the TV that are not adapted to the remote control.

[0063] In the above solution of this application, based on the first remote control signal of the remote control, it is determined whether the application program displayed on the TV is a target application program that is not adapted to the remote control. When it is determined that the currently displayed application program is a target application program that is not adapted to the remote control, the multiple views included in the current display window of the target application program are recognized, the first target view adapted to the first remote control signal is selected from the multiple views, and the first target view is superimposed with the view effect and displayed as the remote control focus. This solution can enable the user to effectively remotely control the application program that is not adapted to the TV remote control for the application program that is not adapted to the TV remote control, meet the user's need to operate the application program with the TV remote control in the case where the application program is not adapted to the TV remote control operation, and ensure the user experience.

[0064] In an optional implementation manner, combined with Figure 3 As shown, after step 103 of superimposing the view effect on the first target view and displaying it as the remote control focus, it further includes:

[0065] Step 301: Based on the second remote control signal of the remote control, determine the key code value of the trigger button of the second remote control signal in the remote control.

[0066] The key code value (Key Code) of the button is the unique number used to identify the physical button or input character in the operating system or programming environment.

[0067] Step 302: Based on the target view switching function corresponding to the key code value, with the first target view as the reference view, select a second target view that is adapted to the target view switching function from multiple views.

[0068] If a second remote control signal is received after the first remote control signal, it is necessary to switch the focus of the target application currently displayed on the TV. Specifically, it is necessary to select another view from the multiple views of the current display window of the target application to become the new focus to respond to the view switching function of the second remote control signal.

[0069] The target view switching function corresponding to the key code value is, for example, the function of entering the next-level view, the function of moving the focus up, the function of moving the focus down, the function of moving the focus left, the function of moving the focus right, etc.

[0070] Based on the first target view, according to the target view switching function, switch the view where the focus is located. For example, select a determined view upward, downward, leftward, rightward, or to the next level as the target view adapted to the current view switching function to achieve view switching and respond to the user's remote control operation function.

[0071] In an alternative embodiment, based on the target view switching function corresponding to the key code value, with the first target view as the reference view, selecting a second target view that is adapted to the target view switching function from the multiple views includes:

[0072] Based on the view switching functions of the key code values of different keys on the remote control, establish a mapping relationship between the key code values of different keys and the manual control operations of the target application;

[0073] Based on the mapping relationship, map the target view switching function to the target manual control operation;

[0074] With the first target view as the reference view, select a second target view that is adapted to the target manual control operation from the multiple views.

[0075] The manual control operation is different from the remote control operation and is specifically the local control operation supported in the target application. It realizes the association between the remote control operation of the remote control and the manual control operation supported by the target application that is not adapted to the remote control.

[0076] When constructing the mapping relationship, the view switching function of the key code value of the key needs to be used as a medium to establish a mapping relationship between the key code value under remote control operation and the manual control operation that has been adapted by the target application that has not been adapted to the remote control. Furthermore, based on the established mapping relationship, a second target view adapted to the current remote control operation of the remote control is selected from multiple views of the current display window of the target application, so as to realize the functional response to the user's remote control operation and improve the response speed.

[0077] The view switching function of the key code value of the key corresponds to the corresponding remote control event. This mapping relationship can also be regarded as the mapping relationship between the remote control event and the manual control operation that has been adapted by the target application. Based on this mapping relationship, the remote control event of the key can be mapped to the target manual control operation that has been adapted by the target application.

[0078] Optionally, in some embodiments, the method further includes:

[0079] Obtain a second remote control event of the remote control transmitted by the operating system in the TV based on the ViewRootImpl class; the second remote control event corresponds to the second remote control signal of the remote control.

[0080] Here, the second remote control event is obtained after the first remote control event.

[0081] For the implementation of this process, reference can be made to the description process of the first remote control event of the remote control transmitted by the operating system based on the ViewRootImpl class, which will not be elaborated here.

[0082] Correspondingly, step 302, based on the target view switching function corresponding to the key code value, with the first target view as the reference view, selects a second target view adapted to the target view switching function from multiple views, including:

[0083] Based on the view tree of the current display window of the target application, with the first target view as the reference view, a second target view adapted to the second remote control event is selected from the multiple views.

[0084] In this way, it is possible to respond to subsequent remote control events of the remote control, continuously respond to the user's remote control operation, and realize continuous matching and selection of views.

[0085] Step 303, remove the view effect superimposed on the first target view, and display the second target view with the view effect superimposed as the remote control focus.

[0086] Combined with Figure 4 As described above, cancel the view effect of the gray background on the view of the currently playing episode, and display the view of the episode on the right side of the view of the currently playing episode with the border view superimposed as the remote control focus.

[0087] The above process can, in response to subsequent remote control events of the remote control, perform view switching on the APP that is currently displayed on the TV and is not adapted to the remote control, and continuously match the subsequent remote control signals with the views in the APP that is not adapted to the remote control, so as to effectively determine the focus view of the remote control operation of the remote control, achieve an effective response to the remote control signal, realize the effective control of the application program that is not adapted to the remote control by the user, and meet the user's APP remote control operation requirements.

[0088] It should be understood that although the steps in the flowcharts involved in the above-described embodiments are sequentially displayed according to the indications of the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear indication in this article, the execution of these steps has no strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-described embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily executed at the same moment, but can be executed at different moments, and the execution order of these steps or stages is not necessarily sequential, but can be executed alternately or in turn with at least a part of other steps or steps or stages in other steps.

[0089] Based on the same inventive concept, the embodiments of the present application also provide a TV control device. The TV control device provided by the embodiments of the present application can implement each process of the embodiments of the above TV control method and can achieve the same technical effects. Therefore, the specific limitations in one or more embodiments of the TV control device provided below can refer to the limitations on the TV control method in the above text. To avoid repetition, they will not be elaborated here.

[0090] In this embodiment, the functional modules of the computing side can be divided according to the above method. For example, corresponding to each function, each function module can be divided, or two or more functions can be integrated into one processing module.

[0091] See Figure 5 , Figure 5 is a module diagram of a TV control device provided by an embodiment of the present application. For the convenience of description, only the parts related to the embodiment of the present application are shown.

[0092] The TV control device 500 includes:

[0093] A judgment module 501, configured to judge whether the application program displayed on the TV is a target application program that is not adapted to the remote control based on the first remote control signal of the remote control;

[0094] An identification module 502, configured to, if it is determined that the currently displayed application is a target application that is not adapted to the remote controller, identify multiple views included in the currently displayed window of the target application, and select a first target view adapted to the first remote control signal from the multiple views;

[0095] A display module 503, configured to display the first target view as a remote control focus after superimposing a view effect.

[0096] Optionally, the television control device 500 further includes:

[0097] A switching module, configured to determine a key code value of a trigger key of the second remote control signal in the remote controller based on the second remote control signal of the remote controller; based on a target view switching function corresponding to the key code value, select a second target view adapted to the target view switching function from the multiple views with the first target view as a reference view; remove the view effect superimposed on the first target view, and display the second target view as a remote control focus after superimposing the view effect.

[0098] Optionally, the switching module is specifically configured to:

[0099] Establish a mapping relationship between the key code values of different keys in the remote controller and the manual control operations of the target application based on the view switching functions of the key code values of different keys in the remote controller;

[0100] Map the target view switching function to a target manual control operation based on the mapping relationship;

[0101] Select a second target view adapted to the target manual control operation from the multiple views with the first target view as a reference view.

[0102] Optionally, the identification module 502 is specifically configured to:

[0103] Parse the target application based on the version information of the target application to obtain window layout information of the target application, where the window layout information includes a hierarchical structure of windows and views included in each window under the hierarchical structure;

[0104] Determine multiple views included in the currently displayed window in the target application based on the window layout information.

[0105] Optionally, the judgment module 501 is specifically configured to:

[0106] Obtain the package name of the application displayed on the television;

[0107] When the package name is the package name of the application that needs to adapt the remote control, it is determined that the currently displayed application is the target application that has not been adapted to the remote control.

[0108] Optionally, the television control device 500 further includes:

[0109] An acquisition module, configured to acquire a first remote control event of the remote control transmitted by the operating system in the television based on the ViewRootImpl class; the first remote control event corresponds to a first remote control signal of the remote control.

[0110] The recognition module 502 is specifically configured to:

[0111] Based on the view tree of the current display window of the target application, select a view adapted to the first remote control event from the multiple views as the first target view.

[0112] The above integrated module can be implemented in the form of hardware. It should be noted that the division of the modules in this embodiment is illustrative, only a logical function division, and there may be other division methods in actual implementation.

[0113] It should be noted that the relevant content of each step involved in the above method embodiment can be cited to the function description of the corresponding function module, and will not be repeated here.

[0114] In one embodiment, as Figure 6 shown, an electronic device is provided. The electronic device 6 in this embodiment includes: at least one processor 600 ( Figure 6 only one is shown in the figure), a memory 601, and a computer program 602 stored in the memory 601 and executable on the at least one processor 600. When the processor 600 executes the computer program 602, the steps in any of the above method embodiments are implemented.

[0115] The electronic device 6 may be a television or a data processing device in the television.

[0116] Optionally, the electronic device 6 may include, but is not limited to, a processor 600 and a memory 601. Those skilled in the art can understand that Figure 6 this is only an example of the electronic device 6, and does not constitute a limitation on the electronic device 6. It may include more or fewer components than shown in the figure, or combine some components, or different components. For example, the electronic device may further include input / output devices, network access devices, buses, etc.

[0117] The processor 600 may be a Central Processing Unit (CPU), or may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field-Programmable Gate Arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0118] The memory 601 may be an internal storage unit of the electronic device 6, such as a hard disk or memory of the electronic device 6. The memory 601 may also be an external storage device of the electronic device 6, such as a plug-in hard disk equipped on the electronic device 6, a Smart Media Card (SMC), a Secure Digital (SD) card, a Flash Card, etc. Further, the memory 601 may also include both the internal storage unit and the external storage device of the electronic device 6. The memory 601 is used to store the computer program and other programs and data required by the electronic device. The memory 601 may also be used to temporarily store data that has been output or is to be output.

[0119] Those skilled in the art can clearly understand that, for the convenience and conciseness of description, only the above division of each functional unit and module is used as an example. In actual applications, the above functions can be allocated to different functional units and modules according to needs, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiments can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above integrated units can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of each functional unit and module are only for the convenience of mutual distinction and do not limit the protection scope of the present application. The specific working processes of the units and modules in the above system can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.

[0120] In the above embodiments, the descriptions of the various embodiments have their own emphases. For the parts not detailed or recorded in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0121] Those of ordinary skill in the art will realize that the units and algorithm steps of each example described in connection with the embodiments disclosed herein can be implemented in electronic hardware, or in a combination of computer software and electronic hardware. Whether these functions are executed in hardware or software depends on the specific application and design constraints of the technical solution. A professional technician can use different methods for each specific application to implement the described functions, but such implementation should not be considered to exceed the scope of this application.

[0122] In the embodiments provided in this application, it should be understood that the disclosed device / electronic device and method can be implemented in other ways. For example, the device / electronic device embodiments described above are merely illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection between each other can be through some interfaces. The indirect coupling or communication connection of the device or unit can be in an electrical, mechanical or other form.

[0123] The units described as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, they can be located in one place, or they can be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0124] In addition, the functional units in each embodiment of this application can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above integrated units can be implemented in the form of hardware or in the form of software functional units.

[0125] When the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, to implement all or part of the processes in the above-described embodiment methods of this application, it can also be completed by instructing relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by a processor, the steps of the above-described various method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in the form of source code, object code, executable file, or some intermediate form, etc. The computer-readable medium can include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disc, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal, and software distribution medium, etc. It should be noted that the content included in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electrical carrier signals and telecommunication signals.

[0126] To implement all or part of the processes in the above-described embodiment methods of this application, it can also be achieved through a computer program product. When the computer program product runs on an electronic device, it causes the electronic device to execute and implement the steps in the above-described various method embodiments.

[0127] The above-described embodiments are only used to illustrate the technical solutions of this application, rather than to limit them; although this application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of this application, and should all be included within the protection scope of this application.

Claims

1. A television control method, characterized in that, Including: Based on the first remote control signal of the remote control, determine whether the application program displayed on the TV is a target application program that is not adapted to the remote control; If it is determined that the currently displayed application program is a target application program that is not adapted to the remote control, identify multiple views included in the current display window of the target application program, and select a first target view adapted to the first remote control signal from the multiple views; Display the first target view after superimposing the view effect as the remote control focus.

2. The method according to claim 1, wherein After displaying the first target view after superimposing the view effect as the remote control focus, it further includes: Based on the second remote control signal of the remote control, determine the key code value of the trigger key of the second remote control signal in the remote control; Based on the target view switching function corresponding to the key code value, with the first target view as the reference view, select a second target view adapted to the target view switching function from the multiple views; Remove the view effect superimposed on the first target view, and display the second target view after superimposing the view effect as the remote control focus.

3. The method according to claim 2, wherein The step of selecting a second target view adapted to the target view switching function from the multiple views with the first target view as the reference view based on the target view switching function corresponding to the key code value includes: Based on the view switching functions of the key code values of different keys in the remote control, establish a mapping relationship between the key code values of different keys and the manual control operations of the target application program; Based on the mapping relationship, map the target view switching function to the target manual control operation; With the first target view as the reference view, select a second target view adapted to the target manual control operation from the multiple views.

4. The method according to claim 1, wherein The step of identifying multiple views included in the current display window of the target application program includes: Based on the version information of the target application program, parse the target application program to obtain the window layout information of the target application program, where the window layout information includes the hierarchical structure of the window and the views included in each window under the hierarchical structure; Based on the window layout information, determine multiple views included in the current display window of the target application program.

5. The method according to claim 1, characterized in that, The step of judging whether the application program displayed on the TV is a target application program that is not adapted to the remote control includes: Obtain the package name of the application program displayed on the TV; When the package name is the package name of the application program that needs to be adapted to the remote control, determine that the currently displayed application program is a target application program that is not adapted to the remote control.

6. The method according to claim 1, wherein The method further includes: Obtain the first remote control event of the remote control transmitted by the operating system of the TV based on the ViewRootImpl class; the first remote control event corresponds to the first remote control signal of the remote control; The step of selecting a first target view adapted to the first remote control signal from the multiple views includes: Based on the view tree of the current display window of the target application program, select a view adapted to the first remote control event from the multiple views as the first target view.

7. A television control device, characterized in that, Including: A judgment module, configured to judge whether the application program displayed on the TV is a target application program that is not adapted to the remote control based on a first remote control signal of the remote control; An identification module, configured to, if it is determined that the currently displayed application program is a target application program that is not adapted to the remote control, identify a plurality of views included in the currently displayed window of the target application program, and select a first target view adapted to the first remote control signal from the plurality of views; A display module, configured to display the first target view as a remote control focus after superimposing a view effect; 8. The device according to claim 7, characterized in that, The device further includes: A switching module, configured to determine a key code value of a trigger key of the second remote control signal in the remote control based on the second remote control signal of the remote control; based on a target view switching function corresponding to the key code value, with the first target view as a reference view, select a second target view adapted to the target view switching function from the plurality of views; remove the view effect superimposed on the first target view, and display the second target view as a remote control focus after superimposing the view effect; 9. An electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented; 10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, the steps of the method according to any one of claims 1 to 6 are implemented.