×

Method for implementing a queue in a memory, and memory arrangement

  • US 6,374,339 B2
  • Filed: 03/02/2001
  • Issued: 04/16/2002
  • Est. Priority Date: 09/08/1998
  • Status: Expired due to Term
First Claim
Patent Images

1. A method for implementing a queue in a memory (MEM) in which data is stored as data units for each of which a dedicated storage space is assigned in the memory, in accordance with which method data units are added to and deleted from the queue,characterized in that at least part of the queue is implemented as a tree-shaped data structure (A, B) known per se, having nodes at several different hierarchy levels, wherein an individual node can be (i) an internal node containing at least one pointer pointing to a node lower in the tree-shaped hierarchy or (ii) a leaf node containing at least one pointer to a data unit stored in the memory, wherein the node at the highest level of the structure is the root node of the structure, and wherein in connection with the addition of a data unit a pointer pointing to said data unit is added to a leaf node and in connection with a deletion the pointer pointing to the data unit is deleted from a leaf node, a given maximum number of pointers that an individual node can contain is defined for the nodes, an individual node being full when it has said maximum number of pointers and non-full in other cases, the additions to be made to said part are directed in the tree-shaped data structure to the first non-full node, seen from below, on a predetermined first edge of the data structure and they are further implemented in such a way that the leaf nodes remain at the same hierarchy level of the tree-shaped data structure, wherein when a non-full node is not present, new nodes are created to keep the leaf nodes at the same hierarchy level, and the deletions to be made from said part are directed to the leaf node on the predetermined other edge of the tree.

View all claims
  • 9 Assignments
Timeline View
Assignment View
    ×
    ×