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.

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

AI Technical Summary

Problems solved by technology

However, during the debugging process, the C++ barrage server is often unstable or cannot receive barrage messages due to network reasons, which will lead to very difficult debugging of the entire process and seriously prolong the debugging time period
At the same time, since the entire debugging process relies on the triggering of network messages, the debugging process must wait for the development of the background C++ server to be processed, which will also lead to delays in the front-end development cycle and other issues

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
  • A method, device, terminal and storage medium for distributing local barrage messages
  • A method, device, terminal and storage medium for distributing local barrage messages
  • A method, device, terminal and storage medium for distributing local barrage messages

Examples

Experimental program
Comparison scheme
Effect test

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...

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 local bullet screen message distribution method, device, terminal and storage medium. The method comprises the following steps: receiving locally predefinedtarget bullet screen messages including client packet name information; splicing the target bullet messages, and then constructing a character string object as a bullet screen protocol object according to the completely spliced target bullet screen message; sending the bullet screen protocol object to an interaction interface of the local client and the bullet screen server so as to be distributed. By adopting the technical scheme disclosed by the invention, the dependency on the C++ server is avoided in the debugging process of the bullet screen information at local, the development efficiency is greatly improved, and the whole debugging flow is more convenient.

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 storage medium for distributing local bullet chatting messages. 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. In order to ensure the experience of the barrage function, it is necessary to debug the barrage message during the front-end development process to ensure the user experience of the barrage in the later display process. [0003] The debugging of the bullet chat in the traditional solution needs to send bullet chat me...

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/235H04N21/25H04N21/488H04N21/81
CPCH04N21/235H04N21/25H04N21/4884H04N21/8126
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