Abstract:
Embodiments of the present invention provide a packet processing method, device and system. The method includes: receiving, by a switching device, a packet, where there is a correspondence in the switching device between a prefix and a generic flow entry, where the correspondence is created by using the prefix as an index, and a match field of the generic flow entry corresponding to the prefix includes the prefix; acquiring, by the switching device according to the prefix, a bit field that is in the packet and that is used for matching; and performing matching, by the switching device, between a value of the bit field and a data parameter of the match field of the generic flow entry corresponding to the prefix. The embodiments of the present invention can reduce a quantity of times of generic field extraction from a packet and improve processing efficiency.
Abstract:
A packet processing method, device and system includes: receiving, by a switching device, a packet, where there is a correspondence in the switching device between a prefix and a generic flow entry, where the correspondence is created by using the prefix as an index, and a match field of the generic flow entry corresponding to the prefix includes the prefix; acquiring, by the switching device according to the prefix, a bit field that is in the packet and that is used for matching; and performing matching, by the switching device, between a value of the bit field and a data parameter of the match field of the generic flow entry corresponding to the prefix.
Abstract:
A network storage method, a switch device, and a controller are provided. The method is applicable to a controller based on OpenFlow protocol. The method includes: determining, by the controller, that a first switching equipment is to cache data requested by a first data packet; and notifying, by the controller, the first switching equipment to cache the data requested by the first data packet, and notifying the first switching equipment to establish a first flow table entry according to issued match information corresponding to the first data packet and issued action instruction information corresponding to the first data packet, wherein the action instruction information corresponding to the first data packet is adapted to instruct the first switching equipment to forward the data cached in the first switching equipment and requested by the first data packet.
Abstract:
A flow table management method, devices, and systems. The flow table management method includes: generating, by a software defined network controller, a first flow table entry, where a first field set in the first flow table entry carries an index of an actual value in the first field set, and the first field set includes N fields; and sending, by the software defined network controller, an OpenFlow protocol message to an OpenFlow switch, where the OpenFlow protocol message carries the first flow table entry. The technical solution in the embodiments of the present invention helps reduce a data volume of flow table entries delivered by an SDN controller to an OpenFlow switch, thereby reducing overheads of a control channel to reduce a congestion risk of the control channel, and reducing occupied network processing resources of the SDN controller and the OpenFlow switch to deliver the flow table entries.
Abstract:
A method for user detachment when a handover or change occurs in a heterogeneous network is provided. The method includes: a user equipment (UE) is handed over or switched from a source network to a target network; a network element on a network side determines whether to detach the UE from the source network, and if yes, the network element on the network side detaches the UE from the source network. A system and a device for user detachment when a handover or change occurs in a heterogeneous network, and another method for user detachment when a handover or change occurs in a heterogeneous network are also provided.
Abstract:
A packet tunneling method, a switching device, and a control device are provided. The method includes: a switching device receives a tunnel flow table entry delivered by the control device, where the tunnel flow table entry is used to determine a to-be-tunneled packet and indicate a tunneling operation to be performed on the to-be-tunneled packet; determines according to the tunnel flow table entry, whether the received first packet is the to-be-tunneled packet; and when the first packet is the to-be-tunneled packet, and tunnels the first packet according to the tunnel flow table entry. Because the switching device supports a tunnel flow table, when a packet is transmitted in a mobile packet network by using the OpenFlow protocol, tunnel encapsulation or decapsulation can be performed on the packet by using the tunnel flow table entry delivered by the control device, thereby enhancing a packet processing capability in the mobile packet network.