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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com