Cache management method and device
A cache management and caching technology, applied in the field of data communication, can solve problems such as occupying a large shared cache, discarding non-congested flow packets, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0064] See figure 1 , Which shows the flow of a cache management method provided by an embodiment of the present invention, the method may be applied to a cache management apparatus, and the method may include:
[0065] S101: Obtain message granularity information corresponding to the descriptor of the received message;
[0066] It should be noted that the descriptor of the received message can be obtained by parsing the received message, which can specifically include: the service type (TC, Traffic Class) of the received message, the queue number of the queue where the received message is located, and the The identifier of the target chip corresponding to the transmission of the received message, etc. This embodiment of the present invention will not repeat this. It is understandable that different descriptors can be used to indicate the message granularity information corresponding to the received message, for example, when the received message When the descriptor of the received...
Embodiment 2
[0099] Based on the same technical idea as the foregoing embodiment, see Image 6 , Which shows a cache management device 60 provided by an embodiment of the present invention. The device 60 may include: an acquiring unit 601 and a determining unit 602; wherein,
[0100] The acquiring unit 601 is configured to acquire the message granularity information corresponding to the descriptor of the received message;
[0101] The determining unit 602 is configured to determine a discarding processing operation for the received message through the message discarding mechanism corresponding to the message granularity information.
[0102] Exemplarily, when the descriptor of the received message is the service type TC of the received message, the message granularity information is used to characterize that the received message is a stream-level or intermediate-level message;
[0103] Correspondingly, the determining unit 602 is specifically configured to: when the sum of the length of the receive...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


