Distributing method and device of bullet-screen message, terminal and storage medium

A barrage and message technology, applied in the field of barrage, can solve problems such as memory leaks

Active Publication Date: 2019-03-01
WUHAN DOUYU NETWORK TECH CO LTD
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present invention provides a method, device, terminal, and storage medium for distributing bullet chat messages, which solves the problem of memory leaks on the basis of distributing bullet chat messages to live broadcast rooms that are running

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
  • Distributing method and device of bullet-screen message, terminal and storage medium
  • Distributing method and device of bullet-screen message, terminal and storage medium
  • Distributing method and device of bullet-screen message, terminal and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0048] figure 1 It is a flow chart of a method for distributing bullet chat messages provided by Embodiment 1 of the present invention. The method can be executed by a device for distributing bullet chat messages. The device can be implemented by software and / or hardware. The device can be integrated Among the devices installed with audio and video playback and / or live broadcast application software adapted to the Android system, typical user terminal devices such as mobile phones, tablet computers or smart TVs. see figure 1 , the method of this embodiment specifically includes:

[0049] S110. After the first live broadcast room is destroyed, if the activation instruction is received again, call the life cycle creation function of the first live broadcast room, and send the first identification information and the corresponding current first reference relationship to the bullet chat distribution object.

[0050] In this embodiment, "first" and "second" are only used to disti...

Embodiment 2

[0065] figure 2 It is a flow chart of a method for distributing barrage messages provided by Embodiment 2 of the present invention. This embodiment can be applied to switching between different types of live broadcast rooms. For different types of live rooms, on the basis of the above embodiments, after the first live room is destroyed, if a second live room of a different type from the first live room is started, the second live room will use its reference relationship Register directly to the preset key-value pair collection object, so that the reference relationship between the first live room and the second live room will be maintained in the barrage distribution object at the same time. Explanations of terms in this embodiment that are the same as or corresponding to those in the foregoing embodiments will not be repeated here. see figure 2 , the method provided in this embodiment includes:

[0066] S210. After the first live broadcast room is destroyed, if the secon...

Embodiment 3

[0082] In the implementation process of the above embodiment, if the next live room to be displayed is to be switched to the randomly deleted live room page, the barrage distribution object cannot find the reference of the live room to be displayed in the preset key-value pair collection object Relationship, barrage distribution cannot be performed. image 3 It is a flow chart of a method for distributing barrage messages provided by Embodiment 3 of the present invention. This embodiment is optimized on the basis of the above embodiments, adding the function of judging whether the deleted one in the above embodiments is the next live broadcast to be displayed The operation of the reference relationship between, such as image 3 As shown, the method includes:

[0083] S310. When the live broadcast room to be displayed receives the display instruction, send the third identification information of the live broadcast room to be displayed to the barrage distribution object.

[00...

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 distributing method and device of a bullet-screen message, a terminal and a storage medium. The method includes: if a starting indication is received againafter a first live streaming room is destroyed, calling a lifecycle creation function of the first live streaming room, and sending first identification information and a corresponding current first reference relationship to a bullet-screen distributing object; replacing a historical reference relationship, which is of the first live streaming room and is already stored in a preset key value paircollection object, with the current first reference relationship by the bullet-screen distributing object according to the first identification information, wherein the current first reference relationship is inherited from a preset listener interface protocol, and the preset listener interface protocol includes a receiving method of the bullet-screen message; and distributing the bullet-screen message to the first live streaming room by the bullet-screen distributing object on the basis of the current first reference relationship through calling the receiving method of the bullet-screen message. Through adopting the above technical solution, the problem of memory leakage is solved on the basis of distributing the bullet-screen message to the currently running live streaming room.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of bullet chatting, and in particular, to a method, device, terminal and storage medium for distributing bullet chatting messages. Background technique [0002] With the development of the network interaction platform, more and more users communicate by logging into the network interaction platform. Among them, webcasting is a very popular application among users. Users can express their emotions by sending barrage while watching the live broadcast. Among them, the barrage service includes important functions such as user barrage reception, processing, and push. After the client receives the bullet chat message sent by the bullet chat server, it needs to distribute the bullet chat message to the live broadcast room where the client is running. [0003] In order to ensure the distribution efficiency of the bullet chat message and the maintainability of the code, it is necessary to...

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 Applications(China)
IPC IPC(8): H04N21/443H04N21/4788H04N21/488G06F12/02
CPCG06F12/0253H04N21/4435H04N21/4788H04N21/4884
Inventor 张磊
Owner WUHAN DOUYU NETWORK TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products