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

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

Active Publication Date: 2021-02-02
WUHAN DOUYU NETWORK TECH CO LTD
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the existing bullet chatting message distribution mode is that the bullet chatting distribution module obtains the cached bullet chatting messages one by one from the message cache collection and distributes them one by one according to the order in which the bullet chatting server sends the bullet chatting messages, which will cause the bullet chatting distribution The distribution efficiency of modules is low, which reduces the timeliness of the distribution of barrage 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
  • Serial multi-thread barrage distribution method, device, equipment and storage medium
  • Serial multi-thread barrage distribution method, device, equipment and storage medium
  • Serial multi-thread barrage distribution method, device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

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...

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 serial multi-thread barrage distribution method, device, equipment and storage medium. The method includes: when the multi-threaded barrage distribution condition is satisfied, determining the current concurrent number of barrage messages according to the current system state parameter value; obtaining the current concurrent number of barrage messages to be distributed from the message set, and determining the The current number of concurrent distribution threads; based on a preset thread serial execution mechanism, use each of the distribution threads to serially distribute each of the bullet chat messages to be distributed. Through the above technical solution, sequential and efficient distribution of bullet chat messages is realized, and the timeliness and accuracy of distribution of bullet chat messages are improved.

Description

technical field [0001] Embodiments of the present invention relate to information communication technology, and in particular to a serial multi-threaded barrage distribution method, device, device and storage medium. 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 number of bullet chat messages sent by the bullet chat server is large, and the bullet chat distribution module cannot distribute the bullet chat messages in time, a message collection is usually established in the bullet chat distribution mo...

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/235H04N21/24H04N21/254
CPCH04N21/235H04N21/2405H04N21/254H04N21/435H04N21/442H04N21/4424
Inventor 张磊
Owner WUHAN DOUYU NETWORK TECH CO LTD