Flow statistics capability negotiation method and apparatus

A technology of flow statistics and capabilities, which is applied in the negotiation field of flow statistics capabilities, can solve problems such as coarse granularity, and achieve the effect of enhancing flexibility

Inactive Publication Date: 2015-04-29
ZTE CORP
View PDF5 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] The present invention provides a method and device for negotiating the flow statistics capability, so as to at least solve the problem that the control granularity of the

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Flow statistics capability negotiation method and apparatus
  • Flow statistics capability negotiation method and apparatus
  • Flow statistics capability negotiation method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0078] Figure 10 It is a flowchart of the OF switch reporting the flow statistics capability of the flow table to the OF controller according to a preferred embodiment of the present invention, such as Figure 10 As shown, the process includes the following steps:

[0079] S1002. The OF controller sends a Table Features Request (flow table feature) request message to the OFLS; when the request message is empty, the message is used to query the features / capabilities of the flow table on the OFLS.

[0080] S1004. The OFLS replies a Table Features Reply (flow table feature) reply message to the OF controller, where the message carries the flow statistics capability flag of the flow table.

[0081] Specifically, the message can be defined using the structure struct ofp_table_features, as shown below, the structure contains capabilities parameters (capabilities), and the parameters are represented by the enumeration type enum ofp_table_config, which contains the flow of the flow ...

Embodiment 2

[0085] Figure 11 It is a flow chart of the OF controller setting the flow statistics capability of the flow table to the OF switch according to the preferred embodiment of the present invention, such as Figure 11 As shown, the process includes the following steps:

[0086]S1102. The OF controller sends a Table Features Request (flow table feature) request message to the OFLS; when the request message carries a feature / capability parameter of the flow table, the message is used to set the feature / capability of the flow table on the OFLS.

[0087] S1104, if the message carries the flow table number and the flow statistics capability flag of the flow table, OFLS decides whether to execute the flow statistics of the flow table for the flow table pointed to by the flow table number according to the flow statistics capability flag of the flow table (value is 0 or 1) (like off or on).

[0088] Specifically, the message can be defined using the structure struct ofp_table_features,...

Embodiment 3

[0093] Figure 12 It is a flow chart of the OF switch replying to the OF controller for the error reason of the flow statistics request according to the preferred embodiment of the present invention, such as Figure 12 As shown, the process includes:

[0094] S1202, the OF controller sends a Flow Statistics flow statistics request message (such as OFPMP_FLOW multipart request or OFPMP_AGGREGATE multipart request message) to the OF switch, which carries parameters such as flow table number and flow entry, and is used to request the OF switch to count and match the flow entry Packet Bytes / Packet Count.

[0095] S1202. If the flow table (identified by the flow table number) does not support the flow statistics capability of the flow table, the OF switch sends an error message to the OF, optionally carrying an error reason (which can be realized by error type and error code).

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The present invention discloses a flow statistics capability negotiation method and apparatus. The method comprises: an OF controller sends a flow entry modification message for a flow table to an OF switch; in the case that the OF switch meets the modification condition in the flow entry modification message, the OF controller indicates the OF switch to add or modify the corresponding flow entry according to a modification condition, and indicates the OF switch to perform a flow statistics function for the flow entry or not by using the mark in the flow entry modification message; and with regard to the flow entry for which the flow statistics function is performed, the OF controller sends a flow statistics request message to the OF switch to query flow statistics information of the flow entry. Through the adoption of the method and apparatus, the forwarding flexibility of hardware or chips adaptable OpenFlow flow table pipe can be improved.

Description

technical field [0001] The present invention relates to the field of communications, in particular to a method and device for negotiating flow statistics capability. Background technique [0002] As the network exposes more and more disadvantages, people's requirements for network performance become higher and higher, and researchers have to add many complex functions to the router architecture, such as OSPF (Open Shortest Path First, Open Shortest Path First) (an interior gateway protocol), BGP (Bridge Gateway Protocol, Border Gateway Protocol), multicast, differentiated services, traffic engineering, NAT (Network Address Translation, network address translation), firewall, MPLS (Multi -Protocol Label Switching, Multi-Protocol Label Switching) and so on. This makes switching devices such as routers more and more bloated and the space for performance improvement is getting smaller and smaller. [0003] However, quite different from the plight of the network field, the comp...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04L12/24H04L12/931
Inventor 梁乾灯尤建洁赵艳杰
Owner ZTE CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products