Display device and focus management method
By dividing the user interface into different display areas and finding the nearest alternative to obtain focus under button commands, the problem of complex focus finding process in smart TVs is solved, improving focus finding speed and efficiency.
Patent Information
- Application Number
- CN202111297612.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-04
- Publication Date
- 2026-02-06
- Estimated Expiration
- 2041-11-04
AI Technical Summary
Existing smart TVs have complex and time-consuming processes for focusing, especially in complex user interfaces where a large number of controls need to be traversed and compared.
By dividing the user interface into different display areas based on the document object model, the first display area and the adjacent second display area of the currently focused control are obtained and added to the candidate list. The nearest candidate is searched and the focus is obtained according to the direction of the key command.
It improves the speed of the focus-finding process, avoids the process of traversing all controls on the user interface, and simplifies the process of obtaining the target control.
Smart Images

Figure CN116069419B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the computer technical field, and particularly relates to a display device and a focus management method. BACKGROUND
[0002] The intelligent television is a kind of television product that can realize bidirectional man-machine interaction function, and integrates audio, video, entertainment, data and other functions.The intelligent television is connected with a background server, and in order to meet the diversified needs of users, requests various media video such as education, audio and video, entertainment and the like from the server, and displays on a user interface.The user can input a key instruction to the intelligent television, and then control the focus on the user interface to move, so as to realize the interaction with the user interface.
[0003] At present, when responding to the key instruction of the user, the intelligent television needs to find the focusable control from the current user interface, which is called a focusing process.In the focusing process, the intelligent television traverses the entire user interface from the top layer, and searches all focusable controls on each layer of the interface.For the focusable focus, the distance between the current focus control needs to be compared one by one, and the focusable control closest to the distance is the target control.The above focusing process and the process of obtaining the target control have complex processing procedures, and are time-consuming and laborious. SUMMARY
[0004] The present application provides a display device and a focus management method to solve the technical problem that the focusing process and the process of obtaining the target control are time-consuming and laborious due to the complex processing procedures in the related art.
[0005] In order to solve the above technical problem, the embodiments of the present application disclose the following technical solutions:
[0006] In a first aspect, the embodiments of the present application disclose a display device, which comprises:
[0007] a display configured to display a user interface;
[0008] a controller connected with the display, the controller being configured to:
[0009] receive an input key instruction for controlling the focus to move;
[0010] obtain a first display area where a current focus control is located, and add a first control in the first display area to a candidate list as a candidate, wherein the first display area comprises a plurality of focusable controls;
[0011] adding a second display area as an alternative into the alternative list, wherein the user interface divides different levels into different display areas based on a document object model, the first display area refers to a display area containing the current focus control, the second display area refers to a display area located outside the first display area and adjacent to the first display area in the current user interface, and the second display area includes a plurality of controls capable of obtaining focus;
[0012] finding the alternative closest to the current focus control in the alternative list according to the direction indicated by the key instruction, and making the alternative obtain focus.
[0013] In a second aspect, the embodiments of the present application disclose a focus management method, and the method comprises:
[0014] receiving an input key instruction for controlling focus movement;
[0015] adding a first display area in which the current focus control is located as an alternative into the alternative list, wherein the first display area includes a plurality of controls capable of obtaining focus;
[0016] adding a second display area as an alternative into the alternative list, wherein the user interface divides different levels into different display areas based on a document object model, the first display area refers to a display area containing the current focus control, the second display area refers to a display area located outside the first display area and adjacent to the first display area in the current user interface, and the second display area includes a plurality of controls capable of obtaining focus;
[0017] finding the alternative closest to the current focus control in the alternative list according to the direction indicated by the key instruction, and making the alternative obtain focus.
[0018] Compared with the prior art, the present application has the following beneficial effects:
[0019] The application provides a display device and a focus management method. When a user sends a key instruction to the display device to control the focus on the user interface to move, the display device performs a focusing process in response to the key instruction, wherein the key instruction indicates the direction of controlling the focus to move. The display device divides different levels of the user interface into different display areas according to a document object model, and the display area with the current focus control is the first display area. Other display areas in the user interface, except the first display area, and adjacent to the first display area are the second display areas. When performing the focusing process, all the controls in the first display area with the current focus are the alternative items, and the whole second display area without the current focus is regarded as an alternative item. The display device adds the detected alternative items to an alternative list, finds the alternative item closest to the current focus control in the alternative list according to the direction indicated by the key instruction, and makes the alternative item obtain the focus. In the application, the user interface is divided into different display areas, and the controls in the display area without the current focus do not need to be traversed, thereby avoiding the process of traversing all the controls on the user interface in the focusing process, and further omitting the process of obtaining the target control, so that the speed of the focusing process is greatly improved.
[0020] It should be understood that the foregoing general description and the following detailed description are only exemplary and explanatory, and cannot limit the application. BRIEF DESCRIPTION OF DRAWINGS
[0021] In order to more clearly illustrate the technical solutions of the application, the following will briefly introduce the drawings needed in the embodiments. Obviously, for those skilled in the art, other drawings can also be obtained without creative labor based on these drawings.
[0022] Figure 1 Fig. 1 exemplarily shows a schematic diagram of an operation scenario between the display device and the control device according to some embodiments;
[0023] Figure 2 Fig. 2 exemplarily shows a hardware configuration block diagram of the control device 100 according to some embodiments;
[0024] Figure 3 Fig. 3 exemplarily shows a hardware configuration block diagram of the display device 200 according to some embodiments;
[0025] Figure 4 Fig. 4 exemplarily shows a software configuration schematic diagram of the display device 200 according to some embodiments;
[0026] Figure 5 Fig. 5 exemplarily shows a flow example diagram of the focus management method according to some embodiments;
[0027] Figure 6 FIG. 2 shows a display effect diagram of display area division in a main page according to some embodiments;
[0028] Figure 7 FIG. 3 shows a display effect diagram of display area division in a detail page according to some embodiments;
[0029] Figure 8 FIG. 4 shows another flow diagram of a focus management method according to some embodiments. DETAILED DESCRIPTION
[0030] For the purpose of making the purpose and embodiments of the present application more clear, the following will combine the drawings in the exemplary embodiments of the present application to clearly and completely describe the exemplary embodiments of the present application. Obviously, the described exemplary embodiments are only some of the embodiments of the present application, but not all the embodiments.
[0031] It should be noted that the brief description of the terms in the present application is only for the convenience of understanding the following described embodiments, and is not intended to limit the embodiments of the present application. Unless otherwise specified, these terms should be understood according to their ordinary and general meanings.
[0032] The terms "first", "second", "third" and the like in the specification and claims of the present application and the above drawings are used to distinguish similar or similar objects or entities, and do not necessarily mean to limit the specific order or sequence, unless otherwise noted. It should be understood that the terms used in this way can be interchanged under appropriate circumstances.
[0033] The terms "include" and "have" and any variations thereof are intended to cover but not exclusive inclusion, for example, a product or device including a series of components does not necessarily limit to all components clearly listed, but can include other components not clearly listed or inherent to these products or devices.
[0034] The term "module" refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware or / and software code capable of performing a function associated with that element.
[0035] Figure 1 The following shows a schematic diagram of the operation scenario between the display device and the control device according to the embodiments. As shown in FIG. 1, the user can operate the display device 200 through the smart device 300 or the control device 100. Figure 1
[0036] In some embodiments, the control device 100 can be a remote controller, and the communication between the remote controller and the display device can be infrared protocol communication or Bluetooth protocol communication, or other short-distance communication, and the display device 200 can be controlled by the remote controller through wireless or wired communication. The user can input user instructions through the buttons on the remote controller, voice input, control panel input, etc., to control the display device 200.
[0037] In some embodiments, the smart device 300 (such as a mobile terminal, a tablet computer, a computer, a notebook computer, etc.) can also be used to control the display device 200. For example, the display device 200 can be controlled by using an application running on the smart device.
[0038] In some embodiments, the display device 200 can also be controlled in ways other than the control device 100 and the smart device 300. For example, the display device 200 can directly receive voice instructions from the user through a voice instruction acquisition module configured inside the display device 200, or the display device 200 can receive voice instructions from the user through a voice control device configured outside the display device 200.
[0039] In some embodiments, the display device 200 also communicates with the server 400. The display device 200 can be connected to the server 400 through a local area network (LAN), a wireless local area network (WLAN), or other networks. The server 400 can provide various content and interactions to the display device 200. The server 400 can be a cluster or multiple clusters, and can include one or more types of servers.
[0040] Figure 2 An exemplary configuration block diagram of the control device 100 according to an exemplary embodiment is shown. As shown, the control device 100 includes a controller 110, a communication interface 130, a user input / output interface 140, a memory, a power supply. The control device 100 can receive user input operation instructions, and convert the operation instructions into instructions that the display device 200 can recognize and respond to, acting as an intermediary between the user and the display device 200. Figure 2
[0041] Figure 3 A hardware configuration block diagram of the display device 200 according to an exemplary embodiment is shown.
[0042] In some embodiments, the display device 200 includes at least one of a tuner and demodulator 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.
[0043] In some embodiments, the controller includes a processor, a video processor, an audio processor, a graphic processor, a RAM, a ROM, a first interface to an n-th interface for input / output.
[0044] In some embodiments, the display 260 includes a display screen component for presenting a picture, and a driving component for driving the image display, a component for receiving the image signal originated from the output of the controller, and a component for displaying the video content, the image content, and the menu operation interface, and a user operation UI interface.
[0045] In some embodiments, the display 260 can be a liquid crystal display, an OLED display, and a projection display, and can also be a projection device and a projection screen.
[0046] In some embodiments, the communicator 220 is a component for communicating with external devices or servers according to various communication protocol types. For example, the communicator can include at least one of a Wifi module, a Bluetooth module, a wired Ethernet module, and other network communication protocol chips or near field communication protocol chips, and an infrared receiver. 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.
[0047] In some embodiments, the user interface can be used to receive the control signal of the control device 100 (such as an infrared remote controller, etc.).
[0048] In some embodiments, the detector 230 is used to collect signals of the external environment or interaction with the outside. For example, the detector 230 includes a light receiver for collecting the intensity of ambient light, or the detector 230 includes an image collector such as a camera, which can be used to collect the external environment scene, the attribute of the user or the user interaction gesture, or the detector 230 includes a sound collector such as a microphone, which is used to receive external sound.
[0049] In some embodiments, the external device interface 240 can include, but is not limited to, any one or more of the following: a high-definition multimedia interface (HDMI), an analog or data high-definition component input interface (component), a composite video input interface (CVBS), a USB input interface (USB), an RGB port, etc. It can also be a composite input / output interface formed by the above multiple interfaces.
[0050] In some embodiments, the tuner demodulator 210 receives broadcast television signals through wired or wireless reception, and demodulates audio and video signals, such as EPG data signals, from a plurality of wireless or wired broadcast television signals.
[0051] In some embodiments, the controller 250 and the tuner-demodulator 210 can be located in different separate devices, i.e. the tuner-demodulator 210 can also be located in an external device of the main device where the controller 250 is located, such as an external set-top box, etc.
[0052] In some embodiments, the controller 250 controls the operation of the display device and the response to the user's operation by storing various software control programs in the memory. The controller 250 controls the overall operation of the display device 200. For example, in response to receiving a user command for selecting a UI object displayed on the display 260, the controller 250 can perform an operation related to the object selected by the user command.
[0053] In some embodiments, the object can be any one of the selectable objects, such as a hyperlink, an icon, or other operable control. The operation related to the selected object can be an operation of displaying a page connected to a hyperlink, a document, an image, etc., or an operation of executing a program corresponding to the icon.
[0054] In some embodiments, the controller includes at least one of a Central Processing Unit (CPU), a video processor, an audio processor, a Graphics Processing Unit (GPU), a RAM (Random Access Memory), a ROM (Read-Only Memory), a first interface to an n-th interface for input / output, a communication bus, etc.
[0055] The CPU processor is configured to execute operating system and application program instructions stored in the memory, and to execute various application programs, data, and content according to various interaction instructions received from the external input, so as to finally display and play various audio / video content. The CPU processor can include a plurality of processors. For example, the CPU processor can include one main processor and one or more sub-processors.
[0056] In some embodiments, the GPU is configured to generate various graphical objects, such as icons, operation menus, and user input instruction display graphics, etc. The GPU includes an operator configured to perform operations by receiving various interaction instructions from the user input, and to display various objects according to display attributes; and a renderer configured to perform rendering on various objects obtained based on the operator, and the rendered objects are used for display on the display.
[0057] In some embodiments, the video processor is configured to receive an external video signal, and perform video processing according to a standard codec protocol of the input signal, such as decompression, decoding, scaling, noise reduction, frame rate conversion, resolution conversion, image composition, etc., to obtain a signal that can be directly displayed on the display device 200.
[0058] In some embodiments, the video processor includes a demultiplexing module, a video decoding module, an image composition module, a frame rate conversion module, a display formatting module, etc. The demultiplexing module is configured to perform demultiplexing processing on the input audio / video data stream. The video decoding module is configured to process the demultiplexed video signal, including decoding and scaling processing, etc. The image composition module, such as an image compositor, is configured to perform superimposition and mixing processing on the video image after scaling processing and the GUI signal generated by the graphics generator according to user input or self-generation, to generate an image signal that can be displayed. The frame rate conversion module is configured to convert the input video frame rate. The display formatting module is configured to change the output signal after frame rate conversion to a signal that conforms to the display format, such as an output RGB data signal.
[0059] In some embodiments, the audio processor is configured to receive an external audio signal, and perform processing such as decompression and decoding, noise reduction, digital-to-analog conversion, and amplification processing, etc., according to a standard codec protocol of the input signal, to obtain a sound signal that can be played on a loudspeaker.
[0060] In some embodiments, 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 receives the user input command by recognizing the sound or gesture through a sensor.
[0061] In some embodiments, the "user interface" is a medium interface for interaction and information exchange between an application program or an operating system and a user, which realizes the conversion between the internal form of information and the form that the user can accept. The commonly used form of user interface is a graphical user interface (GUI), which refers to a user interface related to computer operation displayed in a graphical manner. It can be an icon, window, control, etc. interface element displayed in the display screen of an electronic device, wherein the control can include an icon, button, menu, tab, text box, dialog box, status bar, navigation bar, Widget, etc. visual interface element.
[0062] In some embodiments, the system of the display device can include a kernel, a shell, a file system and an application. The kernel, the shell and the file system together form a basic operating system structure, which allows a user to manage files, run programs and use the system. After power on, the kernel starts, activates the kernel space, abstracts hardware, initializes hardware parameters, etc., runs and maintains virtual memory, a scheduler, signals and inter-process communication (IPC). After the kernel starts, the shell and user applications are loaded. The application is compiled into machine code after starting, forming a process.
[0063] Referring to Figure 4 In some embodiments, the system is divided into four layers, from top to bottom, the application layer (referred to as "application layer" for short), the application framework layer (referred to as "framework layer" for short), the Android runtime and system library layer (referred to as "system runtime library layer" for short), and the kernel layer.
[0064] In some embodiments, at least one application program is running in the application layer, which can be a window program, a system setting program or a clock program provided by the operating system, etc.; or an application program developed by a third-party developer. In specific implementation, the application package in the application layer is not limited to the above examples.
[0065] The framework layer provides application programming interface (API) and programming framework for the application program. The application framework layer includes some pre-defined functions. The application framework layer is equivalent to a processing center, which decides the action of the application program in the application layer. The application program can access the resources in the system and obtain the services of the system through the API interface in execution.
[0066] As Figure 4As shown, the application framework layer in the embodiments of the present application includes managers (Managers), content providers (Content Provider), etc., wherein the managers include at least one of the following modules: an activity manager (ActivityManager) for interacting with all activities running in the system; a location manager (Location Manager) for providing access to system location services for system services or applications; a package manager (Package Manager) for retrieving various information related to application packages currently installed on the device; a notification manager (NotificationManager) for controlling the display and clearing of notification messages; and a window manager (Window Manager) for managing icons, windows, toolbars, wallpapers, and desktop components on the user interface.
[0067] In some embodiments, the activity manager is used to manage the life cycle of each application and the general navigation back function, such as controlling the exit, opening, back, etc. of the application. The window manager is used to manage all window programs, such as obtaining the size of the display screen, determining whether there is a status bar, locking the screen, intercepting the screen, controlling the display window change (such as reducing the display window, shaking the display, twisting the display, etc.), etc.
[0068] In some embodiments, the system runtime library layer provides support for the upper layer, i.e. the framework layer. When the framework layer is used, the Android operating system runs the C / C++ library contained in the system runtime library layer to realize the functions of the framework layer.
[0069] In some embodiments, the kernel layer is the layer between hardware and software. As Figure 4 As shown, the kernel layer includes at least one of the following drivers: an audio driver, a display driver, a Bluetooth driver, a camera driver, a WIFI driver, a USB driver, an HDMI driver, a sensor driver (such as a fingerprint sensor, a temperature sensor, a pressure sensor, etc.), and a power supply driver, etc.
[0070] In some embodiments, the hardware or software architecture can be based on the above-mentioned embodiments, and in some embodiments, it can be based on other similar hardware or software architectures, as long as the technical solutions of the present application can be realized.
[0071] Based on the display device 200, in the focusing process of the Android system, the display device 200 needs to collect all the focusable controls on the current user interface, that is, the entire user interface is traversed from the top layer, and all the focusable controls on each layer of the interface are searched. For a complex user interface, there are usually more than 30 focusable controls. After searching for the focusable controls, the distance between each focusable control and the current focus control needs to be compared and filtered to find the control closest to the current focus control. The process is complex and time-consuming. In order to improve the focusing speed, the display device and the focus management method are provided in some embodiments of the present application. It should be noted that the display device in the present application not only refers to a smart television, but also refers to a computer, a tablet computer, etc.
[0072] The process of focus management provided by the embodiments of the present application will be described below with reference to the accompanying drawings.
[0073] Figure 5 An exemplary flowchart of a focus management method according to some embodiments is shown in FIG. 1. The display device 200 provided in some embodiments of the present application includes a display 260 and a controller 250, which is in communication connection with the display 260. The display 260 is configured to display a user interface, and the controller is configured to perform the process of focus management in Figure 5 in combination with Figure 5 The process of focus management is as follows:
[0074] S501: receiving an input key instruction for controlling the focus movement.
[0075] In some embodiments, the display device 200 interacts with the user through the user interface presented by the display 206, for example, the display device 200 receives user control events through the user interface, such as searching for a movie to watch, searching for a history of watching records, etc. The control of the user interface in the display device 200 by the user cannot be separated from the control of the focus, that is, the user needs to control the focus to move to the target control by inputting the key instruction, and then control the focus control after the target control becomes the focus control, such as the user controlling the focus to move to the movie control on a certain movie recommendation position, and then the display device 200 starts playing the movie content corresponding to the movie control after the user continues to input the confirmation instruction.
[0076] In some embodiments, the user can input the key instruction to the display device 200 through the up / down / left / right direction keys on the remote controller, and the display device 200 controls the focus to move according to the direction indicated by the key instruction after receiving the key instruction. For example, the user inputs the down direction key on the remote controller, and the display device 200 controls the focus to move downward.
[0077] S502: obtaining a first display area where the current focus control is located, and adding a first control in the first display area to a candidate list as a candidate, wherein the first display area includes a plurality of controls that can obtain focus.
[0078] S503: adding a second display area to the candidate list as a candidate, wherein the user interface divides different levels based on a document object model, the first display area refers to a display area containing the current focus control, the second display area refers to a display area in the current user interface other than the first display area and adjacent to the first display area, and the second display area includes a plurality of controls that can obtain focus.
[0079] In some embodiments, in the bottom logic of the display device 200, the user interface divides different levels based on a document object model, so the display device 200 can divide different levels based on a document object model into different display areas.
[0080] Figure 6 The display effect schematic diagram of display area division in the main page according to some embodiments is exemplarily shown. As shown in Figure 6 In the main page of the display device 200, the header bar, the tab bar, the sidebar, and the content bar belong to different DOM layer structures respectively, so they can be divided into the header bar display area, the tab bar display area, the sidebar display area, and the content bar display area.
[0081] Figure 7 The display effect schematic diagram of display area division in the detail page according to some embodiments is exemplarily shown. As shown in Figure 7 After a user clicks on a certain media asset, the display device 200 displays the detail page as shown in Figure 7 In the detail page of the display device 200, the header bar, the detail page, and the recommendation page belong to different DOM layer structures respectively, so they can be divided into the header bar display area, the detail page display area, and the recommendation page display area.
[0082] In some embodiments, after the display device 200 receives a button command for controlling focus movement, it detects the display area where the currently focused control exists. The display area containing the currently focused control is considered the first display area, and the display area that does not contain the currently focused control and is adjacent to the first display area is considered the second display area. That is, within the current user interface, all display areas adjacent to the first display area are second display areas. It should be noted that, depending on the number of display areas contained in the current user interface, there may be one or more second display areas.
[0083] For example, in Figure 6 In the example, the current focus is on the "Recommended" control in the navigation bar, therefore the "Recommended" control is the currently focused control, the navigation bar display area containing the "Recommended" control is the first display area, and the top bar display area, sidebar display area, and content bar display area are all second display areas. For example, in... Figure 7 In the current context, the focus is on the "Media Asset Preview Window" control on the details page. Therefore, the "Media Asset Preview Window" control is the currently focused control, and the display area of the details page where the "Media Asset Preview Window" control is located is the first display area. The top bar display area and the recommendation page display area are both the second display areas.
[0084] In some embodiments, the first display area includes a plurality of controls that can receive focus. The display device 200 adds all the first controls in the first display area as options to the candidate list, and adds the second display area as an entire area as an option to the candidate list.
[0085] For example, in Figure 6 In the example, the "My," "Channel," "AI Home," "Friends & Family," "Kids 6.1," "TV Series," "Movies," and "VIP" controls in the navigation bar display area are all added as options to the candidate list. The top bar display area, sidebar display area, and content bar display area are also added as options to the candidate list. For example, in... Figure 7 In the details page display area, the "text description" control, "full screen" control, "activate VIP" control, "favorite" control, and the control containing each episode in the series list are added as alternatives to the alternative list. The top bar display area and the recommendation page display area are also added as alternatives to the alternative list.
[0086] S504: Search for the nearest alternative to the current focus control in the alternative list according to the direction indicated by the key command, and make the alternative gain focus.
[0087] In some embodiments, the button command indicates the direction of focus movement that needs to be controlled. Focusing is performed according to the direction of focus movement indicated by the button command, that is, searching for the candidate option to which the focus needs to be moved in the candidate list. During focus searching, the nearest candidate option is searched in the candidate list.
[0088] like Figure 6 As shown, the current focus is on the "Recommended" control in the navigation bar display area. When the user presses the up arrow key via remote control, the display device 200 moves the focus to the top bar display area. When the user presses the down arrow key via remote control, the display device 200 moves the focus to the content bar display area. When the user presses the left or right arrow key via remote control, the display device 200 finds the "Kids 6.1" control and the "TV Series" control respectively in the navigation bar display area. Finally, the found alternatives gain focus. Here, gaining focus on an alternative means defocusing the previously focused control and drawing focus on the found alternative. Drawing focus means emphasizing the alternative by adding a border, bolding the font, or adding a background color.
[0089] In some embodiments, the options in the alternative list include a first control and a second display area.
[0090] In some embodiments, when the first control is found to be the closest alternative to the currently focused control according to the direction, the first control is controlled to acquire focus, so that the first control becomes the focused control. For example... Figure 7 As shown, the current focus is on the "Media Asset Preview Window". When the display device 200 receives the right directional key sent by the user via the remote control, it controls the removal of focus from the "Media Asset Preview Window" and finds the "Text Description" control in the details page display area. It then draws focus on the "Text Description" control to make it the focused control.
[0091] In some embodiments, when a second display area is found as the closest alternative to the current focused control according to the direction, a target control within the second display area is acquired, and the target control is controlled to acquire focus, so that the target control becomes the focused control. The target control refers to the control within the second display area that needs to be focused. That is, when a second display area is found as the closest alternative to the current focused control, the display device 200 immediately searches for a target control within the second display area and controls the target control to become the focused control.
[0092] In some embodiments, when the display device 200 is searching for the target control, the display device 200 first controls the second display region closest to the current focus control to obtain the focus, so that the second display region becomes the focus display region; then the display device 200 searches for the target control in the focus display region and controls the target control to obtain the focus. As shown in FIG. 21, the current focus is on the "media preview window", and when the display device 200 receives the down direction key sent by the user through the remote controller, the display device 200 controls the focus to jump to the recommended page display region, so that the recommended page display region becomes the focus display region, and then the display device 200 searches for the target control from the recommended page display region. Figure 7
[0093] In some embodiments, when the display device 200 controls the focus to move, if the focus is controlled to jump from one display region to another display region, the display device 200 needs to record the last control on which the focus stays before the focus moves to the next display region. In some embodiments, the display device 200 can record the last control on which the focus stays in the display region in the form of a key value. For example, HEADER_FOCUS_VIEW: "search", TAB_FOCUS_VIEW: "recommend", and the subsequent HEADER_FOCUS_VIEW and TAB_FOCUS_VIEW key values can be used to quickly find the last focus control existing in the display region. Here, the last control on which the focus stays before the focus moves to the next display region is referred to as the second control.
[0094] In some embodiments, the display device 200 searching for the target control in the second display region includes the display device 200 detecting whether the second control that has been a focus control exists in the focus display region. If the second control exists in the focus display region, the display device 200 further needs to detect whether the state of the second control is normal. If the second control still exists on the user interface, the state of the second control is normal, and if the second control does not exist on the user interface, the state of the second control is abnormal.
[0095] In some embodiments, if the second control exists in the focus display region and the state of the second control is normal, the second control is regarded as the target control, the focus is controlled to move to the second control, and the second control becomes the focus control. If the second control exists in the focus display region and the state of the second control is abnormal, or the second control does not exist in the focus display region, the head control or the tail control of the focus display region is regarded as the target control, the focus is controlled to move to the head control or the tail control of the focus display region, and the head control or the tail control becomes the focus control. Thus, the display device 200 can continue to control the moving direction of the focus according to the key instruction continuously input by the user, and select the control that the user wants to manipulate in the second display region.
[0096] The above focus management process will be further explained below with reference to the accompanying diagram.
[0097] Figure 8 The diagram illustrates another flow chart of a focus management method according to some embodiments. Figure 8 As shown, the display device 200 receives a key command and initiates a focus-finding process upon receiving the command. During the focus-finding process, the display device 200 collects alternative options into a candidate list by region. The display device 200 determines whether the currently focused control is within the display area. If the currently focused control is not present in the display area and the display area is adjacent to the display area containing the currently focused control, the entire display area is added to the candidate list as an alternative. If the currently focused control is present in the display area, all controls within the display area are added to the candidate list as alternatives. The display device 200 searches for the alternative closest to the currently focused control in the direction indicated by the key command. If the alternative closest to the currently focused control is a specific control, the focus is moved to that control. If the alternative closest to the currently focused control is a display area, the focus is moved to that display area. Within the focused display area, the display device 200 further searches for the target control. If a previously focused control exists in the focused display area and is in a normal state, it is considered the target control, and the focus is directly moved to that control. If there is no previously focused control in the focused display area, the control at the beginning or end of the focused display area is considered the target control, and the focus is moved to the control at the beginning or end of the focused display area. At this point, the button handling process ends.
[0098] The display device in this application divides the user interface into different display areas. During focus searching, for the display area with current focus, all controls within it are candidate options; for the display area without current focus, the entire display area is considered a candidate option. For the display area without current focus, there is no need to traverse all controls within it, thus avoiding the process of traversing all controls on the user interface during focus searching, and consequently omitting the process of acquiring the target control, greatly improving the speed of the focus searching process.
[0099] Based on the same inventive concept as the display device described above, the embodiment of the present application further provides a focus management method, which comprises: a display device 200 receiving a key instruction input by a user for controlling focus movement. The display device 200 controls a user interface to divide different levels into different display areas based on a document object model, wherein the first display area refers to a display area containing a current focus control, the second display area refers to a display area in the current user interface except the first display area and adjacent to the first display area, and the first display area and the second display area each include a plurality of controls that can obtain focus. The display device 200 obtains the first display area where the current focus control is located, adds a first control in the first display area as an alternative to an alternative list, and adds a second display area as an alternative to the alternative list. The display device 200 finds an alternative closest to the current focus control in the alternative list according to a direction indicated by the key instruction, and makes the alternative obtain focus.
[0100] In some embodiments, the finding of the alternative closest to the current focus control in the alternative list according to the direction indicated by the key instruction and the making of the alternative obtain focus comprises: when the alternative is the first control, the display device 200 controls the focus to move to the first control, so that the first control becomes the focus control. When the alternative is the second display area, the display device 200 obtains a target control in the second display area, controls the target control to obtain focus, so that the target control becomes the focus control, wherein the target control refers to a control to be focused in the second display area.
[0101] In some embodiments, when the alternative is the second display area, the obtaining of the target control in the second display area and the controlling of the target control to obtain focus comprises: the display device 200 controls the second display area to obtain focus, so that the second display area becomes a focus display area. The display device 200 finds a target control in the focus display area, and controls the target control to obtain focus.
[0102] In some embodiments, the searching for the target control in the focused display area includes: the display device 200 detecting whether a second control that is a focused control exists in the focused display area. If the second control exists in the focused display area and the state of the second control is normal, the display device 200 controls the focus to move to the second control, so that the second control becomes the focused control. If the second control exists in the focused display area and the state of the second control is abnormal, or the second control does not exist in the focused display area, the display device 200 controls the focus to move to a head control or a tail control of the focused display area, so that the head control or the tail control becomes the focused control.
[0103] Since the above embodiments are described in combination with other manners, and different embodiments have the same parts, the same and similar parts between various embodiments in the description are referred to each other, which will not be described in detail here.
[0104] It should be noted that in the description, the relationship terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between the entities or operations. Moreover, the term "comprise", "include" or any other variant thereof is intended to cover non-exclusive inclusion, so that the circuit structure, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such circuit structure, article or device. Without more limitations, the element defined by the phrase "comprising a" does not exclude the presence of another same element in the circuit structure, article or device including the element.
[0105] Other embodiments of the application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. The specification and examples given are exemplary only. It is intended to cover any variations, uses or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice in the art to which the application pertains. It is intended to cover and invoke the equivalents of whatever naturally belongs to the true scope and spirit of the claimed application.
[0106] The above embodiments of the application do not constitute limitation on the protection scope of the application.
Claims
1. A display device, characterized by comprising: The display device comprises: a display configured to display a user interface; a controller connected in communication with the display, the controller being configured to: receive an input key instruction for controlling focus movement; acquire a first display area where a current focus control is located, and add all first controls in the first display area as candidates to a candidate list, wherein the first display area comprises a plurality of controls that can acquire focus; add a second display area as a candidate to the candidate list without adding controls in the second display area to the candidate list, wherein the user interface divides different levels into different display areas based on a document object model, the first display area refers to a display area containing a current focus control, the second display area refers to a display area in the current user interface other than the first display area and adjacent to the first display area, and the second display area comprises a plurality of controls that can acquire focus; find a nearest candidate in the candidate list from the current focus control according to a direction indicated by the key instruction, and make the nearest candidate acquire focus; when the nearest candidate is the second display area, control the second display area to acquire focus so that the second display area becomes a focus display area; find a target control in the focus display area, and control the target control to acquire focus so that the target control becomes a focus control, wherein the target control refers to a control to be focused in the second display area.
2. The display device of claim 1, wherein, In the step of finding the nearest candidate in the candidate list from the current focus control according to the direction indicated by the key instruction, and making the nearest candidate acquire focus, the controller is configured to: when the nearest candidate is a target first control, control the target first control to acquire focus so that the target first control becomes a focus control, the target first control being one of all first controls.
3. The display device of claim 1, wherein, In the step of finding a target control in the focus display area, the controller is configured to: detect whether a second control that has been a focus control exists in the focus display area; if the second control exists in the focus display area and a state of the second control is normal, control focus to move to the second control so that the second control becomes a focus control, wherein the state of the second control being normal means that the second control exists in the user interface; if the second control exists in the focus display area and the state of the second control is abnormal, or the second control does not exist in the focus display area, control focus to move to a head control or a tail control of the focus display area so that the head control or the tail control becomes a focus control, wherein the state of the second control being abnormal means that the second control does not exist in the user interface.
4. The display device of claim 1, wherein, The controller is further configured to: record a last control where focus is stopped before moving to a next display area in a form of a key value in a memory.
5. The display device of claim 1, wherein, In the step of receiving the inputted key instruction for controlling the focus movement, the controller is configured to: receive the key instruction inputted by the user through the direction keys on the remote controller.
6. A focus management method characterized by, The method comprises: receiving the inputted key instruction for controlling the focus movement; acquiring a first display area where the current focus control is located, and adding all first controls in the first display area as candidates to a candidate list, wherein the first display area comprises a plurality of controls that can acquire focus; adding a second display area as a candidate to the candidate list without adding the controls in the second display area to the candidate list, wherein the user interface divides different levels into different display areas based on a document object model, the first display area refers to a display area containing the current focus control, the second display area refers to a display area in the current user interface that is located outside the first display area and adjacent to the first display area, and the second display area comprises a plurality of controls that can acquire focus; finding the closest candidate to the current focus control in the candidate list according to the direction indicated by the key instruction, and making the closest candidate acquire focus; when the closest candidate is the second display area, controlling the second display area to acquire focus so that the second display area becomes the focus display area; finding a target control in the focus display area, and controlling the target control to acquire focus so that the target control becomes the focus control, wherein the target control refers to a control in the second display area that is to acquire focus.
7. The focus management method of claim 6, wherein, The finding the closest candidate to the current focus control in the candidate list according to the direction indicated by the key instruction, and making the closest candidate acquire focus, comprises: when the closest candidate is the first control, controlling the first control to acquire focus so that the first control becomes the focus control.
8. The focus management method of claim 6, wherein, The finding the target control in the focus display area, comprises: detecting whether there is a second control that has been a focus control in the focus display area; when there is the second control that has been a focus control in the focus display area and the state of the second control is normal, controlling the focus to move to the second control so that the second control becomes the focus control, wherein the state of the second control being normal means that the second control exists in the user interface; when there is the second control that has been a focus control in the focus display area and the state of the second control is abnormal, or there is no second control that has been a focus control in the focus display area, controlling the focus to move to a head control or a tail control of the focus display area so that the head control or the tail control becomes the focus control, wherein the state of the second control being abnormal means that the second control does not exist in the user interface.
Citation Information
Patent Citations
Interface focus object selection method
CN101086696A
Method for operating set-top box and key thereof
CN101562690A
Display performance optimization method and device, equipment and storage medium
CN113515282A
Method of intuitive type moving focus in viewing window and its device
CN1459975A