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

Barrage message distribution method, device, equipment and storage medium

A message distribution and barrage technology, applied in the computer field, can solve problems such as unstable processing performance of barrage target distribution objects, complex business logic, easy introduction of multi-threading, etc., to improve distribution efficiency, reduce business logic, and simplify distribution The effect of the process

Active Publication Date: 2021-09-07
WUHAN DOUYU NETWORK TECH CO LTD
View PDF6 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 easy to cause unstable processing performance of bullet chat target 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

[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 target distribution object is especially suitable for the situation where there are a large number of barrage messages to be distributed, and the acquisition speed of the barrage messages is greater than the distribution speed. 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 target distribut...

Embodiment 2

[0047] On the basis of the above-mentioned first embodiment, this embodiment further optimizes "the target distribution object obtains the distribution protocol object according to the bullet chat distributor object and the bullet chat message acquisition protocol". On this basis, it is also possible to further optimize "detection that the processing of the last target barrage message has been completed". On the basis of the above, it is also possible to add a step when "the return value of the function is an empty object". The execution subject in this embodiment is the target distribution 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:

[0048] S210. Call the object acquisition function through the bullet chatting distributor class to acquire the bullet chatting distributor object.

[0049] Whe...

Embodiment 3

[0069] On the basis of the above-mentioned embodiments, this embodiment further optimizes the function realization process of the "bullet chat message acquisition function". The target message list, and determine the function return value according to the target message list. The execution subject in this embodiment is the barrage distributor object. The explanations of terms that are the same as or corresponding to the above-mentioned embodiments will not be repeated here. see Figure 5 , the implementation method of the barrage message acquisition function provided by this embodiment includes:

[0070] S310. Determine a target message list according to target distribution objects.

[0071] Among them, the message list refers to the pre-established list in the bullet chat distributor object, which is used to store the bullet chat messages obtained from the bullet chat server and corresponding to the distribution objects in the order in which the bullet chat messages are ob...

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: the target distribution object determines the distribution protocol object according to the bullet chat distributor object and the bullet chat message acquisition protocol; when it is detected that the processing of the last target bullet chat message is completed, the target distribution object takes the target distribution object as a function input parameter, Call the bullet chat message acquisition function through the distribution protocol object, so that the bullet chat message distributor object can call back the bullet chat message acquisition function to obtain the return value of the function. Obtained; if the return value of the function is not an empty object, the target distribution object determines the return value of the function as the current target barrage message. Through the above technical solution, the direct distribution of bullet chat messages is realized, and the efficiency of bullet chat message distribution is improved; at the same time, the distribution status and processing status of bullet chat messages are kept in sync, and the performance stability of target distribution objects 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): G06F9/451H04N21/435H04N21/4788
CPCG06F9/451H04N21/435H04N21/4788
Inventor 张磊
Owner WUHAN DOUYU NETWORK TECH CO LTD