Multi-domain flow table multi-level method and device, and multi-level flow table search method and device
A flow table and matching domain technology, applied in digital transmission systems, electrical components, transmission systems, etc., can solve problems such as high resource requirements, rough flow table feature extraction, and affecting algorithm space complexity.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0049] In order to solve the technical problems existing in the background technology, an embodiment of the present invention provides a method for multi-leveling a multi-domain flow table, which is applied to a multi-leveling device for a multi-domain flow table, figure 1 It is a schematic diagram of the implementation flow of a multi-level method for a multi-domain flow table in an embodiment of the present invention, as shown in figure 1 As shown, the method includes:
[0050] Step S101, generating flow tables from level 1 to level m according to the determined parameter α and attribute information of the multi-domain flow table;
[0051] Here, m is a natural number greater than 1 and less than or equal to N, and at least one matching domain value is included in the first to mth level flow tables; the multi-domain flow table includes at least one rule and the forwarding action corresponding to the at least one rule , the rule includes matching domain values of N matching...
Embodiment 2
[0073] Based on the aforementioned embodiments, this embodiment of the present invention provides a method for converting a multi-domain flow table into a multi-level flow table, wherein the conversion method in this embodiment of the present invention is aimed at converting the original multi-domain flow table to A method for converting an updated multi-domain flow table into a multi-level flow table. The update of the multi-domain flow table may include adding a rule or adding a new matching domain.
[0074] When the update of the multi-domain flow table is to add a rule, the conversion method of the multi-level flow table of the multi-domain flow table includes:
[0075] Step 1, receiving the rules sent by the controller that need to be added to the multi-domain flow table;
[0076] The second step, judging whether the matching field value in the rule is the same as the matching field value in the first matching rule table;
[0077] In the third step, if the matching doma...
Embodiment 3
[0101] Based on the foregoing embodiments, embodiments of the present invention provide a method for searching a multi-level flow table of a multi-domain flow table, which is applied to a device for searching a multi-level flow table of a multi-domain flow table, figure 2 It is a schematic diagram of the implementation flow of the multi-level flow table lookup method of the third multi-domain flow table in the embodiment of the present invention, as shown in figure 2 As shown, the method includes:
[0102] Step S201, receiving a data packet sent by an upper-level device of the switch;
[0103] Step S202, sequentially matching the data packet with the first matching field value in the first matching rule table in the multi-level flow table, correspondingly obtaining the first identification information of the first rule;
[0104] Here, the multi-domain flow table is converted into an m-level flow table, and each level of flow table includes a first matching rule table and a ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


