Supercharge Your Innovation With Domain-Expert AI Agents!

A method and apparatus for determining a decoding task

A task and task queue technology, applied in the field of page rendering, can solve the problems that the frame rate of the rendering process is difficult to reach 60 frames per second, the time consumption of the rendering process is not fixed, and the time consumption of decoding tasks is not fixed, etc., to shorten the total time consumption, The effect of shortening calculation time and improving fluency

Active Publication Date: 2019-07-12
HUAWEI TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the existing rendering technology, the time-consuming decoding task of each rendering process is not fixed, so that the time-consuming of the entire rendering process is not fixed, and is usually greater than 16ms, making it difficult for the frame rate of the rendering process to reach 60 frames per second. Caton phenomenon occurs, poor user experience

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
  • A method and apparatus for determining a decoding task
  • A method and apparatus for determining a decoding task
  • A method and apparatus for determining a decoding task

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0051] In order to facilitate the understanding and description of the method for determining the decoding task provided by the embodiment of the present invention, first combine figure 1 Briefly describe the page rendering process. from figure 1 It can be seen from the figure that a rendering process mainly involves HTML interpreter, CSS interpreter, JavaScript engine, layout module and drawing module. Wherein, HTML is a hypertext markup language (H...

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

The present invention provides a method and device for determining a decoding task. The method includes: obtaining the content to be loaded in the page to be rendered; obtaining the time-consuming decoding of the content to be loaded; and determining the target decoding according to the time-consuming decoding of the content to be loaded In the task queue, the sum of the decoding time consumption of the decoding tasks included in the target decoding task queue is less than a threshold; and the decoding tasks included in the target decoding task queue are executed. Therefore, the present invention can make the time consumption of the entire rendering process within the expected range, for example, within 16ms, thereby effectively improving the fluency of page rendering and improving user experience.

Description

technical field [0001] The present invention relates to the technical field of page rendering, and more specifically, to a method and device for determining a decoding task. Background technique [0002] With the development of communication technologies, users increasingly use web application programs (Web App) or browsers in clients to perform operations such as page browsing. One of the important performances of page browsing is the rendering speed of the page. The faster the rendering speed is, the faster the page is displayed, and the smoother the user feels when browsing the page. Fluency is an important measure of page browsing user experience. The key factor for fluency is the frame rate. The ideal frame rate is 60 frames per second, that is, the rendering of 60 frames is completed within 1 second. That is to say, one The time consumption of the entire rendering process of the frame needs to be kept within 16ms. [0003] Taking a browser as an example, the browser ...

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 Patents(China)
IPC IPC(8): G06F9/4401
CPCG06F9/451G06F8/38G06F9/4887G06F16/957G06F9/4881H03M13/2948H03M13/6502
Inventor 黄泽锋
Owner HUAWEI TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More