A method, device, terminal and storage medium for distributing barrage messages
A barrage and message technology, applied in the barrage field, can solve problems such as memory leaks, and achieve the effect of avoiding memory leaks and improving distribution efficiency.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
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