Searching method and device for five-tuple rule
A quintuple and rule technology, applied in the field of communication, can solve the problems of low efficiency, reduce the search efficiency of quintuple rules, and take a long time for quintuple rules, so as to achieve the effect of improving efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0026] Figure 1C It is a flowchart of a search method for a quintuple rule provided by Embodiment 1 of the present invention. This embodiment is applicable to the search of various quintuple rules. The method can be provided by the quintuple The search device of the rule can be implemented, the device can be implemented in software and / or hardware, and the device can be integrated in any device that provides the search function of the quintuple rule, for example, it can be a computer, such as Figure 1C shown, including:
[0027] S110. Use the five-tuple to be processed, the first preset rule base, and the address of the search node as a set of information to be searched, and determine multiple sets of information to be searched.
[0028] Wherein, the quintuple to be processed refers to the quintuple information that needs to find the quintuple rule, and is the transmission information in binary format extracted from the data packet. Since the quintuple rule base includes m...
Embodiment 2
[0044] figure 2 A flow chart of searching for a quintuple rule provided by Embodiment 2 of the present invention. This embodiment is optimized on the basis of the above-mentioned embodiments, and provides an optimized processing method for determining the search result according to the address of the current search node. Specifically yes:
[0045] Correspondingly, the method of this embodiment includes:
[0046] S210. Taking the five-tuple to be processed, the first preset rule base, and the address of the search node as a set of information to be searched, and determining multiple sets of information to be searched.
[0047] S220. According to the sequentially received search commands, use the information to be searched as the current search information, and start a search operation in parallel.
[0048] S230. Determine whether the first node address in the first preset rule base is valid according to the currently searched node address.
[0049] Wherein, judging whether ...
Embodiment 3
[0072] image 3 A schematic structural diagram of a search device for quintuple rules provided by Embodiment 3 of the present invention. This embodiment is applicable to search situations of various quintuple rules, and the device can be realized by software and / or hardware , the device can be integrated in any device that provides the search function of the quintuple rule, for example, it can be a computer, such as image 3 As shown, it specifically includes: an information to be searched determination module 31 , a search result determination module 32 and a search end module 33 .
[0073] The information to be searched determining module 31 is used to use the five-tuple to be processed, the first preset rule base and the search node address as a set of information to be searched, and determine multiple sets of the information to be searched;
[0074] The search result determining module 32 is configured to use the information to be searched as the current search informatio...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


