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

Method and device for verifying barrage data and terminal

A data and barrage technology, which is applied in digital data processing, special data processing applications, natural language data processing, etc. It can solve problems such as affecting the efficiency of barrage testing, errors in the testing process of barrage, and verification of barrage data.

Active Publication Date: 2019-02-15
WUHAN DOUYU NETWORK TECH CO LTD
View PDF6 Cites 2 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
  • Method and device for verifying barrage data and terminal
  • Method and device for verifying barrage data and terminal
  • Method and device for verifying barrage data and terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0030] 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

[0065] figure 2 It is a flow chart of a verification method for barrage data provided by Embodiment 2 of the present invention. On the basis of the above embodiment, this embodiment performs character splicing on every two adjacent character elements in the target character array. , determine each concatenated string object, and respectively call the identifier lookup function in each concatenated string object, and determine the number of preset separators and preset connectors in the target bullet chat data" was optimized. The explanations of terms that are the same as or corresponding to the above-mentioned embodiments will not be repeated here.

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

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

[0068] Among them, the preset character string structure is: use the preset start character as the first character, d...

Embodiment 3

[0100] image 3 A schematic structural diagram of a barrage data verification device provided in Embodiment 3 of the present invention. This embodiment is applicable to the case of performing integrity verification on barrage data with a preset character string structure. The device may specifically include : target barrage data acquisition module 310, character verification module 320, target character array determination module 330, preset identifier quantity determination module 340 and preset identifier quantity verification module 350.

[0101] Among them, the target bullet chat data acquisition module 310 is used to obtain the target bullet chat data of the preset character string structure; the character verification module 320 is used to call the character verification function in the bullet chat data object storing the target bullet chat data, and to The first character and the last character in the bullet chatting data carry out character verification; The target cha...

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 a method and a device for verifying barrage data and a terminal. The method comprises: acquiring target barrage data of a preset character string structure; calling a character verification function in a barrage data object storing the target barrage data, and performing character verification on the first character and the last character in the target barrage data; if the character verification succeeds, calling a character string conversion function in the barrage data object to convert the target barrage data into a target character array; performing character splicing on each preset number of adjacent character elements in the target character array, determining each spliced character string object, and calling an identifier search function ineach spliced character string object respectively to determine a number of preset identifiers in the target barrage data; and if the number of preset identifiers satisfies a preset verification condition, determining that the verification of the target barrage data succeeds. Through the technical solution, the integrity of the barrage data can be verified to avoid the problems of system crash andthe like on 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 and terminal 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 sends the constructe...

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/488G06F17/22
CPCG06F40/126H04N21/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