Unlock instant, AI-driven research and patent intelligence for your innovation.

Data enqueue and dequeue method an queue management unit

A technology of queue management and queue management system, which is applied in the field of data entry and exit methods and queue management units, and can solve the problems that the priority scheduling strategy cannot be realized, and the priority processing of MAC ports is difficult.

Active Publication Date: 2015-12-16
HUAWEI TECH CO LTD
View PDF8 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When dequeuing data packets, the priority scheduling strategy is that each data packet can be prioritized and switched after dequeuing. The strategy is to judge and switch the priority after each slice is dequeued, which is contrary to the dequeue of the whole package. If it is necessary to dequeue based on the whole package, the existing priority scheduling strategy cannot be realized. Therefore, when dequeueing by slice When queued, it is difficult to perform priority processing based on the existing priority scheduling policy in the same MAC port

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
  • Data enqueue and dequeue method an queue management unit
  • Data enqueue and dequeue method an queue management unit
  • Data enqueue and dequeue method an queue management unit

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. 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.

[0047] The embodiment of the present invention provides a method for enqueuing and dequeuing data, which is used to realize dequeueing and transmission of slices by the same communication port according to priority on the basis of dequeueing of whole packets. The embodiment of the present invention also provides a queue management unit corresponding to data enqueue and a queue management unit corresponding to data dequeue.

[0048]First of all, a brief introduction...

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

An embodiment of the invention discloses a data enqueue and dequeue method and a queue management unit, and is used for realizing slice dequeue and transmission in the same communication port according to priorities on the basis of dequeue of a whole packet. The data enqueue method provided by the invention includes: receiving a data packet that needs enqueuing, dividing the data packet into a plurality of slices, obtaining slice information of the slices, and marking a tail slice of the data packet with a tail slice identifier; enqueuing the corresponding slice information according to a sequence of the slices in the data packet, and in a process of enqueuing the corresponding slice information, if the slice is marked with the tail slice identifier, determining the slice to be the tail slice of the data packet, and generating nodes of the first kind; judging whether a target queue is empty, if yes, writing the slice information of the tail slice into the target queue, and updating a head pointer of a queue head table according to the nodes of the first kind, and if no, writing the slice information of the tail slice into the target queue, and adding the nodes of the first kind at the tail of a corresponding queue sub chain table of the target queue.

Description

technical field [0001] The invention relates to the technical field of communication, in particular to a method for enqueueing and dequeueing data and a queue management unit. Background technique [0002] Queue Manager (QM for short) is a common function in communication processing chips, and manages data packets mainly by caching addresses. Since the communication processing chip handles many services, in queue management, a queue is generally established in the shared cache according to the business classification. When the data packet arrives, a cache address is assigned to the arriving data packet in the memory, and then the cache address is included in the queue. The package descriptor (PackageCellDescriptor, referred to as PCD) in the cell is managed by writing queues according to classification. Due to the staggered arrival of data packets belonging to different categories, the cache addresses of a classified data packet in the memory cannot be guaranteed to be cont...

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/865H04L47/6275H04L47/52H04L49/901H04L49/9015
CPCH04L47/6275H04L49/109H04L49/9015H04L47/52H04L49/901H04L49/9021H04L2012/5681H04L49/9036H04L45/566H04L49/9042H04L45/60
Inventor 包雅林
Owner HUAWEI TECH CO LTD