Method for sending bullet screen message, server, system, and storage medium

A server cache, server technology, applied in selective content distribution, image communication, electrical components, etc., can solve the problems of slowing down the test speed and development efficiency, unable to realize the active triggering of bullet screen messages, etc., to improve the test speed and development efficiency. , the effect of reducing processing pressure and reducing concurrency

Active Publication Date: 2018-11-16
WUHAN DOUYU NETWORK TECH CO LTD
View PDF8 Cites 16 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
  • Method for sending bullet screen message, server, system, and storage medium
  • Method for sending bullet screen message, server, system, and storage medium
  • Method for sending bullet screen message, server, system, and storage medium

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 method for sending a bullet screen message, a server, a system, and a storage medium. The method comprises the steps that the server receives a bullet screen message request sent by a webpage terminal, wherein the bullet screen message request comprises a target bullet screen message and target client information; the server caches the target bullet screen message, and detects whether to receive an empty data packet sent by a target client or not according to the target client information, wherein all clients build socket word length connection withthe server in advance; the server adds the target bullet screen message to the empty data packet to generate a response packet when the empty data packet is received; the server transmits the responsepacket to the target client according to a target socket word object corresponding to the target client. According to the technical scheme of the embodiment of the invention, the method can achieve the active triggering of the bullet screen message, improves the transmission speed and development efficiency, reduces the concurrence quantity of the server, and alleviates the processing pressure ofthe 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 Applications(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