FIFO (first-in first-out) message queue management method and device based on finite depth
A first-in, first-out, queue management technology, which is applied in the field of management methods and management devices for first-in first-out message queues, and can solve the problems of discarding messages and enqueuing tasks, affecting system performance, and frequent switching of dequeuing tasks.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0031] The scheme of the present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0032] Take the realization of the present invention in the vxWorks operating system as an example (but its basic idea is not limited to the vxWorks operating system):
[0033] The message queue management system generates a FIFO queue Queue, the queue depth is set to MAX_QUEUE_NUM messages (or the number of bytes), multiple enqueue tasks and one dequeue task. Set the enqueue task and the dequeue task to have the same priority as P, and set the threshold of the number of buffered messages (or the number of message bytes) for dispatching the dequeue task to schedQThreshold, and set schedQThreshold to the message queue depth one-half of.
[0034] Assuming that the queue head pointer in the FIFO queue is QHEAD at a certain moment, and the queue tail pointer is QTAIL, the number of buffered messages in the queue is:
[0035] (MAX_QUEUE_NUM+Q...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com
