User packet processing method and forwarding plane device
First Claim
1. A user packet processing method in a software defined network including a forwarding plane device and a control plane device, wherein the method comprises:
- receiving, by the forwarding plane device, a flow entry installation message from the control plane device, wherein a quantity of flow entry installation messages is one, and the flow entry installation message carries all flow entries that are needed to process a received user packet, and a flow table identifier of a flow table in which each flow entry of all the flow entries is located;
writing, by the forwarding plane device, multiple flow entries into the flow tables corresponding to the flow table identifiers; and
after the flow entries are written into the flow tables corresponding to the flow table identifiers, performing, by the forwarding plane device, a matching and processing procedure on the received user packet independently of network delay,wherein before the step of receiving, by the forwarding plane device, the flow entry installation message from the control plane device, the method further comprises;
receiving, by the forwarding plane device, the received user packet, buffering the received user packet when it is found that a flow entry needed to process the received user packet does not exist in a flow table of the forwarding plane device, and sending a flow entry request packet to the control plane device, wherein the flow entry request packet carries at least a part of content of the received user packet and a buffer address in which the received user packet is buffered;
wherein the step of receiving, by the forwarding plane device, the flow entry installation message from a control plane device comprises;
receiving, by the forwarding plane device, the flow entry installation message that is delivered by the control plane device according to the flow entry request packet, wherein the flow entry installation message further carries the buffer address in which the received user packet is buffered; and
wherein the step of performing, by the forwarding plane device, the matching and processing procedure on the received user packet comprises;
extracting, by the forwarding plane device, the received user packet from buffer space corresponding to the buffer address, and performing the matching and processing procedure on the received user packet.
1 Assignment
0 Petitions
Accused Products
Abstract
A user packet processing method is disclosed in which a forwarding plane device receives a flow entry installation message from a control plane device, writes the flow entries into the flow tables corresponding to the flow table identifiers, and performs a matching and processing procedure on the received user packet after the flow entries are written into the flow tables corresponding to the flow table identifiers; wherein the quantity of the flow entry installation messages is one, and the flow entry installation message carries all flow entries that may be needed to process a user packet, and a flow table identifier of a flow table in which each flow entry of all the flow entries is located. By using the foregoing manner, a case is effectively avoid that a forwarding plane device wrongly processes a user packet because of a network delay.
-
Citations
9 Claims
-
1. A user packet processing method in a software defined network including a forwarding plane device and a control plane device, wherein the method comprises:
-
receiving, by the forwarding plane device, a flow entry installation message from the control plane device, wherein a quantity of flow entry installation messages is one, and the flow entry installation message carries all flow entries that are needed to process a received user packet, and a flow table identifier of a flow table in which each flow entry of all the flow entries is located; writing, by the forwarding plane device, multiple flow entries into the flow tables corresponding to the flow table identifiers; and after the flow entries are written into the flow tables corresponding to the flow table identifiers, performing, by the forwarding plane device, a matching and processing procedure on the received user packet independently of network delay, wherein before the step of receiving, by the forwarding plane device, the flow entry installation message from the control plane device, the method further comprises; receiving, by the forwarding plane device, the received user packet, buffering the received user packet when it is found that a flow entry needed to process the received user packet does not exist in a flow table of the forwarding plane device, and sending a flow entry request packet to the control plane device, wherein the flow entry request packet carries at least a part of content of the received user packet and a buffer address in which the received user packet is buffered; wherein the step of receiving, by the forwarding plane device, the flow entry installation message from a control plane device comprises; receiving, by the forwarding plane device, the flow entry installation message that is delivered by the control plane device according to the flow entry request packet, wherein the flow entry installation message further carries the buffer address in which the received user packet is buffered; and wherein the step of performing, by the forwarding plane device, the matching and processing procedure on the received user packet comprises; extracting, by the forwarding plane device, the received user packet from buffer space corresponding to the buffer address, and performing the matching and processing procedure on the received user packet. - View Dependent Claims (2)
-
-
3. A forwarding plane device in a software defined network, comprising:
- a processor and a receiver coupled to the processor;
wherein the receiver is configured to receive a flow entry installation message from a control plane device, wherein a quantity of flow entry installation messages is one, and the flow entry installation message carries all flow entries that are needed to process a received user packet, and a flow table identifier of a flow table in which each flow entry of all the flow entries is located; wherein the processor is configured to write the flow entries into the flow tables corresponding to the flow table identifiers; and
perform a matching and processing procedure on the received user packet after the flow entries are written into the flow tables corresponding to the flow table identifiers independently of network delay,wherein the receiver is further configured to receive the received user packet; wherein the processor is further configured to query whether a flow entry needed to process the received user packet exists in a flow table of the forwarding plane device and buffer the received user packet when the processor finds that the flow entry needed to process the received user packet does not exist in the flow table of the forwarding plane device; and wherein the forwarding plane device further comprises a transmitter configured to send a flow entry request packet to the control plane device when the processor finds that the flow entry needed to process the received user packet does not exist in the flow table of the forwarding plane device, wherein the flow entry request packet carries at least a part of content of the received user packet, and a buffer address in which the received user packet is buffered; wherein the receiver is configured to receive the flow entry installation message that is delivered by the control plane device according to the flow entry request packet, wherein the flow entry installation message further carries the buffer address in which the received user packet is buffered; and wherein the processor is configured to;
after all the flow entries needed to process the received user packet are written into the corresponding flow tables, extract the received user packet from buffer space corresponding to the buffer address, and perform the matching and processing procedure on the received user packet. - View Dependent Claims (4)
- a processor and a receiver coupled to the processor;
-
5. A forwarding plane device in a software defined network, comprising:
- a processor and a receiver coupled to the processor;
wherein the receiver is configured to receive a flow entry installation message from a control plane device, wherein the flow entry installation message carries a flow entry that is needed to process a received user packet, a flow table identifier of a flow table in which the flow entry is located, and an idle mark; and
the processor is configured to;
after the flow entry is written into the flow table corresponding to the flow table identifier, set, according to the idle mark, a state of the flow entry in the flow table corresponding to the flow table identifier to an idle state;wherein the receiver is further configured to;
after all flow entries needed to process the received user packet are written into corresponding flow tables, receive an activation message from the control plane device; and
the processor is further configured to set, according to the activation message, states of all the flow entries that are in the forwarding plane device and used for processing the received user packet to an active state, and perform a matching and processing procedure on the received user packet independently of network delay, whereinthe receiver is further configured to receive the received user packet; the processor is further configured to query whether a flow entry needed to process the received user packet exists in a flow table of the forwarding plane device; and wherein the forwarding plane device further comprises a transmitter configured to send a flow entry request packet to the control plane device when the processor finds that a flow entry needed to process the received user packet does not exist in a flow table of the forwarding plane device, wherein the flow entry request packet carries at least a part of content of the received user packet; and the receiver is configured to receive the flow entry installation message that is delivered by the control plane device according to the flow entry request packet. - View Dependent Claims (6, 7, 8, 9)
- a processor and a receiver coupled to the processor;
Specification