# US 2016/0253295 A1 · Method, device, terminal and computer storage medium for realizing intelligent reading of a browser

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2016/0253295 A1
- Document ID: US20160253295A1
- Status: Published application
- Kind: A1
- Application number: 15/028,507
- Filed: 2014-04-15
- Published: 2016-09-01
- Earliest claimed: 2013-10-11
- Assignees: Zte Corporation
- Applicants: Zte Corporation
- Inventors: Gang Cao
- Web page: https://patentgrep.com/patent/US20160253295A1

## CPC

- G06F 40/14: Tree-structured documents (parsing G06F40/205; validation G06F40/226)
- G06F 16/957: Browsing optimisation, e.g. caching or content distillation
- G06F 16/958: Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
- G06F 40/134: Hyperlinking
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Disclosed in an embodiment of the present invention are a method, device, terminal and computer storage medium for realizing intelligent reading of a browser, the method comprising: retrieving from the K-th page the link information of a candidate (K+1)-th page label according to a previous setting, and selecting the candidate (K+1)-th page label having the maximum similarity with the link information of the K-th page as the real (K+1)-th page label, K being a positive integer; pre-loading the (K+1)-th page according to the link information of the real (K+1)-th page label; acquiring the text content of the (K+1)-th page, and joining the text content on the (K+1)-th page to the K-th page.

## Claims

### Claim 1

A method for implementing intelligent reading on a browser, comprising:
retrieving link information of candidate (K+1)-th page labels from a K-th page according to pre-settings, and selecting a candidate (K+1)-th page label having a maximum similarity with link information of the K-th page as a real (K+1)-th page label, K being a positive integer;
pre-loading a (K+1)-th page according to link information of the real (K+1)-th page label; and
obtaining text contents of the (K+1)-th page, and joining the text contents of the (K+1)-th page to the K-th page.

### Claim 2 (depends on 1)

The method for implementing intelligent reading on a browser according to claim 1, wherein retrieving the link information of the candidate (K+1)-th page labels from the K-th page according to the pre-settings comprises: pre-setting at least one (K+1)-th page loading identifier or automatic loading triggering policy, and retrieving the link information of the candidate (K+1)-th page labels from the K-th page according to the at least one (K+1)-th page loading identifier or automatic loading triggering policy,
wherein the (K+1)-th page loading identifier at least defines: triggering the (K+1)-th page to be pre-loaded via a pre-set gesture or triggering the (K+1)-th page to be pre-loaded via a position of a vertical scroll bar, and the automatic loading triggering policy comprises at least one mode of automatically triggering the (K+1)-th page to be pre-loaded via a pre-configured triggering rule.

### Claim 3 (depends on 2)

The method for implementing intelligent reading on a browser according to claim 2, wherein triggering the (K+1)-th page to be pre-loaded via the pre-set gesture comprises:
detecting a triggering operation on a touch-sensitive screen; and
when the triggering operation accords with the pre-set gesture, triggering the (K+1)-th page to be pre-loaded.

### Claim 4 (depends on 2)

The method for implementing intelligent reading on a browser according to claim 2, wherein triggering the (K+1)-th page to be pre-loaded via the position of the vertical scroll bar comprises:
detecting the position of the vertical scroll bar; and
when the position of the vertical scroll bar matches a pre-set triggering position, triggering the (K+1)-th page to be pre-loaded.

### Claim 5 (depends on 1)

The method for implementing intelligent reading on a browser according to claim 1, wherein selecting the candidate (K+1)-th page label having the maximum similarity with the link information of the K-th page as the real (K+1)-th page label comprises:
retrieving link information of all candidate (K+1)-th page labels from the K-th page;
calculating a similarity S between link information of each of the candidate (K+1)-th page labels and the link information of the K-th page, the similarity S satisfying the following expression:
S=T/N,
where T is the number of identical characters of the link information of the each of the candidate (K+1)-th page labels and the link information of the K-th page at identical positions, and N is the number of characters of the link information of the K-th page; and
selecting a candidate (K+1)-th page label having a maximum similarity exceeding a pre-set threshold value as the real (K+1)-th page label.

### Claim 6 (depends on 1)

The method for implementing intelligent reading on a browser according to claim 1, wherein obtaining the text contents of the (K+1)-th page comprises:
obtaining all node sets of the K-th page and a real (K+1)-th page in a Document Object Model (DOM) tree respectively, and filtering out nodes, having the same attribute with nodes in the K-th page, in the real (K+1)-th page; and
calculating lengths of texts included in residual nodes in the real (K+1)-th page, taking a node having the maximum text length as a text node of the real (K+1)-th page, and obtaining the text contents of the (K+1)-th page according to the text node.

### Claim 7

An apparatus for implementing intelligent reading on a browser, comprising:
a triggering and retrieving module, configured to retrieve link information of candidate (K+1)-th page labels from a K-th page according to pre-settings, K being a positive integer;
a main control module, configured to select a candidate (K+1)-th page label having a maximum similarity with link information of the K-th page from the candidate (K+1)-th page labels of which link information is retrieved by the triggering and retrieving module as a real (K+1)-th page label;
a web page pre-loading module, configured to pre-load a (K+1)-th page according to link information of the real (K+1)-th page label selected by the main control module;
a text extraction module, configured to obtain text contents of the (K+1)-th page pre-loaded by the web page pre-loading module; and
a content joining module, configured to join the text contents of the (K+1)-th page obtained by the text extraction module to the K-th page.

### Claim 8 (depends on 7)

The apparatus for implementing intelligent reading on a browser according to claim 7, wherein the triggering and retrieving module is configured to pre-set at least one (K+1)-th page loading identifier or automatic loading triggering policy, and retrieve the link information of the candidate (K+1)-th page labels from the K-th page according to the at least one (K+1)-th page loading identifier or automatic loading triggering policy,
wherein the (K+1)-th page loading identifier at least defines: triggering the (K+1)-th page to be pre-loaded via a pre-set gesture or triggering the (K+1)-th page to be pre-loaded via a position of a vertical scroll bar, and the automatic loading triggering policy comprising at least one mode of automatically triggering the (K+1)-th page to be pre-loaded via a pre-configured triggering rule.

### Claim 9 (depends on 8)

The apparatus for implementing intelligent reading on a browser according to claim 8, wherein the triggering and retrieving module is configured to detect a triggering operation on a touch-sensitive screen, and trigger the (K+1)-th page to be pre-loaded when the triggering operation accords with the pre-set gesture.

### Claim 10 (depends on 8)

The apparatus for implementing intelligent reading on a browser according to claim 8, wherein the triggering and retrieving module is configured to detect the position of the vertical scroll bar, and trigger the (K+1)-th page to be pre-loaded when the position of the vertical scroll bar matches a pre-set triggering position.

### Claim 11 (depends on 7)

The apparatus for implementing intelligent reading on a browser according to claim 7, wherein the main control module is configured to: retrieve link information of all candidate (K+1)-th page labels from the K-th page; calculate a similarity S between link information of each of the candidate (K+1)-th page labels and the link information of the K-th page, the similarity S satisfying the following expression:
S=T/N,
where T is the number of identical characters of the link information of the each of the candidate (K+1)-th page labels and the link information of the K-th page at identical positions, and N is the number of characters of the link information of the K-th page; and
select a candidate (K+1)-th page label having a maximum similarity exceeding a pre-set threshold value as the real (K+1)-th page label.

### Claim 12 (depends on 7)

The apparatus for implementing intelligent reading on a browser according to claim 7, wherein the text extraction module is configured to obtain all node sets of the K-th page and a real (K+1)-th page in a Document Object Model (DOM) tree respectively, filter out nodes, having the same attribute with nodes in the K-th page, in the real (K+1)-th page, calculate lengths of texts included in residual nodes in the real (K+1)-th page, take a node having the maximum text length as a text node of the real (K+1)-th page, and obtain the text contents of the (K+1)-th page according to the text node.

### Claim 13 (depends on 9)

The apparatus for implementing intelligent reading on a browser according to claim 9, wherein the triggering and retrieving module comprises:
a first detection module, configured to detect the triggering operation on the touch-sensitive screen; and
a first triggering module, configured to trigger the (K+1)-th page to be loaded when the triggering operation detected by the first detection module accords with the pre-set gesture.

### Claim 14 (depends on 10)

The apparatus for implementing intelligent reading on a browser according to claim 10, wherein the triggering and retrieving module comprises:
a second detection module, configured to detect the position of the vertical scroll bar; and
a second triggering module, configured to trigger the (K+1)-th page to be pre-loaded when the position of the vertical scroll bar, detected by the second detection module, matches the pre-set triggering position.

### Claim 15 (depends on 11)

The apparatus for implementing intelligent reading on a browser according to claim 11, wherein the main control module comprises:
a retrieval module, configured to retrieve the link information of all candidate (K+1)-th page labels from the K-th page;
a calculation module, configured to calculate the similarity S between the link information, of the each of the candidate (K+1)-th page labels, retrieved by the retrieval module and the link information of the K-th page, the similarity S satisfying the following expression:
S=T/N, where T is the number of the identical characters of the link information of the each of the candidate (K+1)-th page labels and the link information of the K-th page at the identical positions, and N is the number of the characters of the link information of the K-th page; and
a determination module, configured to select the candidate (K+1)-th page label having the maximum similarity exceeding the pre-set threshold value as the real (K+1)-th page label according to a calculation result of the calculation module.

### Claim 16 (depends on 12)

The apparatus for implementing intelligent reading on a browser according to claim 12, wherein the text extraction module comprises:
a filtration module, configured to obtain all node sets of the K-th page and the real (K+1)-th page in the DOM tree respectively, and filter out the nodes, having the same attribute with nodes in the K-th page, in the real (K+1)-th page; and
an extraction module, configured to calculate the lengths of the texts included in the residual nodes in the real (K+1)-th page, take the node having the maximum text length as the text node of the real (K+1)-th page, and obtain the text contents of the (K+1)-th page according to the text node.

### Claim 17

A terminal, comprising an apparatus for implementing intelligent reading on a browser, the apparatus comprising:
a triggering and retrieving module, configured to retrieve link information of candidate (K+1)-th page labels from a K-th page according to pre-settings, K being a positive integer;
a main control module, configured to select a candidate (K+1)-th page label having a maximum similarity with link information of the K-th page from the candidate (K+1)-th page labels of which link information is retrieved by the triggering and retrieving module as a real (K+1)-th page label;
a web page pre-loading module, configured to pre-load a (K+1)-th page according to link information of the real (K+1)-th page label selected by the main control module;
a text extraction module, configured to obtain text contents of the (K+1)-th page pre-loaded by the web page pre-loading module; and
a content joining module, configured to join the text contents of the (K+1)-th page obtained by the text extraction module to the K-th page.

### Claim 18

A computer storage medium having stored therein computer executable instructions configured to execute a method for implementing intelligent reading on a browser, the method comprising:
retrieving link information of candidate (K+1)-th page labels from a K-th page according to pre-settings, and selecting a candidate (K+1)-th page label having a maximum similarity with link information of the K-th page as a real (K+1)-th page label, K being a positive integer;
pre-loading a (K+1)-th page according to link information of the real (K+1)-th page label; and
obtaining text contents of the (K+1)-th page, and joining the text contents of the (K+1)-th page to the K-th page.
