Abstract:
The present application provides a video playing method and apparatus. The method includes: establishing a video message communication channel between a webpage main document including a webpage iframe and the webpage iframe; searching, by the webpage iframe, for a video marker included in the webpage iframe and acquiring video information according to the video marker; and receiving, by the webpage main document, the video information returned by the webpage iframe by using the communication channel, and performing video playing according to the video information. By means of the present application, a player built in a current browser can be called to perform playing during video playing, to improve user experience in playing of cross-domain video services.
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:
The present invention provides a cloud-storage-based file processing method and system. The method includes: a cloud server receiving a trigger request from a mobile terminal and the trigger request is a cloud processing task request triggered by the mobile terminal; the cloud server performing a corresponding processing operation according to the trigger request; and, when the trigger request is an uploading request, selecting a file which needs to be uploaded from the cloud server's cloud storage space and transferring the selected file to a target website. According to the present invention, by using the cloud server on behalf of a user to carry out the file processing operations, such as downloading and uploading, it helps the user completing the online file sharing process, prevents the file uploading and downloading processes from being affected by the network access condition and the mobile terminal's hardware quality, and saves the user the data volume of the mobile terminal throughout the process.
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:
The disclosure provides a method and device a method for detecting and receiving an induction signal induced by a contact of a pointing object with the touch screen, identifying information corresponding to the induction signal in response to receipt of the induction signal, determining a control operation based on the information, and executing the control operation in response to the determination. The control operation comprises at least one of closing a present application interface and displaying a new application interface.
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:
Provided are a window switching method, and device and storage medium thereof. The method comprises the steps: obtaining a first pre-reading keyword meeting the requirement in all contents on a page opened through a current window, determining a first pre-reading URL corresponding to the first pre-reading keyword, utilizing the pre-reading window to load a pre-reading page corresponding to the first pre-reading URL, and switching the pre-reading window loaded with the pre-reading page to the current window when an instruction of entering the pre-reading page is received. An improved pre-reading function can be achieved, and the technical problem of low user experience caused by the fact that contents on a pre-reading page cannot be displayed completely after switching to the pre-reading page is further solved.
Abstract:
A method for providing access to web content by an intermediary server is provided. The method comprises: receiving, from a mobile terminal, a loading request for a web page; receiving, from a content server, document data of the web page after forwarding the web page loading request to the content server; dividing the received document data into a plurality of document data segments; identifying sub-resources included in the web page; associating the sub-resources with the document data segments; transmitting requests sequentially for the identified sub-resources to a resource server to start transmissions of at least some of the identified sub-resources from the resource server to the intermediary server; and transmitting, to the mobile terminal, a first document data segment of the plurality of document data segments after the transmissions of all of sub-resources associated with the first document data segment from the resource server to the intermediary server have 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:
A method and system for expanding a WebApp application function. The method comprises: adding a function expansion field which contains an expansion JS function and an address of a local application which responds to a request of the expansion JS function in the WebApp; sending each parameter of the function to a browser kernel by calling the expansion JS function; a WebApp frame setting an address of a local application program as the address of the local application which responds to the request of the expansion JS function according to a calling message received by the browser kernel; activating a target application program specified by the address according to the address of the local application; the activated target application program executing the expansion JS function according to the parameters of the expansion JS function and returning an execution result to the WebApp.