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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


