Serial multi-thread barrage distribution method, device, equipment and storage medium
A multi-threading and barrage technology, applied in the field of information communication, can solve the problems of low distribution efficiency of the barrage distribution module and reduce the timeliness of barrage message distribution, so as to improve the distribution efficiency and timeliness of distribution, ensure the order of distribution, The effect of improving distribution efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0026] The serial multithreaded barrage distribution method provided by this embodiment can be applied to the barrage message distribution in the audio and video playback / live application software in the Android client, and is especially suitable for the large number of barrage messages, and one The situation that the bullet chatting message is sent to at least one bullet chat receiving object. The method can be performed by a serial multi-threaded barrage distribution device, which can be implemented in software and / or hardware, and can be integrated in a device with a barrage message distribution function carrying an Android system, such as Typically, it is a user terminal device, such as a mobile phone, a tablet computer, or a smart TV. The execution subject in this embodiment is the instantiated object of the bullet chat distribution class defined in the bullet chat distribution module, which is used to realize the bullet chat distribution function—the bullet chat distribu...
Embodiment 2
[0049] On the basis of the first embodiment above, this embodiment further optimizes "satisfying the multi-thread barrage distribution condition". On this basis, it is also possible to further optimize "determining the current concurrent number of barrage messages based on the current system state parameter value". On the basis of the above, it is also possible to further optimize "based on the preset thread serial execution mechanism, use each distribution thread to serially distribute each barrage message to be distributed". The explanations of terms that are the same as or corresponding to the above-mentioned embodiments will not be repeated here. The execution subject of this embodiment is still the bullet chatting distribution object. see figure 2 , the serial multi-thread barrage distribution method provided by this embodiment includes:
[0050] S201. When the current timing period of the concurrent message timer arrives, determine the current concurrent number accor...
Embodiment 3
[0077] This embodiment provides a serial multi-thread barrage distribution device, see image 3 , the device specifically includes:
[0078] The current concurrent quantity determination module 310 is used to determine the current concurrent quantity of the bullet chat message according to the current system state parameter value when the multi-thread bullet chat distribution condition is satisfied;
[0079] Bullet chat message and thread determination module 320, for obtaining the bullet chat message to be distributed of described current concurrent quantity from message set, and determine the distribution thread of described current concurrent quantity;
[0080] The bullet chat message distribution module 330 is configured to serially distribute the bullet chat messages to be distributed by using each of the distribution threads based on a preset thread serial execution mechanism.
[0081] Optionally, the barrage message distribution module 330 includes:
[0082] The curre...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


