Method for processing metadata, switch and controller

A processing method and metadata technology, applied in the field of communication, can solve problems such as inability to transmit metadata, and achieve the effect of increasing flexibility

Inactive Publication Date: 2020-05-05
ZTE CORP
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, there is no effective solution to the problem that the packet processing pipeline in the OpenFlow switch cannot transfer the metadata associated with the packet from the flow table to the group table on demand.

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
  • Method for processing metadata, switch and controller
  • Method for processing metadata, switch and controller
  • Method for processing metadata, switch and controller

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0088] Figure 5 It is a schematic diagram of the implementation flow of the metadata processing method in the embodiment of the present invention Figure 1 ; The method is applied in the switch; as Figure 5 As shown, the method includes:

[0089] Step 501: Copy the first message according to the action set in the group table to obtain the second message;

[0090] Step 502: Copy the first metadata according to the preset copy rules of the action set or the copy actions in the action set to obtain the second metadata required by the second message;

[0091] The first metadata is data recording the state information of the first message.

[0092] In the above scheme, the method also includes:

[0093] sending the second message processed by the group table and the second metadata required by the second message.

[0094] In the above scheme, the method also includes:

[0095] receiving a third message, and generating a first message corresponding to the third message;

[...

Embodiment 2

[0114] Figure 7 It is a schematic diagram of the implementation flow of the metadata processing method in the embodiment of the present invention Figure II ; The method is applied in the switch; as Figure 7 As shown, the method includes:

[0115] Step 701: Receive a group table configuration message; the group table configuration message includes: action set information of copy actions with copy metadata, or action set information with preset copy rules for copy metadata.

[0116] In the above scheme, the method also includes:

[0117] Configure an action set according to the group table configuration message; the action set is an action set with preset copy rules for copying metadata, or an action set with copy actions for copying metadata;

[0118] Send an error reporting message; the error reporting message includes: a configuration error reporting message and a read error for the action set information of the copy action with copy metadata, or the action set informat...

Embodiment 3

[0137] In this application example, the packet color metadata is sent from the flow table to the group table of type "all" for further processing following the packet. The group table contains three action sets, and all three action sets need Using packet color metadata, one of the action sets also includes the "Meter" action that modifies the packet color metadata. After the execution of the three action sets, the packet color metadata will be sent to the egress flow table along with the packet. Do stream matching and further processing.

[0138] Figure 11 It is a schematic flow chart of the message processing pipeline of the OpenFlow switch in Embodiment 3 of the present invention; Figure 12 It is a schematic diagram of the OpenFlow network component architecture of Embodiment 3 of the present invention; Figure 11 and Figure 12 As shown, in this application example, the OpenFlow controller and OpenFlow switch in the OpenFlow network need to perform the following steps...

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

Disclosed is a metadata processing method. The method comprises: copying a first packet according to a motion set in a group table, to obtain a second packet; and copying first metadata according to a preset copying rule of the motion set or a copying motion in the motion set, to obtain second metadata required by the second packet, wherein the first metadata is data for recording state information about the first packet. Also disclosed are a switch and a controller.

Description

technical field [0001] The invention relates to communication technology, in particular to a metadata processing method, switch and controller. Background technique [0002] With the introduction of the concept of Software Defined Network (SDN) and the development of its applications, OpenFlow technology, the core technology of SDN, is in a stage of rapid development; currently, OpenFlow networks built using OpenFlow technology have been increasingly used in production and life. The OpenFlow network adopts an architecture in which the control plane and the forwarding plane are separated; figure 1 It is a schematic diagram of the OpenFlow network component architecture, such as figure 1 As shown, the control plane of the OpenFlow network is implemented by the OpenFlow controller. The OpenFlow controller is a device with powerful computing capabilities. The specific device form can be a personal computer, server or server cluster, etc.; The OpenFlow switch includes OpenFlow...

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
Patent Type & Authority Patents(China)
IPC IPC(8): H04L12/937
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