CN114845146A - Method and device for controlling sequence of box end multi-column table focuses - Google Patents

Method and device for controlling sequence of box end multi-column table focuses Download PDF

Info

Publication number
CN114845146A
CN114845146A CN202210419429.9A CN202210419429A CN114845146A CN 114845146 A CN114845146 A CN 114845146A CN 202210419429 A CN202210419429 A CN 202210419429A CN 114845146 A CN114845146 A CN 114845146A
Authority
CN
China
Prior art keywords
list
focus
item
current
moving
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.)
Pending
Application number
CN202210419429.9A
Other languages
Chinese (zh)
Inventor
陈春攀
陈贵权
雷大明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Yuewuji Network Technology Co ltd
Original Assignee
Guangdong Yuewuji Network Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangdong Yuewuji Network Technology Co ltd filed Critical Guangdong Yuewuji Network Technology Co ltd
Priority to CN202210419429.9A priority Critical patent/CN114845146A/en
Publication of CN114845146A publication Critical patent/CN114845146A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/482End-user interface for program selection
    • H04N21/4825End-user interface for program selection using a list of items to be played back in a given order, e.g. playlists

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method and a device for controlling the sequence of multiple list focuses at a box end, wherein the method comprises the following steps: step S1, for each list, traversing the adjacent list to determine the moving focus item of each list item in the current list; step S2, when receiving the focus movement control instruction, determining the current list where the current focus is located and the list item position of the current focus in the current list, and determining the movement focus item; in step S3, the current focus is moved to the moving-focus item in the neighbor list according to the determined moving-focus item.

Description

Method and device for controlling sequence of box end multi-column table focuses
Technical Field
The invention relates to the technical field of UI (user interface) design, in particular to a method and a device for controlling a box-end multi-list focus sequence.
Background
google specifically designs the vertical list vertical GridView and the horizontal list horizon GridView for box-end (TV boxes, such as mini-boxes, day cat boxes, etc.). When the interface content is complex, then nested use of both lists may be involved. By default, the order of the focus of the items of the nested list is not controllable, e.g., when the focus jumps from one list to another, the focus may be at the first item, possibly the second item, and possibly other items, e.g., when there are two horizontal lists in the interface, such as list 1 and list 2, when the focus moves from list 1 to list 2, the first item of list 2 gets the focus when moving to list 2 for the first time, and when list 2 gets the focus for the second or nth time, the item getting the focus is the item of list 2 with the last focus disappeared.
Disclosure of Invention
In order to overcome the defects in the prior art, the invention aims to provide a method and a device for controlling the focus sequence of a box end and multiple lists, so as to realize controllable focus of multiple list nesting, thereby bringing qualitative improvement to user experience.
In order to achieve the above object, the present invention provides a method for controlling a box-end multi-column table focus sequence, comprising the following steps:
step S1, for each list, traversing the adjacent list to determine the moving focus item of each list item in the current list;
step S2, when receiving the focus movement control instruction, determining the current list where the current focus is located and the list item position of the current focus in the current list, and determining the movement focus item;
in step S3, the current focus is moved to the moving-focus item in the neighbor list according to the determined moving-focus item.
Optionally, step S1 further includes:
step S200, determining the center point of each list item of the current list;
step S201, calculating the central point of each list item in the adjacent list;
step S202, for each list item of the current list, sequentially calculating the distance between the central point of each list item in the adjacent list and the central point of the current list item in the current list, and determining the moving focus item of each list item of the current list according to the calculation result.
Optionally, in step S203, a list item in the neighbor list having the shortest distance from the center point of the current list item is found according to the distance between the center point of each list item in the neighbor list and the center point of the current list item, and the found list item is used as the mobile focus item of the current list item.
Optionally, the moving focus items include an up focus item, a down focus item, a left focus item, and a right focus item.
Optionally, in step S2, after determining the list item at the current focus, the moving focus item of the list item at the current focus is determined according to the focus moving control instruction.
In order to achieve the above object, the present invention further provides a box-end multi-column table focus sequence control apparatus, including:
the mobile focus item determining unit is used for traversing the adjacent lists of each list and determining the mobile focus item of each list item in the current list;
the current focus position determining unit is used for determining a current list where the current focus is located and list item positions of the current focus in the current list when a focus movement control instruction is received, and determining a movement focus item of the current focus;
and a focus moving control unit for moving the current focus to the moving focus item in the neighbor list according to the determined moving focus item.
Optionally, the moving-focus item determination unit includes:
the current list item center point determining module is used for determining the center point of each list item of the current list;
the neighbor list item center point determining module is used for calculating the center point of each list item in the neighbor list;
and the mobile focus item calculation module is used for calculating the distances between the central points of all list items in the adjacent list and the central point of the current list item in the current list in sequence for all list items of the current list, and determining the mobile focus items of all list items of the current list according to the calculation result.
Optionally, the mobile focus item calculation module finds a list item in the neighbor list, which is the shortest distance from the center point of the current list item, according to the distance between the center point of each list item in the neighbor list and the center point of the current list item, and uses the list item as the mobile focus item of the current list item.
Optionally, after determining the list item at which the current focus is located, the current focus position determining unit determines, according to the focus movement control instruction, the movement focus item of the list item at which the current focus is located.
Optionally, the moving focus items include an up focus item, a down focus item, a left focus item, and a right focus item.
Compared with the prior art, the method and the device for controlling the box-end multi-list focus sequence are characterized in that each list is traversed through the list adjacent to the list, the moving focus item of each list item in the current list is determined, when a focus moving control instruction is received, the positions of the current list where the current focus is located and the list item of the current focus in the current list are determined, the moving focus item is determined, and finally the current focus is moved to the moving focus item in the adjacent list according to the determined moving focus item, so that the problem that the item focus sequence of the nested list is uncontrollable is solved, quality improvement can be brought to user experience, and box UI design is more flexible.
Drawings
FIG. 1 is a flowchart illustrating the steps of a method for controlling the focus sequence of a box-end multi-column list according to the present invention;
FIG. 2 is a diagram illustrating a focus down shift in a multi-column table according to an embodiment of the present invention;
FIG. 3 is a system configuration diagram of a box-end multi-column table focus sequence control apparatus according to the present invention.
Detailed Description
Other advantages and capabilities of the present invention will be readily apparent to those skilled in the art from the present disclosure by describing the embodiments of the present invention with specific embodiments thereof in conjunction with the accompanying drawings. The invention is capable of other and different embodiments and its several details are capable of modification in various other respects, all without departing from the spirit and scope of the present invention.
FIG. 1 is a flowchart illustrating the steps of a method for controlling the focus sequence of a box-end multi-column list according to the present invention. As shown in fig. 2, the method for controlling the box-end multi-column list focus sequence of the present invention includes the following steps:
step S1, for each list, traverse the list adjacent to it, and determine the moving focus item of each list item in the current list.
The present invention is applicable to boxes including, but not limited to, television boxes such as mini boxes, day cat boxes, etc., which are specifically designed with a vertical list vertical GridView and a horizontal list horizontal GridView, and is used for focus order control of the lists therein.
Specifically, step S1 includes:
step S101, determining the center point of each list item of the current list.
In the embodiment of the present invention, as shown in fig. 2, taking the current list as the list a, the list a has items a1, a2, A3 …, and the like, as shown in the figure, a-C1 represents the center point of the list item a1, and the calculation of the specific center point is obtained by the position coordinates of each list item, and the calculation method of the center point is the existing mature technology and is not described herein again.
Step S102, calculating the center point of each list item in the adjacent list.
As shown in fig. 2, if list a is the top-most list, its focus is not served upwards, but only downward focus is indicated, i.e. list B is its downward neighboring list, and the center points of list item items in list B, such as B1, B2, B3 …, are calculated. If list B is the current list, list a is its neighbor list in the upward direction and list C is its neighbor list in the downward direction.
And step S103, sequentially calculating the distance between the center point of each item in the adjacent list and the center point of the current list item in the current list for each list item of the current list, and determining the moving focus item of each list item of the current list according to the calculation result.
In the embodiment of the present invention, according to the distance between the center point of each item in the neighbor list and the center point of the current list item, the item with the shortest distance from the center point of the current list item in the neighbor list is found out to be used as the moving focus item of the current list item, where the moving focus item may be an upward focus item nextfocusing up, a downward focus item nextfocus down, a leftward focus item nextfocus left, and a rightward focus item nextFocusRight.
Specifically, for the current column item of the current list a, a1, whose center point is a-C1, then for the downward neighboring list, i.e. list B, the distances between the center points B-C1, B-C2, B-C3, … of each item in list B and the center point a-C1 of the item where the current focus is located are calculated, the item with the shortest distance to the center point a-C1 in list B is found, and this item is taken as the downward focus item nextFocusDown of the current column item a1, and assuming that the item with the shortest distance to the center point a-C1 in list B is B1, the nextFocusDown Id of the current column item, e.g. a1, is set as Id of B1. Likewise, for the adjacent list in the up/left/right shift direction, the calculation obtains the up focus item nextfocusUp/left focus item nextfocusLeft/right focus item nextfocusRight of the current list item.
In step S2, when the focus movement control command is received, the current list where the current focus is located and the list item location of the current focus in the current list are determined, and the movement focus item is determined.
Specifically, when the user generates a focus movement control instruction through a button on the box end, for example, "up move," "down move," "left move," and "right move" buttons on the box end, and the corresponding box end receives the focus movement control instruction, determines the list in which the current focus is located, and determines which item position of the focus in the current list, thereby determining the list item in which the current focus is located, and further determines a movement focus item of the list item in which the current focus is located according to the focus movement control instruction, for example, the focus movement control instruction is a "down move" instruction, and obtains a next focus item nextFocusDown of the list item in which the current focus is located, so as to obtain a nextFocusDown id of the next focus item nextFocusDown.
In step S3, the current focus is moved to the moving-focus item in the neighbor list according to the determined moving-focus item.
In an embodiment of the present invention, when the moving-focus item of the current focus is determined according to step S2, the current focus is moved to the moving-focus item, for example, a1, where the current focus is the current list, and when the user presses down the move operation through the key, B1 of list B is determined to be the item closest to the item where the focus is located in the current list according to step S2, and the current focus is moved down to B1 of list B.
FIG. 3 is a system configuration diagram of a box-end multi-column table focus sequence control apparatus according to the present invention. As shown in fig. 3, the apparatus for controlling the focus sequence of a box-end multi-column table according to the present invention includes:
the moving focus item determining unit 301 is configured to traverse the list adjacent to each list, and determine a moving focus item of each list item in the current list.
Specifically, the moving-focus item determination unit 301 includes:
and the current list item center point determining module is used for determining the center point of each list item of the current list.
In the embodiment of the present invention, as shown in fig. 2, taking the current list as the list a, the list a has items a1, a2, A3 …, and the like, as shown in the figure, a-C1 represents the center point of the list item a1, and the calculation of the specific center point is obtained by the position coordinates of each list item, and the calculation method of the center point is the existing mature technology and is not described herein again.
And the neighbor list item center point determining module is used for calculating the center point of each list item in the neighbor list.
As shown in fig. 2, if list a is the top-most list, its focus is not served upwards, but only downward focus is indicated, i.e. list B is its downward neighboring list, and the center points of list item items in list B, such as B1, B2, B3 …, are calculated. If list B is the current list, list a is its neighbor list in the upward direction and list C is its neighbor list in the downward direction.
And the mobile focus item calculation module is used for calculating the distances between the center points of the items in the adjacent lists and the center point of the current list item in the current list in sequence for all the list items of the current list, and determining the mobile focus items of all the list items of the current list according to the calculation result.
In the embodiment of the present invention, according to the distance between the center point of each item in the neighbor list and the center point of the current list item, the item with the shortest distance from the center point of the current list item in the neighbor list is found out to be used as the moving focus item of the current list item, where the moving focus item may be an upward focus item nextfocusing up, a downward focus item nextfocus down, a leftward focus item nextfocus left, and a rightward focus item nextFocusRight.
Specifically, for the current column item of the current list a, a1, whose center point is a-C1, then for the downward neighboring list, i.e. list B, the distances between the center points B-C1, B-C2, B-C3, … of each item in list B and the center point a-C1 of the item where the current focus is located are calculated, the item with the shortest distance to the center point a-C1 in list B is found, and this item is taken as the downward focus item nextFocusDown of the current column item a1, and assuming that the item with the shortest distance to the center point a-C1 in list B is B1, the nextFocusDown Id of the current column item, e.g. a1, is set as Id of B1. Likewise, for the adjacent list in the up/left/right shift direction, the calculation obtains the up focus item nextfocusUp/left focus item nextfocusLeft/right focus item nextfocusRight of the current list item.
The current focus position determining unit 302, when receiving the focus movement control instruction, determines the current list where the current focus is located and the list item position of the current focus in the current list, and determines the movement focus item thereof.
Specifically, when the user generates a focus movement control instruction through a button on the box end, for example, "up move," "down move," "left move," and "right move" buttons on the box end, and the corresponding box end receives the focus movement control instruction, determines the list in which the current focus is located, and determines which item position of the focus in the current list, thereby determining the list item in which the current focus is located, and further determines a movement focus item of the list item in which the current focus is located according to the focus movement control instruction, for example, the focus movement control instruction is a "down move" instruction, and obtains a next focus item nextFocusDown of the list item in which the current focus is located, so as to obtain a nextFocusDown id of the next focus item nextFocusDown.
A focus moving control unit 303, configured to move the current focus to the moving focus item in the neighbor list according to the determined moving focus item.
In an embodiment of the present invention, when the moving focus item of the current focus is determined according to the current focus position determination unit 302, the current focus is moved to the moving focus item, for example, a1 of which the current focus is the current list, and when the user presses the down-shift operation through the key, the current focus is moved down to B1 item of the list B according to the current focus position determination unit 302 determining that B1 of the list B is the item closest to the item of the focus in the current list.
In summary, the method and apparatus for controlling box-end multi-list focus order according to the present invention first traverse the list adjacent to each list, determine the moving focus item of each list item in the current list, when receiving a focus moving control command, determine the current list where the current focus is located and the position of the list item of the current focus in the current list, and determine the moving focus item thereof, and finally move the current focus to the moving focus item in the adjacent list according to the determined moving focus item, thereby solving the problem of uncontrollable focus order of the item of the nested list, and when the focus moves list 2 from a fixed item (a1) of list 1, the item of list 2 closest to a1 obtains the focus, and the focus is the same each time.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Modifications and variations can be made to the above-described embodiments by those skilled in the art without departing from the spirit and scope of the present invention. Therefore, the scope of the invention should be determined from the following claims.

Claims (10)

1. A method for controlling the sequence of box-end multi-column list focuses comprises the following steps:
step S1, for each list, traversing the adjacent list to determine the moving focus item of each list item in the current list;
step S2, when receiving the focus movement control instruction, determining the current list where the current focus is located and the list item position of the current focus in the current list, and determining the movement focus item;
in step S3, the current focus is moved to the moving-focus item in the neighbor list according to the determined moving-focus item.
2. The box-end multi-column table focus sequence control method according to the invention as set forth in claim 1, wherein the step S1 further includes:
step S200, determining the center point of each list item of the current list;
step S201, calculating the central point of each list item in the adjacent list;
step S202, for each list item of the current list, sequentially calculating the distance between the central point of each list item in the adjacent list and the central point of the current list item in the current list, and determining the moving focus item of each list item of the current list according to the calculation result.
3. The invention as claimed in claim 2 relates to a box-end multi-column table focus sequence control method, characterized in that: in step S203, a list item in the neighbor list having the shortest distance from the center point of the current list item is found out according to the distance between the center point of each list item in the neighbor list and the center point of the current list item, and the found list item is used as the mobile focus item of the current list item.
4. The invention of claim 3 is a box-end multi-column table focus sequence control method characterized in that the shift focus items include an up focus item, a down focus item, a left focus item, and a right focus item.
5. The invention as claimed in claim 4 is a box-end multi-column table focus sequence control method, characterized in that: in step S2, after determining the list item of the current focus, the moving focus item of the list item of the current focus is determined according to the focus moving control instruction.
6. A box-end multi-column table focus sequence control apparatus comprising:
the mobile focus item determining unit is used for traversing the adjacent lists of each list and determining the mobile focus item of each list item in the current list;
the current focus position determining unit is used for determining a current list where the current focus is located and list item positions of the current focus in the current list when a focus movement control instruction is received, and determining a movement focus item of the current focus;
and a focus moving control unit for moving the current focus to the moving focus item in the neighbor list according to the determined moving focus item.
7. The box-end multi-column table focus sequence control apparatus of claim 6, wherein the moving focus item determination unit comprises:
the current list item center point determining module is used for determining the center point of each list item of the current list;
the neighbor list item center point determining module is used for calculating the center point of each list item in the neighbor list;
and the mobile focus item calculation module is used for calculating the distances between the central points of all list items in the adjacent list and the central point of the current list item in the current list in sequence for all list items of the current list, and determining the mobile focus items of all list items of the current list according to the calculation result.
8. The box-end multi-column table focus sequence control apparatus according to claim 7, wherein: and the mobile focus item calculation module finds out the list item with the shortest distance to the central point of the current list item in the adjacent list according to the distance between the central point of each list item in the adjacent list and the central point of the current list item, and the list item is used as the mobile focus item of the current list item.
9. The apparatus for controlling box-end multi-column table focus sequence according to claim 8, wherein: and after determining the list item of the current focus, the current focus position determining unit determines the moving focus item of the list item of the current focus according to the focus moving control instruction.
10. The apparatus for controlling box-end multi-column table focus sequence according to claim 6, wherein: the moving focus items include an up focus item, a down focus item, a left focus item, and a right focus item.
CN202210419429.9A 2022-04-20 2022-04-20 Method and device for controlling sequence of box end multi-column table focuses Pending CN114845146A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210419429.9A CN114845146A (en) 2022-04-20 2022-04-20 Method and device for controlling sequence of box end multi-column table focuses

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210419429.9A CN114845146A (en) 2022-04-20 2022-04-20 Method and device for controlling sequence of box end multi-column table focuses

Publications (1)

Publication Number Publication Date
CN114845146A true CN114845146A (en) 2022-08-02

Family

ID=82565095

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210419429.9A Pending CN114845146A (en) 2022-04-20 2022-04-20 Method and device for controlling sequence of box end multi-column table focuses

Country Status (1)

Country Link
CN (1) CN114845146A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103546818A (en) * 2013-10-31 2014-01-29 乐视致新电子科技(天津)有限公司 Method and device for focus control of list display interface of smart television
CN108668157A (en) * 2018-07-10 2018-10-16 深圳市茁壮网络股份有限公司 A kind of focus mobility method, device and set-top box
CN109710138A (en) * 2019-01-17 2019-05-03 山东浪潮商用系统有限公司 A kind of control method and device of focus
CN114063993A (en) * 2022-01-12 2022-02-18 北京智象信息技术有限公司 Focus movement processing method and system and computer readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103546818A (en) * 2013-10-31 2014-01-29 乐视致新电子科技(天津)有限公司 Method and device for focus control of list display interface of smart television
CN108668157A (en) * 2018-07-10 2018-10-16 深圳市茁壮网络股份有限公司 A kind of focus mobility method, device and set-top box
CN109710138A (en) * 2019-01-17 2019-05-03 山东浪潮商用系统有限公司 A kind of control method and device of focus
CN114063993A (en) * 2022-01-12 2022-02-18 北京智象信息技术有限公司 Focus movement processing method and system and computer readable storage medium

Similar Documents

Publication Publication Date Title
US10999619B2 (en) Display apparatus and control method thereof
CN103118904B (en) Inter-vehicle information system, car-mounted device, information terminal
US9228839B2 (en) Method for generating split screen according to a touch gesture
CN101170636B (en) Interaction personal TV terminal focus mobility method
US20080001928A1 (en) Driving method and input method, for touch panel
EP2075779A1 (en) Navigation system and method for providing turn-by-turn instructions
CN104677369A (en) Path planning method and device along hand-drawn route in navigation system
CN102622868B (en) A kind of method for remotely controlling, display control unit, telepilot and system
JP2007155404A (en) Route searching device and its method
CN103561307A (en) Indication mode switching method and device based on browser
KR20140038710A (en) Method for displaying data of a dispay apparatus using a mobile communication terminal and the apparatuses
JP2011191577A (en) Map display device, map display method and program
CN103561338A (en) Instruction mode switching method and device based on intelligent television interface
CN103096157A (en) Method for controlling moving focal point on television application interface by mobile phone
CN104123058A (en) Method for touch host computer to control mobile device
CN108349687B (en) System and method for initiating elevator service by entering an elevator call
CN103412712A (en) Function menu selecting method and device
JP5618300B2 (en) Navigation device with facility icon display adjustment function
CN114845146A (en) Method and device for controlling sequence of box end multi-column table focuses
KR20150090165A (en) Communication system, communication control apparatus, wireless communication apparatus, and communication method
JPWO2016203550A1 (en) Route data creation device and route data creation method
KR20130015795A (en) Method and apparatus for inputting character in a touch device
CN101819485A (en) Method, device and system for non-touch sensing control
US20130033424A1 (en) Input device
CN105792007A (en) Notification message display and interaction method and device based on intelligent television

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