Patent ID: 9686724
Date: 2017-06-20
CPC Classifications: H04L,H04W

Claim:
1. A first switching equipment, wherein the first switching equipment is based on OpenFlow protocol, and comprises: a receiver, a processor, a sender and a memory; and wherein the receiver is adapted to receive a first data packet; the receiver is adapted to receive a first notification from a controller, and send the first notification to the processor, wherein the first notification is used to instruct the first switching equipment to cache data requested by the first data packet, and instruct 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 used to instruct the first switching equipment to forward the data cached in the first switching equipment and requested by the first data packet; the processor is adapted to receive the first notification sent by the receiver, and establish the first flow table entry according to the match information corresponding to the first data packet and the action instruction information corresponding to the first data packet, wherein the match information and the action instruction information are issued by the controller; the sender is adapted to forward the first data packet to a target network element corresponding to the first data packet; the receiver is further adapted to receive data corresponding to the first data packet, wherein the data corresponding to the first data packet is returned by the target network element corresponding to the first data packet; and send the data corresponding to the first data packet to the memory; the memory is adapted to receive the data corresponding to the first data packet and cache the received data corresponding to the first data packet; the receiver is further adapted to receive a second data packet sent by a network device; the sender is further adapted to forward cached data corresponding to the second data packet to the network device, in a case that a flow table entry corresponding to the second data packet exist in the first switching equipment; after the receiver receives the second data packet sent by the network device, the sender is further adapted to send the second data packet to the controller, in a case that the flow table entry corresponding to the second data packet does not exist in the first switching equipment; the receiver is further adapted to receive a second notification from the controller, and send the second notification to the sender, wherein the second notification is adapted to instruct the first switching equipment to forward the second data packet to a second switching equipment, wherein the data corresponding to the second data packet is cached in the second switching equipment; the sender is further adapted to receive the second notification sent by the receiver, and send the second data packet to the second switching equipment according to the second notification; the receiver is further adapted to receive the data corresponding to the second data packet and sent by the second switching equipment, and send the data corresponding to the second data packet to the sender; the sender is further adapted to receive the data corresponding to the second data packet and sent by the receiver, and forward the received data corresponding to the second data packet to the network device; the second notification is further used to instruct the first switching equipment to cache data requested by the second data packet, and instruct the first switching equipment to establish a second flow table entry according to match information corresponding to the second data packet and action instruction information corresponding to the second data packet, wherein the action instruction information corresponding to the second data packet is used to instruct the second switching equipment to forward the data cached in the second switching equipment and requested by the second data packet; and the memory is further adapted to cache the data corresponding to the second data packet, after the receiver receives the data corresponding to the second data packet and sent by the second switching equipment.