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

Barrage message distribution method, device, apparatus, and storage medium

A message distribution and barrage technology, applied in the computer field, can solve problems such as unstable processing performance of barrage target distribution objects, complicated business logic, and complicated distribution process, so as to improve distribution efficiency, reduce business logic, and simplify the distribution process Effect

Active Publication Date: 2019-01-04
WUHAN DOUYU NETWORK TECH CO LTD
View PDF8 Cites 2 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 easy to cause unstable processing performance of bullet chat target distribution 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, apparatus, and storage medium
  • Barrage message distribution method, device, apparatus, and storage medium
  • Barrage message distribution method, device, apparatus, 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 target distribution object is especially suitable for the situation where there are a large number of barrage messages to be distributed, and the acquisition speed of the barrage messages is greater than the distribution speed. 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 target distribut...

Embodiment 2

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

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

[0049] Whe...

Embodiment 3

[0069] On the basis of the above-mentioned embodiments, this embodiment further optimizes the function realization process of the "bullet chat message acquisition function". The target message list, and determine the function return value according to the target message list. 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 implementation method of the barrage message acquisition function provided by this embodiment includes:

[0070] S310. Determine a target message list according to target distribution objects.

[0071] Among them, the message list refers to the pre-established list in the bullet chat distributor object, which is used to store the bullet chat messages obtained from the bullet chat server and corresponding to the distribution objects in the order in which the bullet chat messages are ob...

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, a device, an apparatus and a storage medium. The method comprises the following steps that: a target distribution object determines a distribution protocol object according to a bullet screen distributor object and a bullet screen message acquisition protocol; the target distribution object determines a distribution protocol object according to the bullet screen distributor object and a bullet screen message acquisition protocol; upon detecting that the processing of the previous target barrage message is complete, a target distribution object takes a target distribution object as a function input parameter, and calls a barrage message obtaining function through that distribution protocol object to make the barrage distributor object callback the barrage message obtaining function and obtain a function return value, wherein, the barrage message obtaining function is obtain by the barrage distributor objectinheriting the barrage message obtaining protocol; if the function return value is not an empty object, the target distribution object determines the function return value as the current target barrage message. Through the technical scheme, the direct distribution of the barrage message is realized, and the barrage message distribution efficiency is improved; at the same time, the distribution state of the barrage message is kept synchronous with the processing state, and the performance stability of the target distribution 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 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 figure 1 , ...

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
IPC IPC(8): G06F9/451H04N21/435H04N21/4788
CPCG06F9/451H04N21/435H04N21/4788
Inventor 张磊
Owner WUHAN DOUYU NETWORK TECH CO LTD