Barrage message distribution method and device, equipment and storage medium

A message distribution and barrage technology, applied in the computer field, can solve the problems of complex business logic, low distribution efficiency, and complex distribution process, and achieve the effect of reducing synchronous processing business logic, improving performance stability, and simplifying the distribution process.

Active Publication Date: 2018-11-13
WUHAN DOUYU NETWORK TECH CO LTD
View PDF6 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If there are bullet chat messages being processed in the view receiving bullet chat messages, then the view needs to process multiple bullet chat messages at the same time, which will complicate the business logic inside the view and easily introduce multi-threading problems
[0005

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

[0030] S110. Obtain the bullet chat message to be distributed and the distribution target object corresponding to the bulle...

Embodiment 2

[0055] In this embodiment, on the basis of the first embodiment above, the operation when the message processing flag is not completed is added. On this basis, you can further optimize "obtaining barrage messages to be distributed". On the basis of the above, it is also possible to further optimize "obtaining the distribution target object corresponding to the barrage message to be distributed". On the basis of the above, it is also possible to further optimize "calling the bullet chatting distribution function through the distribution target object, and distributing the bullet chat message to be distributed to the distribution target object". 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:

[0056] S210. According to the type of the message list, sequentially acquire a cached bullet chatting message from...

Embodiment 3

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

[0086]A data acquisition module 510, configured to acquire the bullet chat message to be distributed and the distribution target object corresponding to the bullet chat message to be distributed;

[0087] A processing identifier acquisition module 520, configured to acquire the message processing identifier of the distribution target object acquired by the data acquisition module 510;

[0088] The distribution module 530 is used to call the bullet chat distribution function through the distribution target object obtained by the data acquisition module 510 when the message processing identification obtained by the processing identification acquisition module 520 is marked as completion, and the bullet chat message to be distributed acquired by the data acquisition module 510 Distribute to the distribution target object, where the bullet chat distribution f...

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 and device, equipment and a storage medium. The method comprises the following steps: acquiring a barrage message to bedistributed and a distribution target object corresponding to the barrage message to be distributed; acquiring a message processing identifier of the distribution target object; and when the message processing identifier is a completion identifier, calling a barrage distribution function through the distribution target object, and distributing the barrage message to be distributed to the distribution target object, wherein the barrage distribution function is obtained through inheriting of a pre-defined barrage distribution protocol by the distribution target object, and the barrage distribution protocol is an interface protocol with a public permission modifier. Through the technical scheme, direct distribution of barrage messages to the barrage distribution target object is realized. Meanwhile, the distribution status of barrage messages in a barrage message distributor is synchronized with the processing status of barrage messages in the barrage distribution target object, thereby improving the distribution efficiency of the barrage messages and the performance stability of the barrage distribution target object.

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 bullet chat distribution target object that needs to use bullet chat messages, such as view, business controller or data manager, etc. [0003] Taking the target object of bullet chat distribution as an example, at present, 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 is layer by layer. Specifically, each view in the Android system is arranged according to a hierarchical relationship, and ba...

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/4788H04N21/435H04N21/443H04N21/462H04N21/254
CPCH04N21/254H04N21/435H04N21/443H04N21/462H04N21/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