Rapid matching identification method and device based on character strings
A recognition method and string technology, applied in the computer field, can solve problems such as computational waste, and achieve the effect of simplifying the degree of redundancy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0065] Embodiment 1 of the present invention provides a fast matching recognition method based on character strings, which is applicable to various occasions involving character string matching to obtain target matching results, especially when character strings also contain dynamically changing one or more character bits , for example, when performing application identification and malicious traffic analysis on network data packets in the DPI technology, there will be a situation where the specific character bits in the above string will change dynamically. Such as figure 1 As shown, the method includes the following steps:
[0066] In step 201, it is determined that there are one or more dynamically changing character bits in the character string and static character bits in the corresponding character string.
[0067] In a specific implementation manner, the determination of one or more character bits that dynamically change in the character string may be performed in mult...
Embodiment 2
[0085] After Embodiment 1 of the present invention has demonstrated a relatively complete string mapping library structural feature, the embodiment of the present invention starts from the method of how to add a new string and its array array in the existing string mapping library process. Before the specific description of the embodiment of the present invention, it is assumed that the first character string has been stored in the character string mapping library. At this time, the newly added second character string is imported into the character string mapping library, such as Figure 5 As shown, the method specifically includes:
[0086] In step 301, for a first character string and a second character string having the same initial character, the first-level array of the first character string is multiplexed to the second character string.
[0087] The character string A and the character string B introduced in Embodiment 1 are respectively used as the first character str...
Embodiment 3
[0092] Introduced the character mapping library architecture proposed by the present invention through embodiment 1, and demonstrated how to generate its character mapping for a new string in the character mapping library architecture proposed in the embodiment of the present invention through embodiment 2 Array of arrays of procedures in the library. Embodiment 3 of the present invention further explains in detail how to obtain a third character string in the process of using the character mapping library and how to complete the process of obtaining the target matching result through the character mapping library architecture proposed in the embodiment of the present invention. Such as Figure 9 As shown, the process includes the following steps:
[0093] In step 401, according to the content of the first character of the third character string, match the record information in the first-level array with the content of the first character of the third character string in the ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


