Characteristic extraction method and device of character string, program product and electronic equipment
By identifying keywords and delimiters of multiple programming languages, and grouping them to generate score matrix according to context types, determining the target programming language and context types, the problem of character string feature extraction errors in the prior art is solved, and the computer system is improved Security.
Patent Information
- Application Number
- CN202411365386.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-27
- Publication Date
- 2024-12-20
AI Technical Summary
When the prior art performs feature extraction of character strings written in interpreted programming languages, it is impossible to effectively identify separators and lexical rules of different programming languages, resulting in errors in word segmentation results, which in turn affects the security of the computer system.
Through the first rule, word segmentation is used to identify keywords and Q delimiters of N programming languages, and words are grouped according to M context types, score matrix is generated, and target programming language and context types are determined, thereby performing Feature extraction.
Improve the accuracy of string feature extraction, avoid attackers from using wrong features to bypass security detection, and enhance system security.
Smart Images

Figure CN119166864A_ABST
