Method and device for realizing message buffer resource sharing
A resource sharing and message caching technology, applied in the field of communications, can solve problems such as inability to communicate, lost data packets, and reduced cache utilization, and achieves the effect of realizing cache sharing, reducing lost data packets, and improving cache utilization.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0058] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
[0059] figure 1 It shows the flow of a method for realizing message cache resource sharing in an embodiment of the present invention, and the flow includes the following steps:
[0060] Step S10, preset the state of each queue, and obtain the priority of the queue when a data packet enters the queue; the initial state of each queue can be preset to be empty, and when a new data packet enters the queue, according to the report in the data packet Text descriptor to get the priority of the queue.
[0061] Step S20, adding the queues to the corresponding classification linked list according to the priority; the priority can reflect the importance of the message, and the importance of the message is different with the priority. Assume that there are currently 12 queues 0 to 11. If these queues have data packets entering ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 