The processing method, device, terminal and medium of the reference relationship between bullet screen library and live broadcast room

A processing method and live room technology, applied in the field of barrage, can solve problems such as memory leaks, and achieve the effect of solving memory leaks

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

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a method, device, terminal, and medium for processing the reference relationship between the barrage library and the live room, which can solve the problem of memory leaks while improving the efficiency of barrage message distribution

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
  • The processing method, device, terminal and medium of the reference relationship between bullet screen library and live broadcast room
  • The processing method, device, terminal and medium of the reference relationship between bullet screen library and live broadcast room
  • The processing method, device, terminal and medium of the reference relationship between bullet screen library and live broadcast room

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0048] figure 1 A flow chart of a method for processing the reference relationship between the bullet chat library and the live broadcast room provided in Embodiment 1 of the present invention. The method can be executed by a device for processing the reference relationship between the bullet chat library and the live broadcast room. The device can use software and / or or hardware, and the device can be integrated into a terminal such as a mobile phone or a tablet computer. see figure 1 , the method of this embodiment specifically includes:

[0049] S110. Receive the target hash value of the context object sent by the target live room when the page is destroyed.

[0050]First of all, it is mainly explained that since the live room needs to call the creation function onCreate of the life cycle when it is created, and the destruction function onDestory of the life cycle needs to be called when the live room is destroyed, and the creation function and the destruction function ar...

Embodiment 2

[0080] figure 2 It is a flow chart of a method for processing the reference relationship between the barrage library and the live room provided by Embodiment 2 of the present invention. This embodiment is optimized on the basis of the above-mentioned embodiments, and the terms that are the same as or corresponding to the above-mentioned embodiments The explanation will not be repeated here. see figure 2 , the method provided in this embodiment includes:

[0081] S200. When the current live broadcast room is started, the current live broadcast room registers the current hash value and the current reference relationship of the context object in the bullet chat distribution object, and overwrites the historical hash value and the corresponding reference relationship in the bullet chat distribution object.

[0082] It should be noted that when each live room is started, the creation function onCreate of the life cycle will be called. This function mainly performs some necessar...

Embodiment 3

[0101] image 3 A structural block diagram of a device for processing the reference relationship between the barrage library and the live broadcast room provided by Embodiment 3 of the present invention, as shown in image 3 As shown, the device includes: a target hash value receiving module 310 , a live room determination module 320 to be recycled, and a live room recovery processing module 330 . in,

[0102] The target hash value receiving module 310 is used to receive the target hash value of the context object sent by the target live room when the page is destroyed;

[0103] The live broadcast room to be recycled determination module 320 is used to determine that the current live broadcast room corresponding to the current hash value is the live broadcast room to be recycled if it is determined that the target hash value is the same as the registered current hash value;

[0104] The live room recovery processing module 330 is configured to delete the current reference re...

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 method, device, terminal and medium for processing the reference relationship between a barrage library and a live room. The method includes: receiving the target hash value of the context object sent by the target live room when the page is destroyed; if it is judged that the target hash value is the same as the registered current hash value, then determining the The corresponding current live room is a live room to be recycled; the current reference relationship of the current live room is deleted to recycle the current live room; wherein, the current reference relationship and the current hash value are When the current live broadcast room is started, it is registered in the bullet chatting distribution object, and the historical hash value and the corresponding historical reference relationship in the bullet chatting distribution object are overwritten. By adopting the above technical solution, while improving the distribution efficiency of barrage messages, it also solves the problem of memory leaks.

Description

technical field [0001] The embodiment of the present invention relates to the technical field of bullet chatting, and in particular to a method, device, terminal and medium for processing the reference relationship between a bullet chat library and a live room. 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 maintainab...

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/488H04N21/254
CPCH04N21/254H04N21/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