CN109660844A - Method of controlling operation thereof, device, television set, set-top box and the storage medium of the page - Google Patents

Method of controlling operation thereof, device, television set, set-top box and the storage medium of the page Download PDF

Info

Publication number
CN109660844A
CN109660844A CN201710946643.9A CN201710946643A CN109660844A CN 109660844 A CN109660844 A CN 109660844A CN 201710946643 A CN201710946643 A CN 201710946643A CN 109660844 A CN109660844 A CN 109660844A
Authority
CN
China
Prior art keywords
view object
focus
transfer
record
page
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
CN201710946643.9A
Other languages
Chinese (zh)
Other versions
CN109660844B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201710946643.9A priority Critical patent/CN109660844B/en
Publication of CN109660844A publication Critical patent/CN109660844A/en
Application granted granted Critical
Publication of CN109660844B publication Critical patent/CN109660844B/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Abstract

This application discloses the method for controlling operation thereof of the page, device, television set, set-top box and storage mediums.Wherein, the method of controlling operation thereof of the page, it include: to receive the transfer to focus in the page to indicate, inquiry transfer related with transfer instruction and the current acquisition first view object of focus records, wherein, transfer instruction is used to indicate the shift direction of focus, and transfer record is last in response to transfer instruction for recording, and focus is made to be transferred to the focus transfer operation of the second view object from first view object;If inquiring transfer record, determine that the transfer records corresponding second view object;Whether belong to same group according to second view object and the first view object, the default view object in metastatic focus to second view object or affiliated group of second view object.

Description

Method of controlling operation thereof, device, television set, set-top box and the storage medium of the page
Technical field
This application involves the method for controlling operation thereof of internet area more particularly to the page, device, television set, set-top box and Storage medium.
Background technique
With the development of internet technology, web application is widely used in intelligent television end.Such as web application can be pacified In TV or set-top box.The commonly used remote controler of television interacts operation, without configuring mouse or touch screen Equal interactive devices.In order to facilitate the use of the user, the usually only a small amount of key of remote controler.
In order to which view object (being referred to as page elements) interacts in the page applied with web, user needs logical Remote control control focus is crossed to shift between different views object.
Summary of the invention
According to the present invention on one side, a kind of method of controlling operation thereof of page is provided, to improve the response speed of focus transfer Degree.In a page, the view object that can obtain focus is divided at least one group, and every group includes at least one view pair As.This method comprises: receiving the transfer instruction to focus in the page, inquiry and transfer instruction and current acquisition are burnt The related transfer record of the first view object of point, wherein the shift direction for shifting instruction and being used to indicate focus, described turn It is last in response to transfer instruction for recording to move record, and focus is made to be transferred to the second view pair from first view object The focus transfer operation of elephant;If inquiring the transfer record, determine that the transfer records corresponding second view object;According to Whether second view object and the first view object belong to same group, metastatic focus to second view object Or the default view object organized belonging to second view object.
In some embodiments, if it is determined that second view object is not belonging to same with the first view object Group, then metastatic focus to second view object;If it is determined that second view object and the first view object are not Belong to same group, inquire the default view object organized belonging to second view object, which is in the group The view object of focus is lost recently;When inquiring the default view object, perform the following operations: metastatic focus is to described Default view object generates the record of this secondary focal point transfer operation, is used for recording responses and indicates in the transfer, and makes focus It is transferred to the focus transfer operation of the default view object from the first view object, and replaces the inquiry with the record The transfer record arrived, and set the first view object that focus is lost in the transfer operation of this secondary focal point to belonging to it The default view object of group.
In some embodiments, this method further include: if not inquiring the default view object, metastatic focus to institute It states the second view object, and sets the silent of group belonging to it for the first view object for losing focus in the transfer operation of this secondary focal point Recognize view object.
In some embodiments, this method further include: if not inquiring the transfer record, determine in first view The shift direction side of figure object, the third view object that obtains focus nearest apart from first view object;True When the fixed third view object and the first view object are not belonging to same group, following processing is executed: inquiry described the The default view object organized belonging to three-view diagram object, the default view object are to lose recently in affiliated group of the third view object Go the view object of focus;If inquiring the default view object organized belonging to the third view object, perform the following operations: Metastatic focus generates the record of this secondary focal point transfer operation, is used for recording responses in the transfer to the default view object Instruction, and focus is made to be transferred to the focus transfer operation of the default view object from the first view object, and by the note Record is set as the transfer record, sets its affiliated group for the first view object for losing focus in the transfer operation of this secondary focal point Default view object.
In some embodiments, this method further include: if it is determined that the third view object and the first view pair As belonging to same group, metastatic focus to the third view object generates the record of this secondary focal point transfer operation, is used to remember Record is indicated in response to the transfer, and the focus for making focus be transferred to the third view object from the first view object turns Operation is moved, and sets the transfer for the record and records.
In some embodiments, this method further include: if not inquiring the default organized belonging to the third view object View object, metastatic focus generate the record of this secondary focal point transfer operation, are used for recording responses to the third view object It is indicated in the transfer, and the focus transfer for making focus be transferred to the third view object from the first view object is grasped Make, and set the transfer for the record and record, the first view object that focus is lost in the transfer operation of this secondary focal point is set It is set to its affiliated default view object organized.
In some embodiments, at least one described group is divided at least one layer, and each layer includes at least one group;Institute State and determine in the shift direction side of the first view object, apart from first view object it is nearest obtain focus The step of third view object includes: to determine in the layer belonging to the first view object in the first view object The set of the view object of the shift direction side;Determine view nearest with the first view object distance in the set Object.
In some embodiments, this method further include: in inquiry and the transfer instruction and current obtain the of focus Before the related transfer record of one view object, inquiry configuration related with transfer instruction and the first view object, This, which is configured to indicate that, indicates in response to the transfer and focus is transferred to target view object from first view object;If Inquire the configuration, the target view object that metastatic focus to the configuration is specified and no longer execute inquiry and transfer instruction with And the operation of the current related transfer record of first view object for obtaining focus.
In some embodiments, this method further include: if it is determined that the default view object for obtaining focus is not in Display area shows the default view object in display area.
In some embodiments, the described the step of default view object is shown in display area includes: according to Default view object in the page position and slide the page, to show the default view object.
In some embodiments, the described the step of default view object is shown in display area includes: according to following Formula determines the top edge of part to be shown in the page at a distance from the top of the page, and the part to be shown includes The default view object: l=d- (h1-h2Wherein, l indicates the top edge of the part to be shown and the top of the page for)/2 The distance in portion, d indicate the default view object at a distance from the top of the page, h1Indicate the height of the display area Degree, h2Indicate the height of the default view object;According to the top edge of the part to be shown and the top of the page Distance slides the page, to show identified part to be shown.
In some embodiments, the described the step of default view object is shown in display area includes: inquiry and institute The related sliding record of default view object is stated, when sliding record is shown for recording foregoing description default view object, The top edge of the displayed portion of the page is at a distance from the top of the page;According to the sliding record sliding inquired The page, to show the default view object.
In some embodiments, the described the step of default view object is shown in display area further include: if not Sliding record is inquired, the top of the top edge of part to be shown and the page in the page is determined according to following formula The distance in portion, the part to be shown include the default view object: l=d- (h1-h2Wherein, l indicates described to be shown for)/2 Part at a distance from the top of the page, d indicate the default view object at a distance from the top of the page, h1It indicates The height of the display area, h2Indicate the height of the default view object;According to the top edge of the part to be shown with The distance at the top of the page slides the page, to show identified part to be shown, generates this slide Record and be set to sliding record.
In some embodiments, the described the step of default view object is shown in display area further include: inquiring Before sliding record related with the default view object, the sliding configuration for showing the default view object is inquired, The sliding configuration is the top edge of the presumptive area in the page comprising the default view object and the top of the page Distance;If inquiring the sliding configuration, the page is slided according to the sliding configuration, and no longer execute and inquire the cunning The operation of dynamic record.
Another aspect according to the present invention provides a kind of operating control device of page, including query unit and focus control Unit processed.In a page, the view object that can obtain focus is divided at least one group, and every group includes at least one view Object.Query unit, for receiving the transfer instruction to focus in the page, inquiry is indicated with the transfer and is currently obtained Take the related transfer record of the first view object of focus, when inquiring transfer record, determine that transfer record corresponds to The second view object, wherein the transfer instruction is used to indicate the shift direction of focus, the transfer record is for record Once indicated in response to the transfer, and the focus transfer for making focus be transferred to the second view object from first view object is grasped Make;Focus control unit, for whether belonging to same group according to the second view object and the first view object, transfer is burnt It puts to the default view object of group belonging to second view object or second view object.
In some embodiments, operating control device further includes judging unit, for determine second view object with Whether the first view object belongs to same group.If the judging unit determines second view object and described the One view object belongs to same group, focus control unit metastatic focus to second view object.The judging unit is such as Fruit determines that second view object and the first view object are not belonging to same group, indicates query unit inquiry institute The default view object organized belonging to the second view object is stated, which is the view pair for losing focus in the group recently As;Focus control unit is also used to: if the query unit inquires the default view object, metastatic focus is write from memory to described Recognize view object, generate the record of this secondary focal point transfer operation, be used for recording responses and indicated in the transfer, and make focus from The first view object is transferred to the focus transfer operation of the default view object, and inquires described in record replacement Transfer record, and set its affiliated group for the first view object for losing focus in the transfer operation of this secondary focal point Default view object.
In some embodiments, focus control unit is also used to: if query unit does not inquire the default view pair As, metastatic focus to second view object, and the first view object that focus is lost in the transfer operation of this secondary focal point is set It is set to its affiliated default view object organized.
In some embodiments, device further includes selecting unit, is used for: if query unit does not inquire the transfer note Record, determines in the shift direction side of the first view object, apart from first view object it is nearest obtain focus Third view object;Query unit is also used to: if the judging unit determines the third view object and described first View object is not belonging to same group, inquires the default view object organized belonging to the third view object, the default view pair As the view object to lose focus in affiliated group of the third view object recently;If the query unit inquires described The default view object organized belonging to third view object, the focus control unit is for metastatic focus to the default view pair As, the record of this secondary focal point transfer operation is generated, recording responses is used for and is indicated in the transfer, and make focus from described first View object is transferred to the focus transfer operation of the default view object, and sets the transfer for the record and record, and Set the first view object that focus is lost in the transfer operation of this secondary focal point to the default view object of group belonging to it.
In some embodiments, query unit is also used to: focus is obtained with the transfer instruction and currently in inquiry Before the related transfer record of first view object, inquiry is indicated with the transfer and the first view object is related matches It sets, this, which is configured to indicate that, indicates in response to the transfer and focus is transferred to target view object from first view object; If query unit inquires the configuration, the focus control unit is also used to the target view that metastatic focus is specified to the configuration Object, it is related with transfer instruction and the current acquisition first view object of focus that the query unit no longer executes inquiry Transfer record operation.
In some embodiments, device further includes display control unit, is used for: if it is determined that obtaining the default of focus View object is not in display area, and the default view object is shown in display area.
Another aspect according to the present invention provides a kind of set-top box, comprising: one or more processors, memory and One or more programs.Program is stored in the memory and is configured as being executed by one or more of processors, described One or more programs include the instruction for executing the method for controlling operation thereof of the page according to the present invention.
Another aspect according to the present invention provides a kind of television set, comprising: one or more processors, memory and One or more programs.Program is stored in the memory and is configured as being executed by one or more of processors, described One or more programs include the instruction for executing the method for controlling operation thereof of the page according to the present invention.
Another aspect according to the present invention provides a kind of storage medium, is stored with one or more programs, it is one or Multiple programs include instruction, described instruction when executed by a computing apparatus so that the calculatings equipment execution it is according to the present invention The method of controlling operation thereof of the page.
To sum up, on the basis of view object is grouped in the page, the method for controlling operation thereof of the page of the invention is logical Generation and inquiry transfer record are crossed, the response speed of focus transfer can be improved to avoid the real-time target for calculating focus transfer.
Detailed description of the invention
It, below will be to needed in example description in order to illustrate more clearly of the technical solution in present application example Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some examples of the application, for this field For those of ordinary skill, without any creative labor, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 shows a typical case scene 100 for controlling the method for focus according to the present invention.
Fig. 2 shows the flow charts of the method for controlling operation thereof 200 of the page according to some embodiments of the invention;
Fig. 3 shows the flow chart of the method for controlling operation thereof 300 of the page according to some embodiments of the invention;
Fig. 4 shows the schematic diagram that the page according to an embodiment of the invention is shown in a device;
Fig. 5 shows the scene according to an embodiment of the invention that the page is shown in display area;
Fig. 6 is shown the schematic diagram to be shown in Fig. 5 for being partially shown in display area;
Fig. 7 shows the schematic diagram of the operating control device 700 of the page according to some embodiments of the invention;
Fig. 8 shows the schematic diagram of the operating control device 800 of the page according to some embodiments of the invention;And
Fig. 9 shows the typical composite structural diagram for calculating equipment.
Specific embodiment
Below in conjunction with the attached drawing in present application example, the technical solution in present application example is carried out clearly and completely Description, it is clear that described example is only a part of example of the application, rather than whole examples.Based on the reality in the application Example, every other example obtained by those of ordinary skill in the art without making creative efforts belong to this Apply for the range of protection.
As shown in Figure 1, application scenarios 100 include television set 101, set-top box 102 and remote controler 103.Set-top box 102 can be with The page (graphical interfaces interacted with TV user) is shown in television set 101.Here, TV user can pass through remote controler The page shown by 103 pairs operates.For example, TV user can control focus in different views object by remote controler 103 Between shift.In some embodiments, according to the present invention that the method for controlling operation thereof of the page can be held in set top box 102 Row.102 at least part function of set-top box is integrated in TV 101 in yet other embodiments,.Therefore, in these embodiments Set-top box 102 can be omitted, and can be executed in the application that TV 101 is installed to the method for controlling operation thereof of the page.Under Face combines Fig. 2 to be illustrated the method for controlling operation thereof 200 of the page.
Method 200 can execute in web application (webapp) or the application of other built-in browsers, but be not limited to This.Typically, method 200 can execute in single-page application (Single Page Application).Single-page application can To be mounted in the equipment such as television set (101) or set-top box (103).In the page for executing method 200, the view of focus can be obtained Figure object is divided at least one group.Every group includes at least one view object (being referred to as page elements).Here, page Form Element, which can be configured as, in surface element can obtain focus.In addition, being different from answering based on the existing of browser default setting With non-Form Element (such as the tag elements such as div or span), which also can be configured as, in the page of the invention can obtain focus. By taking html page as an example, page elements when its class attribute is arranged to " focused " are configured to that focus can be obtained.
As shown in Fig. 2, method 200 starts from step S201.In step s 201, in response to receiving to focus in the page Transfer indicates that inquiry transfer related with transfer instruction and the current acquisition first view object of focus records.Wherein, it shifts Indicate the shift direction for being used to indicate focus.Transfer record for record it is last indicated in response to the transfer, and make focus from First view object is transferred to the focus transfer operation of the second view object.Transfer record for example can store in buffer area, But not limited to this.Here, the range of shift direction for example may include "upper", "lower", " left side " and " right side ", but not limited to this.Phase Ying Di, the received transfer instruction of institute can be " upward key " action event, " down button " action event, " to left button " behaviour Make event or " key to the right " action event.Depending on the configuration of remote controler, transfer instruction is also possible to other key behaviour Make event or touch operation event etc., the invention is not limited in this regard.In order to more clearly explain above transfer record and Transfer instruction, is exemplified below.Here, first view object is ViewA in setting procedure S201, the received transfer instruction of institute For M1.In inquiry transfer record, if a transfer record R1 indicates the last time in response to M1, focus is left from ViewA.That Record R1 is exactly the matched transfer record of institute.
When inquiring transfer record in step s 201, method 200 can execute step S202, determine transfer record pair The second view object answered.For example, the transfer inquired is recorded as R1.R1 recorded information is that focus is transferred to from ViewA ViewB.So, ViewB is identified second view object.
When determining the second view object in step S202, method 200 can execute step S203, according to the second view Whether object and first view object belong to same group, belonging to metastatic focus to the second view object or the second view object Default view object in group.The default view object can be the view object for losing focus in the group recently.
To sum up, on the basis of view object is grouped in the page, method 200 of the invention is by generating and inquiring Transfer record can improve the response speed of focus transfer to avoid the real-time target for calculating focus transfer
Fig. 3 shows the flow chart of the method for controlling operation thereof 300 of the page of other embodiment according to the present invention.It is executing In the page of the application of method 300, the view object that can obtain focus is divided at least one group.Further, group is divided into At least one layer.In other words, each layer includes at least one group.
As shown in figure 3, method 300 starts from step S301.In step S301, in response to receiving to burnt in the page The transfer instruction of point, inquiry configuration related with transfer instruction and first view object.Transfer instruction is used to indicate focus Shift direction.This is configured to indicate that in response to transfer instruction and focus is transferred to target view pair from first view object As.When inquiring the configuration in step S301, method 300 executes step S302, the target that metastatic focus to the configuration is specified View object.In this way, in response to focus point transfer indicate, method 300 inquiry transfer record before, can also inquire whether Have and indicates related configuration with view object and transfer.In other words, focus transfer path can according to need progress in method 300 Configuration, to improve user experience.
When not inquiring above-mentioned configuration in step S301, method 300 can execute step S303.Step S303-S304 Embodiment it is consistent with step S201-S202, which is not described herein again.
When determining that the second view object and first view object belong to same group, method 300 can execute step S305 metastatic focus is to the second view object.In this way, focus can directly be shifted according to transfer record in same group.
When determining that the second view object and first view object are not belonging to same group, method 300 can execute step S306, the affiliated default view object organized of the second view object of inquiry.The default view object is to lose focus recently in the group View object.For example, group belonging to setting target view object is T, group T includes view object View1, View2 and View3. If focus is recently (i.e. last) to leave group T from View2 and be transferred to other groups, View2 is exactly the default of T group View object.
When inquiring default view object in step S306, method 300 execute step S307, metastatic focus to default view Figure object generates the record of this secondary focal point transfer operation, and replaces existing transfer with the record and record, and will lose focus First view object is set as its affiliated default view object organized.Here, the record of a focus transfer operation is for recording Make in response to above-mentioned transfer instruction focus from the first view object be transferred to another view object (depending on concrete condition, May be the default view object of certain group, it is also possible to for third view object etc.) focus transfer operation.In step S307 In, it is recorded by replacing original transfer using newly-generated record, newest one and first view object can be retained always Related transfer record is indicated with a kind of transfer.In one embodiment, transfer instruction includes 4 kinds.Correspondingly, with first view The relevant transfer record of object up to 4.In other words, for first view object, every kind of transfer instruction is one corresponding The transfer record being newly generated.To sum up, by being arranged and the default view object of inquiry group, method 300 can different groups it Between switch focus when so that focus reaches the view object that the group loses focus recently.In other words, method 300 can recorde use The operating habit at family, and it is switched fast focus according to user's habit, user experience is greatly improved.
When not inquiring transfer record in step S303, step S308 is can also be performed in method 300.In step S308 In, it determines and (shifts and indicate specified direction) side in the shift direction of first view object, it is nearest apart from first view object The third view object for obtaining focus.In one embodiment, in step S308 layer belonging to first view object, really It is scheduled on the set of the view object of the shift direction side of the first view object.Then, step S308 determines the collection The view object nearest with first view object distance in conjunction.4 pairs of the present embodiment carry out vivider explanation with reference to the accompanying drawing.
Fig. 4 shows the schematic diagram that the page according to an embodiment of the invention is shown in a device.Here, equipment is for example For TV, but not limited to this.Here, page P1Such as from single-page application, and it is configured as overlapped way.Page P1Including Layer A1, layer A2With layer A3.Layer A1It is in full screen on the screen of TV TV.Layer A1Middle view object includes View1 to View6. Assuming that the view object for currently obtaining focus is View2, and the received transfer of institute indicates that corresponding shift direction is the right side.Correspondingly, Step S308 determines the set of the view object in current layer on the right side of View2.Here, judge that view object position mode can With there are many selection, the invention is not limited in this regard.For example, center is in the center the View2 right side on the basis of the center View2 The view object of side is determined to be on the right side of View2.Object set on the right side of View2 includes View3 and View4.Again For example, the view object that right side edge is in View2 right side edge is determined to be on the basis of View2 right side edge On the right side of View2.It is calculated by distance, can determine that View3 is third view object in set.It should be noted that from Fig. 4's Embodiment is it is found that multi-zone supervision mode of the invention, it is ensured that A1When being displayed in the display area of TV, focus is always In A1It is shifted between included view object., whereas if not carrying out multi-zone supervision, focus can be from A1Edge jumps to not Shown layer A2Or layer A3, and cause focus chaotic.For user perspective, focus confusion can cause user to can not find institute Focus in display interface.In other words, by multi-zone supervision mode, the embodiment of the present invention can guarantee that focus turns in single layer It moves, and focus between different layers is avoided to interfere with each other, so that user experience be greatly improved.
In addition, for third view object identified in step S308, if it belongs to first view object Same group, method 300 executes step S309.In step S309, metastatic focus to third view object.In addition, in step In S309, generates the record of this secondary focal point transfer operation and recorded as corresponding transfer, when to execute method 300 next time Inquiry.
If third view object and first view object are not belonging to same group, step is can also be performed in method 300 S310, the affiliated default view object organized of inquiry third view object.The default view object is affiliated group of third view object In lose the view object of focus recently.When inquiring default view object in step s310, method 300 executes step S311, metastatic focus to the default view object generate the record of this secondary focal point transfer operation and as corresponding transfer record. In addition, setting the silent of group belonging to it for the first view object for losing focus in the transfer operation of this secondary focal point in step S311 Recognize view object.
When not inquiring the default view object organized belonging to third view object in step s310, method 200 can be held Row step S312, metastatic focus to the third view object generate the record of this secondary focal point transfer operation and turn as corresponding Move record.In addition, setting its institute for the first view object for losing focus in the transfer operation of this secondary focal point in step S312 The default view object of category group.
In addition illustrate, when the page is shown in display area, following two kinds of situations can be faced.A kind of situation is page One layer of range can be configured as greater than display area in face.Another situation is that page address portions corresponding to one layer, do not have It is completely in display area.In view of both of these case, method 300 can also be to the aobvious of each view object for obtaining focus Show that state is judged.Below to be illustrated for obtaining the default view object of focus in step S307.It is burnt for obtaining The default view object of point, method 300 can execute step S313, determine that it is aobvious that the default view object for obtaining focus is not in When showing region, the default view object is shown in display area.Here, show that the concrete mode of default view object can have It is a variety of, the invention is not limited in this regard.Several typical ways are illustrated below.
In one embodiment, step S313 according to default view object in the page position and slide the page, to show Show default view object.Wherein, default view object position in the page typically refers to seat of the default view object in the page Mark.
In yet another embodiment, step S313 determines part to be shown in the page according to following formula first.It should be to aobvious Show that part includes default view object.
L=d- (h1-h2Wherein, l is indicated at a distance from the top edge of part to be shown and the top of the page for)/2, and d indicates default View object is at a distance from the top of the page, h1Indicate the height of display area, h2Indicate the height of default view object.In this way, By calculating l value, so that it may determine part to be shown.On this basis, the page is slided in step S313, really to show Fixed part to be shown.In order to vivider, the present embodiment is further illustrated below with reference to Fig. 5 and Fig. 6.
Fig. 5 shows the scene according to an embodiment of the invention that the page is shown in display area.
As shown in figure 5, page P2Including layer B1And B2.Display area Z is consistent with the screen size of TV TV.Layer B1Not by It has been shown that, and layer B2Partial view object is shown.For view object angle, View1-View7 is shown in display area Z In, View8 and View9 are not shown.If focus is transferred to View8 from View1, step S313 determines to include View8 first Region M to be shown.Top edge and the page P that L is M to be calculated in Fig. 52Top distance.Then, step S313 can be with Page P is slided according to the L being calculated2.Fig. 6 is the schematic diagram shown part M to be shown in display area Z.In addition illustrate , the page is arranged to the streaming slided up and down layout in Fig. 5.But not limited to this, the page can also be set in the present invention For the layout to horizontally slip.The layout to horizontally slip can show part to be shown in the page in such a way that Fig. 5 is similar, here It repeats no more.
In yet another embodiment, step S313 inquires the sliding configuration for showing default view object first.The cunning The dynamic top edge of presumptive area being configured in the page comprising default view object is at a distance from the top of the page.Inquiring cunning When dynamic configuration, step S313 can slide the page according to the sliding configuration, to show the presumptive area.Here, depend on pair The display position of default view object needs, and sliding configuration can accordingly be set.For example, default view object may be at it is pre- Determine in the middle part of region, lower part or top etc..
When not inquiring sliding configuration, step S313 can continue inquiry sliding note related with default view object Record.Sliding record is for when default view object is shown before recording, the top edge of page displayed portion to be apart from the page Top distance.In this way, step S313 can be recorded according to the sliding inquired and be slided the page, to show default view Figure object.
When not inquiring sliding record, step S313 can determine the page according to mode identical with upper one embodiment In part to be shown.Part to be shown includes default view object.Then, step S313 can slide the page, to show Part to be shown determined by showing.In addition, step S313 generates the record of this slide and as corresponding sliding note Record.To sum up, method of the invention by showing the view object for the acquisition focus being not in display area automatically, to keep away Exempt from there is no the appearance of the case where focus in display area.
To sum up, on the basis of view object is grouped in the page, the method for controlling operation thereof of the page of the invention is logical Generation and inquiry transfer record are crossed, the response speed of focus transfer can be improved to avoid the real-time target for calculating focus transfer.Into One step, by being arranged and the default view object of inquiry group is when method of controlling operation thereof can switch focus between the different sets makes It obtains focus and reaches the view object that the group loses focus recently.In other words, the method for controlling operation thereof of the page of the invention can be remembered The operating habit at family is employed, and is switched fast focus according to user's habit, to improve user experience.Further, by dividing Layer-management mode, the embodiment of the present invention can guarantee that focus shifts in single layer, and avoid focus between different layers mutually dry It disturbs further.Method of controlling operation thereof of the invention by showing the view object for the acquisition focus being not in display area automatically Show, to avoid there is no the appearance of the case where focus in display area.
Fig. 7 shows the schematic diagram of the operating control device 700 of the page according to some embodiments of the invention.Device 700 It may reside in the equipment such as television set or set-top box.In a page, the view object that can obtain focus is divided at least One group, every group includes at least one view object.The device includes query unit 701 and focus control unit 703.
In response to receiving the transfer instruction to focus in the page, query unit 701 is inquired and transfer indicates and current Obtain the related transfer record of first view object of focus.Wherein, transfer instruction is used to indicate the shift direction of focus.Turn It is last in response to receiving transfer instruction for recording to move record, and focus is made to be transferred to the second view from first view object The focus transfer operation of object.When inquiring above-mentioned transfer record, query unit 702 determines that the transfer records corresponding second View object.
Focus control unit 703, for whether being belonged to according to second view object and first view object determined Default view object in same group, in metastatic focus to the second view object or affiliated group of the second view object.Device 700 More specific embodiment and method 200 are consistent, and which is not described herein again.
Fig. 8 shows the schematic diagram of the operating control device 800 of the page according to some embodiments of the invention.In a page In face, the view object that can obtain focus is divided at least one group, and every group includes at least one view object.These groups are divided For at least one layer.That is, each layer includes at least one group.As shown in figure 8, device 800 includes query unit 801, judgement list Member 802, focus control unit 803, selecting unit 804 and display control unit 805.Wherein, query unit 801 includes cargo tracer The function of member 701, focus control unit 803 include the function of focus control unit 703, and which is not described herein again.
In some embodiments, judging unit 802 is for judging whether the second view object belongs to first view object Same group.When judging unit 802 determines that the second view object and first view object belong to same group, focal point control list First 803 metastatic focus to the second view object.In addition, judging unit 802 is determining the second view object and first view object When being not belonging to same group, instruction query unit 801 inquires the default view object organized belonging to the second view object.Default view Figure object is the view object for losing focus in the group recently.When query unit 801 inquires default view object, focus control 803 metastatic focus of unit processed generates the record of this secondary focal point transfer operation and is looked into record replacement to default view object The transfer record ask.In addition, the first view object for losing focus in the transfer operation of this secondary focal point is arranged query unit 801 For the default view object of group belonging to it.
In some embodiments, in inquiry and transfer instruction and current related turn of the first view object of focus of acquisition It moves before record, query unit 801 is for inquiring and shifting instruction and the related configuration of first view object.This is configured to refer to Show in response to receiving transfer instruction and focus is transferred to target view object from first view object.In query unit 801 When inquiring the configuration, focus control unit 803 is also used to the target view object that metastatic focus is specified to the configuration, and inquires Unit 801 no longer executes the operation of inquiry transfer record.
In addition, focus control unit 803 is also used to shift coke when query unit 801 does not inquire default view object O'clock to the second view object, and set the first view object for losing focus to the default view object of group belonging to it.
In addition, selecting unit 804 is for determining in first view pair when query unit 801 does not inquire transfer record The shift direction side of elephant, the third view object that obtains focus nearest apart from first view object.It is true in judging unit Determine third view object and when first view object is not belonging to same group, query unit 801 is also used to inquire third view pair As affiliated group of default view object.The default view object is the view for losing focus in affiliated group of third view object recently Object.When query unit 801 inquires the default view object of group belonging to third view object, focus control unit 803 is used In metastatic focus to the default view object, the record of this secondary focal point transfer operation is generated and as corresponding transfer record.Separately Outside, the first view object for losing focus in the transfer operation of this secondary focal point is set group belonging to it by focus control unit 803 Default view object.
In addition, when judging unit 802 determines that third view object and first view object belong to same group, focus control Unit processed is also used to metastatic focus to third view object, generates the record of this secondary focal point transfer operation and as corresponding transfer Record.
In addition, when query unit 801 does not inquire the default view object of group belonging to third view object, focal point control Unit 803 is also used to metastatic focus to third view object, generates the record of this secondary focal point transfer operation and turns as corresponding Move record.In addition, focus control unit 803 sets it for the first view object for losing focus in the transfer operation of this secondary focal point Affiliated group of default view object.
Display control unit 805 is used for when determining that the default view object for obtaining focus is not in display area, aobvious Show and shows the default view object in region.The several embodiments of exemplary illustration display control unit 805 below.
In one embodiment, display control unit 805 be used for according to default view object in the page position and slide The page, to show default view object.In yet another embodiment, display control unit 805 determines page according to following manner Part to be shown in face.The part to be shown includes default view object.
L=d- (h1-h2Wherein, l indicates the top edge of part to be shown at a distance from the top of the page, and d is indicated for)/2 Default view object is at a distance from the top of the page, h1Indicate the height of display area, h2Indicate the height of default view object. Then, display control unit 805 slides the page, to show identified part to be shown.
In yet another embodiment, display control unit 805 inquires the sliding configuration for showing default view object.It should It includes the top edge of presumptive area of default view object at a distance from the top of the page that sliding configuration, which is in the page,.It is inquiring When sliding configuration, display control unit 805 slides the page according to the sliding configuration.When not inquiring sliding configuration, display control Unit 805 processed inquires sliding record related with default view object.Sliding record is for default view object before recording When shown, the top edge of page displayed portion is at a distance from the top of the page.Display control unit 805 can be according to being looked into The sliding record sliding page ask, to show default view object.When not inquiring sliding record, display control unit 805 execute the operation for determining part to be shown in the pages.Part to be shown includes default view object.Here, operation is executed Mode is consistent with upper one embodiment, and which is not described herein again.Then, display control unit 805 can slide the page, to show Identified part to be shown.In addition, display control unit 805 can be generated the record of this slide and as corresponding Sliding record.
Fig. 9 shows the composite structural diagram of the calculating equipment where above-mentioned entity.As shown in figure 9, the calculating equipment includes One or more processor (CPU) 902, communication module 904, memory 906, user interface 910, and for interconnecting these The communication bus 908 of component.
Processor 902 can send and receive data by communication module 904 to realize network communication and/or local communication.
User interface 910 includes one or more output equipments 912 comprising one or more speakers and/or one Or multiple visual displays.User interface 910 also includes one or more input equipments 914.User interface 910 for example can be with The instruction of remote controler is received, but not limited to this.
Memory 906 can be high-speed random access memory, such as DRAM, SRAM, DDR RAM or other deposit at random Take solid storage device;Or nonvolatile memory, such as one or more disk storage equipments, optical disc memory apparatus, sudden strain of a muscle Deposit equipment or other non-volatile solid-state memory devices.
The executable instruction set of 906 storage processor 902 of memory, comprising:
Operating system 916, including the program for handling various basic system services and for executing hardware dependent tasks;
Using 918, the various programs including the method for controlling operation thereof for realizing the above-mentioned page, this program be can be realized Process flow in above-mentioned each example, for example may include the operating control device 700 of the page of Fig. 7 or the page of Fig. 8 Operating control device 800.
Above-mentioned calculating equipment can be set-top box.Some embodiments of the present invention provide a kind of set-top box, comprising: one Or multiple processors, memory and one or more programs.Program is stored in the memory and is configured as by described one A or multiple processors execute, and one or more of programs include the operation controlling party for executing the page according to the present invention The instruction of method.
Above-mentioned technical equipment can be smart television, and some embodiments of the present invention provide a kind of television set, comprising: one A or multiple processors, memory and one or more programs.Program is stored in the memory and is configured as by described One or more processors execute, and one or more of programs include controlling for executing the operation of the page according to the present invention The instruction of method.
In addition, each example of the application can pass through the data processing journey by data processing equipment such as computer execution Sequence is realized.Obviously, data processor constitutes the present invention.In addition, being commonly stored at data in one storage medium Reason program is by directly reading out storage medium for program or by installing or copying to depositing for data processing equipment for program It stores up in equipment (such as hard disk and/or memory) and executes.Therefore, such storage medium also constitutes the present invention.Storage medium can make With any kind of recording mode, such as paper storage medium (such as paper tape), magnetic storage medium (such as floppy disk, hard disk, flash memory Deng), optical storage media (such as CD-ROM), magnetic-optical storage medium (such as MO) etc..
Therefore disclosed herein as well is a kind of non-volatile memory mediums, wherein it is stored with data processor, the data Processing routine is used to execute any example of the application above method.
In addition, method and step described herein is with data processor in addition to that can be realized, can also by hardware Lai It realizes, for example, can be by logic gate, switch, specific integrated circuit (ASIC), programmable logic controller (PLC) and embedding microcontroller etc. To realize.Therefore this hardware that herein described method may be implemented also may be constructed the application.
The foregoing is merely the preferred embodiments of the application, all in spirit herein not to limit the application Within principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the application protection.

Claims (15)

1. a kind of method of controlling operation thereof of the page, which is characterized in that in a page, the view object that can obtain focus is divided For at least one group, every group includes at least one view object, this method comprises:
The transfer to focus in the page is received to indicate;
Inquiry transfer related with transfer instruction and the current acquisition first view object of focus records, wherein described Transfer instruction is used to indicate the shift direction of focus, and the transfer record is indicated for recording the last time in response to the transfer, And focus is made to be transferred to the focus transfer operation of the second view object from first view object;
If inquiring the transfer record, determine that the transfer records corresponding second view object;And
Whether belong to same group according to second view object and the first view object, metastatic focus to described second Default view object in view object or affiliated group of second view object.
2. the method for claim 1, wherein
If it is determined that second view object and the first view object belong to same group, metastatic focus to described second View object;
If it is determined that second view object and the first view object are not belonging to same group, second view is inquired The default view object organized belonging to object, the default view object are the view object for losing focus in the group recently;
If inquiring the default view object, perform the following operations:
Metastatic focus to the default view object,
The record for generating the transfer operation of this secondary focal point is used for recording responses and indicates in the transfer, and makes focus from described One view object is transferred to the focus transfer operation of the default view object, and described in inquiring described in record replacement Transfer record, and
Set the first view object that focus is lost in the transfer operation of this secondary focal point to the default view pair of group belonging to it As.
3. method according to claim 2, further includes: if not inquiring the default view object, metastatic focus to institute It states the second view object, and sets the silent of group belonging to it for the first view object for losing focus in the transfer operation of this secondary focal point Recognize view object.
4. the method as described in claim 1, further includes:
If not inquiring transfer record, determine in the shift direction side of the first view object, distance the The nearest third view object for obtaining focus of one view object;
If it is determined that the third view object and the first view object are not belonging to same group, following processing is executed:
The default view object organized belonging to the third view object is inquired, which is the third view object The view object of focus is lost in affiliated group recently;
If inquiring the default view object organized belonging to the third view object, perform the following operations:
Metastatic focus to the default view object,
The record for generating the transfer operation of this secondary focal point is used for recording responses and indicates in the transfer, and makes focus from described One view object is transferred to the focus transfer operation of the default view object, and sets the transfer for the record and record, With
Set the first view object that focus is lost in the transfer operation of this secondary focal point to the default view object of group belonging to it.
5. method as claimed in claim 4, further includes: determining the third view object and the first view object category When same group, metastatic focus to the third view object generates the record of this secondary focal point transfer operation, is used to record It is indicated in response to the transfer, and the focus for making focus be transferred to the third view object from the first view object shifts Operation, and set the transfer for the record and record.
6. method as claimed in claim 4, wherein further include: if not inquiring group belonging to the third view object Default view object, performs the following operations: metastatic focus generates the note of this secondary focal point transfer operation to the third view object Record, is used for recording responses and indicates in the transfer, and focus is made to be transferred to the third view from the first view object The focus transfer operation of object, and set the transfer for the record and record, and coke will be lost in the transfer operation of this secondary focal point The first view object of point is set as its affiliated default view object organized.
7. method as claimed in claim 4, wherein at least one described group is divided at least one layer, and each layer includes extremely A few group;
The determination is in the shift direction side of the first view object, apart from first view object obtaining recently The step of third view object of focus includes:
In the layer belonging to the first view object, the view in the shift direction side of the first view object is determined The set of figure object;
Determine view object nearest with the first view object distance in the set.
8. the method as described in claim 1, in inquiry and the transfer instruction and the current first view pair for obtaining focus Before related transfer record, this method further include:
Inquiry configuration related with transfer instruction and the first view object, this is configured to indicate that in response to described turn It moves instruction and focus is transferred to target view object from first view object;
If inquiring the configuration, metastatic focus to the configuration specify target view object and no longer execute inquiry with described turn Move the operation of instruction and the current related transfer record of first view object for obtaining focus.
9. the method as described in claim 1, further includes: if it is determined that obtain focus the default view object be not in it is aobvious Show region, the default view object is shown in display area.
10. method as claimed in claim 9, wherein the step of showing the default view object in display area packet It includes:
According to the default view object in the page position and slide the page, to show the default view pair As.
11. method as claimed in claim 9, wherein the step of showing the default view object in display area packet It includes:
According to following formula determine the top edge of part to be shown in the page at a distance from the top of the page, it is described to Display portion includes the default view object:
L=d- (h1-h2Wherein, l indicates the top edge of the part to be shown at a distance from the top of the page, and d is indicated for)/2 The default view object is at a distance from the top of the page, h1Indicate the height of the display area, h2Indicate the default The height of view object;
The page is slided at a distance from the top of the page according to the top edge of the part to be shown, really to show Fixed part to be shown.
12. a kind of operating control device of the page, which is characterized in that in a page, the view object quilt of focus can be obtained It is divided at least one group, every group includes at least one view object, which includes:
Query unit, for receiving the transfer instruction to focus in the page, inquiry is indicated with the transfer and is currently obtained The related transfer record of the first view object of focus is taken, if inquiring the transfer record, determines that transfer record corresponds to The second view object, wherein the transfer instruction is used to indicate the shift direction of focus, the transfer record is for record Once indicated in response to the transfer, and the focus transfer for making focus be transferred to the second view object from first view object is grasped Make;And
The focus control unit, it is same for whether being belonged to according to second view object and the first view object Group, the default view object in metastatic focus to second view object or affiliated group of second view object.
13. a kind of set-top box, characterized by comprising:
One or more processors;
Memory;And
One or more programs are stored in the memory and are configured as being executed by one or more of processors, described One or more programs include that the instruction of any one of 1-11 the method is required for perform claim.
14. a kind of television set, characterized by comprising:
One or more processors;
Memory;And
One or more programs are stored in the memory and are configured as being executed by one or more of processors, described One or more programs include that the instruction of any one of 1-11 the method is required for perform claim.
15. a kind of storage medium, is stored with one or more programs, one or more of programs include instruction, described instruction When executed by a computing apparatus, so that the calculating equipment executes such as method of any of claims 1-11.
CN201710946643.9A 2017-10-12 2017-10-12 Page operation control method and device, television, set top box and storage medium Active CN109660844B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710946643.9A CN109660844B (en) 2017-10-12 2017-10-12 Page operation control method and device, television, set top box and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710946643.9A CN109660844B (en) 2017-10-12 2017-10-12 Page operation control method and device, television, set top box and storage medium

Publications (2)

Publication Number Publication Date
CN109660844A true CN109660844A (en) 2019-04-19
CN109660844B CN109660844B (en) 2021-07-23

Family

ID=66109183

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710946643.9A Active CN109660844B (en) 2017-10-12 2017-10-12 Page operation control method and device, television, set top box and storage medium

Country Status (1)

Country Link
CN (1) CN109660844B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110475138A (en) * 2019-07-05 2019-11-19 平安国际智慧城市科技股份有限公司 Show focus triggering method, device, computer equipment and the storage medium of the page

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101562690A (en) * 2009-05-15 2009-10-21 中兴通讯股份有限公司 Method for operating set-top box and key thereof
CN101577797A (en) * 2009-06-03 2009-11-11 中兴通讯股份有限公司 Page focus movement method and system
US20130055127A1 (en) * 2011-08-25 2013-02-28 International Business Machines Corporation Manipulating multiple objects in a graphic user interface
CN104363495A (en) * 2014-11-27 2015-02-18 北京奇艺世纪科技有限公司 Method and device for conducting focus switching control through remote control of terminal device
CN105210030A (en) * 2013-04-30 2015-12-30 微软技术许可有限责任公司 Auto-grouping of application windows
CN105307048A (en) * 2015-10-15 2016-02-03 中国科学院声学研究所 WebKit kernel based focus query method of smart television
CN106843643A (en) * 2016-12-30 2017-06-13 百度在线网络技术(北京)有限公司 Page processing method and mobile terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101562690A (en) * 2009-05-15 2009-10-21 中兴通讯股份有限公司 Method for operating set-top box and key thereof
CN101577797A (en) * 2009-06-03 2009-11-11 中兴通讯股份有限公司 Page focus movement method and system
US20130055127A1 (en) * 2011-08-25 2013-02-28 International Business Machines Corporation Manipulating multiple objects in a graphic user interface
CN105210030A (en) * 2013-04-30 2015-12-30 微软技术许可有限责任公司 Auto-grouping of application windows
CN104363495A (en) * 2014-11-27 2015-02-18 北京奇艺世纪科技有限公司 Method and device for conducting focus switching control through remote control of terminal device
CN105307048A (en) * 2015-10-15 2016-02-03 中国科学院声学研究所 WebKit kernel based focus query method of smart television
CN106843643A (en) * 2016-12-30 2017-06-13 百度在线网络技术(北京)有限公司 Page processing method and mobile terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110475138A (en) * 2019-07-05 2019-11-19 平安国际智慧城市科技股份有限公司 Show focus triggering method, device, computer equipment and the storage medium of the page

Also Published As

Publication number Publication date
CN109660844B (en) 2021-07-23

Similar Documents

Publication Publication Date Title
JP7013466B2 (en) Application data processing methods, equipment, and computer programs
JP5016048B2 (en) Filtering data layered on a cartography application
JP4380494B2 (en) Content management system, content management method, and computer program
CN101385028B (en) New object search ui and dragging object results
CN104850358B (en) A kind of magneto-optic electricity mixing storage system and its data acquisition and storage method
KR102643017B1 (en) Smart interactive tablet operation method, device, terminal device and storage medium
CN107291802B (en) Relation map methods of exhibiting and device
CA2704706C (en) Trade card services
US20110196752A1 (en) Method and system for organizing information with sharable user interface
CN109324722B (en) Method, device and equipment for adding nodes of thought guide graph and storage medium
JP2014514668A (en) Multi-input gestures in hierarchical domains
CN113934356A (en) Display operation method, device, equipment and storage medium of intelligent interactive panel
CN102982054A (en) Information processor, information processing method and program
KR101616914B1 (en) Method of organizing user-customizable content resource, user-customizable resource server and storage media storing the same
CN109660844A (en) Method of controlling operation thereof, device, television set, set-top box and the storage medium of the page
WO2015167511A2 (en) Adjusting tap position on touch screen
JP2009524859A (en) Object citation method and system based on object storage device
JP2014178882A (en) Display control device
CN101595509A (en) The independent parallel Flame Image Process of no expense
CN112698793A (en) Data storage method and device, machine readable medium and equipment
CN103648021A (en) Method for playing network video files from USB storage device
CN109144403A (en) A kind of method and apparatus for cloud disk pattern switching
JP2006033646A (en) Information processing system, information processing method, and computer program
US20140136947A1 (en) Generating website analytics
CN103902178B (en) A kind of multimedia file processing method and processing device based on android 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