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

Integrity checking method and device for bullet screen data, terminal and memory medium

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

Active Publication Date: 2019-03-01
WUHAN DOUYU NETWORK TECH CO LTD
View PDF9 Cites 1 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 checking method and device for bullet screen data, terminal and memory medium
  • Integrity checking method and device for bullet screen data, terminal and memory medium
  • Integrity checking method and device for bullet screen data, terminal and memory medium

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 flow chart 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-mentioned 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...

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 embodiments of the invention disclose integrity checking method and device for bullet screen data, a terminal and a memory medium. A method comprises the steps of converting target bullet screen data of a preset character string structure into a target character array, and taking a first character element in the target character array into a current character element; detecting whether the current character element is a preset separator or not, taking a current end position as a current start position if the current character element is the preset separator, taking a position of the current character element as the current end position, and checking a first character string between the current start position and the current end position; if the current character element is not the preset separator, or the first character string is checked successfully, when the current character element is not the final character element in the target character array, updating the current characterelement, and returning to execute operation of detecting whether the current character element is the preset separator or not; and determining that the target bullet screen data is checked successfully when the current character element is the final character element, and carrying out integrity checking on the bullet screen 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 Applications(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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products