Bullet screen data checking method, bullet screen data checking device, terminal and storage medium

A verification method and data technology, applied in the field of bullet screens, can solve problems such as affecting the efficiency of bullet screen testing, verification of bullet screen data, and client system crashes.

Active Publication Date: 2019-02-15
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 abnorma

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
  • Bullet screen data checking method, bullet screen data checking device, terminal and storage medium
  • Bullet screen data checking method, bullet screen data checking device, terminal and storage medium
  • Bullet screen data checking method, bullet screen data checking device, terminal and storage medium

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 bullet screen data checking method, a bullet screen data checking device, a terminal and a storage medium. The method comprises the steps of: obtaining thetarget bullet screen data of a pre-set character string structure; calling a character verification function in a bullet screen data object storing the target bullet screen data, and performing character verification on the first character and the last character in the target bullet screen data; if character verification is successful, calling a character string conversion function in the bullet screen data object, and converting the target bullet screen data to the target character array; and, traversing character elements in the target character array, determining the number of pre-set characters in the target bullet screen data, and, when the number satisfies the pre-set checking condition, determining that the target bullet screen data check is successful. By means of the technical scheme in the embodiment of the invention, integrity checking on the bullet screen data can be carried out; therefore, the bullet screen data can be normally analyzed; and the problems, such as the system breakdown of a client side, are avoided.

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