A mobile focus method and apparatus

By treating multiple controls as a set of controls and combining them with remote control signals, the system enables rapid focus movement, solving the problem of remote controls struggling to efficiently move focus in complex interfaces and improving the user experience.

CN115686689BActive Publication Date: 2026-08-25HUAWEI TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110832580.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-22
Publication Date
2026-08-25
Estimated Expiration
2041-07-22

AI Technical Summary

Technical Problem

In scenarios involving device interconnection and application migration, users often find it difficult to efficiently move the focus using a remote control, especially in complex layout interfaces where some controls may struggle to gain focus or require multiple operations.

Method used

By treating multiple controls as a set and focusing them as a whole, combined with remote control operation signals, the focus can be moved quickly, reducing the number of operations required.

Benefits of technology

It improves the ease of moving focus on the device and reduces the number of operations required for controls to gain focus, significantly enhancing the user experience, especially in complex interfaces.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115686689B_ABST
    Figure CN115686689B_ABST
Patent Text Reader

Abstract

The application provides a mobile focus method and device, and relates to the field of terminals. The device displays a first interface; when a focus is located at a first object in the first interface, a first signal generated by a first operation of a user on another device is received; and in response to the received first signal, the focus in the first interface is moved to a second object; wherein at least one of the first object and the second object is a control set. The control set can obtain the focus as a whole, the number of operations of the user for selecting the control in the application interface is reduced, and the convenience of moving the focus on the device is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of terminals, and more particularly to a method and device for moving focus. Background Technology

[0002] Users interact with various devices in different ways. For example, mobile phones and tablets typically interact via touchscreens; smart screens interact via remote controls; and personal computers (PCs) and laptops typically interact via connected input devices. Taking smart screens as an example, they generally interact via remote controls. For instance, when an application interface is displayed on a smart screen, the control in the default position within that interface gains focus. Users can use the up, down, left, or right arrow keys on the remote to move the focus up, down, left, or right, thus moving the control in the default position one position up, down, left, or right to gain focus.

[0003] With the rapid development of device intelligence, functions such as inter-device interconnection and cross-device application migration are becoming increasingly common. For example, in some scenarios, a mobile phone's interface is projected onto a smart screen for display. In other scenarios, it will be applicable to… This involves migrating apps from mobile operating systems to smart screens. In these scenarios, the application interfaces displayed on the smart screen are those adapted for mobile operating systems. Generally, mobile application interfaces have more complex layouts to provide a richer user experience. For example, application interfaces may include waterfall layouts and floating buttons. If an application interface has complex layouts such as waterfall layouts and floating buttons, when users use a remote control to select controls on the application interface, they may need to perform many operations to get some controls to focus, or even have some controls that are difficult to focus at all. Summary of the Invention

[0004] This application provides a method and device for moving focus, which can reduce the number of operations required for controls to gain focus in an application interface and improve the convenience of moving focus on the device.

[0005] In a first aspect, a method for moving focus is provided, applied to a device that maintains a wireless connection with another device. For example, the device is a smart screen, and the other device is a remote control. The method includes: the device displaying a first interface, the first interface including multiple controls; the current focus being on a first object within the first interface; receiving a first signal generated by a first operation performed by a user on the other device; for example, the first operation includes pressing an up button, a down button, a left button, or a right button on the other device; in response to receiving the first signal, a second object within the first interface acquiring focus; wherein the first object includes controls or a set of controls, the second object includes controls or a set of controls, and at least one of the first object and the second object is a set of controls.

[0006] In this method, multiple controls can be treated as a set of controls to receive focus. For example, multiple controls within a container control can be treated as a set of controls to receive focus. Users do not need to select each control that receives focus first in the order it will receive focus; they can quickly select controls that receive focus later in the order it will receive focus. This reduces the number of operations required to obtain focus for controls within the application interface and improves the convenience of moving focus on the device.

[0007] According to the first aspect, in one implementation, the second object is a collection of controls, and the method further includes: receiving a second signal generated by a second operation performed by a user on another device; for example, the second operation includes pressing an OK button on another device; in response to receiving the second signal, a third object acquires focus, the third object being a sub-object of the second object.

[0008] In this method, after an object on the interface gains focus, the user can perform a second operation. If the focused object is a collection of controls, in response to the user's second operation, the child object at a preset position within the control collection gains focus. The child object can be a control or a collection of controls; the child object at the preset position can be the first child object, the last child object, or the child object with the highest number of selections by the user, etc. This method enables the selection of a control or collection of controls within a control collection.

[0009] According to the first aspect, or any implementation of the first aspect above, after the third object gains focus, the method further includes: receiving a third signal generated by a third operation performed by the user on another device; in response to receiving the third signal, a fourth object, which is a child object of the second object, gains focus. In one implementation, the third operation is the same as the first operation; for example, the third operation includes pressing the up, down, left, or right keys on another device.

[0010] In this method, after a child object within a control collection gains focus, the focus is moved within that control collection according to the method for moving focus within an object on the screen.

[0011] According to the first aspect, or any implementation of the first aspect above, the method further includes: receiving a fourth signal generated by a fourth operation performed by the user on another device; for example, the fourth operation includes pressing the back button on another device; in response to receiving the fourth signal, a fifth object acquires focus; the fifth object is the parent object of the second object.

[0012] In this way, once a child object in the interface gains focus, it is easy to return the focus to the object on the interface, allowing users to conveniently move the focus to other objects in the interface.

[0013] According to the first aspect, or any implementation of the first aspect above, the content of the first interface is the same as the content of the application interface on the other device, and the content of the first interface is displayed by the device based on data received from the other device. For example, if the other device is a mobile phone, the first interface is the interface of the mobile phone's application projected onto the smart screen.

[0014] According to the first aspect, or any implementation of the first aspect above, the number of controls included in the second object is greater than or equal to a preset threshold. That is, if the number of controls included in the second object is greater than or equal to the preset threshold, in response to receiving the first signal, the second object as a whole gains focus. If the number of controls included in the second object is less than the preset threshold, in response to receiving the first signal, the first sub-object of the second object within the first interface gains focus. This avoids the need for the user to press a designated button on the remote control and then the OK button on the remote control to select a sub-control when the number of sub-controls is small, thus reducing operational costs.

[0015] According to the first aspect, or any implementation of the first aspect above, after the second object in the first interface gains focus, the device receives a fifth signal generated by a fifth operation performed by the user on another device; in response to receiving the fifth signal, the first sub-object of the sixth object in the first interface gains focus; wherein the number of controls included in the sixth object is less than a preset threshold. The fifth operation includes pressing the up, down, left, or right arrow keys on another device, etc.

[0016] According to the first aspect, or any implementation of the first aspect above, the first operation includes pressing the right key on another device, and the second object is the first object to the right of the first object.

[0017] According to the first aspect, or any implementation of the first aspect above, the first operation includes pressing the down key of another device, and the second object is the first object below the first object.

[0018] According to the first aspect, or any of the implementations of the first aspect above, a control collection is a container control that includes multiple controls.

[0019] Secondly, embodiments of this application provide a device that may include a processor and a memory. The processor is configured to support the device in performing the corresponding functions in the method described in the first aspect. The memory is coupled to the processor and stores necessary program instructions and data for the device. Additionally, the device may include a communication interface for supporting communication between the device and other devices. The communication interface may be a transceiver or a transceiver circuit.

[0020] Thirdly, embodiments of this application provide a computer-readable storage medium including computer instructions that, when executed on an electronic device, cause the electronic device to perform the method as described in any of the above aspects and possible design configurations.

[0021] Fourthly, embodiments of this application provide a computer program product that, when run on a computer, causes the computer to perform the method described in any of the above aspects and possible design configurations.

[0022] The devices, computer-readable storage media, or computer program products provided above are all used to perform the corresponding methods provided above. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects of the corresponding solutions in the corresponding methods provided above, and will not be repeated here. Attached Figure Description

[0023] Figure 1A This is a schematic diagram illustrating a scenario example of a focus-moving method;

[0024] Figure 1B This is a schematic diagram illustrating a scenario example of a focus-moving method;

[0025] Figure 2 A schematic diagram of the device hardware architecture to which the moving focus method provided in the embodiments of this application is applicable;

[0026] Figure 3 A schematic diagram of the remote control hardware architecture to which the focus shifting method provided in the embodiments of this application is applicable;

[0027] Figure 4A A schematic diagram illustrating a scenario example of the focus-moving method provided in this application embodiment;

[0028] Figure 4B A schematic diagram illustrating a scenario example of the focus-moving method provided in this application embodiment;

[0029] Figure 5 A schematic diagram illustrating a scenario example of the focus-moving method provided in this application embodiment;

[0030] Figure 6 A schematic diagram illustrating a scenario example of the focus-moving method provided in this application embodiment;

[0031] Figure 7A A schematic diagram illustrating a scenario example of the focus-moving method provided in this application embodiment;

[0032] Figure 7B A schematic diagram illustrating a scenario example of the focus-moving method provided in this application embodiment;

[0033] Figure 8 A schematic diagram illustrating a scenario example of the focus-moving method provided in this application embodiment;

[0034] Figure 9 A schematic diagram illustrating a scenario example of the focus-moving method provided in this application embodiment;

[0035] Figure 10 A schematic diagram illustrating a scenario example of the focus-moving method provided in this application embodiment;

[0036] Figure 11 A schematic diagram illustrating a scenario example of the focus-moving method provided in this application embodiment;

[0037] Figure 12 A schematic diagram illustrating a scenario example of the focus-moving method provided in this application embodiment;

[0038] Figure 13 A schematic diagram of a device architecture provided for an embodiment of this application;

[0039] Figure 14 A flowchart illustrating the focus shifting method provided in an embodiment of this application;

[0040] Figure 15 A flowchart illustrating the focus shifting method provided in an embodiment of this application;

[0041] Figure 16 This is a schematic diagram of a device architecture provided for an embodiment of this application. Detailed Implementation

[0042] The terminology used in the following embodiments is for the purpose of describing particular embodiments only and is not intended to be limiting of this application. As used in the specification and appended claims of this application, the singular expressions “a,” “an,” “the,” “the,” “the,” and “this” are intended to also include expressions such as “one or more,” unless the context clearly indicates otherwise. It should also be understood that in the following embodiments of this application, “at least one” and “one or more” refer to one or more (including two). The term “and / or” is used to describe the relationship between related objects, indicating that three relationships can exist; for example, A and / or B can indicate: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character “ / ” generally indicates that the preceding and following related objects are in an “or” relationship.

[0043] References to "one embodiment" or "some embodiments" as used in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized. The term "connection" includes both direct and indirect connections, unless otherwise stated.

[0044] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the embodiments of this application, words such as "exemplary" or "for example" are used to indicate that something is an example, illustration, or description. Any embodiment or design described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.

[0045] The elements presented in the interface are called controls (Views). Controls can provide users with certain operational functions or display certain content. For example, the above-mentioned controls may specifically include text controls, such as text boxes (TextView), edit boxes (EditText), etc.; they may also include button controls, such as Button, ImageButton, etc.; they may also include image controls, such as Image, etc.; the embodiments of this application do not impose any limitations on this.

[0046] A container control is a control that allows controls or container controls to be added inside it. Examples of container controls include list controls, tab controls, title controls, dropdown controls, layout controls, ViewPager, and ViewGroup.

[0047] Each interface of the application consists of controls. For example, such as... Figure 1A As shown, the interface displayed on the smart screen 100 includes a search box 101, a title bar 102, a page 103, a floating button 104, and a bottom tab 105. The search box 101 is a single control. The title bar 102 is a container control, including controls such as "Following," "Recommended," "Local," and "Favorites." The page 103 is a container control, including controls 1031, 1032, 1033, and 1034; page 103 uses a waterfall layout, continuously loading controls to the end of the current page as the page scrolls down (controls move up). The floating button 104 is a floating control, displayed above page 103. The bottom tab 105 is a container control, including controls such as "Home," "Discover," and "Login."

[0048] It is understood that the interface described in this application embodiment may include the application interface, and may also include the device's main interface (i.e., desktop). Controls within the interface can be selected and become the focus. The display effect of the focus control is different from that of the non-focus control. For example, the focus control may be highlighted, or a border may be displayed around it to distinguish it from the non-focus control.

[0049] Smart screens and similar devices can be used for human-computer interaction via remote control. Applications on the smart screen can receive signals from the directional keys (such as up, down, left, and right) on the remote control and move the focus position based on the user's key presses. For example, a user can control the focus on the smart screen 100's display interface to move up, down, left, or right by pressing the up, down, left, or right keys on remote control 200. Focus is typically moved on a per-control basis. For example,... Figure 1BAs shown, when a user opens the application interface, the default focus is on the search box 101. The user can press the down button on the remote control 200 to move the focus downwards; in response to this, control 1021 in the title bar 102 gains focus. The user can also press the right button on the remote control 200 to move the focus to the right; in response, control 1022 in the title bar 102 gains focus. The user continues to press the down button on the remote control 200 to move the focus downwards; in response, control 1031 on page 103 gains focus. The user continues to press the down button on the remote control 200 to move the focus downwards; in response, control 1032 on page 103 gains focus. The user continues to press the down button on the remote control 200 to move the focus downwards; in response, control 1033 on page 103 gains focus. The user continues to press the down button on remote control 200 to move the focus downwards; in response to the user's press of the down button on remote control 200, control 1034 on page 103 gains focus. The user continues to press the down button on remote control 200 to move the focus downwards; in response to the user's press of the down button on remote control 200, page 103 loads new controls, and control 1035 on page 103 gains focus. The user continues to press the down button on remote control 200 to move the focus downwards; page 103 continues to load new controls. The floating button 104 and the bottom tab 105 gain focus after page 103. If there are many controls on page 103, or if the controls on page 103 are constantly refreshing, it may be difficult for the controls in the floating button 104 and the bottom tab 105 to gain focus.

[0050] This application provides a method for moving focus, which treats multiple controls as a set of controls and allows the entire set to gain focus. For example, Figure 1AThe display interface of the Smart Screen 100 includes three control sets: Set 1 includes controls such as "Following," "Recommended," "Local," and "Favorites" in the title bar 102; Set 2 includes controls within page 103; and Set 3 includes controls such as "Home," "Discover," and "Login" in the bottom tab 105. For example, the current focus is on the search box 101 (i.e., search box 101 gains focus). When the user presses the down button on the remote control 200, the focus moves downwards; in response, the title bar 102 gains focus. The user continues to press the down button on the remote control 200, moving the focus downwards; in response, page 103 gains focus. The user presses the right button on the remote control 200, moving the focus to the right; in response, the floating button 104 gains focus. The user continues to press the down button on the remote control 200, moving the focus downwards; in response, tab 105 gains focus. When a user presses the OK button on remote control 200, the "Home" control within tab 105 gains focus. When the user presses the right arrow key on remote control 200, the focus moves to the right; in response to this, the "Discover" control to the right of the "Home" control gains focus. The number of times the floating button 104 and controls within the bottom tab 105 gain focus is significantly reduced, improving the ease with which users can move focus on the smart screen 100.

[0051] The focus-moving method provided in this application is applied to a device. This device may include a large screen, smart TV, smart screen, high-definition TV, 4K TV, smart projector, etc. Users can control the focus movement on the screen of the aforementioned non-touchscreen device by pressing the directional keys on a remote control. It should be noted that the remote control may be a mobile phone, tablet, wearable device, etc., with remote control functionality, or it may be a dedicated remote control for the device. The device may also include tablet computers, laptops, ultra-mobile personal computers (UMPCs), handheld computers, netbooks, personal digital assistants (PDAs), etc., connected to an input device. For example, the input device may include a keyboard, allowing users to control the focus movement on the screen of the device connected to the input device by pressing the directional keys on the keyboard. Alternatively, the input device may include a microphone, allowing users to input voice commands such as "up," "down," "left," or "right" to control the focus movement on the screen of the device connected to the input device. Understandably, the device may also include mobile phones, wearable devices (such as smartwatches, smart glasses, or smart helmets), augmented reality (AR) / virtual reality (VR) devices, smart home devices (such as smart speakers, smart refrigerators, or smart door locks), in-vehicle computers, and other touchscreen devices. Users control the focus movement on the screen of the aforementioned touchscreen device via remote control, keyboard, etc. This application does not impose any special limitations on the specific form of the device.

[0052] Taking the Smart Screen 100 as an example of the aforementioned devices. Figure 2 A structural schematic diagram of the Smart Screen 100 is shown.

[0053] like Figure 2 As shown, the smart screen 100 may include a processor 110, a memory 120, an audio module 130, a speaker 130A, a display screen 140, a wireless communication module 150, an interface module 160, a power module 170, etc.

[0054] It is understood that the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the smart screen 100. In other embodiments of this application, the smart screen 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be hardware, software, or a combination of software and hardware.

[0055] The aforementioned components can also be distributed across different electronic devices. For example, the smart screen 100 can be in the form of a set-top box plus a display.

[0056] Processor 110 may include one or more processors, such as an application processor (AP), a controller, a video codec, and / or a digital signal processor (DSP). These different processors may be independent devices or integrated into one or more processors.

[0057] The controller can serve as the central nervous system and command center of the Smart Screen 100. It can generate operation control signals based on instruction operation codes and timing signals to control the fetching and execution of instructions.

[0058] The application processor can run the operating system of the Smart Screen 100 to manage its hardware and software resources. This includes managing and configuring memory, determining the priority of system resource allocation, managing the file system, and managing drivers. The operating system also provides a user interface for interaction with the system. Various software, such as drivers and applications, can be installed within the operating system.

[0059] A digital signal processor is used to process digital signals. In addition to processing digital image signals, it can also process other digital signals.

[0060] Video codecs are used to compress or decompress digital video. The Smart Screen 100 can support one or more video codecs. This allows the Smart Screen 100 to play videos in various encoding formats.

[0061] Memory 120 is used to store instructions and data. In some embodiments, memory 120 is a cache memory. This memory can store instructions or data that have been used or repeatedly used by processor 110. If processor 110 needs to use the instruction or data again, it can directly retrieve it from memory 120. This avoids repeated accesses, reduces the waiting time of processor 110, and thus improves system efficiency.

[0062] In some embodiments, the memory 120 may also be disposed in the processor 110, that is, the processor 110 includes the memory 120. This application embodiment does not limit this.

[0063] The audio module 130 is used to convert digital audio information into analog audio signals for output, and also to convert analog audio input into digital audio signals. The audio module 130 can also be used for encoding and decoding audio signals. In some embodiments, the audio module 130 may be located in the processor 110, or some functional modules of the audio module 130 may be located in the processor 110.

[0064] The loudspeaker 130A, also known as a "loudspeaker", is used to convert audio electrical signals into sound signals.

[0065] The Smart Screen 100 can achieve audio functions, such as sound playback, through the audio module 130, speaker 130A, and application processor.

[0066] The display screen 140, also known as a screen, is used to display images, videos, etc. The display screen 140 includes a display panel. In this embodiment, the display screen 140 can be used to display an interface.

[0067] The wireless communication module 150 can provide solutions for wireless communication applications on the smart screen 100, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), frequency modulation (FM), infrared (IR), NFC (near field communication), and 2G / 3G / 4G / 5G / 6G. The wireless communication module 150 can be one or more devices integrating at least one communication processing module. The wireless communication module 150 receives electromagnetic waves via an antenna, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to the processor 110. For example, the wireless communication module 150 can be used to implement communication between the smart screen 100 and the remote control in this embodiment. The smart screen 100 can receive signals from the remote control via wireless communication methods such as Bluetooth and IR.

[0068] The interface module 160 may include a USB interface, an audio output interface, a high-definition multimedia interface (HDMI), and a memory card interface. The USB interface is a USB standard compliant interface, specifically a Mini USB interface, Micro USB interface, or USB Type-C interface. The USB interface can be used for data transfer between the Smart Screen 100 and peripheral devices; for example, the Smart Screen 100 can connect to external storage devices, external cameras, game controllers, etc., via the USB interface. The audio output interface is used to connect external audio devices, such as speakers. HDMI is a fully digital video and audio transmission interface that can simultaneously transmit uncompressed audio and video signals; for example, the Smart Screen 100 can connect to cable set-top boxes, network set-top boxes, computers, speakers, etc., via the HDMI interface. The memory card interface is used to connect external memory cards, such as Micro SD cards, to expand the storage capacity of the Smart Screen 100.

[0069] The power module 170 can be used to supply power to the various components included in the smart screen 100.

[0070] Typically, the Smart Screen 100 comes with a remote control. This remote control is used to control the Smart Screen 100. Figure 3 The diagram illustrates the structure of a remote control 200. The remote control 200 may include multiple buttons, such as an up button 201, a down button 202, a left button 203, a right button 204, an OK button 205, a back button 206, and a power button 207. The buttons on the remote control 200 can be mechanical buttons or touch-sensitive buttons. The remote control 200 can receive button inputs, generate key signal inputs related to user settings and function control of the smart screen 100, and send corresponding signals to the smart screen 100 to control it. For example, when a user presses the up button 201, down button 202, left button 203, right button 204, OK button 205, back button 206, or power button 207, the button can emit the corresponding signal and send the signal to the smart screen 100 wirelessly via Bluetooth, infrared, NFC, or other methods. The smart screen 100 receives the corresponding signal from the button via a wireless communication module 150 (e.g., Bluetooth, IR, NFC) and can then perform the corresponding operation based on the signal.

[0071] In one example, the up key 201, down key 202, left key 203, and right key 204 are directional keys used to control the movement direction of objects on the smart screen 100. For example, when the smart screen 100 receives the signal corresponding to the up key 201 on the display interface, it moves the focus upward; when it receives the signal corresponding to the down key 202, it moves the focus downward; when it receives the signal corresponding to the left key 203, it moves the focus to the left; and when it receives the signal corresponding to the right key 204, it moves the focus to the right.

[0072] It is understood that the remote control 200 may also include other buttons and components, such as volume buttons, Bluetooth interface, infrared interface, NFC interface, battery storage cavity (for installing batteries to power the remote control), etc. These will not be elaborated further in the embodiments of this application.

[0073] It should be noted that, in some embodiments, the aforementioned up button 201, down button 202, left button 203, right button 204, confirm button 205, back button 206, power button 207, etc., can also be located on the smart screen 100. These buttons can be mechanical buttons or touch buttons. The smart screen 100 can receive button input and generate key signal inputs related to user settings and function control to control the smart screen 100. This application embodiment does not limit the position of the buttons.

[0074] The moving focus method provided in the embodiments of this application will be described in detail below with reference to the accompanying drawings. The following embodiments of this application use the example of a smart screen 100 receiving user input to buttons on a remote control 200 to illustrate the control of the smart screen 100.

[0075] The smart screen 100 displays an interface. In one example, this interface is an application interface running on another device (such as a mobile phone) projected onto the smart screen for display. For instance, the mobile phone sends the interface data of an application running on the phone to the smart screen 100, and the smart screen 100 displays the application interface based on the received data; the content of the application interface displayed on the smart screen 100 is the same as the content of the application interface displayed on the mobile phone. In one example, this interface is the interface of an application running on the smart screen. Each interface of the application consists of controls. The focus acquisition capability of each control can be set in the application's interface layout file. For example, setting the focus acquisition capability to true indicates that the control has the ability to acquire focus, i.e., the control can become the focus; setting the focus acquisition capability to false indicates that the control does not have the ability to acquire focus, i.e., the control cannot become the focus. In this embodiment of the application, unless otherwise stated, the focus acquisition capability of the controls is true.

[0076] In this embodiment, multiple controls within the interface can be treated as a control set to gain focus. For example, in one implementation, multiple controls within a container control belong to a control set. In another implementation, the controls included in each control set are determined according to preset rules. For instance, multiple controls in each row of the interface belong to a control set; or, for example, every 10 controls in the interface belong to a control set. In yet another implementation, application developers specify multiple controls belonging to a control set in the application's files (e.g., the interface layout file). The focus-gaining capability of each control set can be set in the application's interface layout file. In this embodiment, unless otherwise stated, the focus-gaining capability of a control set is true.

[0077] The object that gains focus within the interface can be a control or a collection of controls. For example, the focus is on the first object. When the user performs a first action, in response to the user's first action, the focus moves to the second object according to a preset focus movement rule, meaning the second object gains focus; wherein, at least one of the first and second objects is a collection of controls.

[0078] In one implementation, the first operation includes pressing a directional key on the remote control (e.g., up, down, left, or right). Preset focus movement rules include: if the smart screen receives a signal corresponding to the up button on the remote control, the current focus moves to the next higher object; if the smart screen receives a signal corresponding to the down button on the remote control, the current focus moves to the next lower object; if the smart screen receives a signal corresponding to the left button on the remote control, the current focus moves to the next left object; and if the smart screen receives a signal corresponding to the right button on the remote control, the current focus moves to the next right object. Understandably, if the smart screen receives a button signal from the remote control and the current focus cannot move further, then the focus will not move. For example, if there are no controls or sets of controls below the first object, and the smart screen receives a signal corresponding to the down button on the remote control, then the focus will not move.

[0079] In one example, the focus is on the first object. When the user presses the up button on the remote control 200, the smart screen 100 receives the corresponding signal and, in response, the second object on the screen gains focus; wherein the second object is the object one position above the first object. Alternatively, when the user presses the down button on the remote control 200, the smart screen 100 receives the corresponding signal and, in response, the second object on the screen gains focus; wherein the second object is the object one position below the first object. Alternatively, when the user presses the left button on the remote control 200, the smart screen 100 receives the corresponding signal and, in response, the second object on the screen gains focus; wherein the second object is the object one position to the left of the first object. Alternatively, when the user presses the right button on the remote control 200, the smart screen 100 receives the corresponding signal and, in response, the second object on the screen gains focus; wherein the second object is the object one position to the right of the first object. For example, the application's interface layout file includes the position information of controls and / or container controls within each interface of the application. The position of each control or container control on the interface can be obtained based on the application's interface layout file. When the smart screen receives the signal corresponding to the user pressing the up button on the remote control 200, it determines that the current focus is on the first object. Based on the position of the first object on the interface, it finds the object above the first object (control or set of controls), thus determining the second object. When the smart screen receives the signal corresponding to the user pressing the down button on the remote control 200, it determines that the current focus is on the first object. Based on the position of the first object on the interface, it finds the object below the first object (control or set of controls), thus determining the second object. When the smart screen receives the signal corresponding to the user pressing the left button on the remote control 200, it determines that the current focus is on the first object. Based on the position of the first object on the interface, it finds the object to the left of the first object (control or set of controls), thus determining the second object. When the smart screen receives the signal corresponding to the user pressing the right button on the remote control 200, it determines that the current focus is on the first object. Based on the position of the first object on the interface, it finds the object to the right of the first object (control or set of controls), thus determining the second object.

[0080] In one example, such as Figure 4AAs shown, the smart screen 100 display interface includes controls 401 to 412. Controls 401, 402, 404, and 405 belong to control set 1; controls 403, 406, and 407 belong to control set 2; and controls 409, 410, 411, and 412 belong to control set 3. For example, the current focus is on control set 1, which includes controls 401, 402, 404, and 405. For instance, a highlighted border is displayed around the focused object (controls 401, 402, 404, and 405). When a user presses the right button on remote control 200, control set 2, including controls 403, 406, and 407, gains focus in response to the user pressing the right button on remote control 200. When a user presses the down button on remote control 200, control 408 gains focus in response to the user pressing the down button on remote control 200. When a user presses the down button on remote control 200, control set 3, including controls 409, 410, 411, and 412, gains focus in response to the user pressing the down button on remote control 200. When a user presses the up button on remote control 200, control 408 gains focus in response to the user pressing the up button on remote control 200. When a user presses the up button on remote control 200, control set 1, including controls 401, 402, 404, and 405, gains focus in response to the user pressing the up button on remote control 200.

[0081] It should be understood that if multiple objects meet the focus acquisition conditions according to the preset focus movement rules, then one object can be selected from these objects to gain focus according to the preset focus selection rules. It is also understood that the preset focus selection rules can be a part of the preset focus movement rules. For example, Figure 4A The current focus is on control 408. The user presses the up button on remote control 200. According to the preset focus movement rules, control set 1, including controls 401, 402, 404, and 405, and control set 2, including controls 403, 406, and 407, all meet the focus acquisition condition. In one example, the preset focus selection rule is that the first object that meets the focus acquisition condition (in left-to-right or top-to-bottom order) acquires focus; for example, Figure 4A The control set 1, including controls 401, 402, 404, and 405, gains focus. In one example, the preset focus selection rule is that the last object (in left-to-right or top-to-bottom order) that meets the focus condition gains focus; for example, Figure 4A The control set 2, including controls 403, 406, and 407, gains focus. In one example, the preset focus selection rule is that any object that meets the focus acquisition condition gains focus.

[0082] In another implementation, the first operation includes pressing a designated button on the remote control (such as the Tab key, down button, or up button). In one example, the designated button is the down button, and the preset focus movement rules include: if there is a focusable object to the right of the current focus, the current focus moves to the object to the right; if there is no focusable object to the right of the current focus, the current focus moves to the object to the left; if multiple objects meet the focus acquisition conditions, the first object that meets the conditions (in left-to-right or top-to-bottom order) receives focus. If there are no focusable objects to the right or below the current focus, the focus moves to the default position (such as the first object on the screen). For example, the application's interface layout file includes the position information of controls and / or container controls within each screen of the application, and the position of each control or container control on the screen can be obtained based on the application's interface layout file. When the smart screen receives the signal corresponding to the user pressing the down button on the remote control (200), it determines that the current focus is on the first object. Based on the application's interface layout file, it searches for the first object to the right of the first object. If there is an object to the right of the first object, it determines the first object to the right of the first object as the second object. If there is no object to the right of the first object, it searches for the first object below the first object. If there is an object below the first object, it determines the first object below the first object as the second object.

[0083] In one example, such as Figure 4B As shown, the display interface of the smart screen 100 includes controls 401 to 412. Controls 401, 402, 404 and 405 belong to control set 1, controls 403, 406 and 407 belong to control set 2, and controls 409, 410, 411 and 412 belong to control set 3. For example, if the current focus is on control set 1, which includes controls 401, 402, 404, and 405, and the user presses the down button on the remote control 200, control set 2, including controls 403, 406, and 407, will gain focus in response to the user pressing the down button on the remote control 200. If the user presses the down button on the remote control 200, control 408 will gain focus in response to the user pressing the down button on the remote control 200. If the user presses the down button on the remote control 200, control set 3, including controls 409, 410, 411, and 412, will gain focus in response to the user pressing the down button on the remote control 200. If the user presses the down button on the remote control 200, control set 1, including controls 401, 402, 404, and 405, will gain focus in response to the user pressing the down button on the remote control 200.

[0084] In yet another example, with Figure 1A For example, the interface shown below. Figure 5 As shown, the current focus on the search box 101 is located within the display interface of the smart screen 100. When the user presses a designated button on the remote control 200 (e.g., the down arrow key), the search box 101 gains focus on the next object in response to the user's button press on the remote control 200. The next object after the search box 101 is a container control (title bar 102), including controls such as "Following," "Recommended," "Local," and "Favorites"; the title bar 102 gains focus as a collection of controls. When the user presses a designated button on the remote control 200 (e.g., the down arrow key), the title bar 102 gains focus on the next object in response to the user's button press on the remote control 200. The next object after the title bar 102 is a container control (page 103), and page 103 gains focus as a collection of controls. When the user presses a designated button on the remote control 200 (e.g., the down arrow key or the right arrow key), page 103 gains focus on the object to the right in response to the user's button press on the remote control 200. The object to the right of page 103 is a control (floating button 104); the floating button 104 gains focus. When a user presses a designated button on the remote control 200 (such as the down button), the floating button 104 gains focus on the next object in response to the user's operation of pressing the designated button on the remote control 200. The next object of the floating button 104 is a container control (bottom tab 105), including controls such as "Home", "Discover", and "Login"; the bottom tab 105 gains focus as a collection of controls.

[0085] When an object on the interface gains focus, the user can perform a second operation. For example, the second operation might include pressing the "OK" button on a remote control. If the object with focus is a control, in response to the user's second operation, the corresponding business logic of that control is executed. For example, if search box 101 gains focus and the user presses the "OK" button on remote control 200, in response to the user's press of the "OK" button, search box 101 receives input from the remote control (e.g., the cursor flashes in search box 101, and text is displayed based on the remote control input). If the object with focus is a collection of controls, in response to the user's second operation, the child object at a preset position within that control collection gains focus; where the child object can be a control or a collection of controls; the child object at the preset position can be the first child object, the last child object, or the child object with the highest number of times selected by the user, etc. For example, the application's interface layout file includes the controls (or container controls) included in each control collection (e.g., container controls) and the position of each control (or container control). The smart screen receives the corresponding signal from the remote control's OK button, determines that the focus is on control set one, and identifies the first sub-object within control set one based on the application's interface layout file; then moves the focus to the first sub-object within control set one.

[0086] In one example, such as Figure 6As shown, the current focus is on tab 105 at the bottom of the interface. When the user presses the OK button on the remote control, the first control ("Home") within tab 105 gains focus in response to this action. Figure 5 and Figure 6 In the focus-moving method provided in this application embodiment, the user can select the floating button 104 by pressing the down arrow key 3 times and the OK key once; the user can select the "Home" control of the bottom tab 105 by pressing the down arrow key 4 times and the OK key once; this avoids the focus moving within the controls on the page 103 and reduces the number of operations required for the controls to gain focus.

[0087] After a child object within a control collection gains focus, the focus can be moved within that control collection according to the focus movement methods for objects on the interface. For example, the focus is on the first child object. When the user performs a third action (which can be the same as the first action), in response to the user's third action, the focus moves to the second child object according to preset focus movement rules; that is, the second child object gains focus. This second child object can be a control or a control collection. For example, such as... Figure 7A As shown, the current focus is on the bottom tab 105. When the user presses the OK button on the remote control 200, the first control ("Home") in the bottom tab 105 gains focus in response to the user's press of the OK button. When the user presses the right arrow button on the remote control 200, the object to the right of the "Home" control in the bottom tab 105 gains focus in response to the user's press of the right arrow button; the object to the right of the "Home" control in the bottom tab 105 is the "Discover" control, and the second control ("Discover") in the bottom tab 105 gains focus.

[0088] After a sub-object within a control collection (e.g., the first or second sub-object) gains focus, the user can perform a second action. For example, the second action might include pressing the OK button on a remote control. If the sub-object is a control, in response to the user's second action, the corresponding business logic of that control is executed. If the sub-object is a control collection, in response to the user's second action, the next-level sub-object at a preset position within that sub-object gains focus; where the next-level sub-object is a control or a control collection. For example, such as... Figure 7BAs shown, the display interface of the smart screen 100 includes objects 710, 720, 730, 740, and 750. The current focus is on object 730. The user presses the "OK" button on the remote control 200; object 730 is a collection of controls, including sub-objects 731, 732, 733, etc.; in response to the user pressing the "OK" button, sub-object 731 within object 730 gains focus. The user continues to press the "OK" button on the remote control 200; sub-object 731 is a collection of controls, and in response to the user pressing the "OK" button, the next-level sub-object 7311 within sub-object 731 gains focus. Understandably, if the next-level sub-object is a collection of controls, the user can continue to press the "OK" button to make the next-level sub-object of the next-level sub-object gain focus, until the sub-object becomes a control.

[0089] The focus-moving method provided in this application embodiment allows multiple controls to acquire focus as a control set. For example, multiple controls within a container control can acquire focus as a control set. The user can perform a first operation once or multiple times to make a control set acquire focus. Optionally, the user can also perform a second operation to make the controls within the control set or the control set acquire focus. For example, as... Figure 8 As shown, the display interface of the smart screen 100 includes objects 710, 720, 730, 740, and 750; object 710 is a control, object 720 is a collection of controls, object 730 is a collection of controls, object 740 is a control, and object 750 is a collection of controls. The current focus is on object 710. The user can make object 740 gain focus by pressing the down arrow key twice and the right arrow key once. The user can make control 751 within object 750 gain focus by pressing the down arrow key three times, the right arrow key once, and the OK key once. It is understandable that for an interface with N controls, if the focus is moved sequentially according to individual controls, the average step size for each control to gain focus is O(N); if the N controls are divided into M control sets, and the focus is moved according to the focus-moving method provided in this application embodiment, the average step size for each control to gain focus is O(M+N / M). The focus-moving method provided in this application embodiment shortens the average focus-gaining step size for controls and reduces the number of user operations.

[0090] After a child object within a control set gains focus, the user can perform a fourth action. For example, the fourth action might include pressing the back button on a remote control. In response to this fourth action, the control set containing the currently focused control gains focus; that is, the parent or child object of the currently focused control gains focus. For example, such as... Figure 9As shown, the current focus is on child object 7321. When the user presses the back button on remote control 200, in response to this action, the control set to which child object 7321 belongs (child object 732) gains focus. When the user presses the back button on remote control 200, in response to this action, the control set to which child object 732 belongs (object 730) gains focus. This allows the focus to easily return to the control set on the interface, making it convenient for the user to move the focus to other objects within the interface.

[0091] For example, such as Figure 10 As shown, the interface displayed on the smart screen 100 includes a search box 101, a title bar 102, a page 103, a floating button 104, and a bottom tab 105. The current focus is on page 103. When the user presses the OK button on the remote control 200, control 1031 within page 103 gains focus in response to the user's press of the OK button. Thus, a control in the waterfall layout gains focus. The user can also press a designated button on the remote control 200 (e.g., the down arrow key). In response to the user's press of the designated button, the next sub-object of control 1031 within page 103 gains focus; the next sub-object of control 1031 within page 103 is control 1032, which gains focus. If the user wants to move the focus to the floating button 104, they first press the back button on the remote control 200. In response to the user's press of the back button, page 103, to which control 1032 belongs, gains focus. When the user presses a designated button on the remote control 200 (e.g., the down or right button), in response to the user's button press, page 103 shifts focus to an object to the right (floating button 104). The user can move the focus from the control within the waterfall layout page to the floating button by pressing the back button once and the down button once, requiring fewer operations and making it convenient and quick.

[0092] The focus-moving method provided in this application embodiment is divided into multiple levels for focus movement. For example, the objects within the interface are the first level, the sub-objects within the control collection within the interface are the second level, and the next-level sub-objects within the sub-objects are the third level. The user can perform a first operation to move the focus within the same level; the user can also perform a second operation to move the focus to the next level; and the user can also perform a fourth operation to move the focus to the previous level.

[0093] In one implementation, if the focus is on the last control or set of controls in the current hierarchy, and the user continues with the first action (e.g., pressing the down button on a remote control), in response to the user's first action, the focus moves to the previous level. For example, as shown... Figure 11As shown, the interface displayed on the smart screen 100 (first level) includes a search box 101, a title bar 102, a page 103, a floating button 104, and a bottom tab 105. The title bar 102 (second level) is a collection of controls, including "Following," "Recommended," "Local," and "Favorites" controls. The current focus is on the "Favorites" control, which is the last control within the title bar 102. When the user presses the down button on the remote control, the focus moves to the next control collection page 103 in response to the user pressing the down button on the remote control.

[0094] Optionally, in one implementation, if the number of controls in the control set is less than a preset threshold (e.g., the preset threshold is 3), the control set is not treated as a whole and instead each control within the set receives focus individually. This avoids the need for the user to press a specific button on the remote control followed by the OK button to select a sub-control when there are few sub-controls, thus reducing operational costs. For example, in one example, such as... Figure 12 As shown, the interface displayed on the smart screen 100 includes a search box 101, a title bar 102, a page 103, a floating button 104, and a bottom tab 105. The title bar 102 includes a "Follow" control and a "Recommend" control. The current focus is on the search box 101. When the user presses the down button on the remote control, the search box 101 moves to the next control set, which becomes the title bar 102. The title bar 102 includes two controls. If the number of controls (2) in the title bar 102 is less than a preset threshold (for example, the preset threshold is 3), the title bar 102 does not receive focus as a whole; instead, the "Follow" control within the title bar 102 receives focus. For example, when the smart screen 100 receives the signal corresponding to the down button on the remote control, it determines that the current focus is on the search box 101. Based on the interface layout file, it determines that the next container control after the search box 100 is the title bar 102, and that the first control in the title bar 102 is "Following" and the second control is "Recommended". The smart screen 100 determines that the number of controls included in the title bar 102 is less than a preset threshold, and decides to move the focus to the "Following" control in the title bar 102. If the user continues to press the down button or the right button on the remote control, in response to the user pressing the down button, the "Recommended" control in the title bar 102 gains focus. If the user continues to press the down button, the "Recommended" control is the last control in the title bar 102, and in response to the user pressing the down button, the focus moves to the next control collection page 103 of the title bar 102.

[0095] It should be noted that this embodiment of the application uses the example of displaying a highlighted border around the control or set of controls that has received focus as an example. In other examples, focus can be displayed in other ways; for example, the control or set of controls that has received focus can be highlighted. In other examples, focus can be displayed in a combination of multiple ways; for example, the control that has received focus can be highlighted, and the set of controls that has received focus can be displayed with a highlighted border around it.

[0096] In one implementation, such as Figure 13 As shown, the smart screen 100 includes an application layer, an application framework layer, a kernel layer, and a hardware layer. The Bluetooth chip in the hardware layer receives button signals from the remote control 200. The Bluetooth driver converts the button signals into corresponding button events and sends the button events to the application framework layer. The focus management unit in the application framework layer receives the button events. The focus management unit includes an intra-layer focus movement module, an inter-layer focus movement module, and a merged focus movement module. The intra-layer focus movement module implements the process of moving focus within the same layer; the inter-layer focus movement module implements the process of moving focus between different layers; the merged focus movement module implements the process of merging the parent and child controls into one focus acquisition when the control contains only one child control. It should be noted that the above-mentioned module division method and the functions implemented by each module are only illustrative examples. In actual applications, there may be different division methods. This application embodiment does not limit this. The focus management unit determines the target position of focus movement based on the current focus position of the application and the received button events, and sends the target position of focus movement to the application, realizing focus movement on the application interface.

[0097] For example, Figure 14 This is a flowchart illustrating one implementation of the focus-moving method provided in this application. Taking the specified key as the down arrow key and multiple controls within a container control as a set of controls as an example, it's understood that a container control is a type of control. The following description does not specifically distinguish between container controls and controls; that is, the controls described below can also refer to container controls. If a control includes child controls, then that control is a container control. Whether a control is a standalone control or a container control can be determined based on the definition in the interface layout file. If control one includes control two, then control one is the parent control of control two, and control two is the child control of control one. It should be understood that the hardware layer may also include infrared chips, NFC chips, Wi-Fi chips, etc., and correspondingly, the kernel layer may also include infrared drivers, NFC drivers, Wi-Fi drivers, etc.

[0098] like Figure 14As shown, the smart screen receives the signal corresponding to the down button on the remote control and obtains the current focus position. Based on the current focus position and the interface layout file, it determines whether there is a control to the right of the current focus. If a control exists to the right of the current focus, it identifies the control to the right of the current focus as the target focus control. If no control exists to the right of the current focus, it determines whether there is a control below the current focus. If a control exists below the current focus, it identifies the control to the left of the current focus as the target focus control; if no control exists below the current focus, it moves the focus to the default position (e.g., the first object on the screen). If a target focus control exists, it determines whether the target focus control includes child controls. If the target focus control does not include child controls (the target focus control is a separate control), it moves the focus to that target focus control. In other words, it moves the focus to a single control within the same layer.

[0099] If the target focus control is determined to include child controls (i.e., the target focus control is a container control), it is determined whether the target focus control contains only one child control. If the target focus control contains only one child control, it is determined that the target focus control does not receive focus, and the target focus control is updated to its child control. This process is then recursively repeated to determine whether the target focus control contains child controls, thus identifying the innermost focusable child control of the container control. In this way, for a container control containing only one control, the innermost focusable child control can directly receive focus, reducing the number of user operations. For example, control A includes control B, control B includes control C, and control C includes control D; that is, control A is the parent control of control B, control B is the parent control of control C, and control C is the parent control of control D. Based on the current focus, the target focus control is determined to be control A, so control D directly receives focus, avoiding invalid focus acquisition for controls A, B, and C. This achieves merging and moving focus between different levels, reducing the number of focus movement operations.

[0100] If the target focused control does not consist of only one child control, determine if the number of child controls of the target focused control is less than a preset threshold. If it is determined that the number of child controls of the target focused control is less than the preset threshold, update the target focused control to its child controls (e.g., update it to the first child control of the target focused control), and recursively execute the check again to determine if the target focused control includes child controls. This avoids the user having to press a designated button on the remote control and then the OK button to select a child control when the number of child controls is small, reducing operational costs. If it is determined that the number of child controls of the target focused control is greater than or equal to the preset threshold, move the focus to the target focused control. This achieves the goal of moving the focus to a set of controls within the same level.

[0101] The smart screen receives the signal corresponding to the OK button on the remote control and obtains the current focus position. It determines the first child control of the current focus as the target focus control. It recursively checks whether the target focus control includes child controls. If it is determined that the target focus control does not include child controls (the target focus control is a standalone control), it moves the focus to that target focus control. This allows the focus to be moved between different levels, shifting the focus to a standalone control at the next lower level.

[0102] If the target focus control includes child controls (the target focus control is a container control), and the number of child controls of the target focus control is greater than or equal to a preset threshold, then the focus is moved to the target focus control. This allows the focus to be moved between different levels, specifically to a container control at the next lower level.

[0103] like Figure 15 As shown, the smart screen receives the signal corresponding to the remote control's back button and obtains the current focus position. It then determines whether the current focus has a parent control; if it does, it moves the focus to that parent control. In one implementation, if the parent control of the current focus's parent control contains only one child control, then the current focus's parent control does not acquire focus; instead, the parent control of the current focus's parent control acquires focus. For example, control A includes control B, control B includes control C, and control C includes control D; that is, control A is the parent control of control B, control B is the parent control of control C, and control C is the parent control of control D. With the current focus on control D, upon receiving the signal corresponding to the remote control's back button, it determines that control A acquires focus.

[0104] It is understood that, in order to achieve the aforementioned functions, the device includes corresponding hardware structures and / or software modules for performing each function. Those skilled in the art should readily recognize that, based on the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein, the embodiments of this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the embodiments of this application.

[0105] This application embodiment can divide the above-described device into functional modules based on the method example described above. For example, each function can be divided into its own functional module, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware or as a software functional module. It should be noted that the module division in this application embodiment is illustrative and only represents one logical functional division; other division methods may be used in actual implementation.

[0106] When using integrated units, Figure 16 A possible structural schematic diagram of the device involved in the above embodiments is shown. The device 800 includes: a processing unit 801, a storage unit 802, a communication unit 803, and a display unit 804.

[0107] The processing unit 801 is used to control and manage the actions of the device 800. For example, it can be used to perform processing steps such as determining the current focus and determining the next focus object in the embodiments of this application; and / or other processes used in the technology described herein.

[0108] Storage unit 802 is used to store the program code and data of device 800. For example, it can be used to store interface layout files, etc.

[0109] The communication unit 803 is used to support communication between the device 800 and other devices. For example, it can be used to receive signals corresponding to buttons on a remote control.

[0110] Display unit 804 is used to display the interface of display device 800. For example, it can be used to display the interface of an application; and / or for other processes of the technology described herein.

[0111] Of course, the unit modules in the device 800 described above include, but are not limited to, the processing unit 801, the storage unit 802, the communication unit 803, and the display unit 804. For example, the device 800 may also include an audio unit, etc. The audio unit is used to play sounds, music, etc. In some embodiments, the audio unit can also be used to collect voice output by the user.

[0112] The processing unit 801 can be a processor or controller, such as a central processing unit (CPU), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. The processor may include an application processor, etc. It can implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. The processor can also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc. The storage unit 802 can be a memory. The communication unit 803 can be a transceiver, transceiver circuit, or communication interface, etc. The display unit 804 can be a display screen. The audio unit can include a microphone, speaker, receiver, etc.

[0113] For example, processing unit 801 is a processor (such as...) Figure 2 The processor 110 shown can be a memory (such as a storage unit 802). Figure 2 The memory 120 shown can be used as a memory module, and the communication unit 803 can be a wireless communication module (such as...). Figure 2 The wireless communication module 150 shown), and the communication interface (such as...) Figure 2 The interface module 160 shown, etc., and the display unit 804 is a display screen (such as... Figure 2 The display screen 140 shown is an audio unit that may include a speaker (such as...). Figure 2 The speaker 130A shown), audio module (such as Figure 2 The audio module 130 shown is an example of the device 800 provided in this embodiment of the application. Figure 2 The smart screen 100 shown above. The aforementioned processor, memory, display screen, and communication interface can be coupled together, for example, connected via a bus.

[0114] This application also provides a computer-readable storage medium storing computer program code. When the processor executes the computer program code, the electronic device executes the relevant method steps in this application to implement the methods in the above embodiments.

[0115] This application also provides a computer program product that, when run on a computer, causes the computer to execute the relevant method steps in this application to implement the methods described above.

[0116] In this application, the device 800, computer-readable storage medium, or computer program product provided in the embodiments are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can be referred to the beneficial effects in the corresponding methods provided above, and will not be repeated here.

[0117] Through the above description of the embodiments, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0118] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.

[0119] The units described as separate components may or may not be physically separate. A component shown as a unit can be one or more physical units; that is, it can be located in one place or distributed in multiple different locations. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0120] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit described above can be implemented in hardware or as a software functional unit.

[0121] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, essentially, or the parts that contribute to the prior art, or all or part of the technical solutions, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.

[0122] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method for moving focus, applied to a device that maintains a wireless connection with another device, characterized in that, The method includes: The device displays a first interface, which includes multiple controls, with the focus located on a first object within the first interface. The device receives a first signal generated by a user's first operation on another device; In response to receiving the first signal, the device determines whether the number of controls included in the second object within the first interface is less than a preset threshold; if the number of controls included in the second object is less than the preset threshold, then the first sub-object in the second object gains focus; if the number of controls included in the second object is greater than or equal to the preset threshold, then the second object as a whole gains focus. Wherein, the first object includes a control or a collection of controls, the second object includes a control or a collection of controls, at least one of the first object and the second object is a collection of controls, and the collection of controls is a container control that includes multiple controls.

2. The method according to claim 1, characterized in that, The second object is a collection of controls, and the method further includes: The device receives a second signal generated by a second operation performed by the user on another device; In response to receiving the second signal, the device acquires focus on a third object, which is a sub-object of the second object.

3. The method according to claim 2, characterized in that, After the third object gains focus, the method further includes: The device receives a third signal generated by a third operation performed by the user on another device. In response to receiving the third signal, the device acquires focus on the fourth object, which is a sub-object of the second object.

4. The method according to claim 3, characterized in that, The method further includes: The device receives a fourth signal generated by a fourth operation performed by the user on another device; In response to receiving the fourth signal, the fifth object acquires focus; the fifth object is the parent object of the second object.

5. The method according to any one of claims 1-3, characterized in that, The content of the first interface is the same as the content of the application interface of another device, and the content of the first interface is displayed by the device based on the data received from the other device.

6. The method according to claim 4, characterized in that, After the second object within the first interface gains focus, the method further includes: The device receives a fifth signal generated by a fifth operation performed by the user on another device; In response to receiving the fifth signal, the first sub-object of the sixth object within the first interface gains focus; wherein the number of controls included in the sixth object is less than the preset threshold.

7. The method according to claim 6, characterized in that, The first operation includes pressing the right key on the other device, where the second object is the first object to the right of the first object; and / or, The first operation includes pressing the down key on the other device, the second object being the first object below the first object; and / or, The second operation includes pressing the confirmation key on the other device; and / or, The third operation includes pressing the up, down, left, or right key on the other device; and / or, The fourth operation includes pressing the return key on the other device; and / or, The fifth operation includes pressing the up, down, left, or right key on the other device.

8. A device, characterized in that, The device includes: a processor; a memory; a display screen; and a computer program, wherein the computer program is stored in the memory and, when executed by the processor, causes the device to perform the method as described in any one of claims 1-7.

9. A computer-readable storage medium storing instructions, characterized in that, When the instructions are executed on an electronic device, the electronic device causes the electronic device to perform the method as described in any one of claims 1-7.

Citation Information

Patent Citations

  • Method and device for locating interface focus of TV set, and TV set

    CN102547463A

  • EPG page focus control method applied to IPTV platform

    CN107071583A