Rule matching method and device
A rule and device technology, applied in the field of network security, can solve problems such as large memory usage, skyrocketing number of state machines, and slow matching speed
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0085] The rule system can be divided into two parts: rule set and rule engine. Among them, the rule set contains multiple rules, each rule contains multiple identification features, and one or more logical constraint relationships are allowed between the identification features in each rule, especially for character string features, multiple characters in the rule There can be a logical AND relationship between the strings, which is used to indicate that multiple strings must all match successfully; there can also be a logical or relationship, which means that any string can be matched successfully; there can also be a mixed relationship of logical and and logical or. Wherein, the character string feature may also be called a pattern string from the perspective of character matching.
[0086] The current mainstream rule system is to use all pattern strings according to the flow direction defined by the matching rules (including but not limited to: message request direction re...
Embodiment 2
[0263] Based on the same inventive concept, the embodiment of the present invention also provides a device for rule matching. Since the device is the device in the method in the embodiment of the present invention, and the problem-solving principle of the device is similar to the method, the For the implementation of the equipment, refer to the implementation of the method, and repeated descriptions will not be repeated.
[0264] Such as Figure 10 As shown, the device includes a processor 1000 and a memory 1001, the memory is used to store a program executable by the processor, and the processor is used to read the program in the memory and perform the following steps:
[0265] Determine the pattern string contained in at least one rule in the rule set;
[0266] Splitting the set of rules into a plurality of subsets, wherein at least one subset includes a first rule, and the first rule is a rule including at least one non-logical AND pattern string; any subset includes a secon...
Embodiment 3
[0285] Based on the same inventive concept, the embodiment of the present invention also provides a device for rule matching. Since the device is the device in the method in the embodiment of the present invention, and the problem-solving principle of the device is similar to the method, the For the implementation of the device, reference may be made to the implementation of the method, and repeated descriptions will not be repeated.
[0286] Such as Figure 11 As shown, the device includes:
[0287] A determining unit 1100, configured to determine a pattern string contained in at least one rule in the rule set;
[0288] A splitting unit 1101, configured to split the set of rules into multiple subsets, wherein at least one of the subsets includes a first rule, and the first rule is a rule including at least one non-logical AND pattern string; any sub-set the set includes a second rule, the second rule being a rule comprising a pattern string of at least one logical AND relat...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com