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
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Publication Date
- 2019-02-01
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
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...
Examples
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...