A method, server, system and storage medium for delivering barrage messages

A server and message technology, applied in the fields of selective content distribution, image communication, electrical components, etc., can solve the problems such as the inability to realize the active triggering of barrage messages, reduce the test speed and development efficiency, and improve the test speed and development efficiency. The effect of reducing processing pressure and reducing concurrency

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

AI Technical Summary

Problems solved by technology

It can be seen that in the existing application software development, the sending operation of bullet chat messages can only be passively triggered by sending multiple bullet chat requests from the client to the server, but the active triggering of bullet chat messages cannot be realized, thus reducing the test speed and development efficiency

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, server, system and storage medium for delivering barrage messages
  • A method, server, system and storage medium for delivering barrage messages
  • A method, server, system and storage medium for delivering barrage messages

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0026] figure 1 It is a flow chart of a method for delivering a barrage message provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation where the target barrage message sent by the webpage is sent to the target client, especially for android-based The scenario of delivering barrage messages in the live broadcast software developed by the operating system can also be used in other application scenarios that need to deliver barrage messages. The method can be executed by a server in the barrage distribution system, and specifically includes the following steps:

[0027] S110. The server receives a bullet chat message request sent by the webpage, where the bullet chat message request includes target bullet chat message and target client information.

[0028] Wherein, the web page end may refer to a front end that sends a barrage message request to a server through a web page. The target bullet chat message refers to the bullet chat mess...

Embodiment 2

[0060] figure 2 It is a schematic structural diagram of a server provided by Embodiment 2 of the present invention. This embodiment is applicable to the situation where the target barrage message sent by the webpage is sent to the target client. The server includes: a barrage message request receiving module 210, Target barrage message cache module 220 , response packet generation module 230 and response packet delivery module 240 .

[0061] Wherein, the bullet chat message request receiving module 210 is used to receive the bullet chat message request sent by the web page, wherein the bullet chat message request includes the target bullet chat message and target client information; the target bullet chat message caching module 220 is used to cache the target bullet chat message Barrage message, and detect whether to receive the empty data packet that target client sends according to target client information, wherein each client establishes socket long connection with server...

Embodiment 3

[0077] image 3 A schematic structural diagram of a barrage message delivery system provided by Embodiment 3 of the present invention, as shown in image 3 As shown, the system includes: a web page 310 , a server 320 and a client 330 .

[0078] Wherein, the server 320 is used to implement the bullet chat message delivery method as in any embodiment of the present invention; the webpage terminal 310 establishes a connection with the server 320, and is used to generate a bullet chat message request according to the target client information and the target bullet chat message, and send the bullet chat message to The server 320 sends a barrage message request; the client 330 establishes a socket long connection with the server 320 to detect whether the response packet sent by the server 320 is an empty response packet, and performs a test according to the detection result.

[0079] The working process of the barrage message delivery system in this embodiment is as follows:

[00...

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 barrage message delivery method, server, system and storage medium. The method includes: the server receives a barrage message request sent by the webpage, wherein the barrage message request includes target barrage message and target client information; the server caches the target barrage message, and detects whether the target client is received according to the target client information Each client establishes a long socket connection with the server in advance; when receiving the empty data packet, the server adds the target barrage message to the empty data packet to generate a response packet; the server generates a response packet according to the target client The corresponding target socket object sends the response packet to the target client. The technical solution of the embodiment of the present invention can realize the active triggering of the barrage message, improve the delivery speed and development efficiency, reduce the concurrent amount of the server, and reduce the processing pressure of the server.

Description

technical field [0001] The embodiments of the present invention relate to software development technology, and in particular to a method, server, system and storage medium for delivering barrage messages. Background technique [0002] With the rapid development of smart terminals, various application software are developed and applied to smart terminals. Some application software such as live broadcast software and video playback software often have a barrage function, that is, barrage messages can be displayed on the display interface. In the process of developing these application software, it is necessary to conduct relevant tests on the barrage message to determine whether the barrage function is operating normally. [0003] At present, in the development of application software based on the android operating system, the server often sends barrage messages to the client through conventional business logic. For example, if the test bullet chat message is a message that ...

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/266H04N21/262H04N21/4782H04N21/65H04N21/4788
CPCH04N21/262H04N21/266H04N21/4782H04N21/4788H04N21/65
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