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

Dynamic distribution method, device, equipment and storage medium of barrage messages

A message and barrage technology, applied in the field of barrage, can solve the problems of efficient distribution of unfavorable barrage messages, uneven distribution speed of barrage messages, and uneven processing time, so as to improve distribution efficiency and distribution fault tolerance, and improve data reporting. Efficiency, the effect of simplifying the means of communication

Active Publication Date: 2022-04-08
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

However, the unequal processing time of each bullet chat message will make the bullet chat message distribution speed of each secondary bullet chat distribution module unequal, so that some secondary bullet chat distribution modules have a greater distribution pressure, while others The secondary bullet chat distribution module is relatively idle, which is not conducive to the efficient distribution of bullet chat messages

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
  • Dynamic distribution method, device, equipment and storage medium of barrage messages
  • Dynamic distribution method, device, equipment and storage medium of barrage messages
  • Dynamic distribution method, device, equipment and storage medium of barrage messages

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0026] The method for dynamically distributing barrage messages provided by this embodiment is applicable to the distribution of barrage messages in audio and video playback / live application software in Android clients, especially for cascading barrage messages when there are a large number of barrage messages message distribution. This method can be carried out by the dynamic distributing device of barrage message, and this device can be realized by the mode of software and / or hardware, and this device can be integrated in the equipment that is installed with the audio and video playing / live application software based on Android system, for example Typically, it is a user terminal device, such as a mobile phone, a tablet computer, or a smart TV. The execution subject in the embodiment of the present invention is a secondary distribution object, which mainly explains that the secondary distribution object collects and reports load parameter values ​​for load balancing. see f...

Embodiment 2

[0043] On the basis of the first embodiment above, this embodiment further optimizes "obtaining the distribution pressure parameter value of distributing barrage messages". On this basis, you can further optimize "generating serialized objects based on distribution pressure parameter values". The explanations of terms that are the same as or corresponding to the above-mentioned embodiments will not be repeated here. see figure 2 The method for dynamically distributing barrage messages provided in this embodiment includes:

[0044] S201. Determine whether a data reporting condition is met. If not, end the operation; if yes, execute S202.

[0045] S202. Obtain the current number of elements of the pre-built barrage message set.

[0046] Wherein, the barrage message set refers to a set storing barrage messages to be distributed, and its data structure may be an array, a list, or a queue. The barrage message collection is a collection with global scope in the secondary distr...

Embodiment 3

[0073] This embodiment provides a dynamic distribution device for barrage messages, see image 3 , the device specifically includes:

[0074] Parameter value acquisition module 310, used for obtaining the distribution pressure parameter value of distributing barrage messages when the data reporting condition is satisfied;

[0075] The event object determination module 320 is used to generate a serialized object according to the distribution pressure parameter value, and call the first field value setting function in the event object, and store the serialized object in the event object;

[0076] The data reporting module 330 is used to use the event object as a function input parameter, call the event message delivery function through the event bus object, and publish the event object to the event bus corresponding to the event bus object, so that the top distribution object is determined according to the distribution pressure parameter value Message pressure value, and distri...

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 method, device, equipment and storage medium for dynamically distributing barrage messages. The method includes: when the data reporting condition is satisfied, obtaining the distribution pressure parameter value of the bullet chat message; generating a serialized object according to the distribution pressure parameter value, and calling the first field value setting function in the event object to set the The serialized object is stored in the event object; the event object is used as a function input parameter, the event message delivery function is called through the event bus object, and the event object is published to the event bus corresponding to the event bus object, so that The top-level distribution object determines the message pressure value according to the distribution pressure parameter value, and distributes the barrage message according to the message pressure value. Through the above technical solution, the efficient distribution of bullet chat messages is realized, and the fault tolerance of bullet chat message distribution is improved.

Description

technical field [0001] The embodiment of the present invention relates to bullet chat technology, and in particular to a method, device, device and storage medium for dynamically distributing bullet chat messages. Background technique [0002] Barrage messages are widely used in audio and video playback / live broadcast applications. Usually, the barrage message is sent to the application software by the server that transmits and processes the barrage message (ie, the barrage server), and then the barrage distribution module in the application software with the function of distributing the barrage message distributes the received barrage message to Each barrage receiving module that needs to receive barrage messages. [0003] When the amount of bullet chat messages sent by the bullet chat server is very large, the distribution pressure of a single bullet chat distribution module is relatively high, and the bullet chat messages may not be distributed in time, or even the bulle...

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/442H04N21/235H04L67/10H04L67/1008H04L67/1029
CPCH04L67/10H04L67/1008H04L67/1029H04N21/235H04N21/435H04N21/442H04N21/4424
Inventor 张磊陈少杰张文明
Owner WUHAN DOUYU NETWORK TECH CO LTD