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

Barrage message distribution method, device, equipment and storage medium

A message distribution and bullet screen technology, applied in the computer field, can solve problems such as low distribution efficiency, unstable processing performance of bullet screen distribution target objects, and complex business logic.

Active Publication Date: 2021-06-15
WUHAN DOUYU NETWORK TECH CO LTD
View PDF3 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 target 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 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. The distribution target object determines the distribution protocol object according to the bullet chatting di...

Embodiment 2

[0052] On the basis of the first embodiment above, this embodiment further optimizes "the distribution target 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 increase the steps when "the return value of the function is an empty object". The execution subject in this embodiment is 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:

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

[0054] ...

Embodiment 3

[0073] On the basis of the above-mentioned embodiments, this embodiment further optimizes the function realization process of the "barrage message acquisition function". 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 barrage message distribution method provided in this embodiment includes:

[0074] S301. Obtain a barrage message sequentially from the first message list as the current barrage message.

[0075] Wherein, the current bullet chat message refers to the bullet chat message used for screening bullet chat messages in this operation, which is the bullet chat message in the first message list.

[0076] Specifically, due to the sequential nature of the processing of bullet chat messages, when the bullet chat message distributor object screens the target bullet chat messages from the first...

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 distribution target 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 distribution target object takes the message identification list 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 distribution target 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 state and processing state of the barrage message are kept in sync, and the performance stability of the distribution target 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 target 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 figu...

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/431H04N21/4788H04N21/488
CPCG06F9/451H04N21/431H04N21/4788H04N21/4884
Inventor 张磊
Owner WUHAN DOUYU NETWORK TECH CO LTD