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

A verification method and data technology, applied in the field of barrage, can solve the problems of client system crash, affecting the efficiency of barrage testing, and errors in the barrage test process, so as to avoid system crashes and improve the efficiency of barrage testing.

Active Publication Date: 2021-04-27
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

[0004] It can be seen that neither the server nor the client has performed any verification on the bullet chatting data during the existing process of sending and receiving bullet chatting data, so when there is an abnormality in the bullet chatting data, it will cause the bullet chatting 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

[0029] figure 1 It is a flow chart of a verification method for bullet chat data provided by Embodiment 1 of the present invention. This embodiment is applicable to the case of performing integrity verification on bullet chat data with a preset string structure, especially for bullet chat data. After the bullet chat data is generated in the bullet chat server according to the preset bullet chat protocol, the generated bullet chat data is verified in the application scenario, and it can also be used in the Android client to verify the bullet chat data sent by the bullet chat server in the tested application scenarios. The method can be performed by a verification device for barrage data, which can be implemented by software and / or hardware, and can be integrated in a barrage server or a terminal with a barrage function equipped with an Android system, such as a smart Smart terminals such as mobile phones, tablets, smart TVs, or laptops. The method specifically includes the fo...

Embodiment 2

[0058] figure 2 It is a flow chart of a method for verifying barrage data provided by Embodiment 2 of the present invention. On the basis of the above-mentioned embodiments, this embodiment provides a method for "determining the target barrage by looping through the character elements in the target character array." The number of preset delimiters and the number of preset joiners in the data" has been optimized. The explanations of terms that are the same as or corresponding to the above-mentioned embodiments will not be repeated here.

[0059] see figure 2 , the verification method of the barrage data provided in this embodiment includes the following steps:

[0060] S210. Obtain target barrage data with a preset character string structure.

[0061] Among them, the preset character string structure is: use the preset start character as the first character, divide each key-value pair information with the preset separator, connect the key information and value information ...

Embodiment 3

[0081] image 3 It is a flow chart of a verification method for bullet chat data provided by Embodiment 3 of the present invention. This embodiment is optimized on the basis of the above-mentioned embodiments: "Before calling the string conversion function in the bullet chat data object, It also includes: calling the character extraction function in the bullet chat data object, extracting the character information between the first character and the last character in the target bullet chat data, and determining the extracted character information as the first bullet chat data". On this basis, "call the string conversion function in the bullet chat data object to convert the target bullet chat data into the target character array" has been further optimized. The explanations of terms that are the same as or corresponding to the above-mentioned embodiments will not be repeated here.

[0082] see image 3 , the verification method of the barrage data provided in this embodiment...

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 verification method, device, terminal and storage medium of barrage data. The method includes: obtaining target bullet chat data with a preset character string structure; calling a character verification function in the bullet chat data object storing the target bullet chat data, and performing character verification on the first character and the last character in the target bullet chat data; If the character verification is successful, call the string conversion function in the bullet chat data object to convert the target bullet chat data into the target character array; traverse the character elements in the target character array to determine the preset characters in the target bullet chat data Quantity, and when the quantity satisfies the preset verification conditions, 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 of the bullet chat data can be performed, so as to ensure that the bullet chat data can be parsed normally, and avoid problems such as system crash of the client.

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 verifying bullet chatting data. 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 bullet chatting functions such as bullet chatting reception, analysis, and push. In the process of developing these application software, it is necessary to conduct relevant tests on the bullet chatting data sent by the server to determine whether the bullet chatting function is operating normally. [0003] At present, in the development of application software based on the Android operating system, after the server constructs the bullet chat data according to the preset bullet chat protocol, it often directly send...

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/488H04N21/443H04N21/254
CPCH04N21/254H04N21/443H04N21/4884
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