CN108668157A - A kind of focus mobility method, device and set-top box - Google Patents

A kind of focus mobility method, device and set-top box Download PDF

Info

Publication number
CN108668157A
CN108668157A CN201810750949.1A CN201810750949A CN108668157A CN 108668157 A CN108668157 A CN 108668157A CN 201810750949 A CN201810750949 A CN 201810750949A CN 108668157 A CN108668157 A CN 108668157A
Authority
CN
China
Prior art keywords
focus
current
goal
adjacent
moving direction
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.)
Granted
Application number
CN201810750949.1A
Other languages
Chinese (zh)
Other versions
CN108668157B (en
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.)
Shenzhen Ipanel TV Inc
Original Assignee
Shenzhen Ipanel TV Inc
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 Shenzhen Ipanel TV Inc filed Critical Shenzhen Ipanel TV Inc
Priority to CN201810750949.1A priority Critical patent/CN108668157B/en
Publication of CN108668157A publication Critical patent/CN108668157A/en
Application granted granted Critical
Publication of CN108668157B publication Critical patent/CN108668157B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/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
    • H04N21/42206User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
    • H04N21/4221Dedicated function buttons, e.g. for the control of an EPG, subtitles, aspect ratio, picture-in-picture or teletext

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

Focus mobility method provided by the invention,Device and set-top box,Applied to technical field of information processing,This method is after obtaining focus movement directive,According to focus movement directive,Determine at least one candidate object of focus adjacent with current focus object,Then according to default attention-shifting rules,Goal-focus object is determined from candidate object of focus,And focus is moved to goal-focus object,Realize the selection to goal-focus object,Method provided by the invention,The movement of focus is realized according to focus movement directive and default attention-shifting rules,Arrangement of the determination of focus shift position independent of object of focus in user interface,Allow developer's correcting as needed,Upgrade user interface,And without recalculating corresponding goal-focus object on the four direction up and down adjacent with current focus object,Reduce the limiting factor of user interface upgrading correcting,Improve working efficiency.

Description

A kind of focus mobility method, device and set-top box
Technical field
The invention belongs to a kind of technical field of information processing more particularly to focus mobility method, device and set-top boxes.
Background technology
In many application scenarios, for being not equipped with the terminal device of touching display screen or mouse, need by distant It controls device and sends focus movement directive, control the movement of focus, to realize the selection for different focal point object.
For example, when watching TV programme using set-top box, user if it is intended to focus is moved to goal-focus object, It needs by clicking the four direction key being arranged on set-top box remote controller, control focus is moved at goal-focus object, ability It completes to the goal-focus Object Selection.
In the prior art, the user interface for rule of arranging for object of focus, can directly count according to focus movement directive It calculates and determines goal-focus object, and focus is moved to goal-focus object;Arrange for object of focus irregular user circle Face needs to be directed to each object of focus, corresponding on the precalculated four direction up and down adjacent with the object of focus Goal-focus object, and the correspondence being calculated is stored, then according to pre-stored correspondence and coke Point movement directive, determines goal-focus object.
Therefore, it arranges for object of focus irregular user interface, it is each in user interface if user interface correcting Object of focus rearrangement needs to recalculate the correspondence between each object of focus, consumes a large amount of human resources, influences to use The upgrading and exploitation at family interface.
Invention content
In view of this, the purpose of the present invention is to provide a kind of focus mobility method, device and set-top boxes so that focus is moved Arrangement of the determination of dynamic position independent of object of focus in user interface, reduces the limiting factor of user interface upgrading correcting, Concrete scheme is as follows:
In a first aspect, the present patent application provides a kind of focus mobility method, including:
Obtain focus movement directive;
According to the focus movement directive, at least one candidate object of focus adjacent with current focus object is determined;
According to default attention-shifting rules, goal-focus object is determined from the candidate object of focus;
Focus is moved to the goal-focus object.
Optionally, described according to the focus movement directive, determine at least one candidate adjacent with current focus object Object of focus, including:
It parses the focus movement directive and obtains focus moving direction;
Determine that with current focus object at least one object of focus adjacent on the focus moving direction be the time Select object of focus.
Optionally, each object of focus has boundary;
The determination and current focus object at least one object of focus adjacent on the focus moving direction are institute Candidate object of focus is stated, including:
Determine current focus object object boundary consistent with the focus moving direction in the boundary of all directions;
Determine that with the object boundary be the candidate object of focus there are the object of focus of intersection.
Optionally, the determination is the candidate object of focus, packet there are the object of focus of intersection with the object boundary It includes:
If generating side there are the upper level view that the object of focus of intersection is current focus object with the object boundary Bound pair is as the border object records the content of the focus movement directive and the parameter of current focus object;
According to the border object and the default attention-shifting rules, candidate's object of focus is determined.
Optionally, the basis presets attention-shifting rules, and goal-focus object is determined from the candidate object of focus, Including:
According to the location information of at least one candidate object of focus, the time in the leftmost side and in the top is determined It is the goal-focus object to select object of focus.
Optionally, the present patent application first aspect the method further includes:
It is stored in the current focus object top and the first adjacent focal spots object adjacent with the current focus object;
It is stored in the current focus object lower section and the second adjacent focal spots object adjacent with the current focus object;
It is stored in current focus object left and the third adjacent object of focus adjacent with the current focus object;
It is stored in current focus object right and the fourth adjacent focal spots object adjacent with the current focus object.
Optionally, after the acquisition focus movement directive, further include:
The focus movement directive is parsed, focus moving direction is obtained;
When being stored with adjacent focal spots object of the current focus object on the focus moving direction, described in determination Adjacent focal spots object of the current focus object on the focus moving direction is the goal-focus object.
Optionally, the present patent application first aspect the method further includes:
Mobile relationship of the focus between preset quantity object of focus is stored, the mobile relationship includes object of focus pair The focus moving direction and goal-focus object answered;
After obtaining focus movement directive, the method further includes:
Judge in the mobile relationship whether to include current focus object;
If including current focus object in the mobile relationship, the target movement side opposite with current moving direction is determined To, wherein the current moving direction is obtained according to the focus movement directive;
Judge in stored mobile relationship with the presence or absence of using current focus object as goal-focus object and moving direction Relationship is moved for the target of target moving direction;
If in the presence of, it is determined that the starting object of focus in target movement relationship is the corresponding target of current focus movement directive Object of focus.
Second aspect, the present patent application provide a kind of focus mobile device, including:
First acquisition unit, for obtaining focus movement directive;
First determination unit, for according to the focus movement directive, determining at least one adjacent with current focus object A candidate's object of focus;
Second determination unit, for according to attention-shifting rules are preset, determining that target is burnt from the candidate object of focus Point object;
Mobile unit, for focus to be moved to the goal-focus object.
The third aspect, the present patent application provide a kind of set-top box, including:Memory and processor;The memory storage There is the program executed suitable for the processor, to realize above-mentioned first aspect any one of them focus mobility method.
Based on the above-mentioned technical proposal, focus mobility method provided in an embodiment of the present invention, after obtaining focus movement directive, According to the focus movement directive, at least one candidate object of focus adjacent with current focus object is determined, then according to default Attention-shifting rules determine goal-focus object from candidate object of focus, and focus are moved to goal-focus object, realize Selection to goal-focus object, the focus mobility method that the present patent application provides, the movement of focus is according to focus movement directive And default attention-shifting rules are realized, after obtaining focus movement directive every time, at least one candidate object of focus is calculated, And the goal-focus object of focus movement is further determined according to default attention-shifting rules, the determination of focus shift position is disobeyed Rely the arrangement of the object of focus in user interface so that developer can correcting, upgrading user interface as needed, and do not have to Corresponding goal-focus object on the four direction up and down adjacent with current focus object is recalculated, user interface is reduced Upgrade the limiting factor of correcting, improves working efficiency.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is the present invention Some embodiments for those of ordinary skill in the art without creative efforts, can also basis These attached drawings obtain other attached drawings.
Fig. 1 is the structure diagram of focus mobile system provided in an embodiment of the present invention;
Fig. 2 is a kind of flow chart of focus mobility method provided in an embodiment of the present invention;
Fig. 3 is the flow chart of another focus mobility method provided in an embodiment of the present invention;
Fig. 4 is the flow chart of another focus mobility method provided in an embodiment of the present invention;
Fig. 5 is a kind of structure diagram of focus mobile device provided in an embodiment of the present invention;
Fig. 6 is the structure diagram of another focus mobile device provided in an embodiment of the present invention;
Fig. 7 is the structure diagram of another focus mobile device provided in an embodiment of the present invention;
Fig. 8 is the structure diagram of another focus mobile device provided in an embodiment of the present invention;
Fig. 9 is a kind of structure diagram of set-top box provided in an embodiment of the present invention.
Specific implementation mode
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art The every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Fig. 1 is the structure diagram of focus mobile system provided in an embodiment of the present invention, and Fig. 1 embodies the embodiment of the present invention and provides A kind of optional application scenarios of focus mobile system, specifically include:Remote controler 1 and intelligent TV set 2, wherein smart television Include multiple program columns in the current user interface of machine 2, each program column can be referred to as an object of focus.
Currently obtain the object of focus 21 of focus, as current focus object, the directionkeys in user's touch-control remote controller 1 11, by direction by the movement of 11 control focuses, focus mobile system provided by the invention is determined according to the touch control operation of user The focus movement directive that user is sent by remote controler is determined according to focus movement directive and preset attention-shifting rules Next goal-focus object for obtaining focus, i.e. other program versions in Fig. 1 in addition to program one (object of focus 21) column Block, and focus is further moved to goal-focus object.
Based on this thinking, referring to Fig. 2, a kind of flow chart for focus mobility method that the present patent application embodiment provides, knot It closes shown in Fig. 1 and Fig. 2, which may include:
Step S100 obtains focus movement directive.
In practical applications, for being not provided with the terminal device of mouse, Touch Screen, focus movement directive is often uncommon It hopes control focus realize the movement of upper and lower, left and right four direction gradually, focus is moved to corresponding with specific instructions content The selection to corresponding object of focus is realized in destination.
Therefore, the mode of user's transmission focus movement directive includes at least:By remote controler send focus movement directive or Focus movement directive is triggered by the physical button being arranged on terminal device ontology.Certainly, other can send focus movement life The mode of order is also feasible, is not limited to above-mentioned two referred to kind order generating mode.
Correspondingly, the mode for obtaining focus movement directive equally there are many mode, can obtain remote controler send out it is wireless The key assignments for the physical button being pressed by the user on signal or acquisition terminal equipment, and focus is further determined according to key assignments content Movement directive content, or the focus movement directive etc. that user is sent by smart mobile phone is obtained, in short, appointing in the prior art The mode what can obtain the focus movement directive of user's transmission is all optional, can be applied to this step.
Step S110 determines at least one candidate focus pair adjacent with current focus object according to focus movement directive As.
After obtaining focus movement directive, it is necessary first to parse the content of focus movement directive, then could be moved according to focus The content of dynamic order determines at least one candidate object of focus adjacent with current focus object.
Optionally, to simplify the resolving of focus point movement directive, specific focus movement directive can be assigned Value, for example move up order correspondence and be assigned a value of -1, it moves down order correspondence and is assigned a value of 1, be moved to the left order and correspond to assignment It is -2, the order that moves right correspondence is assigned a value of 2.It is of course also possible to be directly identified using the corresponding key assignments of each control button, Alternatively, each control button is numbered, judge which control button is triggered according to number, and further parsing and control The corresponding command context of button.
After the focus movement directive to acquisition parses, you can determine focus according to the content of focus movement directive Moving direction, for example, after obtaining a certain focus movement directive and being parsed to it, obtained value is 2, then can determine focus Moving direction be right.
According to the moving direction of focus, need to further determine that adjacent on focus moving direction with current focus object At least one object of focus is as candidate object of focus.It, can be with it should be noted that the object of focus that the present patent application is addressed Be component in user interface, view or other can obtain the unit of focus.
Well known, in the prior art, any kind of object of focus all has the side of one fixed width in the provisioning process Therefore boundary can utilize the boundary of object of focus to determine adjacent with current focus object at least one on focus moving direction A candidate's object of focus.Optionally, it since any object of focus all has multiple focal boundaries, first has to determine current focus pair As boundary consistent with focus moving direction in boundary in all directions is as object boundary, then by boundary and the target There are the object of focus of intersection as candidate object of focus on boundary.It is envisioned that the boundary due to object of focus has one Fixed length, therefore, with the object boundary of current focus object there are the object of focus of intersection at least one, i.e., candidate focus Object at least one.
Step S120 determines goal-focus object according to default attention-shifting rules from candidate object of focus.
Default attention-shifting rules define focus in mobile priority sequentially, when there are multiple for candidate object of focus When, it needs to further determine that goal-focus object according to default attention-shifting rules.
Optionally, if attention-shifting rules are first up and then down, first left and then right, that is, a certain focus movement directive, root are directed to It can be obtained according to the location information of each candidate focus, the candidate object of focus in the leftmost side and in the top should be determined as target coke Point object.
It should be noted that default attention-shifting rules can be designed according to actual conditions, it is not limited to above-mentioned offer Content, it is any to can be used for determining that the attention-shifting rules of goal-focus object are all optional in multiple candidate object of focus , equally belong to the range of the present patent application protection.
Focus is moved to goal-focus object by step S130.
After determining goal-focus object, you can focus is moved to goal-focus object, completes the movement of focus.
Apply for the focus mobility method provided through the invention, the movement of focus is according to focus movement directive and default focus Movement rule is realized, after obtaining focus movement directive every time, at least one candidate object of focus, and further root is calculated The goal-focus object of focus movement is determined according to default attention-shifting rules, the determination of focus shift position is independent of user circle The arrangement of object of focus in face so that developer can as needed correcting, upgrading user interface, and without recalculate with Corresponding goal-focus object on the adjacent four direction up and down of current focus object reduces user interface upgrading correcting Limiting factor improves working efficiency.
Optionally, in practical applications, the movement of focus is in some cases, it may occur that in the object of focus of different levels Between, such as between component and view.Therefore, the present patent application also provides a kind of preferred embodiment, when pair of focus movement When as being in different levels, focus movement is realized.
Specifically, if there are the upper level views that the object of focus of intersection is current focus object with object boundary, need Border object is generated, the command context of current focus movement directive and the ginseng of current focus object are recorded in the border object Number information.
Optionally, the definition of border object can be:
borderObj:{type:-1|-2|1|2,position:{ left, top, width, height }, isInside }, Include command context (type from defining content and can be seen that in border object:- 1 | -2 | 1 | 2) and the base of current focus object This parameter (position:{ left, top, width, height }), IsInside be in order to identify change border object whether view Inside generates, or external incoming.
According to the information for including in border object, it may be determined that at least one candidate's object of focus can mark off in other words One candidate region, the object of focus in region, all can serve as candidate object of focus.Further, it is moved according to default focus Dynamic rule determines goal-focus object, for example, determining that the object of focus in candidate region in the leftmost side and in the top is Goal-focus object.
After determining goal-focus object, you can focus is jumped to goal-focus object.
Optionally, in order to further speed up goal-focus object constant speed degree really, when shortening the execution of focus movement directive Between, the present patent application provides a kind of preferred embodiment, and referring to Fig. 3, another focus that the present patent application embodiment provides is moved The flow chart of dynamic method, the flow include:
Step S200 obtains focus movement directive.
Optionally, the optional realization of step S200 can be as shown in step S100 in Fig. 2, and details are not described herein again.
Step S210 parses focus movement directive, obtains focus moving direction.
After obtaining focus movement directive, it is necessary first to parse the content of focus movement directive, then could be moved according to focus The content of dynamic order, obtains focus moving direction.
Focus movement directive includes at least and moves up, moves down, is moved to the left and moves right four kinds, according to default Focus movement directive analysis mode, as to different focal point movement directive carry out assignment or identification send focus movement directive The key assignments etc. of physical button parses focus movement directive, and focus moving direction is obtained according to the content of focus movement directive.
Step S220 judges whether to be stored with adjacent focal spots object of the current focus object on focus moving direction, if It is to execute step S250, if it is not, executing step S230.
Each secondary focal point movement, can all be related to two object of focus, one is current focus object, the other is target is burnt Point object, for the user interface begun to use, any object of focus in user interface, on it, under, left and right four Adjacent focal spots object on a direction is often fixed, that is to say, that this correspondence be it is fixed, therefore, when for After same current focus object sends same focus movement directive, focus is necessarily moved to same adjacent focal spots object, i.e. mesh Object of focus is marked, based on this situation, the present patent application provides a kind of preferred embodiment, after completing focus movement every time, storage Adjacent focal spots object of the current focus object on focus moving direction, as again obtain focus movement directive after judgement according to According to.It should be noted that storage operation is happened at after execution step all shown in embodiment illustrated in fig. 1, in making for user Relationship, constantly improve storage record, until by all cokes are moved with the focus in the process, constantly recorded between each object of focus All storage finishes adjacent focal spots object of the point object on arbitrary focus moving direction.
Optionally, specific storage, which operates, includes:It is stored in above current focus object and adjacent with current focus object The first adjacent focal spots object, be stored in below current focus object and second adjacent focal spots pair adjacent with current focus object As being stored in current focus object left and the adjacent object of focus of the third adjacent with current focus object, being stored in current coke Point object right and the fourth adjacent focal spots object adjacent with current focus object.
It optionally, can be as follows for realizing the structure of above-mentioned storage content:
MapItem:{-1:nextPos,2:nextPos,1:nextPos,2:nextPos};
ActionMap:{pos1:MapItem1,pos2:MapItem2,...}。
It should be noted that user interface is completed in application initial stage, especially first Application after upgrading, correcting, certainly Store function provided in this embodiment will not be applied, as storage information is more and more abundant, this function can be widely used, and be had Effect improves the execution efficiency of user instruction.
Step S230 determines at least one candidate focus pair adjacent with current focus object according to focus movement directive As.
Optionally, the optional realization of step S230 can be as shown in step S110 in Fig. 2, and details are not described herein again.
Step S240 determines goal-focus object according to default attention-shifting rules from candidate object of focus.
Optionally, the optional realization of step S240 can be as shown in step S120 in Fig. 2, and details are not described herein again.
It should be strongly noted that referring to Fig. 3, after step S240 is finished, it should then execute step S260.
Step S250 determines that adjacent focal spots object of the current focus object on focus moving direction is goal-focus pair As.
If being stored with adjacent focal spots object of the current focus object on focus moving direction, you can be remembered according to history Information is recorded, is directly determined on the focus moving direction, the goal-focus object of focus movement.
Focus is moved to goal-focus object by step S260.
After determining goal-focus object, you can focus is moved to goal-focus object, completes the movement of focus.
Optionally, referring to the flow chart of Fig. 4, the present patent application embodiment another focus mobility method provided, the stream Journey includes:
Step S300 obtains focus movement directive.
Optionally, the optional realization of step S300 can be as shown in step S100 in Fig. 2, and details are not described herein again.
Whether step S310 judges in mobile relationship to include current focus object, if so, S340 is thened follow the steps, if it is not, Then follow the steps S320.
Mobile relationship of the focus between object of focus includes the corresponding focus moving direction of object of focus and goal-focus Object, movement of the mobile relationship essential record focus that the embodiment of the present application is addressed on current focus object Jing Guo a direction Afterwards, it is moved to the path of goal-focus object.
Optionally, mobile relationship of the focus between preset quantity object of focus can be stored by storehouse, The mobile relationship of nearest three is stored in storehouse for example, can define, the rule for evidence of fetching according to stack reads constantly refreshes storehouse The mobile relationship of middle storage.Realize that the mobile relationship of storage may be used such as lower structure based on stack architecture:
PathItem:{type:- 1 | -2 | 1 | 2, toPos, fromPos }, wherein fromPos refers to current focus object, ToPos refers to next object of focus.
It should be noted that the storage of mobile relationship is equally happened at after every secondary focal point movement directive is finished, and It is therefore that cannot answer certainly for the focus movement directive obtained for the first time applied to focus movement directive is executed next time With mobile relationship, quickly determines goal-focus object and execute focus movement directive.If the storage of mobile relationship is using upper If stating stack, the storage characteristics based on storehouse can only store the focus movement of preset quantity executed recently in storehouse It orders, the focus movement directive before preset quantity will be refreshed, not by store-memory.
Step S320 determines at least one candidate focus pair adjacent with current focus object according to focus movement directive As.
Optionally, the optional realization of step S320 can be as shown in step S110 in Fig. 2, and details are not described herein again.
Step S330 determines goal-focus object according to default attention-shifting rules from candidate object of focus.
Optionally, the optional realization of step S330 can be as shown in step S120 in Fig. 2, and details are not described herein again.
It should be strongly noted that referring to Fig. 4, after step S330 is finished, it should then execute step S370.
Step S340 determines the target moving direction opposite with current moving direction.
After obtaining focus movement directive, according to focus movement directive content, determine current moving direction, and further from It is searched in mobile relationship and obtains the target moving direction opposite with current moving direction.
Step S350, judge in stored mobile relationship with the presence or absence of using current focus object as goal-focus object and Moving direction is that the target of target moving direction moves relationship, if so, step S360 is executed, if it is not, executing step S320.
This step is mainly used for determining whether there is target movement relationship, the focus movement recorded in the target movement relationship Direction is that the goal-focus object that abovementioned steps determine target moving direction, and wherein record is current focus object.If deposited In the mobile relationship of storage, including the target moves relationship, S360 is thened follow the steps, moves relationship if there is no the target, then Return to step S320.
The substantive content of this step is to determine whether the history focus movement life for having opposite with current focus movement directive It enables.
Step S360 determines that the starting object of focus in target movement relationship is the corresponding target of current focus movement directive Object of focus.
If there is in target movement relationship, then the starting object of focus recorded in the target movement relationship is as current The corresponding goal-focus object of focus movement directive.
Focus is moved to goal-focus object by step S370.
After determining goal-focus object, you can focus is moved to goal-focus object, completes the movement of focus.
Embodiment illustrated in fig. 4 mainly solves after user sends a certain focus movement directive, sends phase back focus movement life It enables, it is desirable to when returning to a upper object of focus, can quickly determine goal-focus object, complete the execution of focus movement directive, no With the selection for carrying out goal-focus object again, avoid calculating mistake, while improving order execution efficiency.
It is envisioned that Fig. 3 and embodiment illustrated in fig. 4 provide a kind of preferred embodiment respectively, meeting Rule of judgment Under the premise of, it is not necessary to the part steps in embodiment illustrated in fig. 2 are carried out, to accelerate the implementation procedure of focus movement directive, equally, Fig. 3 and improvement content shown in Fig. 4 can also be merged together, judging whether respectively for a focus movement directive can be with Using corresponding preferred steps.
Focus mobile device provided in an embodiment of the present invention is introduced below, focus mobile device described below can To be considered the focus mobility method of embodiment offer to realize the present invention, the function module frame of setting is needed in central equipment Structure;Be described below content can with above it is cross-referenced.
Fig. 5 is a kind of structure diagram of focus mobile device provided in an embodiment of the present invention, and with reference to Fig. 5, which can be with Including:
First acquisition unit 10, for obtaining focus movement directive;
First determination unit 20, for according to the focus movement directive, determination to be adjacent with current focus object at least One candidate object of focus;
Second determination unit 30, for according to attention-shifting rules are preset, target to be determined from the candidate object of focus Object of focus;
Mobile unit 40, for focus to be moved to the goal-focus object.
Optionally, first determination unit 20, for according to the focus movement directive, determining and current focus object Adjacent at least one candidate object of focus, specifically includes:
It parses the focus movement directive and obtains focus moving direction;
Determine that with current focus object at least one object of focus adjacent on the focus moving direction be the time Select object of focus.
Optionally, each object of focus has boundary;First determination unit 20, for determining and current focus object When at least one object of focus adjacent on the focus moving direction is the candidate object of focus, specifically include:
Determine current focus object object boundary consistent with the focus moving direction in the boundary of all directions;
Determine that with the object boundary be the candidate object of focus there are the object of focus of intersection.
Optionally, first determination unit 20, for determining that there are the object of focus of intersection to be with the object boundary When candidate's object of focus, specifically include:
If generating side there are the upper level view that the object of focus of intersection is current focus object with the object boundary Bound pair is as the border object records the content of the focus movement directive and the parameter of current focus object;
According to the border object and the default attention-shifting rules, candidate's object of focus is determined.
Optionally, second determination unit 30 presets attention-shifting rules for basis, from the candidate object of focus Middle determining goal-focus object, specifically includes:
According to the location information of at least one candidate object of focus, the time in the leftmost side and in the top is determined It is the goal-focus object to select object of focus.
Optionally, Fig. 6 is that the structure diagram of another focus mobile device provided in an embodiment of the present invention should with reference to Fig. 6 On the basis of device embodiment shown in Fig. 5, can also include:
First storage unit 50 is above the current focus object and adjacent with the current focus object for being stored in The first adjacent focal spots object;It is stored in the current focus object lower section and second phase adjacent with the current focus object Adjacent object of focus;It is stored in current focus object left and the third adjacent focal spots pair adjacent with the current focus object As;It is stored in current focus object right and the fourth adjacent focal spots object adjacent with the current focus object.
Optionally, Fig. 7 is the structure diagram of another focus mobile device provided in an embodiment of the present invention, should with reference to Fig. 7 On the basis of device embodiment shown in Fig. 6, can also include:
Resolution unit 60 obtains focus moving direction for parsing the focus movement directive;
Third determination unit 70, for adjacent on the focus moving direction when being stored with the current focus object When object of focus, determine that adjacent focal spots object of the current focus object on the focus moving direction is that the target is burnt Point object.
Optionally, Fig. 8 is the structure diagram of another focus mobile device provided in an embodiment of the present invention, should with reference to Fig. 8 On the basis of device embodiment shown in Fig. 5, can also include:
Second storage unit 80, for storing mobile relationship of the focus between preset quantity object of focus, the shifting Dynamic relationship includes the corresponding focus moving direction of object of focus and goal-focus object;
First judging unit 90, for judging in the mobile relationship whether to include current focus object;
4th determination unit 100 determines and current movement side if for including current focus object in the mobile relationship To opposite target moving direction, wherein the current moving direction is obtained according to the focus movement directive;
Second judgment unit 110, for judging in stored mobile relationship with the presence or absence of using current focus object as mesh It marks object of focus and moving direction moves relationship for the target of target moving direction;
5th determination unit 120, for when moving relationship there are target, determining the starting focus in target movement relationship Object is the corresponding goal-focus object of current focus movement directive.
Fig. 9 is the hardware structure diagram of set-top box provided in an embodiment of the present invention, shown in Figure 9, may include:At least one A processor 100, at least one communication interface 200, at least one processor 300 and at least one communication bus 400;
In embodiments of the present invention, processor 100, communication interface 200, memory 300, communication bus 400 quantity be It is at least one, and processor 100, communication interface 200, memory 300 complete mutual communication by communication bus 400;It is aobvious So, communication connection shown in processor 100 shown in Fig. 9, communication interface 200, memory 300 and communication bus 400 is illustrated only It is optional;
Optionally, communication interface 200 can be the interface of communication module, such as the interface of gsm module;
Processor 100 may be a central processor CPU or specific integrated circuit ASIC (Application Specific Integrated Circuit), or be arranged to implement the integrated electricity of one or more of the embodiment of the present invention Road.
Memory 300 may include high-speed RAM memory, it is also possible to further include nonvolatile memory (non- Volatile memory), a for example, at least magnetic disk storage.
Wherein, processor 100 is specifically used for executing the application program in memory, to realize that focus described above moves Method.
Each embodiment is described by the way of progressive in this specification, the highlights of each of the examples are with other The difference of embodiment, just to refer each other for identical similar portion between each embodiment.For device disclosed in embodiment For, since it is corresponded to the methods disclosed in the examples, so description is fairly simple, related place is said referring to method part It is bright.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These Function is implemented in hardware or software actually, depends on the specific application and design constraint of technical solution.Profession Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered Think beyond the scope of this invention.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, as defined herein General Principle can in other embodiments be realized in the case where not departing from core of the invention thought or scope.Therefore, originally Invention is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein Consistent widest range.

Claims (10)

1. a kind of focus mobility method, which is characterized in that including:
Obtain focus movement directive;
According to the focus movement directive, at least one candidate object of focus adjacent with current focus object is determined;
According to default attention-shifting rules, goal-focus object is determined from the candidate object of focus;
Focus is moved to the goal-focus object.
2. focus mobility method according to claim 1, which is characterized in that it is described according to the focus movement directive, really The fixed at least one candidate object of focus adjacent with current focus object, including:
It parses the focus movement directive and obtains focus moving direction;
Determine with current focus object at least one object of focus adjacent on the focus moving direction to be described candidate burnt Point object.
3. focus mobility method according to claim 2, which is characterized in that each object of focus has boundary;
The determination is the time with current focus object at least one object of focus adjacent on the focus moving direction Object of focus is selected, including:
Determine current focus object object boundary consistent with the focus moving direction in the boundary of all directions;
Determine that with the object boundary be the candidate object of focus there are the object of focus of intersection.
4. focus mobility method according to claim 3, which is characterized in that the determination exists with the object boundary hands over The object of focus of collection is the candidate object of focus, including:
If generating boundary pair there are the upper level view that the object of focus of intersection is current focus object with the object boundary As the border object records the content of the focus movement directive and the parameter of current focus object;
According to the border object and the default attention-shifting rules, candidate's object of focus is determined.
5. focus mobility method according to claim 1, which is characterized in that the basis presets attention-shifting rules, from Goal-focus object is determined in candidate's object of focus, including:
According to the location information of at least one candidate object of focus, determine that the candidate in the leftmost side and in the top is burnt Point object is the goal-focus object.
6. focus mobility method according to claim 1, which is characterized in that the method further includes:
It is stored in the current focus object top and the first adjacent focal spots object adjacent with the current focus object;
It is stored in the current focus object lower section and the second adjacent focal spots object adjacent with the current focus object;
It is stored in current focus object left and the third adjacent object of focus adjacent with the current focus object;
It is stored in current focus object right and the fourth adjacent focal spots object adjacent with the current focus object.
7. focus mobility method according to claim 6, which is characterized in that after the acquisition focus movement directive, The method further includes:
The focus movement directive is parsed, focus moving direction is obtained;
When being stored with adjacent focal spots object of the current focus object on the focus moving direction, determine described current Adjacent focal spots object of the object of focus on the focus moving direction is the goal-focus object.
8. focus mobility method according to claim 1, which is characterized in that the method further includes:
Mobile relationship of the focus between preset quantity object of focus is stored, the mobile relationship includes that object of focus is corresponding Focus moving direction and goal-focus object;
After obtaining focus movement directive, the method further includes:
Judge in the mobile relationship whether to include current focus object;
If including current focus object in the mobile relationship, the target moving direction opposite with current moving direction is determined, In, the current moving direction is obtained according to the focus movement directive;
Judge in stored mobile relationship with the presence or absence of being goal-focus object and moving direction as mesh using current focus object The target for marking moving direction moves relationship;
If in the presence of, it is determined that the starting object of focus in target movement relationship is the corresponding goal-focus of current focus movement directive Object.
9. a kind of focus mobile device, which is characterized in that including:
First acquisition unit, for obtaining focus movement directive;
First determination unit, for according to the focus movement directive, determining at least one time adjacent with current focus object Select object of focus;
Second determination unit, for according to attention-shifting rules are preset, goal-focus pair to be determined from the candidate object of focus As;
Mobile unit, for focus to be moved to the goal-focus object.
10. a kind of set-top box, which is characterized in that including:Memory and processor;The memory is stored with suitable for the processing The program that device executes, to realize claim 1 to 8 any one of them focus mobility method.
CN201810750949.1A 2018-07-10 2018-07-10 Focus moving method and device and set top box Active CN108668157B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810750949.1A CN108668157B (en) 2018-07-10 2018-07-10 Focus moving method and device and set top box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810750949.1A CN108668157B (en) 2018-07-10 2018-07-10 Focus moving method and device and set top box

Publications (2)

Publication Number Publication Date
CN108668157A true CN108668157A (en) 2018-10-16
CN108668157B CN108668157B (en) 2021-06-15

Family

ID=63772671

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810750949.1A Active CN108668157B (en) 2018-07-10 2018-07-10 Focus moving method and device and set top box

Country Status (1)

Country Link
CN (1) CN108668157B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112148157A (en) * 2019-06-28 2020-12-29 杭州海康威视数字技术股份有限公司 Focus moving method and focus moving apparatus for graphic user interface
CN113703625A (en) * 2021-07-30 2021-11-26 青岛海尔科技有限公司 Method, apparatus, storage medium, and electronic apparatus for controlling focus movement
CN114845146A (en) * 2022-04-20 2022-08-02 广东悦伍纪网络技术有限公司 Method and device for controlling sequence of box end multi-column table focuses
WO2023077905A1 (en) * 2021-11-04 2023-05-11 聚好看科技股份有限公司 Display device and focus management method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014058233A1 (en) * 2012-10-11 2014-04-17 연세대학교 산학협력단 Method for increasing gui response speed of user device through data preloading, and said user device
CN103744594A (en) * 2013-12-27 2014-04-23 乐视网信息技术(北京)股份有限公司 Display method and device of movable focal point
CN103916710A (en) * 2014-03-31 2014-07-09 优视科技有限公司 Focal point switching method and system
CN104104984A (en) * 2014-07-31 2014-10-15 合一网络技术(北京)有限公司 Focus control method and device thereof
CN104768045A (en) * 2015-03-26 2015-07-08 百视通网络电视技术发展有限责任公司 Cursor control method and system based on television application program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014058233A1 (en) * 2012-10-11 2014-04-17 연세대학교 산학협력단 Method for increasing gui response speed of user device through data preloading, and said user device
CN103744594A (en) * 2013-12-27 2014-04-23 乐视网信息技术(北京)股份有限公司 Display method and device of movable focal point
CN103916710A (en) * 2014-03-31 2014-07-09 优视科技有限公司 Focal point switching method and system
CN104104984A (en) * 2014-07-31 2014-10-15 合一网络技术(北京)有限公司 Focus control method and device thereof
CN104768045A (en) * 2015-03-26 2015-07-08 百视通网络电视技术发展有限责任公司 Cursor control method and system based on television application program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112148157A (en) * 2019-06-28 2020-12-29 杭州海康威视数字技术股份有限公司 Focus moving method and focus moving apparatus for graphic user interface
CN113703625A (en) * 2021-07-30 2021-11-26 青岛海尔科技有限公司 Method, apparatus, storage medium, and electronic apparatus for controlling focus movement
WO2023077905A1 (en) * 2021-11-04 2023-05-11 聚好看科技股份有限公司 Display device and focus management method
CN114845146A (en) * 2022-04-20 2022-08-02 广东悦伍纪网络技术有限公司 Method and device for controlling sequence of box end multi-column table focuses

Also Published As

Publication number Publication date
CN108668157B (en) 2021-06-15

Similar Documents

Publication Publication Date Title
CN108668157A (en) A kind of focus mobility method, device and set-top box
CN101770299B (en) System and method for realizing functions of navigation keys
CN107992344B (en) Coroutine implementation method and coroutine implementation device
CN107807847B (en) Application process management method and terminal equipment
US20100281422A1 (en) Communication terminal and program
RU2007134314A (en) DEVICE AND METHOD FOR COORDINATION OF MACHINERY
CN105094920A (en) Game rendering method and device
CN105808736A (en) List data updating method, apparatus and system
CN103970538A (en) Android focus transforming method and system
CN109842610A (en) Interface requests processing method, device, computer equipment and storage medium
CN108153454B (en) Multi-touch switching method and device, storage medium and terminal equipment
CN109508451A (en) A kind of list data comparison processing method and processing device
CN106998489B (en) A kind of focus is crossed the border searching method and device
CN108737870A (en) A kind of soft keyboard key assignments selection method and device
CN106547333A (en) Mobile terminal and its method of work
CN106610827A (en) Method for extending customer attributes of browser focal point shift and realizing focal point shift
CN113093961B (en) Window switching method, storage medium and related equipment
CN112835786B (en) Optimal path calculation method and device for application program interface jump, storage medium and terminal
CN105279195A (en) Method and apparatus for webpage application to call browser function
CN107292137A (en) A kind of determination method and device for treating unlocking objects
CN111381755B (en) Interface content switching method and device and storage medium
CN106814931A (en) A kind of terminal and application program image target localization method
CN112835787A (en) Application program interface skipping path correction method and device, storage medium and terminal
KR101633670B1 (en) Method and apparatus for providing analysis of information of using application
CN110515617A (en) Prototype storage method

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