Queue scheduling method and apparatus
Abstract
A queue scheduling method and apparatus is disclosed in the embodiments of the present invention, the method comprises: one or more queues are indexed by using a first circulation link list; one or more queues are accessed respectively by using the front pointer of the first circulation link list, and the value acquired from subtracting a value of a unit to be scheduled at the head of the queue from a weight middle value of each queue is treated as the residual weight middle value of the queue; when the weight middle value of one queue in the first circulation link list is less than the unit to be scheduled at the head of the queue, the queue is deleted from the first circulation link list and the weight middle value is updated with the sum of a set weight value and the residual weight middle value of the queue; the queue deleted from the first circulation link list is linked with a second circulation link list. The present invention enables the scheduling to support any number of queues, and supports the expansion of the number of queues under the circumstances that the hardware implementation logic core is not changed.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 20 · Forward citations: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A queue scheduling apparatus, comprising a read/write controller, the read/write controller comprising a processing module and an exchange module, wherein the processing module is configured to delete a queue from a first circulation link list and link to a second circulation link list when a weight middle value of the queue in the first circulation link list is less than a unit to be scheduled at a head of the queue, wherein the first circulation link list and the second circulation link list both have a structure of unidirectional link list; a front pointer of the first circulation link list
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 10,305,789 B2 | Packet forwarding for quality of service delivery | 2019 | 0 |
References Cited — Backward Prior Art (20)
Non-Patent Literature (2)
- International Search Report dated Jul. 22, 2010 issued in corresponding International Application No. PCT/CN2010/072074.
- Supplementary European Search Report dated Dec. 14, 2012 issued in European Application No. EP 10 80 5967.6.