# US 2004/0064430 A1 · Systems and methods for queuing data

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2004/0064430 A1
- Document ID: US20040064430A1
- Status: Published application
- Kind: A1
- Application number: 10/259,369
- Filed: 2002-09-27
- Published: 2004-04-01
- Earliest claimed: 2002-09-27
- Inventors: Jonathan D. Klein; Amit Ganesh; Chi Young Ku; Ari W. Mozes
- Web page: https://patentgrep.com/patent/US20040064430A1

## CPC

- G06F 16/252: {between a Database Management System and a front-end application}
- G06F 16/2228: {Indexing structures}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A container object data structure for storing metadata associated with multiple queues is provided for processing data elements in first-in, first-out fashion. In one embodiment, the container object is implemented in a database environment providing statement syntax for creating data objects, such as tables and views, to implement user schema. Queue metadata can comprise one or more pointers for data element access and control during one or more queue operations, such as an enqueue, dequeue, or update operation.

## Claims

### Claim 1

A method for queuing data, comprising:
receiving a record from a database client; and
enqueuing in a queue a node comprising said record.

### Claim 2 (depends on 1)

The method of claim 1, wherein enqueuing said node further comprises inserting said node at a tail end of said queue.

### Claim 3 (depends on 1)

The method of claim 1, further comprising pointing to a node of said queue with a current position pointer.

### Claim 4 (depends on 1)

The method of claim 1, further comprising dequeuing said node.

### Claim 5 (depends on 4)

The method of claim 4, wherein dequeuing said node further comprises removing said node from a head of said queue.

### Claim 6 (depends on 1)

The method of claim 1, further comprising updating said record.

### Claim 7 (depends on 6)

The method of claim 6, further comprising updating a next record in said queue.

### Claim 8 (depends on 1)

The method of claim 1, wherein said record is a row in a table.

### Claim 9 (depends on 1)

The method of claim 1, further comprising containing said queue in a hash bucket.

### Claim 10 (depends on 9)

The method of claim 9, further comprising hashing a queue identifier of said record.

### Claim 11

A system for queuing data comprising:
one or more queues for storing one or more records; and
one or more metadata objects for storing one or more queue identifiers corresponding to said one or more queues.

### Claim 12 (depends on 11)

The system of claim 11, further comprising a container for storing said one or more metadata objects.

### Claim 13 (depends on 12)

The system of claim 12, wherein said container is a hash table.

### Claim 14 (depends on 11)

The system of claim 11, wherein said one or more metadata objects is a hash bucket.

### Claim 15 (depends on 11)

The system of claim 11, wherein said one or more metadata objects further comprises a head pointer to a head end of said queue.

### Claim 16 (depends on 11)

The system of claim 11, wherein said one or more metadata objects further comprises a tail pointer to a tail end of said queue.

### Claim 17 (depends on 11)

The system of claim 11, wherein said one or more metadata objects further comprises a current position pointer for locating a position in said queue.

### Claim 18 (depends on 11)

The system of claim 11, wherein said one or more records is a row in a table.

### Claim 19 (depends on 11)

The system of claim 11, wherein said one or more queues is implemented as a linked list.

### Claim 20

A computer readable medium having stored thereon one or more sequences of instructions for controlling execution of one or more processors, the one or more sequences of instructions comprising instructions for:
receiving a record from a database client; and
enqueuing in a queue a node comprising said record.

### Claim 21 (depends on 20)

The computer readable medium of claim 20, wherein enqueuing said node further comprises inserting said node at a tail end of said queue.

### Claim 22 (depends on 20)

The computer readable medium of claim 20, the one or more sequences of instructions stored thereon further comprising instructions for pointing to a node of said queue with a current position pointer.

### Claim 23 (depends on 20)

The computer readable medium of claim 20, the one or more sequences of instructions stored thereon further comprising instructions for dequeuing said node.

### Claim 24 (depends on 23)

The computer readable medium of claim 23, wherein dequeuing said node further comprises removing said node from a head of said queue.

### Claim 25 (depends on 20)

The computer readable medium of claim 20, the one or more sequences of instructions stored thereon further comprising instructions for updating said record.

### Claim 26 (depends on 25)

The computer readable medium of claim 25, the one or more sequences of instructions stored thereon further comprising instructions for updating a next record in said queue.

### Claim 27 (depends on 20)

The computer readable medium of claim 20, wherein said record is a row in a table.

### Claim 28 (depends on 20)

The computer readable medium of claim 20, the one or more sequences of instructions stored thereon further comprising instructions for containing said queue in a hash bucket.

### Claim 29 (depends on 28)

The computer readable medium of claim 28, the one or more sequences of instructions stored thereon further comprising instructions for hashing a queue identifier of said record.

### Claim 30

A system for queuing data, comprising:
means for receiving a record from a database client; and
means for enqueuing in a queue a node comprising said record.

### Claim 31 (depends on 30)

The system of claim 30, wherein means for enqueuing said node further comprises means for inserting said node at a tail end of said queue.

### Claim 32 (depends on 30)

The system of claim 30, further comprising means for pointing to a node of said queue with a current position pointer.

### Claim 33 (depends on 30)

The system of claim 30, further comprising means for dequeuing said node.

### Claim 34 (depends on 33)

The system of claim 33, wherein means for dequeuing said node further comprises means for removing said node from a head of said queue.

### Claim 35 (depends on 30)

The system of claim 30, further comprising means for updating said record.

### Claim 36 (depends on 35)

The system of claim 35, further comprising means for updating a next record in said queue.

### Claim 37 (depends on 30)

The system of claim 30, wherein said record is a row in a table.

### Claim 38 (depends on 30)

The system of claim 30, further comprising means for containing said queue in a hash bucket.

### Claim 39 (depends on 38)

The system of claim 38, further comprising means for hashing a queue identifier of said record.
