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.
Abstract:
Method and device for network connection download are provided. The method includes: creating, by a terminal device, at least one backup pre-allocated connection; and before a pre-allocated connection is used, performing a corresponding network initialization operation to allow the terminal device, while downloading a file, to select the pre-allocated connection needed for downloading the file directly from the at least one backup pre-allocated connection, thereby obviating the need to re-perform the corresponding network initialization operation.
Abstract:
A data caching method is disclosed. The method comprises changing, according to an instruction, a cache value, corresponding to a key, in a cache on a volatile memory, recording the instruction following a first effective content of a log file in a non-volatile memory to obtain a second effective content, the second effective content including the first effective content and the recorded instruction, and storing the key and the changed cache value corresponding to the key into the non-volatile memory.
Abstract:
A method for reducing memory usage of a browser in a portable terminal device is disclosed. The method comprises mapping an anonymous memory, allocated by an operating system of the portable terminal device, into a process space of a browser; and removing the mapped anonymous memory from the process space of the browser, after an operation of the browser using the anonymous memory is completed.
Abstract:
The present invention provides an incremental upgrade method, an apparatus applying the method and a storage medium. The incremental upgrade method comprises: sending a request to a server for downloading an incremental upgrade package corresponding to a local old version file on a terminal; receiving the incremental upgrade package, which comprises unmatched block data obtained by comparing a first compressed file with a second compressed file, and the start and end information of the unmatched block data, wherein the first compressed file is a compressed file that concatenates an old version file and a new version file on the server, and the second compressed file is a compressed file of the old version file on the server; concatenating the unmatched block data in the incremental upgrade package and a local second compressed file generated from the local old version file on the terminal to generate a concatenate compressed file; and at last decompressing the concatenate compressed file to obtain the new version file. The method reduces data traffic and occupied bandwidth resources.
Abstract:
An advertisement filtering method and device. The method comprises: access a web page by using a browser, acquire a selector of an advertisement element according to a domain name of the web page, and add a rule statement for hiding the advertisement element after the selector to generate a CSS style of a specific category (S10); inject the CSS style of the specific category into the browser (S11); set a cascading priority of the CSS style of the specific category to a highest cascading priority (S12); and the browser performs cascading on the CSS styles according to an order of the cascading priority of the CSS style to enable the CSS style of the specific category to take effect (S13). In this way, in a case in which an author uses a counter advertisement filtering method, an advertisement from the author can still be effectively filtered.
Abstract:
A method for file downloading is described. The method comprises: transmitting a first request to a server to start a downloading process of a file; receiving a first destination address and a first cookie for the downloading process, wherein the first destination address and the first cookie are associated with the file; storing the first destination address, the first cookie, a link address associated with the file, and a web address associated with the link address; detecting an interruption of the downloading process; and responsive to detection of an interruption of the downloading process, transmitting a second request to the server for a second destination address and a second cookie associated with the file based on the link address and web address. The method further comprises resuming the downloading process of the file using the second destination address and the second cookie.
Abstract:
A method for data synchronization performed by a server is described. The method comprises receiving, from a client terminal, a synchronization request and information about a synchronization anchor of the client terminal; determining, based on the synchronization anchor of the client terminal and a synchronization anchor of the server, difference data to be synchronized with the client terminal; determining whether a size of the difference data exceeds a threshold; and responsive to determining that a size of the difference data exceeds the threshold, transmitting the difference data to the client terminal in a plurality of difference data segments, wherein a size of each of the plurality of the difference data segments does not exceed the threshold, and wherein each of the plurality of the difference data segments is to be synchronized separately with the client terminal.
Abstract:
The present invention discloses a client configuration method, a system, a server, and a client. The method provided in embodiments of the present invention includes receiving a configuration information request for client initialization and acquiring country information of the client from the request for initializing the configuration information; acquiring configuration information corresponding to the country information from a configuration information database of a server, the configuration information database storing information of countries and corresponding configuration information in a correlative manner; and sending the acquired configuration information to the client to complete initialization of the configuration information of the client. As such, the client country can be configured in a client-side transparent manner prior to processing the actual online business, thereby improving the configuration efficiency and the system compatibility, and optimizing the user experience.
Abstract:
A method for software update management is described. The method comprises: comparing sub-files of a plurality of variants of a software program to generate difference information including a list of uncommon sub-files among the plurality of variants; generating one or more increment files based on the difference information and files of a target version of the software program; and transmitting the one or more increment files to a device, wherein the transmission enables the device to merge the one or more increment files with files of one of the plurality of variants to generate files of the target version of the software program.