Incremental upgrade method, apparatus for applying method and storage medium

    公开(公告)号:US10031744B2

    公开(公告)日:2018-07-24

    申请号:US14653704

    申请日:2013-08-28

    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.

    Canvas element rendering method and apparatus implemented on android system based on GPU

    公开(公告)号:US10013503B2

    公开(公告)日:2018-07-03

    申请号:US14901431

    申请日:2013-11-22

    Inventor: Jie Liang Xuxin Yi

    CPC classification number: G06F16/9577 G06F16/957 G06F17/2247 G06T1/20

    Abstract: Embodiments of the disclosure are directed to HTML5 Canvas element rendering methods implemented on an Android system based on GPU hardware. The methods may include after a rendering operation instruction for a Canvas element in an HTML5 web page is detected and an initialization operation is completed, converting an invoking instruction for a 2D Canvas drawing API into an invoking instruction for an OpenGL ES API through a Skia GPU function library; setting EGL Context created during the initialization operation as a current context of a thread where a rendering operation is located; rendering the Canvas element in an off-screen local window created during the initialization operation by using the GPU; and copying the rendered Canvas element to a current active window of a device from the off-screen local window by using a mapping operation function of the GPU. The methods, by making use of a local window rendering mechanism provided by an Android operating system and the OpenGL ES API, allow the Canvas element to be drawn and mixed by using the GPU, thereby improving the performance of Canvas rendering by using GPU hardware acceleration.

    Method and apparatus for resource downloading over a network from multiple sources

    公开(公告)号:US09942305B2

    公开(公告)日:2018-04-10

    申请号:US14965691

    申请日:2015-12-10

    CPC classification number: H04L67/06 H04L67/02 H04L69/329 H04L69/40

    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.

    METHOD AND DEVICE FOR PAGE SYNCHRONIZATION
    139.
    发明申请

    公开(公告)号:US20170300793A1

    公开(公告)日:2017-10-19

    申请号:US15514254

    申请日:2015-06-23

    Inventor: Xiaozhen WANG

    CPC classification number: G06K19/06037 G06F17/30873 G06F17/30879

    Abstract: The present disclosure provides a page synchronization method. The method includes: acquiring and parsing a two-dimensional code to obtain to-be-synchronized page data contained in the two-dimensional code; identifying a page address and page progress information from the to-be-synchronized page data; generating an execution code for indicating the page progress according to the page progress information; loading a page according to the page address; and executing the execution code while loading the page, and displaying the page according to the page progress indicated in the execution code. The disclosed method can solve the problem in the prior art that the page progress cannot be automatically synchronized during page synchronization, and can thus improve the user experience.

    METHOD AND ELECTRONIC DEVICE FOR DISPLAYING A WEB PAGE

    公开(公告)号:US20170286392A1

    公开(公告)日:2017-10-05

    申请号:US15504162

    申请日:2015-04-21

    Inventor: Xiaozhen WANG

    Abstract: Methods and electronic devices for displaying a web page are provided herein. In an exemplary method, metadata of a web page can be obtained. The metadata can specify a first-screen key element and include a first-screen-strategy extended attribute. A value of the first-screen-strategy extended attribute can indicate whether a page-defined first-screen display strategy is mandatory or optional. An element of the web page can be parsed in such a way as to determine whether the element is the first-screen key element. When the element is the first-screen key element, a first screen of the web page can be displayed. When the element is not the first-screen key element and a first-screen display criterion is met, a first screen of the web page can be displayed. The first-screen display criterion can be a function of the value of the first-screen-strategy extended attribute.

Patent Agency Ranking