摘要 |
Disclosed are a cache management method and device, and a computer storage medium. The method can comprise: dividing a cache into a conventional region and a buffer region, and when an idle space of the conventional region decreases to a pre-set first threshold, acquiring a queue to which a received first data packet belongs and a priority corresponding to the queue; when an idle space of the buffer region is less than a pre-set second threshold, comparing the priority of the queue to which the first data packet belongs with the lowest priority of a buffer queue in the buffer region; and when the priority of the queue to which the first data packet belongs is higher than the lowest priority of the buffer queue in the buffer region, releasing a data packet that is finally buffered in the buffer region in a queue with the lowest priority, and allocating the first data packet to a released cache in the buffer region. |