Method for reading webpage information by speech, browser client, and server
First Claim
1. A method for reading web page information by speech, comprising:
- sending, by a browser client, a page access request to a server, wherein the page access request comprises a page address and text to speech (TTS) identity information, and the TTS identity information comprises a first TTS standard version number supported by the browser client, wherein the page access request enables the server to perform operations comprising;
comparing the first TTS standard version number supported by the browser client with a version number supported by the server;
when the first TTS standard version number supported by the browser client is higher than the version number supported by the server, determining, by the server, the version number supported by the server as a second TTS standard version number; and
when the first TTS standard version number supported by the browser client is lower than or equal to the version number supported by the server, determining, by the server, the first TTS standard version number supported by the browser client as the second TTS standard version number;
receiving, by the browser client, response data returned by the server according to the page access request, wherein the response data comprises TTS page data corresponding to the page address and the second TTS standard version number determined by the server; and
reading, by the browser client, the TTS page data by speech according to the second TTS standard version number.
2 Assignments
0 Petitions
Accused Products
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.
52 Citations
18 Claims
-
1. A method for reading web page information by speech, comprising:
-
sending, by a browser client, a page access request to a server, wherein the page access request comprises a page address and text to speech (TTS) identity information, and the TTS identity information comprises a first TTS standard version number supported by the browser client, wherein the page access request enables the server to perform operations comprising; comparing the first TTS standard version number supported by the browser client with a version number supported by the server; when the first TTS standard version number supported by the browser client is higher than the version number supported by the server, determining, by the server, the version number supported by the server as a second TTS standard version number; and when the first TTS standard version number supported by the browser client is lower than or equal to the version number supported by the server, determining, by the server, the first TTS standard version number supported by the browser client as the second TTS standard version number; receiving, by the browser client, response data returned by the server according to the page access request, wherein the response data comprises TTS page data corresponding to the page address and the second TTS standard version number determined by the server; and reading, by the browser client, the TTS page data by speech according to the second TTS standard version number. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method for reading web page information by speech, wherein the method comprises:
-
receiving, by a server, a page access request sent by a browser client, wherein the page access request comprises a page address and text to speech (TTS) identity information, wherein the TTS identity information comprises a first TTS standard version number supported by the browser client; determining, by the server, a second TTS standard version number by performing operations comprising; comparing, by the server, the first TTS standard version number supported by the browser client with a version number supported by the server; when the first TTS standard version number supported by the browser client is higher than the version number supported by the server, determining, by the server, the version number supported by the server as the second TTS standard version number; and when the first TTS standard version number supported by the browser client is lower than or equal to the version number supported by the server, determining, by the server, the first TTS standard version number supported by the browser client as the second TTS standard version number; and obtaining, by the server according to the page address and the TTS identity information, TTS page data corresponding to the page address; and sending, by the server, the TTS page data and the second TTS standard version number to the browser client as response data for the browser client to read the TTS page data by speech according to the second TTS standard version number. - View Dependent Claims (7, 8, 9)
-
-
10. A browser client for reading web page information by speech comprising one or more processors and one or more non-transitory computer readable storage media storing instructions executable by the one or more processors to cause the browser client to perform operations comprising:
-
sending a page access request to a server, wherein the page access request comprises a page address and text to speech (TTS) identity information, and the TTS identity information comprise a first TTS standard version number supported by the browser client, wherein the page access request enables the server to perform operations comprising; comparing the first TTS standard version number supported by the browser client with a version number supported by the server; when the first TTS standard version number supported by the browser client is higher than the version number supported by the server, determining, by the server, the version number supported by the server as a second TTS standard version number; and when the first TTS standard version number supported by the browser client is lower than or equal to the version number supported by the server, determining, by the server, the first TTS standard version number supported by the browser client as the second TTS standard version number; receiving response data returned by the server according to the page access request, wherein the response data comprises TTS page data corresponding to the page address, and the second TTS standard version number determined by the server; and reading, the TTS page data by speech according to the second TTS standard version number by using a TTS engine. - View Dependent Claims (11, 12, 13, 14)
-
-
15. A server for reading web page information by speech comprising one or more processors and one or more non-transitory computer readable storage media storing instructions executable by the one or more processors to cause the server to perform operations comprising:
-
receiving a page access request sent by a browser client, wherein the page access request comprises a page address and text to speech (TTS) identity information of the browser client, wherein the TTS identity information comprises a first TTS standard version number supported by the browser client; determining a second TTS standard version number by performing operations comprising; comparing the first TTS standard version number supported by the browser client with a version number supported by the server; when the first TTS standard version number supported by the browser client is higher than the version number supported by the server, determining the version number supported by the server as the second TTS standard version number; and when the first TTS standard version number supported by the browser client is lower than or equal to the version number supported by the server, determining the first TTS standard version number supported by the browser client as the second TTS standard version number; and obtaining, according to the page address and the TTS identity information, TTS page data corresponding to the page address; sending the TTS page data and the second TTS standard version number to the browser client as response data, so that the browser client reads the TTS page data by speech according to the second TTS standard version number; and storing the TTS identity information, the page address, and the TTS page data in a local cache. - View Dependent Claims (16, 17, 18)
-
Specification