摘要 |
Embodiments of the present invention provide a data processing method and apparatus for an OpenFlow network. A switch in an OpenFlow network can acquire an aggregation rule provided by a controller in the OpenFlow network; the switch performs rule matching on data flows to be reported according to the aggregation rule, and extracts information about data flows, among the data flows to be reported, matching the aggregation rule, packetizes the information and sends the packetized information to the controller. In this manner, it is avoided that all data flows to be reported are sent to the controller by means of Packet_In messages, consumption of control channel bandwidth resources by Packet_In messages is reduced, and the influence of a great quantity of data flows to be reported in the OpenFlow network on control channel bandwidth resources and the control channel efficiency is reduced, thereby improving the utilization rate of the control channel bandwidth resources. |