Bullet screen message processing method and device

A bullet screen and message technology, applied in image communication, selective content distribution, electrical components, etc., can solve problems such as affecting users' experience of watching live broadcasts, client freezes, and live video freezes.

Active Publication Date: 2018-03-06
WUHAN DOUYU NETWORK TECH CO LTD
View PDF5 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When the amount of bullet chat messages is large, complex calculations need to be performed on the display of bullet chat messages, and bullet chat messages need to be rendered frequently, while JavaScript scripts run in a single thread, which may easily lead to serious problems in the live video broadca

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
  • Bullet screen message processing method and device
  • Bullet screen message processing method and device
  • Bullet screen message processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] 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.

[0046] In one embodiment of the present invention, a barrage message processing method is provided, figure 1 It is a schematic diagram of the overall flow of the bullet chatting message processing method provided by the embodiment of the present invention, the method includes: S1, using the static resources processed by the bullet chatting on the server to create a temporary url link on the client, and using the temporary url link to create a bullet chatting message Processing sub-thread; S2, in the bullet chat message processing sub-thread, retrieve the pre-created bullet chat message processing task queue every preset duration, and store the bullet chat message correspon...

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 invention provides a bullet screen message processing method and device. The method comprises the following steps: S1, creating a temporary URL link on a client by using static resources for processing bullet screen on a server, and using the temporary URL link to create a bullet screen message processing sub-thread; S2, retrieving a pre-created bullet screen message processing task queue in the bullet screen message processing sub-thread after each preset time length, and storing the bullet screen messages corresponding to the retrieval result in a pre-created stack; S3, if unprocessed bullet screen messages exist in the stack, converting the unprocessed bullet screen messages into HTML templates; and S4, sending the HTML templates to a main thread of the bullet screen message processing sub-thread, so that the main thread renders the unprocessed bullet screen messages. By adoption of the bullet screen message processing method and device, the cross-domain problem is solved on onehand; and on the other hand, the batch processing of the bullet screen is achieved, the bullet screen processing efficiency is improved, the client blockage problem is solved, and the user experienceis improved.

Description

technical field [0001] The invention belongs to the field of application development, and more specifically relates to a method and device for processing barrage messages. Background technique [0002] With the development of the network interaction platform, more and more users communicate by logging into the network interaction platform. Among them, webcasting is a very popular application among users. During the live broadcast, users can interact with the host, such as sending barrage messages, giving gifts to the host, etc., thereby increasing the fun of the interaction between the host and users. [0003] In the prior art, there are a lot of barrage messages in the live broadcast room where popular anchors are located. On the PC (Personal Computer, personal computer) client, JavaScript scripts are generally used to process the barrage messages. When the amount of bullet chat messages is large, complex calculations need to be performed on the display of bullet chat me...

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
IPC IPC(8): H04N21/235H04N21/858H04N21/4788
Inventor 王垒张文明陈少杰
Owner WUHAN DOUYU NETWORK TECH 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