The invention belongs to the technical field of
data exchange and discloses a cache control method and
system, a storage medium,
computer equipment and an application. The method comprises the steps:enabling one
Block RAM to be controlled into a plurality of three-channel synchronous FIFOs for use, writing data frames into corresponding on-
chip FIFOs when the data frames enter a
queue, and writing the data into an off-
chip DDR after the on-
chip FIFOs are fully written; dividing the DDR storage space into L area blocks with continuous addresses; when data dequeues, moving k
continuous data frames to the on-chip FIFO from the DDR while the data is read from the corresponding on-chip FIFO. According to the invention, the
processing speed and the traffic burst resistance of the
packet processing unit are improved, the DDR
bandwidth utilization rate is increased, and the time
delay of DDR data reading is reduced. According to the invention, the
processing speed of the switching unit is accelerated, a relatively high DDR
bandwidth utilization rate is realized, and the influence of absolute time
delay brought by a DDR device on the
processing time of the switching unit is reduced.