CN109714625B - Method and device for processing UI focus of user interface - Google Patents
Method and device for processing UI focus of user interface Download PDFInfo
- Publication number
- CN109714625B CN109714625B CN201811505840.8A CN201811505840A CN109714625B CN 109714625 B CN109714625 B CN 109714625B CN 201811505840 A CN201811505840 A CN 201811505840A CN 109714625 B CN109714625 B CN 109714625B
- Authority
- CN
- China
- Prior art keywords
- remote controller
- focus
- configuration file
- keys
- file
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- User Interface Of Digital Computer (AREA)
- Details Of Television Systems (AREA)
- Selective Calling Equipment (AREA)
Abstract
The application provides a method and a device for a User Interface (UI) focus, which comprise the following steps: acquiring a first configuration file of a UI focus of a remote controller of the smart television; rewriting the first configuration file to obtain a second configuration file of the UI focus; and moving the UI focus of the remote controller according to the second configuration file, and displaying the UI focus of the remote controller so as to solve the problem that the current focus moving mode cannot move completely according to the intention of a user.
Description
Technical Field
The application relates to the technical field of smart televisions, in particular to a method and a device for processing a UI focus of a user interface.
Background
With the development of the television technology, the television is no longer a machine which can only watch television, and the rise of the intelligent android system enables the television of the android to gradually replace the television of the linux system, so that the popularization rate of the intelligent television is greatly improved.
With the development of the current home appliance intellectualization, many home appliance devices use a visual UI, and users of these devices need to use a remote controller as a main input device to operate a television, and when operating through the remote controller, there is an incorrect focus movement selection, for example: when a user presses down a down direction key of the remote controller, the focus cannot jump to a designated functional module, and the switching effect cannot be presented.
Disclosure of Invention
The application provides a method and a device for a user interface UI focus, which aim to solve the problem that the current focus moving mode cannot move completely according to the intention of a user.
In order to solve the above problem, the present application discloses a method for user interface UI focus, comprising:
acquiring a first configuration file of a UI focus of a remote controller of the smart television;
rewriting the first configuration file to obtain a second configuration file of the UI focus;
and moving the UI focus of the remote controller according to the second configuration file, and displaying the UI focus of the remote controller.
Optionally, the step of rewriting the first configuration file includes:
and rewriting the first configuration file according to the application scene of the UI focus of the remote controller.
Optionally, the first configuration file includes: the method comprises the steps that keys of a remote controller, binary files corresponding to the keys of the remote controller and first functions corresponding to the keys are arranged;
rewriting the first configuration file, and obtaining a second configuration file of the UI focus comprises:
searching the function corresponding to the key in the binary file corresponding to the key of the remote controller;
modifying the function corresponding to the searched key to obtain a second function corresponding to the binary file;
and generating a second configuration file according to the keys of the remote controller, the binary file corresponding to the keys of the remote controller and a second function corresponding to the binary file.
Optionally, the step of generating a second configuration file according to the keys of the remote controller, the binary file corresponding to the keys of the remote controller, and the second function corresponding to the binary file includes:
establishing one-to-one mapping between the keys of the remote controller and binary files corresponding to the keys of the remote controller;
and establishing a one-to-one mapping relation between the binary file and a second function corresponding to the binary file.
In order to solve the above problem, the present application further discloses an apparatus for user interface UI focus, comprising:
the first configuration file module is used for acquiring a first configuration file of a remote controller UI focus of the smart television;
the rewriting module is used for rewriting the first configuration file to obtain a second configuration file of the UI focus;
and the display module is used for moving the UI focus of the remote controller according to the second configuration file and displaying the UI focus of the remote controller.
Optionally, the rewriting module is specifically configured to rewrite the first configuration file according to an application scenario of the UI focus of the remote controller.
Optionally, the first configuration file includes: the method comprises the steps that keys of a remote controller, binary files corresponding to the keys of the remote controller and first functions corresponding to the keys are arranged;
the rewrite module includes:
the searching module is used for searching the function corresponding to the key in the binary file corresponding to the key of the remote controller;
the modification module is used for modifying the searched function corresponding to the key to obtain a second function corresponding to the binary file;
and the generating module is used for generating a second configuration file according to the keys of the remote controller, the binary file corresponding to the keys of the remote controller and the second function corresponding to the binary file.
Optionally, the generating module includes:
the one-to-one mapping module is used for establishing one-to-one mapping between the keys of the remote controller and the binary files corresponding to the keys of the remote controller; and establishing one-to-one mapping between the binary file and a second function corresponding to the binary file.
Compared with the prior art, the method has the following advantages:
the method includes the steps that a first configuration file of a UI focus of a remote controller of the smart television is obtained; rewriting the first configuration file to obtain a second configuration file of the UI focus; and moving the UI focus of the remote controller according to the second configuration file, displaying the UI focus of the remote controller, forming a second configuration file by rewriting the first configuration file of the UI focus, and moving the focus to a specified function module according to the second configuration file, so that the focus is moved according to the intention of a user, and the use experience of the user is improved.
Of course, it is not necessary for any product to achieve all of the above-described advantages at the same time for practicing the present application.
Drawings
FIG. 1 is a flowchart illustrating a method for focusing on a UI of a user interface according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a UI focus device according to a second embodiment of the present application.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description.
Example one
Referring to fig. 1, which shows a flowchart of a UI focus of a user interface according to an embodiment of the present application, specifically including:
step 101: the method includes the steps that a first configuration file of a remote control UI focus of the intelligent television is obtained.
The UI focus of the remote controller refers to that when a user browses a certain application on the smart television through the video network, the UI focus (cursor) of the smart television moves along with the operation of the remote controller of the user when the remote controller moves up, down, left and right.
The client acquires a system directory of the smart television, and the system directory stores a first configuration file of a UI focus of a remote controller, so that the client acquires the first configuration file of the UI focus of the remote controller of the smart television from the system directory.
Step 102: and rewriting the first configuration file to obtain a second configuration file of the UI focus.
In practical application, the first configuration file may be rewritten according to an application scene of a UI focus of the remote controller, that is, the application scene of the UI focus is different, and the first configuration file is rewritten for different application scenes to obtain the second configuration file.
Wherein the first configuration file comprises: the system comprises keys of a remote controller, binary files corresponding to the keys of the remote controller and first functions corresponding to the keys.
Rewriting the first configuration file, and obtaining a second configuration file of the UI focus comprises:
and searching the function corresponding to the key in the binary file corresponding to the key of the remote controller.
And modifying the function corresponding to the searched key to obtain a second function corresponding to the binary file.
And modifying and searching the function corresponding to the key according to different application scenes, namely covering the function corresponding to the searched key according to different application scenes so as to obtain a second function corresponding to the binary file.
And generating a second configuration file according to the keys of the remote controller, the binary file corresponding to the keys of the remote controller and a second function corresponding to the binary file.
Further, the step of generating a second configuration file according to the keys of the remote controller, the binary file corresponding to the keys of the remote controller, and the second function corresponding to the binary file includes:
and establishing one-to-one mapping between the keys of the remote controller and the binary files corresponding to the keys of the remote controller.
And establishing a one-to-one mapping relation between the binary file and a second function corresponding to the binary file.
Step 103: and moving the UI focus of the remote controller according to the second configuration file, and displaying the UI focus of the remote controller.
And moving the UI focus of the remote controller according to the second configuration file, and displaying the UI focus of the remote controller, so that the UI focus can move along with the operation of a user, and the effects of zooming, gradual change and the like are presented.
In the embodiment, a first configuration file of a UI focus of a remote controller of the smart television is obtained; rewriting the first configuration file to obtain a second configuration file of the UI focus; and moving the UI focus of the remote controller according to the second configuration file, displaying the UI focus of the remote controller, forming a second configuration file by rewriting the first configuration file of the UI focus, and moving the focus to a specified function module according to the second configuration file, so that the focus is moved according to the intention of a user, and the use experience of the user is improved.
It should be noted that the foregoing method embodiments are described as a series of acts or combinations for simplicity in explanation, but it should be understood by those skilled in the art that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Based on the description of the method embodiment, the present application further provides a corresponding apparatus embodiment to implement the content described in the method embodiment.
Example two
Referring to fig. 2, a schematic structural diagram of an apparatus for a user interface UI focus according to the second embodiment of the present application is shown, which specifically includes:
the first configuration file module 201 is configured to obtain a first configuration file of a remote control UI focus of the smart television.
And a rewriting module 202, configured to rewrite the first configuration file to obtain a second configuration file of the UI focus.
And the display module 203 is configured to move the focus of the remote control UI according to the second configuration file, and display the focus of the remote control UI.
Optionally, the rewriting module is specifically configured to rewrite the first configuration file according to an application scenario of the UI focus of the remote controller.
Optionally, the first configuration file includes: the system comprises keys of a remote controller, binary files corresponding to the keys of the remote controller and first functions corresponding to the keys.
The rewrite module includes:
and the searching module is used for searching the function corresponding to the key in the binary file corresponding to the key of the remote controller.
And the modification module is used for modifying the searched function corresponding to the key to obtain a second function corresponding to the binary file.
And the generating module is used for generating a second configuration file according to the keys of the remote controller, the binary file corresponding to the keys of the remote controller and the second function corresponding to the binary file.
Optionally, the generating module includes:
and the one-to-one mapping module is used for establishing one-to-one mapping between the keys of the remote controller and the binary files corresponding to the keys of the remote controller. And establishing one-to-one mapping between the binary file and a second function corresponding to the binary file.
In the embodiment, a first configuration file of a UI focus of a remote controller of the smart television is obtained; rewriting the first configuration file to obtain a second configuration file of the UI focus; and moving the UI focus of the remote controller according to the second configuration file, displaying the UI focus of the remote controller, forming a second configuration file by rewriting the first configuration file of the UI focus, and moving the focus to a specified function module according to the second configuration file, so that the focus is moved according to the intention of a user, and the use experience of the user is improved. For the above-mentioned apparatus embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the illustrated method embodiments.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As is readily imaginable to the person skilled in the art: any combination of the above embodiments is possible, and thus any combination between the above embodiments is an embodiment of the present application, but the present disclosure is not necessarily detailed herein for reasons of space.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application. The method and the device for processing the UI focus of the user interface provided by the present application are introduced in detail, and a specific example is applied in the text to explain the principle and the implementation of the present application, and the description of the above embodiment is only used to help understand the method and the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.
Claims (4)
1. A processing method of a User Interface (UI) focus is characterized by comprising the following steps:
acquiring a first configuration file of a UI focus of a remote controller of the smart television;
rewriting the first configuration file to obtain a second configuration file of the UI focus;
moving the remote control UI focus according to the second configuration file, and displaying the remote control UI focus;
the first configuration file includes: the method comprises the steps that keys of a remote controller, binary files corresponding to the keys of the remote controller and first functions corresponding to the keys are arranged;
rewriting the first configuration file, and obtaining a second configuration file of the UI focus comprises:
searching the function corresponding to the key in the binary file corresponding to the key of the remote controller;
modifying the function corresponding to the searched key to obtain a second function corresponding to the binary file, wherein the function corresponding to the searched key is modified according to different application scenes;
generating a second configuration file according to the keys of the remote controller, the binary file corresponding to the keys of the remote controller and a second function corresponding to the binary file; the step of rewriting the first configuration file includes:
and rewriting the first configuration file according to the application scene of the UI focus of the remote controller.
2. The method of claim 1, wherein the step of generating a second configuration file according to the keys of the remote controller, the binary file corresponding to the keys of the remote controller, and the second function corresponding to the binary file comprises:
establishing one-to-one mapping between the keys of the remote controller and binary files corresponding to the keys of the remote controller;
and establishing a one-to-one mapping relation between the binary file and a second function corresponding to the binary file.
3. A processing apparatus of a user interface, UI, focus, comprising:
the first configuration file module is used for acquiring a first configuration file of a remote controller UI focus of the smart television;
the rewriting module is used for rewriting the first configuration file to obtain a second configuration file of the UI focus;
the display module is used for moving the UI focus of the remote controller according to the second configuration file and displaying the UI focus of the remote controller;
the first configuration file includes: the method comprises the steps that keys of a remote controller, binary files corresponding to the keys of the remote controller and first functions corresponding to the keys are arranged;
the rewrite module includes:
the searching module is used for searching the function corresponding to the key in the binary file corresponding to the key of the remote controller;
the modification module is used for modifying the searched function corresponding to the key to obtain a second function corresponding to the binary file, wherein the searched function corresponding to the key is modified according to different application scenes;
the generating module is used for generating a second configuration file according to the keys of the remote controller, the binary file corresponding to the keys of the remote controller and a second function corresponding to the binary file;
the rewriting module is specifically configured to rewrite the first configuration file according to an application scenario of the UI focus of the remote controller.
4. The apparatus of claim 3, wherein the generating module comprises:
the one-to-one mapping module is used for establishing one-to-one mapping between the keys of the remote controller and the binary files corresponding to the keys of the remote controller; and establishing one-to-one mapping between the binary file and a second function corresponding to the binary file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811505840.8A CN109714625B (en) | 2018-12-10 | 2018-12-10 | Method and device for processing UI focus of user interface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811505840.8A CN109714625B (en) | 2018-12-10 | 2018-12-10 | Method and device for processing UI focus of user interface |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109714625A CN109714625A (en) | 2019-05-03 |
CN109714625B true CN109714625B (en) | 2021-11-16 |
Family
ID=66255924
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811505840.8A Active CN109714625B (en) | 2018-12-10 | 2018-12-10 | Method and device for processing UI focus of user interface |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109714625B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101577797A (en) * | 2009-06-03 | 2009-11-11 | 中兴通讯股份有限公司 | Page focus movement method and system |
CN103294467A (en) * | 2012-11-27 | 2013-09-11 | 乐视致新电子科技(天津)有限公司 | Method for moving webpage focus on terminal browser by utilizing remote controller |
Family Cites Families (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101451271B1 (en) * | 2007-10-30 | 2014-10-16 | 삼성전자주식회사 | Broadcast receiving apparatus and control method thereof |
CN102340703B (en) * | 2010-07-16 | 2014-04-02 | 深圳Tcl新技术有限公司 | IPTV and remote controller key reusing method |
CN103366528B (en) * | 2012-03-27 | 2017-07-25 | 联想(北京)有限公司 | A kind of remote control equipment multiplexing method and remote control |
JP2015011689A (en) * | 2013-07-02 | 2015-01-19 | 船井電機株式会社 | Information processing device, information processing method, and system |
CN103731702A (en) * | 2013-11-26 | 2014-04-16 | 乐视致新电子科技(天津)有限公司 | Method and device for controlling remote control signals of smart television |
JP2015127870A (en) * | 2013-12-27 | 2015-07-09 | ソニー株式会社 | Controller, control method, program, and electronic apparatus |
CN104869449B (en) * | 2014-02-25 | 2019-03-08 | 青岛海尔电子有限公司 | Change the method for function of remote controller keys when TV switch mode |
KR102354328B1 (en) * | 2015-09-22 | 2022-01-21 | 삼성전자주식회사 | Image display apparatus and operating method for the same |
CN105320297A (en) * | 2015-11-16 | 2016-02-10 | 海信集团有限公司 | Terminal device control method and apparatus |
CN106162287A (en) * | 2016-08-30 | 2016-11-23 | 珠海迈科智能科技股份有限公司 | A kind of control method for remote controller and system |
CN106162286B (en) * | 2016-08-30 | 2019-03-19 | 北京玖扬博文文化发展有限公司 | A kind of Linux set-top box focus control method |
CN107257504B (en) * | 2017-07-06 | 2021-02-05 | 深圳Tcl数字技术有限公司 | Key value updating method for keys in remote controller, remote controller and readable storage medium |
CN107995513A (en) * | 2017-12-06 | 2018-05-04 | 康佳集团股份有限公司 | A kind of method of TV remote controller and its button multiplexing, storage medium |
CN108040275B (en) * | 2017-12-29 | 2020-08-21 | 福州福大海矽微电子有限公司 | Method and terminal for operating web browser by remote controller |
-
2018
- 2018-12-10 CN CN201811505840.8A patent/CN109714625B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101577797A (en) * | 2009-06-03 | 2009-11-11 | 中兴通讯股份有限公司 | Page focus movement method and system |
CN103294467A (en) * | 2012-11-27 | 2013-09-11 | 乐视致新电子科技(天津)有限公司 | Method for moving webpage focus on terminal browser by utilizing remote controller |
Also Published As
Publication number | Publication date |
---|---|
CN109714625A (en) | 2019-05-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111626810B (en) | Method and device for displaying house source information | |
CN104168515A (en) | Intelligent television terminal and screen control method thereof | |
US20160092152A1 (en) | Extended screen experience | |
EP3119099A1 (en) | Method and system for accessing television program and application by intelligent television | |
KR20220127384A (en) | Content viewing device and Method for displaying content viewing options thereon | |
US10602228B2 (en) | Device and method for editing channels of smart TV and smart TV | |
CN110839171A (en) | Method and device for applying television screen saver and computer storage medium | |
KR20150066129A (en) | Display appratus and the method thereof | |
WO2019214655A1 (en) | Method and device for displaying user interface | |
US20180352299A1 (en) | Image display apparatus and operation method therefor | |
KR101919257B1 (en) | Application program switch method, apparatus and electronic terminal | |
CN104703013A (en) | Operation method and device for remote control for set top box | |
CN104378685A (en) | Video switching method and device | |
CN105301993A (en) | Control method and device in multi-device interaction | |
CN105491428A (en) | Method and system for controlling smart TV | |
CN104780461A (en) | Video playing method, mobile terminal and video playing system | |
RU2594002C2 (en) | Interactive display system and method for "smart" television | |
CN111479079A (en) | UI list operation method and device, smart screen and readable storage medium | |
CN103873943A (en) | OSD (on-screen display) interaction interface display method and system, and terminals | |
CN104639974A (en) | Information pushing method and device | |
CN109714625B (en) | Method and device for processing UI focus of user interface | |
CN103813194A (en) | Information processing method and electronic device | |
CN105491455A (en) | Program information display method and user equipment | |
CN105630377A (en) | Natural gesture based information display method | |
CN106603946B (en) | Television remote control method, device and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |