Barrage verification method, device, terminal and storage medium based on character segmentation

A character segmentation and verification method technology, applied in character and pattern recognition, instruments, computer parts, etc., can solve the problems of barrage test process errors, client system crashes, affecting the efficiency of barrage testing, etc., to improve the test Efficiency, the effect of avoiding system crashes

Active Publication Date: 2019-02-01
WUHAN DOUYU NETWORK TECH CO LTD
View PDF14 Cites 6 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
  • Barrage verification method, device, terminal and storage medium based on character segmentation
  • Barrage verification method, device, terminal and storage medium based on character segmentation
  • Barrage verification method, device, terminal and storage medium based on character segmentation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0031] figure 1 It is a flow chart of a bullet chat verification method based on character segmentation 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 bullet chat verification device based on character segmentation, which can be implemented by software and / or hardware, and can be integrated into a bullet chat server or a terminal with a bullet chat function equipped with an Android system, For example, intelligent terminals such as smart phones...

Embodiment 2

[0063] figure 2 It is a flow chart of a bullet chat verification method based on character segmentation provided by Embodiment 2 of the present invention. On the basis of the above embodiment, this embodiment verifies the target bullet chat data of the second preset character string structure The process is described in detail. The explanations of terms that are the same as or corresponding to the above-mentioned embodiments will not be repeated here.

[0064] see figure 2 , the bullet chat verification method based on character segmentation provided in this embodiment includes the following steps:

[0065] S210. Obtain the target barrage data of the second preset character string structure.

[0066] Wherein, the second preset character string structure is: use the preset start character as the first character, divide the key-value pair information with the preset separator, and connect the key information and value information in the key-value pair information with the p...

Embodiment 3

[0101] Figure 4 A schematic structural diagram of a bullet chat verification device based on character segmentation provided by Embodiment 3 of the present invention. This embodiment is applicable to the case of performing integrity check on bullet chat data with a preset character string structure. The device specifically It may include: a target bullet chat data acquisition module 410 , a character verification module 420 , a first string array determination module 430 , a second string array determination module 440 and a target bullet chat data verification module 450 .

[0102] Among them, the target barrage data acquisition module 410 is used to acquire the target barrage data of the preset character string structure, wherein the target barrage data includes preset separators and preset connectors; the character verification module 420 is used to call the stored target The character verification function in the bullet chat data object of the bullet chat data, carries ou...

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 barrage verification method, a device, a terminal and a storage medium based on character segmentation. The method comprises the following steps of: acquiring target barrage data of a preset string structure; The character verification function is called to verify the character of the target barrage data. If the character verification is successful, thecharacter string segmentation function is called, the target barrage data is segmented with a preset separator, the first character string array is determined, and each first character string elementin the first character string array is stored in a corresponding character string object. Calling a string splitting function in each string object, splitting each first string element with a preset connector, and determining each second string array; If the array length of each second string array satisfies the preset check condition, it is determined that the target barrage data check is successful. Through the technical proposal of the embodiment of the invention, the integrity of the projectile screen data can be checked, thereby ensuring that the projectile screen data can be normally analyzed.

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 based on character segmentation. 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 proto...

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): G06K9/34
CPCG06V30/153G06V10/267
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