Patent ID: 9491068
Filing Date: 2016-11-08
CPC Classification: H04L,H04W

Claim Text:
1. A method for flow measurement, comprising: receiving, by a controller, a data flow sent by a forwarding device; obtaining, by the controller, a type of the data flow by parsing the data flow; when the type of the data flow is a type in a measurement flow type set, obtaining, by the controller, a feature identifier, packet header information of the data flow and operation information corresponding to the data flow; adding, by the controller, a measurement operation for the feature identifier to the operation information, wherein the operation information is used to record various operations on the data flow; sending, by the controller, to the forwarding device, the packet header information and the operation information added with the measurement operation for the feature identifier; when the type of the data flow is not any type in the measurement flow type set, analyzing, by the controller, the type of the data flow and weight of the data flow in a service to determine whether the data flow needs to be measured; when the data flow needs to be measured, adding, by the controller, the type of the data flow to the measurement flow type set to update the measurement flow type set.