Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and system for finding initial focus of set-top box browser page

A technology of browser pages and set-top boxes, applied in image communication, selective content distribution, electrical components, etc., can solve problems such as poor user experience, focus errors, and failure to find initial focus elements, etc., to achieve good user experience and avoid crashes Effect

Active Publication Date: 2019-05-14
FENGHUO COMM SCI & TECH CO LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, due to the wide variety of browser page content and types, page elements only contain part of the main information of the page. Even if you search for page elements one by one, you may not be able to find the initial focused element, which will cause a focus error, resulting in no response to input, and the browser page will crash. In some cases, the user can only return to the previous main interface or restart the set-top box, and reload the new page. The user experience is poor.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for finding initial focus of set-top box browser page

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments.

[0028] see figure 1 As shown, the embodiment of the present invention provides a method for finding the initial focus of a set-top box browser page, which specifically includes the following steps:

[0029] S1: Parse the HTML of the browser page, obtain multiple page elements, and mark whether each page element is a focusable element;

[0030] S2: Generate a FRAME tree according to the HTML of the browser page, generate a document object model DOM tree corresponding to the page elements in the same FRAME, and store the corresponding page code in the FRAME;

[0031] S3: Select the root node of the FRAME tree as the main FRAME, traverse each page element of the DOM tree corresponding to the main FRAME, and find out whether there is a page element that is a focusable element, if so, the search ends, and go to step S7, otherwise, Go to step S4; ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for searching an initial focus of a browser page of a set-top box, relating to the field of browser application. The method comprises the following steps: parsing the HTML of the browser page to obtain multiple page elements, generating a frame (FRAME) tree, storing the corresponding page code in the FRAME, searching whether the page code in the FRAME contains the specific keyword information, and if yes, determining the FRAME as the initial focus. According to the method for searching the initial focus of the browser page of the set-top box disclosed by the invention, the initial focus of the browser page can be effectively searched, the situation that the browser page crashes can be avoided, and good user experience can be achieved.

Description

technical field [0001] The invention relates to the field of browser applications, in particular to a method and system for searching the initial focus of a set-top box browser page. Background technique [0002] Usually, when accessing a WEB browser page, there is no initial focus by default. When the WEB browser is applied on a PC, the input devices are mouse and keyboard, and you can focus on an element on the page by clicking the mouse or inputting specific keys on the keyboard. And when the WEB browser is applied on the set-top box, the input device is a remote controller, and the remote controller can only move the cursor, but cannot focus the cursor on a certain element of the page. Therefore, it is necessary to find the initial focus of the browser page of the set-top box. [0003] In the prior art, when searching for the initial focus, all page elements are sorted in a certain order, page elements are searched one by one, and the page element that is the initial foc...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04N21/4782H04N21/81
CPCH04N21/4782H04N21/8173
Inventor 邹翔
Owner FENGHUO COMM SCI & TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products