OpenFlow Flow Table Dynamic Configuration for Service Adaptation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
OpenFlow networks face poor service switchover adaptation capability and reduced working efficiency due to the need for network disconnection and reconfiguration when application scenarios change, as existing methods cannot dynamically adjust flow table match fields to accommodate changing service types.
Innovation Solution
A method for dynamically configuring flow tables in OpenFlow networks by determining the required flow table matching capability based on the service type and sending a configuration message to the switch device, allowing it to reconfigure its flow tables without disconnecting from the network, ensuring match fields align with the new service type.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If the OpenFlow switch is disconnected from the network to reconfigure the flow table when application scenario changes, then the flow table can be reconfigured to support new service types, but the service switchover adaptation capability deteriorates and working efficiency is reduced
Solution Approach 1:
The flow table configuration is made dynamic by allowing the controller to modify match fields and flow rules without requiring network disconnection. The controller can dynamically adjust the flow table structure (number of levels, entries per level, match field types) based on changing service requirements, enabling seamless service switching while maintaining network connectivity.
Solution Approach 2:
The invention changes the parameters of the flow table (number of levels, entries per level, match field types) dynamically through controller instructions. When service types change, the controller modifies these parameters remotely, allowing the switch to adapt to new services without physical reconfiguration or network disconnection, thus improving service switchover capability.
2Ease of manufacture
If the flow table match fields are fixed to support specific service types, then the configuration simplicity is improved, but the adaptability to changing service types deteriorates
Solution Approach 1:
The flow table is designed with universal configurability, where the controller can configure the same physical switch to support different service types by dynamically adjusting match fields and flow rules. The switch hardware remains the same, but its functionality adapts to various services (L2 switching, L3 routing, MPLS, etc.) through software-controlled flow table configuration.
Solution Approach 2:
The match fields in the flow table are made dynamic rather than fixed. The controller can add, remove, or modify match field types based on service requirements, allowing the system to maintain configuration simplicity while achieving high adaptability to different service types through dynamic parameter adjustment.
3Productivity
If the controller generates flow rules based on initial switch capability reports, then the initial configuration speed is improved, but the ability to respond to service changes deteriorates
Solution Approach 1:
The system implements continuous feedback between the controller and switch. When service types change, the controller receives notifications or detects service changes and responds by dynamically reconfiguring the flow table. This feedback mechanism allows the system to maintain fast initial configuration while quickly adapting to service changes through automated controller actions.
Solution Approach 2:
The controller pre-configures the flow table with basic capabilities during initial setup, enabling fast deployment. When service changes occur, the controller performs preliminary analysis of new service requirements and proactively reconfigures the flow table before service disruption occurs, maintaining both speed and adaptability.
Data Source
Figure 1~2
Figure 3
Figure 4
AI summary
The present invention provides a method, an apparatus, and a system for configuring a flow table in an OpenFlow network, which can enhance a service switchover adaptation capability of a network system, and improve the working efficiency. The method includes: determining, by a control device, a type of a service needing to be forwarded by a switch device; determining, according to the type of the service needing to be forwarded by the switch device and a prestored correspondence between a service type and flow table matching capability information, flow table matching capability information corresponding to the service type; and sending a flow table configuration message to the switch device, where the flow table configuration message carries the flow table matching capability information corresponding to the service type, so that the switch device configures, according to the flow table matching capability information, a flow table required for the service type. The present invention is applicable to the field of communications.