A method, device, terminal and storage medium for distributing local barrage messages
A message and barrage technology, applied in the field of barrage, can solve the problems of not receiving barrage messages, delaying the front-end development cycle, prolonging the debugging time period, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0025] figure 1 It is a flow chart of a method for distributing local bullet chat messages according to Embodiment 1 of the present invention. The method can be executed by a device for distributing local bullet chat messages. The device can be implemented by means of software and / or hardware. The device It can be integrated in the client, and is typically used to debug the barrage. see figure 1 , the method of this embodiment specifically includes:
[0026] S110. Receive a locally predefined target barrage message including client package name information.
[0027] Among them, the client package name information can be defined in advance, so as to establish the connection between the sending end and the receiving end. Exemplarily, the package name information of the client may be marked by defining a variable, and its specific definition may be SET ACTION_NAME="com.action.cpp.msg".
[0028] Exemplarily, in the process of simulating a C++ barrage message, in this embodimen...
Embodiment 2
[0042] figure 2 It is a flow chart of a method for distributing local barrage messages provided by Embodiment 2 of the present invention. On the basis of the above-mentioned embodiments, this embodiment receives locally predefined target barrage messages containing client package name information. Splicing the target barrage message, and constructing a character string object based on the spliced target barrage message is optimized as a barrage protocol object, and the explanation of terms that are the same as or corresponding to the above-mentioned embodiments will not be repeated here. see figure 2 , the method provided in this embodiment includes:
[0043] S201. Invoking a startup command in the local operating system, where the startup command is used to send a locally predefined target barrage message containing client package name information based on broadcasting.
[0044] S202. Call the context acquisition function of the application class to acquire the context ...
Embodiment 3
[0072] image 3 A structural block diagram of a device for distributing barrage messages provided by Embodiment 3 of the present invention, the device can be implemented by means of software and / or hardware, such as image 3 As shown, the device includes: a target bullet chat message receiving module 310 , a bullet chat protocol object construction module 320 and a bullet chat protocol object distribution module 330 .
[0073] Wherein, the target barrage message receiving module 310 is configured to receive a locally predefined target barrage message containing client package name information;
[0074] Bullet chat protocol object construction module 320, is used for splicing described target bullet chat message, and constructs character string object as bullet chat agreement object according to the target bullet chat message that splicing completes;
[0075] The bullet chat protocol object distribution module 330 is configured to send the bullet chat protocol object to the in...
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