Barrage message distribution method, device, equipment and storage medium

A message distribution and bullet screen technology, applied in the computer field, can solve the problems of unstable bullet screen distribution object processing performance, complex business logic, complex distribution process, etc., to reduce synchronous processing business logic, improve distribution efficiency, and simplify implementation. the effect of logic

Active Publication Date: 2021-04-09
WUHAN DOUYU NETWORK TECH CO LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If there is a bullet chat message being processed in the view object receiving the bullet chat message, then the view object needs to process multiple bullet chat messages at the same time, which will complicate the business logic inside the view object and easily introduce multi-threading problems
[0004] In short, the existing distribution methods of bullet chat messages in audio and video playback / live broadcast application software have the problems of complex distribution process, low distribution efficiency and unstable processing performance of bullet chat distribution objects

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
  • Barrage message distribution method, device, equipment and storage medium
  • Barrage message distribution method, device, equipment and storage medium
  • Barrage message distribution method, device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] The barrage message distribution method provided by this embodiment is applicable to the audio and video playback / live broadcast application software in the Android client to distribute the received barrage message to the corresponding barrage message to be distributed in the application software. Each distribution object is especially suitable for the situation where there are a large number of barrage messages to be distributed. The method can be executed by a barrage message distributing device, which can be implemented by software and / or hardware, and which can be integrated in a device installed with audio and video playback / live broadcast application software, such as a typical user terminal device , such as a mobile phone, tablet, or smart TV. see figure 2 , the method of this embodiment specifically includes the following steps:

[0029] S110. Determine at least one distribution object corresponding to the bullet chat message to be distributed according to th...

Embodiment 2

[0054] In this embodiment, on the basis of the first embodiment above, a bullet chat message processing step of "when the message processing flag is completed and the message list corresponding to the distribution object stores cached bullet chat messages" is added. On this basis, the barrage message processing step of "when the message processing is marked as incomplete" can be further added. On the basis of the above, it is also possible to further add the bullet chat message processing step of "when the cached bullet chat message is stored in the message list, and the message processing flag is not completed". The explanations of terms that are the same as or corresponding to the above-mentioned embodiments will not be repeated here. see Figure 4 , the barrage message distribution method provided in this embodiment includes:

[0055] S210. Determine at least one distribution object corresponding to the bullet chat message to be distributed according to the bullet chat me...

Embodiment 3

[0076] This embodiment provides a barrage message distribution device, see Figure 5 , the device specifically includes:

[0077] The distribution object determination module 510 is used to determine at least one distribution object corresponding to the bullet chat message to be distributed according to the bullet chat message to be distributed, and the distribution object corresponds to the message list one by one;

[0078] A processing identifier determining module 520, configured to determine the message processing identifier of the distribution object;

[0079] The first message distribution module 530 is used to call the bullet chat distribution function in the distribution object when the message processing flag is completed, and the cache bullet chat message is not stored in the message list corresponding to the distribution object, and distribute the bullet chat message to be distributed To the distribution object, where the bullet chat distribution function is obtain...

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 embodiment of the invention discloses a barrage message distribution method, device, equipment and storage medium. The method includes: determining at least one distribution object corresponding to the bullet chat message to be distributed according to the bullet chat message to be distributed, where the distribution object corresponds to the message list one by one; determining the message processing identifier of the distribution object; when the message processing identifier is a completion identifier, and When there is no cached bullet chat message stored in the message list corresponding to the distribution object, call the bullet chat distribution function in the distribution object to distribute the bullet chat message to the distribution object, where the bullet chat distribution function inherits the pre-defined Obtained through the bullet screen distribution agreement. Through the above technical solution, the direct distribution of bullet chat messages is realized, the bullet chat message distribution process is simplified, and the efficiency of bullet chat message distribution is improved. At the same time, the distribution state of the bullet chat message in the bullet chat distributor is synchronized with the processing state of the bullet chat message in the distribution object, and the performance stability of the distribution object is improved.

Description

technical field [0001] The embodiments of the present invention relate to computer technology, and in particular to a method, device, equipment and storage medium for distributing bullet chat messages. Background technique [0002] In audio and video playback / live broadcast applications such as Douyu, barrage messages are widely used. Usually, these bullet chat messages are distributed one by one by the audio and video playback / live broadcast application software to each distribution object that needs to use bullet chat messages, such as view objects, business controller objects, or data manager objects. [0003] Taking the view object as an example, for the audio and video playback / live broadcast application software installed on the Android system, the method of distributing bullet chat messages to each view object is to pass the bullet chat messages to the target view layer by layer according to the reference relationship chain of the view level object. see figure 1 , ...

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): H04N21/435H04N21/433H04N21/443H04N21/239H04N21/643
CPCH04N21/2393H04N21/4331H04N21/435H04N21/443H04N21/643
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