Method and device for queue management

A queue management and queue technology, which is applied in the field of communication service quality of service, can solve the problem of consuming on-chip cache resources and achieve the effect of saving cache resources

Active Publication Date: 2013-03-06
XFUSION DIGITAL TECH CO LTD
View PDF4 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a queue management method and a queue management device, which can solve the problem of the traditional one-head-one-tail single-linked list queue manager needing to repeatedly store part of the table item content in the on-chip memory when it cooperates with the push-type multi-level scheduler. The problem with a large number of on-chip cache resources

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for queue management
  • Method and device for queue management
  • Method and device for queue management

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0021] The implementation of the queue management method based on the single-entity queue double-logic linked list according to the embodiment of the present invention will be described in detail below. The double logical linked list of a single entity queue means that each specific entity queue corresponds to two logical linked lists. The two logical linked lists correspond to the same tail pointer and two head pointers, that is, one entity queue corr...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a method and a device for queue management. The method for queue management comprises the steps of: determining a first logical queue indicated by a first logic queue head pointer and a second logic queue indicated by a second logic queue head pointer according to a queue validity identifier corresponding to an entity queue when a message enters the entity queue, wherein the first logic queue and the second logic queue comprise the same tail pointers; reading a scheduling parameter information corresponding to the first logic queue head pointer when the first logic queue dequeues, and reading a message descriptor according to a final scheduling result obtained through the scheduling parameter information when the second logic queue dequeues. Thus, the special function requirement that a push-type multi-level scheduler can schedule and select the queue after obtaining the scheduling parameter information firstly before scheduling is met, and the message descriptor only can be read from a message descriptor table when the scheduler outputs the final scheduling result. Therefore, cache resources are greatly saved.

Description

technical field [0001] The embodiments of the present invention relate to communication service quality of service, and more specifically, to a queue management method and device. Background technique [0002] QM (Queue Manager, Queue Manager), as a core functional processing unit for realizing QoS (Quality of Service, Quality of Service) characteristics of communication services, needs to cooperate with a scheduler (scheduler) that applies various scheduling algorithms. There are two basic implementations of the multi-level scheduler: pull (from root to leaf) and push (from leaf to root). [0003] Some application scenarios may have higher requirements on the fairness index of the scheduling algorithm, for example, it is necessary to select a real WFQ (Weighted Fair Queuing, Weighted Fair Queuing) algorithm based on virtual time scale comparison. When implementing a scheduler that is closer to the original definition of WFQ, the scheduler needs to first obtain the packet l...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04L12/863
Inventor 陈兴耀程贵锋
Owner XFUSION DIGITAL TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products