Unlock instant, AI-driven research and patent intelligence for your innovation.

A barrage rendering method and device

A bullet screen and ballistic technology, applied in the field of web page rendering, can solve the problems of large memory occupation and low DOM rendering efficiency, and achieve the effect of increasing efficiency, smooth display, and increasing user experience.

Active Publication Date: 2020-10-16
WUHAN DOUYU NETWORK TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention provides a barrage rendering method and device that overcomes the above-mentioned problems or at least partially solves the above-mentioned problems, and solves the problems of low efficiency and excessive memory usage of DOM-based rendering

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 barrage rendering method and device
  • A barrage rendering method and device
  • A barrage rendering method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] The specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.

[0022] see figure 1 , is a barrage rendering method of an embodiment of the present invention, mainly used in the fields of web page rendering and animation production, wherein HTML5 is the core language of the Internet, and the fifth major revision of HTML is used to provide content displayed on web pages. Now Most modern browsers support HTML5. Compared with HTML4, HTML5 has new features such as native video and audio support, native animation self-sustainability, local database, and socket network sockets. Nowadays, many websites have transferred their technology to HTML5.

[0023] Canvas represents an HTML5 canvas element that supports scripted browser-side drawing o...

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

A method and device for rendering an overlay comment. The method comprises: acquiring original data of an overlay comment (S1); generating, for each overlay comment and according to a corresponding predetermined style, a corresponding overlay comment object (S2); and if a rendering canvas has a free comment line, inserting the overlay comment object into the free comment line, and rendering all overlay comment objects in all current comment lines (S3). The method employs the canvas element in HTML5 standard to eliminate dependency of overlay comment display on the Flash technology, thus enhancing efficiency of drawing overlay comments, enabling a smooth display of overlay comment animation in a browser, and improving user experience.

Description

technical field [0001] The present invention relates to the field of web page rendering, and more specifically, to a barrage rendering method and device. Background technique [0002] In the field of web page rendering, the DOM-based bullet chatting rendering technology is currently adopted by most bullet chatting applications. The principle is to encapsulate the bullet chatting text into an HTML DOM element, and then use JavaScript to load the bullet chatting text into the DOM Put the elements into HTML for rendering, and then continuously calculate and change the position of the DOM elements loaded with barrage text to form a moving animation. [0003] Using the DOM bullet chat rendering technology, since it is necessary to calculate and change the positions of all DOM elements, when the bullet chat text volume is very large, the CPU operation frequency of the system will be too high, the memory usage will be too large, and the bullet chat The animation will be stuck, esp...

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): G06F16/958G06F16/957H04N21/431H04N21/435H04N21/475
CPCG06F16/957G06F16/986H04N21/4312H04N21/435H04N21/475
Inventor 姚尧
Owner WUHAN DOUYU NETWORK TECH CO LTD