Method for realizing rapid matching of strategies
A strategy and fast technology, applied in the field of computer security, can solve problems such as network packet policy matching, and achieve the effect of easy hit matching
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0050] The embodiment of the present invention provides a method for quickly matching policies, combining figure 1 look, figure 1 It is a schematic flow chart of the method for implementing quick matching of policies provided by the present invention. The above-mentioned method for implementing quick matching of policies includes steps S1 to S6, wherein:
[0051] In step S1, acquire policy information of network equipment;
[0052] In step S2, divide the policy information into at least one dimension information, and obtain the root node of at least one dimension information;
[0053]In step S3, it is judged whether at least one dimension information satisfies the first preset condition, and if so, the mask format corresponding to at least one dimension information is read;
[0054] In step S4, according to the mask format and the root node corresponding to at least one dimension information, a mask binary tree corresponding to at least one dimension information is establish...
Embodiment 2
[0126] The embodiment of the present invention provides a device for realizing rapid policy matching, combining Figure 8 look, Figure 8 The device for realizing quick policy matching provided by the present invention, the above-mentioned device 800 for realizing quick policy matching includes:
[0127] An acquiring unit 801, configured to acquire policy information of a network device;
[0128] The processing unit 802 is configured to divide the policy information into at least one dimensional information, and obtain the root node of at least one dimensional information; it is also used to judge whether at least one dimensional information satisfies a first preset condition, and if so, read at least one The mask format corresponding to the dimension information; it is also used to establish a mask binary tree corresponding to at least one dimension information according to the mask format and root node corresponding to at least one dimension information; it is also used to ...
Embodiment 3
[0131] An embodiment of the present invention provides a device for implementing fast matching of policies, including a processor and a memory, and a computer program is stored in the memory. When the computer program is executed by the processor, the method for realizing fast matching of policies as described above is implemented.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


