The invention provides an
OpenFlow flow table energy-saving storage architecture supporting QoS (
Quality of Service) and application of the
OpenFlow flow table energy-saving storage architecture. Thearchitecture comprises three
layers, namely a priority flow /
elephant flow layer, a mouse flow layer and an active connection cache layer, wherein the priority flow /
elephant flow layer adopts a TCAM and a
DRAM as storage media, the mouse flow layer adopts an SRAM and a
DRAM as storage media, the active connection cache layer adopts an SRAM as a storage medium, and a
Cuckoo hash structure is adoptedto cache a mapping relationship between active connection and flow table entries in the TCAM. According to the architecture, the TCAM is adopted to preferentially store the identification fields of the priority flow table entries, and quick flow table lookup of priority data packets is realized, so that the
network service quality is guaranteed. Meanwhile, a
Cuckoo cache is designed to dynamically store the current active connection and the corresponding TCAM flow entry index value in the
elephant flow; the cache is hit by most of the data packets, and the corresponding flow table item is found according to the address of the hit cache item, so that a TCAM flow table lookup process is bypassed, and the flow table lookup
energy consumption overhead is greatly reduced.