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

A technology of integrity verification and data, which is applied in the direction of electronic digital data processing, digital data information retrieval, special data processing applications, etc., can solve problems such as client system crashes, affecting the efficiency of barrage testing, and errors in the barrage testing process , to avoid system crashes and improve the efficiency of barrage testing

Active Publication Date: 2021-04-27
WUHAN DOUYU NETWORK TECH CO LTD
View PDF9 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
  • Integrity verification method, device, terminal and storage medium for barrage data
  • Integrity verification method, device, terminal and storage medium for barrage data
  • Integrity verification method, device, terminal and storage medium for barrage data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0033] figure 1 It is a flowchart of a method for verifying the integrity of bullet chat data provided by Embodiment 1 of the present invention. This embodiment is applicable to bullet chat data with a preset string structure including preset separators and preset connectors Integrity verification, especially in the application scenario where the bullet chat data is generated according to the preset bullet chat protocol in the bullet chat server, and the generated bullet chat data is verified, and it can also be used in the Android client In the application scenario where the bullet chat data delivered by the bullet chat server is verified. The method can be performed by a device for verifying the integrity of the barrage data, the device 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, For example, intelligent terminals such as smart phones, tablet computers, smart...

Embodiment 2

[0058] figure 2 It is a flowchart of a method for verifying the integrity of bullet chatting data provided by Embodiment 2 of the present invention. On the basis of the above embodiments, this embodiment "checks the distance between the current start position and the current end position in the target bullet chat data." The first string of the "check the number of preset connectors" has been optimized. The explanations of terms that are the same as or corresponding to those in the foregoing embodiments are not repeated here.

[0059] see figure 2 The method for verifying the integrity 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 informatio...

Embodiment 3

[0085] image 3 It is a flowchart of a method for verifying the integrity of barrage data provided by Embodiment 3 of the present invention. This embodiment is optimized on the basis of the above embodiments: "After the preset number of connectors meets the preset verification conditions , also includes: obtaining the target connection position of the preset connector in the first string; calling the second string extraction function in the string object storing the first string, and extracting the first string according to the target connection position Target value information; if it is detected that the target value information is not empty data, it is determined that the verification of the first string is successful.". The explanations of terms that are the same as or corresponding to the above-mentioned embodiments will not be repeated here.

[0086] see image 3 The method for verifying the integrity of the barrage data provided in this embodiment includes the followi...

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 checking the integrity of bullet chat data. The method includes: converting the target bullet chat data with a preset character string structure into a target character array, and The first character element in the array is used as the current character element; check whether the current character element is a preset delimiter, if so, use the current end position as the current start position, and use the position of the current character element as the current end position, for the current start Check the first character string between the position and the current end position; if not, or if the first character string is verified successfully, then if the current character element is not the last character element in the target character array, update the current character element, and Returns the operation of detecting whether the current character element is a preset separator; when the current character element is the last character element, it is determined that the verification of the target bullet chat data is successful, so as to perform an integrity check on the bullet chat data.

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 checking the integrity of 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 oft...

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/235H04N21/435H04N21/4788G06F16/9032
CPCH04N21/235H04N21/435H04N21/4788
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