Synthesis rendering acceleration based webpage updating method and apparatus

A rendering acceleration and update method technology, applied in the field of web page rendering, can solve the problems of composite rendering acceleration and low page update efficiency, and achieve the effect of increasing the frame rate, improving the dynamic display performance of web pages, updating efficiency and speeding up.

Active Publication Date: 2016-02-17
ALIBABA (CHINA) CO LTD
View PDF3 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to overcome the problem of low webpage update efficiency caused by running JavaScript dynamic codes in related technologies to change the cascading style sheet attributes corresponding to the layer attributes of webpage elements, this application provides a webpage update method based on synthetic rendering acceleration and device

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Synthesis rendering acceleration based webpage updating method and apparatus
  • Synthesis rendering acceleration based webpage updating method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present application as recited in the appended claims.

[0044] In the following detailed description, numerous specific details are set forth in order to provide a comprehensive understanding of the application, but those skilled in the art will understand that the application may be practiced without these specific details. In other embodiments, well-known methods, procedures, devices and modules have not been described in detail so as not t...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

Embodiments of the application disclose a synthesis rendering acceleration based webpage updating method and apparatus. The method comprises: establishing a synchronous updating mechanism between a webpage snapshot of a synthesis thread and a webpage snapshot of a kernel thread; when a browser runs a JavaScript dynamic code to change CSS attributes corresponding to layer attributes in a webpage element, correspondingly updating the attributes of a layer, in which the webpage element is located, in the current webpage snapshot of the kernel thread by the kernel thread, and correspondingly updating the attributes of the corresponding layer in the current webpage snapshot of the synthesis thread by the synthesis thread according to the updated webpage snapshot of the kernel thread; and then performing a synthesis operation according to the updated current webpage snapshot to finish the webpage updating. According to the technical scheme provided by the embodiments of the application, the resetting and webpage snapshot copy of the kernel thread and the pre-drawing step of the synthesis thread are reduced, and the processing efficiency of webpage updating and the performance of webpage dynamic display are improved.

Description

technical field [0001] The present invention relates to the technical field of web page rendering, in particular to a method and device for updating web pages based on composite rendering acceleration. Background technique [0002] At this stage, browsers generally adopt a multi-threaded rendering acceleration architecture to make full use of the hardware performance of multi-core CPU (Central Processing Unit, central processing unit) and GPU (Graphic Processing Unit, graphics processing unit), and avoid UI (UserInterface, user interface) thread blocking Cause user operation is not smooth. Among them, composite rendering acceleration uses more rendering acceleration architectures, and improves rendering performance by dividing web pages into multiple layers. Under the composite rendering acceleration architecture, the browser groups all web page elements according to predetermined rules, making them belong to a specific layer, and organizes all layers into a layer tree in a...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
CPCG06F16/00
Inventor 易旭昕
Owner ALIBABA (CHINA) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products