# US 11,308,935 B2 · Method for reading webpage information by speech, browser client, and server

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

- Number: US 11,308,935 B2
- Document ID: US11308935B2
- Status: Granted
- Kind: B2
- Application number: 16/900,679
- Filed: 2020-06-12
- Published: 2020-09-24
- Granted: 2022-04-19
- Earliest claimed: 2015-09-16
- Assignees: Guangzhou Ucweb Computer Technology Co., Ltd.
- Applicants: Guangzhou Ucweb Computer Technology Co., Ltd.
- Inventors: Jie Liang; Weiyong Wu
- Web page: https://patentgrep.com/patent/US11308935B2

## CPC

- G10L 13/047: Architecture of speech synthesisers
- G06F 40/205: Parsing
- G10L 13/00: Speech synthesis; Text to speech systems
- G10L 13/04: Details of speech synthesis systems, e.g. synthesiser structure or memory management
- G10L 13/08: Text analysis or generation of parameters for speech synthesis out of text, e.g. grapheme to phoneme translation, prosody generation or stress or intonation determination
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L 67/568: Storing data temporarily at an intermediate stage, e.g. caching
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

The present disclosure provides a method, a browser client, and a server for reading web page information by speech. The browser client is installed with a text to speech (TTS) engine. The method includes: sending, by a browser client, a page access request to a server, where the page access request includes a page address and TTS identity information; receiving, by the browser client, response data returned by the server, where the response data includes a TTS standard version number determined by the server according to the TTS identity information, and TTS page data corresponding to the page address; and reading, by the browser client, the TTS page data by speech according to the TTS standard version number by using a TTS engine. In the present disclosure, page information is read by speech by using the TTS engine installed on the browser client. When it is inconvenient for a user to browse a page with eyes, and for users whose eyes have physical problems, the read page information can be listened by using a sense of hearing. Therefore, a convenient hearing-based manner is provided to users to browse a page.

## Claims

### Claim 1

A method for reading web page information by speech, wherein the method comprises:
loading, by a server, a page corresponding to a page address in a page access request sent from a browser client, wherein the page access request comprises a text to speech (TTS) engine type of the browser client, and a TTS standard version number supported by the browser client;
determining, by the server, a TTS tag set based on the TTS standard version number and a TTS tag policy based on the TTS engine type;
adding, by the server, global reading information to header information of the loaded page according to the determined TTS version set and the determined TTS tag policy;
identifying, by the server from the loaded page, a data block labelled by one of a plurality of text html tags;
tagging the data block with a TTS tag, wherein the TTS tag comprises a starting tag and an ending tag;
adding, by the server, local reading information to the starting tag of the TTS tag, wherein a value of an attribute in the local reading information overwrites a value of the attribute in the global reading information; and
returning, by the server, the loaded page to the browser client.

### Claim 2 (depends on 1)

The method of claim 1, wherein the global reading information comprises a vocal-control attribute when the server determines that the TTS engine type of the browser client is a full TTS engine type.

### Claim 3 (depends on 2)

The method of claim 2, wherein the adding global reading information to the header information of the loaded page comprises:
adding the global reading information to a meta tag of the header information of the loaded page.

### Claim 4 (depends on 1)

The method of claim 1, wherein the loaded page comprises an ancestor node and a grandchild node, and
a value of an attribute in the local reading information of the ancestor node overwrites a value of the attribute in the local reading information of the grandchild node.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
obtaining speech resource data stored in the server and returning the speech resource data with the loaded page to the browser client when the server determines that the TTS engine type of the browser client is a compact TTS engine type.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
receiving, by the server from the browser client, a request to obtain the speech resource data; and
obtaining the speech resource data stored in the server and returning the speech resource data to the browser client.

### Claim 7 (depends on 1)

The method of claim 1, wherein the local reading information comprises:
a playback-mode attribute indicating a local mode or an outsourcing mode; and
an outsourcing-href attribute pointing to recorded speech resource data, text corresponding to the recorded speech resource data, and synchronization information between the recorded speech resource data and the corresponding text.

### Claim 8 (depends on 1)

The method of claim 1, wherein the local reading information comprises:
a positioning attribute with a value to identify one of a plurality of the data blocks, wherein the value is determined based on xpath of a corresponding html label.

### Claim 9

A system comprising one or more processors and one or more non-transitory computer-readable memories coupled to the one or more processors, the one or more non-transitory computer-readable memories storing instructions that, when executed by the one or more processors, cause the system to perform operations comprising:
loading, by a server, a page corresponding to a page address in a page access request sent from a browser client, wherein the page access request comprises a text to speech (TTS) engine type of the browser client, and a TTS standard version number supported by the browser client;
determining, by the server, a TTS tag set based on the TTS standard version number and a TTS tag policy based on the TTS engine type;
adding, by the server, global reading information to header information of the loaded page according to the determined TTS version set and the determined TTS tag policy;
identifying, by the server from the loaded page, a data block labelled by one of a plurality of text html tags;
tagging the data block with a TTS tag, wherein the TTS tag comprises a starting tag and an ending tag;
adding, by the server, local reading information to the starting tag of the TTS tag, wherein a value of an attribute in the local reading information overwrites a value of the attribute in the global reading information; and
returning, by the server, the loaded page to the browser client.

### Claim 10 (depends on 9)

The system of claim 9, wherein the global reading information comprises a vocal-control attribute when the server determines that the TTS engine type of the browser client is a full TTS engine type.

### Claim 11 (depends on 10)

The system of claim 10, wherein the adding global reading information to the header information of the loaded page comprises:
adding the global reading information to a meta tag of the header information of the loaded page.

### Claim 12 (depends on 9)

The system of claim 9, wherein the loaded page comprises an ancestor node and a grandchild node, and
a value of an attribute in the local reading information of the ancestor node overwrites a value of the attribute in the local reading information of the grandchild node.

### Claim 13 (depends on 9)

The system of claim 9, wherein the operations further comprise:
obtaining speech resource data stored in the server and returning the speech resource data with the loaded page to the browser client when the server determines that the TTS engine type of the browser client is a compact TTS engine type.

### Claim 14 (depends on 9)

The system of claim 9, wherein the operations further comprise:
receiving, by the server from the browser client, a request to obtain the speech resource data; and
obtaining the speech resource data stored in the server and returning the speech resource data to the browser client.

### Claim 15 (depends on 9)

The system of claim 9, wherein the local reading information comprises:
a playback-mode attribute indicating a local mode or an outsourcing mode; and
an outsourcing-href attribute pointing to recorded speech resource data, text corresponding to the recorded speech resource data, and synchronization information between the recorded speech resource data and the corresponding text.

### Claim 16

A non-transitory computer-readable storage medium storing instructions that, when executed by one or more processors, cause the one or more processors to perform operations comprising:
loading, by a server, a page corresponding to a page address in a page access request sent from a browser client, wherein the page access request comprises a text to speech (TTS) engine type of the browser client, and a TTS standard version number supported by the browser client;
determining, by the server, a TTS tag set based on the TTS standard version number and a TTS tag policy based on the TTS engine type;
adding, by the server, global reading information to header information of the loaded page according to the determined TTS version set and the determined TTS tag policy;
identifying, by the server from the loaded page, a data block labelled by one of a plurality of text html tags;
tagging the data block with a TTS tag, wherein the TTS tag comprises a starting tag and an ending tag;
adding, by the server, local reading information to the starting tag of the TTS tag, wherein a value of an attribute in the local reading information overwrites a value of the attribute in the global reading information; and
returning, by the server, the loaded page to the browser client.

### Claim 17 (depends on 16)

The storage medium of claim 16, wherein the global reading information comprises a vocal-control attribute when the server determines that the TTS engine type of the browser client is a full TTS engine type.

### Claim 18 (depends on 17)

The storage medium of claim 17, wherein the adding global reading information to the header information of the loaded page comprises:
adding the global reading information to a meta tag of the header information of the loaded page.

### Claim 19 (depends on 16)

The storage medium of claim 16, wherein the loaded page comprises an ancestor node and a grandchild node, and
a value of an attribute in the local reading information of the ancestor node overwrites a value of the attribute in the local reading information of the grandchild node.

### Claim 20 (depends on 16)

The storage medium of claim 16, wherein the local reading information comprises:
a playback-mode attribute indicating a local mode or an outsourcing mode; and
an outsourcing-href attribute pointing to recorded speech resource data, text corresponding to the recorded speech resource data, and synchronization information between the recorded speech resource data and the corresponding text.
