Barrage message distribution method, device, apparatus, and storage medium

A message distribution and barrage technology, applied in the computer field, can solve the problems of unstable barrage message receiver object processing performance, complicated business logic, easy introduction of multi-threading, etc., so as to improve the efficiency of barrage distribution and simplify business implementation. Logic, the effect of simplifying the distribution process

Active Publication Date: 2018-12-14
WUHAN DOUYU NETWORK TECH CO LTD
View PDF5 Cites 4 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 easy to cause unstable processing performance of bullet chat message receiver 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, apparatus, and storage medium
  • Barrage message distribution method, device, apparatus, and storage medium
  • Barrage message distribution method, device, apparatus, and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] 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. Individual message receiver objects, especially for situations where the speed of message distribution is greater than the speed of message processing. 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:

[0030] S110. The bullet chatting distributor object determines a message receiver object according to the bullet c...

Embodiment 2

[0049] On the basis of the first embodiment above, this embodiment further improves "the message receiver object caches the bullet chat message to be distributed in the message list or performs setting processing on the bullet chat message to be distributed according to the message processing identifier and the message list" optimization. On this basis, further processing steps for caching barrage messages can be added. 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:

[0050] S210. The bullet chatting distributor object determines a message receiver object according to the bullet chatting message to be distributed.

[0051] S220. The bullet chatting distributor object calls the bullet chatting distribution function in the message receiver object, and distributes the bullet chatting messages to be distribu...

Embodiment 3

[0075] This embodiment provides a barrage message distribution device, see Figure 5 , the device consists of:

[0076] Bullet chat distributor 510 and message receiver 520, bullet chat distributor 510 includes object determination module 511 and message distribution module 512;

[0077] The object determination module 511 is used to determine the message receiver object according to the barrage message to be distributed;

[0078] The message distribution module 512 is used to call the bullet chat distribution function in the message receiver object, and distribute the bullet chat message to be distributed to the message receiver object, wherein, the bullet chat distribution function inherits the predefined bullet chat distribution protocol for the message receiver object and obtain;

[0079] The message receiver 520 is configured to cache the bullet chat message to be distributed in the message list or perform setting processing on the bullet chat message to be distributed ...

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, a device, a device and a storage medium. The method comprises the following steps: a barrage distributor object determines a message receiver object according to a barrage message to be distributed; the barrage screen distributor object calls a ballistic screen distribution function in the message receiver object todistribute the ballistic screen message to be distributed to the message receiver object, wherein the barrage distribution function is obtained by inheriting a predetermined ballistic screen distribution protocol for the message receiver object; the message receiver object buffers the barrage message to be distributed to the message list or performs setting processing on the barrage message to bedistributed according to the message processing identifier and the message list. Through the technical scheme, the direct distribution of the barrage message is realized, the message distribution logic of the barrage distributor object is simplified, and the barrage message distribution efficiency 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 message receiver object that needs to use bullet chat messages, such as view objects, business controller objects or data manager objects, etc. [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 layer by layer according to the reference relationship chain of the view level. The target view object. see figur...

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): H04N21/4788H04N21/488H04N21/433
CPCH04N21/4331H04N21/4788H04N21/4884
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