Dispatch device and method of enqueuing and dequeuing message
A technology of text entry and message, which is applied in the field of message entry and exit scheduling devices, can solve the problems of low traffic packet delay, credit overflow, and affecting the quality of business calls, etc., to achieve low delay, The effect of improving service quality
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0039] Referring to Fig. 2, an embodiment of the present invention provides a device for dispatching messages into and out of the queue, including:
[0040] A message receiving unit 201, configured to receive a message.
[0041] The queue buffer unit 202 is configured to store the packet descriptor of the message received by the message receiving unit 201 .
[0042] The storage unit 203 is used to store the queue state, and update the corresponding queue state according to the message received by the message receiving unit 201 or according to the received notification; wherein, the queue state in this embodiment is stored in the form of a queue information table.
[0043] The queue state obtaining unit 204 is configured to obtain the queue state corresponding to the message received by the message receiving unit 201 in the storage unit 203 .
[0044] The queue number enters the queue buffer unit 205, which is used to cache the queue status in the queue state acquisition unit ...
Embodiment 2
[0061] The embodiment of the present invention provides a method for dispatching packets into and out of the queue, and the process is as follows:
[0062] After receiving the message, put the packet descriptor of the message into the corresponding queue of the queue cache, and update the queue status of the corresponding queue, wherein the queue status includes the queue depth and the remaining credit value of the queue;
[0063] Judging whether the queue state of the above corresponding queue satisfies the condition that the remaining credit value of the queue is greater than a negative threshold and the queue depth is less than a preset value, if yes, write the corresponding queue number into the queue number entry cache;
[0064] When the scheduler is idle, it dequeues the corresponding packet descriptor in the queue cache according to the queue number in the queue cache;
[0065] After the dequeue operation, update the queue status of the queue being dequeued.
[0066] T...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com