Unlock instant, AI-driven research and patent intelligence for your innovation.

String processing method and device

A processing method and string technology, applied in the Internet field, can solve problems such as time-consuming, no solution proposed, slow calculation speed of effective character ratio, etc., and achieve the effect of improving the ratio calculation speed

Active Publication Date: 2018-11-06
BEIJING GRIDSUM TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, most watering posts are long in length and may contain tens of thousands or even hundreds of thousands of characters, which makes the process of traversing the entire string time-consuming, and the calculation of the proportion of valid characters is slow, which in turn leads to the identification of watering posts. Low
[0004] For the above problems, no effective solution has been proposed

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
  • String processing method and device
  • String processing method and device
  • String processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiment of the application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiment of the application. Obviously, the described embodiment is only It is an embodiment of a part of the application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the scope of protection of this application.

[0022] It should be noted that the terms "first" and "second" in the description and claims of the present application and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such...

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 invention discloses a character string processing method and device. The method comprises the following steps: obtaining a target character string; randomly selecting a preset quantity of characters on the target character string; determining the effective characters from the selected preset quantity of characters by utilizing a preset effective character set, and counting the quantity of the effective characters; and selecting the proportion of the effective characters in the selected preset quantity of characters according to a preset quantity and the quantity of the effective characters, and taking the proportion as the proportion of the effective characters in the target character string. According to the character string processing method and device, the technical problem that the calculation of the proportion of the effective characters in the character strings of spamming is low in speed is solved.

Description

technical field [0001] The present application relates to the Internet field, in particular, to a method and device for processing character strings. Background technique [0002] In the Internet field, before analyzing network data, it is necessary to crawl a large amount of data from the Internet, such as forums, Weibo and other data. In the text of forum posts, many links are often maliciously injected, and the number may reach thousands or even tens of thousands, which is called flooding posts. This kind of forum may have the entire board occupied by irrigation posts, and it is constantly updated every day. After these flooding posts are crawled, the efficiency of parsing will be greatly reduced in the process of parsing the content of the forum posts. Therefore, it is necessary to find out the flooding posts and remove them. [0003] At present, the identification of irrigation posts is usually: given the effective character set, traverse the strings in the entire pos...

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): G06F17/30
CPCG06F16/90344
Inventor 石岱曦何鑫
Owner BEIJING GRIDSUM TECH CO LTD