Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Processing method and device for reference relationship between barrage library and direct broadcasting room, terminal and medium

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: 2019-03-01
WUHAN DOUYU NETWORK TECH CO LTD
View PDF4 Cites 4 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
  • Processing method and device for reference relationship between barrage library and direct broadcasting room, terminal and medium
  • Processing method and device for reference relationship between barrage library and direct broadcasting room, terminal and medium
  • Processing method and device for reference relationship between barrage library and direct broadcasting room, terminal and medium

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 by 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 processing method and device for a reference relationship between a barrage library and a direct broadcasting room, a terminal and a medium. The method comprises the following steps: receiving the target hash value of a context object which is transmitted by a target direct broadcasting room during page destroying; if the target hash value is judged to be the same as a registered current hash value, determining a current direct broadcasting room corresponding to the current hash value as a direct broadcasting room to be recycled; and deleting a current reference relationship of the current direct broadcasting room in order to recycle the current direct broadcasting room, wherein the current reference relationship and the current hash value are registered to a barrage distribution object when the current direct broadcasting room is started, and cover a history hash value in the barrage distribution object and a corresponding history referencerelationship. Through the adoption of the technical scheme, the problem of memory leak is solved while the barrage message distribution efficiency is improved.

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 Applications(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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products