Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A verification method, device, terminal and storage medium for barrage data

A verification method and data technology, applied in the field of bullet screen, can solve the problems of client system crash, error in the test process of bullet screen, verification of bullet screen data, etc.

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

AI Technical Summary

Problems solved by technology

[0004] It can be seen that neither the server nor the client has performed any verification on the bullet chat data during the existing bullet chat data sending process and receiving process, so when there is an abnormality in the bullet chat data, it will cause the bullet chat test process to appear. errors, and even lead to problems such as system crashes on the client side, seriously affecting the efficiency of barrage testing

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 verification method, device, terminal and storage medium for barrage data
  • A verification method, device, terminal and storage medium for barrage data
  • A verification method, device, terminal and storage medium for barrage data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0030]figure 1 A flow chart of a check method for a barrage data provided by the embodiment of the present invention, the present embodiment can be applied to integrity checking of the barrage data of the preset string structure containing two preset identifiers. The case, especially after generating the barrage data in the bucket server, in accordance with the preset bulk protocol, in the application scenario of the generated barrage data, can also be used in the Android client to the barrage server The issued barrage data is checked in the application scenario. The method can be performed by the calibration device of the barrage data, which can be implemented by software and / or hardware, which can be integrated into a lacket server or a terminal with the bracket function of the Android system, such as intelligence. Smart terminals such as mobile phones, tablets, smart TVs or laptops. Such asfigure 1 As shown, the method specifically includes the following steps:

[0031]S110, obtai...

Embodiment 2

[0058]figure 2 A flow chart of a verification method of a barrage data provided by the second embodiment of the present invention, on the basis of the above embodiment, the preset string structure is "as the first character of the preset start character, The first preset identifier divides the key value pairs of information, with the key information and value information of the second preset identifier connection key value to the key information and value information of the preset end character as the target bulk data of the last character. The test process has been described in detail, and the number of second preset identifiers in the target barcation data is determined by the loop check. The explanation of the same or corresponding terms as those of the above embodiments will not be described herein.

[0059]Seefigure 2 The verification method of the barrage data provided in this embodiment includes the following steps:

[0060]S210, get the target barrage data for the preset string st...

Embodiment 3

[0093]image 3 A structural diagram of the calibration device of the bucket data provided in the third embodiment of the present invention, the present embodiment can be applied to the case of integrity checking the barrage data of the preset string structure, which can include : The target barcute data acquisition module 310, the character verification module 320, the string array determination module 330, the preset identifier number determining module 340, and the preset identifier number check module 350.

[0094]Among them, the target barrage data acquisition module 310 is used to obtain the target barrage data of the preset string structure, wherein the preset string structure includes a first preset identifier and a second preset identifier; character verification module 320 Used to invoke the character verification function in the barrage data object in which the target barbite data is stored, the first character and the last character in the target barbound data are verified; t...

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 present invention discloses a method, device, terminal and storage medium for verifying barrage data. The method includes: acquiring target barrage data with a preset character string structure; calling a barrage data object that stores target barrage data The character verification function in the target bullet chat data performs character verification on the first character and the last character in the target bullet chat data; if the character verification is successful, the string segmentation function in the bullet chat data object is called to convert the target bullet chat data into the first preset Set the identifier to divide and determine the string array; according to the array information of the string array, determine the first preset identifier number and the second preset identifier number in the target barrage data; if the first preset identifier number and the second preset number of identifiers satisfy the preset verification condition, it is determined that the verification of the target barrage data is successful. Through the technical solution of the embodiment of the present invention, the integrity check can be performed on the barrage data, thereby ensuring that the barrage data can be parsed normally.

Description

Technical field[0001]Embodiments of the present invention relate to the field of bulk technology, and more particularly to a check method, apparatus, terminal, and storage medium of barrage data.Background technique[0002]With the rapid development of intelligent terminals, various applications are developed to be applied to intelligent terminals. Some applications such as live software, video playback software often have barrage functions such as barrage reception, parsing, and push. During the development of these applications, the barrage data issued by the server is needed to determine if the barrage function is operating normally.[0003]At present, based on the application software development of the Android operating system, the server is often issued directly to the client directly according to the preset barrage protocol, and the bucket data is used directly to the client, and the client is receiving the barrage data. When it is also parsing and distributing the barrage data d...

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/488G06F16/73G06F40/117G06F40/205G06F40/279
CPCG06F40/117G06F40/205G06F40/279H04N21/4884
Inventor 张磊
Owner WUHAN DOUYU NETWORK TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products