# US 2017/0293661 A1 · Bucket skiplists

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

- Number: US 2017/0293661 A1
- Document ID: US20170293661A1
- Status: Published application
- Kind: A1
- Application number: 15/634,243
- Filed: 2017-06-27
- Published: 2017-10-12
- Earliest claimed: 2014-12-15
- Assignees: Sap SE
- Applicants: Sap SE
- Inventors: Peter Steinemann; Thomas Legler
- Web page: https://patentgrep.com/patent/US20170293661A1

## CPC

- G06F 16/24575: {using context}
- G06F 16/2228: {Indexing structures}
- G06F 16/24561: {Intermediate data storage techniques for performance improvement}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The present disclosure involves systems, software, and computer implemented methods for providing a bucket skiplist. In one example, a method comprises identifying a value to be searched for within a skiplist comprising a data structure for referencing a plurality of ordered nodes, the data structure having a plurality of linked lists, each node representing at least one memory block, wherein each node is associated with a bucket including a set of ordered values, where the first value in each bucket of each node is the relatively lowest value in the bucket, comparing the value to the first values in each bucket to identify a particular node in which the first value may be located, and, in response to determining that the first value of the particular node is not the same as the value to be searched, comparing the value to be searched with the ordered values in the bucket.

## Claims

### Claim 1

A method for operating on a data structure comprising:
identifying a value to be inserted into a skiplist, the skiplist comprising a data structure for referencing a plurality of ordered nodes, the data structure having a plurality of linked lists, each node representing at least one memory block, wherein each node is associated with a bucket including a set of ordered values, and wherein a first value in each bucket of each node is a relatively lowest value in the bucket, and wherein each bucket includes a plurality of locations available to store values;
comparing the value to be inserted to the first value in each bucket to identify a particular node, associated with a particular bucket, in which the value to be inserted may be located;
in response to determining that the first value of the particular node is not the same as the value to be inserted, comparing the value to be inserted with the ordered values in the particular bucket of the particular node;
identifying a particular location within the particular bucket of the particular node to insert the value, wherein no empty locations remain available within the bucket of the identified particular node;
identifying a location storing a relatively higher value in the particular bucket to initiate a bucket split;
inserting a new node into the skiplist after the particular node;
moving the relatively higher value and any subsequent values within the particular bucket into a bucket associated with the inserted new node; and
inserting the value into a first empty location within the particular bucket.

### Claim 2

(canceled)

### Claim 3 (depends on 1)

The method of claim 1, wherein each bucket includes the same number of locations available to store values.

### Claim at position 4

4-5. (canceled)

### Claim 6 (depends on 1)

The method of claim 1, wherein the identified particular location within the bucket is an empty location within the bucket of the particular node, wherein the empty location is after a relatively lower value within the bucket, the method further comprising adding the value to be inserted into the empty location.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
identifying the value to be inserted as already existing within the bucket of the particular node; and
aborting the insertion of the value into the skiplist.

### Claim at position 7

8-9. (canceled)

### Claim 10 (depends on 1)

The method of claim 1, further comprising adding connections to the new node in at least the lowest linked list of the skiplist.

### Claim 11

A system comprising:
one or more computers; and
a computer-readable medium coupled to the one or more computers including instructions stored thereon which, when executed by the one or more computers, cause the one or more computers to perform operations comprising:
identifying a value to be inserted into a skiplist, the skiplist comprising a data structure for referencing a plurality of ordered nodes, the data structure having a plurality of linked lists, each node representing at least one memory block, wherein each node is associated with a bucket including a set of ordered values, and wherein a first value in each bucket of each node is a relatively lowest value in the bucket, and wherein each bucket includes a plurality of locations available to store values;
comparing the value to be inserted to the first value in each bucket to identify a particular node, associated with a particular bucket, in which the value to be inserted may be located;
in response to determining that the first value of the particular node is not the same as the value to be inserted, comparing the value to be inserted with the ordered values in the particular bucket of the particular node;
identifying a particular location within the particular bucket of the particular node to insert the value, wherein no empty locations remain available within the bucket of the identified particular node;
identifying a location storing a relatively higher value in the particular bucket to initiate a bucket split;
inserting a new node into the skiplist after the particular node;
moving the relatively higher value and any subsequent values within the particular bucket into a bucket associated with the inserted new node; and
inserting the value into a first empty location within the particular bucket.

### Claim 12 (depends on 11)

The system of claim 11, wherein each bucket includes the same number of locations available to store values.

### Claim 13

(canceled)

### Claim 14 (depends on 11)

The system of claim 11, wherein the identified particular location within the bucket is an empty location within the bucket of the particular node, wherein the empty location is after a relatively lower value within the bucket, wherein the computer-readable medium further includes instructions stored thereon which, when executed by the one or more computers, cause the one or more computers to perform operations comprising adding the value to be inserted into the empty location.

### Claim 15 (depends on 11)

The system of claim 11, wherein the computer-readable medium further includes instructions stored thereon which, when executed by the one or more computers, cause the one or more computers to perform operations comprising:
identifying the value to be inserted as already existing within the bucket of the particular node; and
aborting the insertion of the value into the skiplist. 16-17. (canceled)

### Claim 18 (depends on 11)

The system of claim 11, wherein the computer-readable medium further includes instructions stored thereon which, when executed by the one or more computers, cause the one or more computers to perform operations comprising adding connections to the new node in at least the lowest linked list of the skiplist.

### Claim 19

A computer program product encoded on a tangible, non-transitory storage medium, the product comprising computer-readable instructions for causing one or more processors to perform operations comprising:
identifying a value to be searched for within a skiplist, the skiplist comprising a data structure for referencing a plurality of ordered nodes, the data structure having a plurality of linked lists, each node representing at least one memory block, wherein each node is associated with a bucket including a set of ordered values, and wherein a first value in each bucket of each node is a relatively lowest value in the bucket;
comparing the value to be searched to the first value in each bucket to identify a particular node, associated with a particular bucket, in which the value to be searched may be located; and
in response to determining that the first value in the particular bucket of the particular node is not the same as the value to be searched, comparing the value to be searched with ordered values in the particular bucket of the particular node.

### Claim 20 (depends on 19)

The computer program product of claim 19, wherein each bucket includes a plurality of locations available to store values.

### Claim 21

(canceled)

### Claim 22 (depends on 1)

The method of claim 1, wherein moving the relatively higher value and any subsequent values results in at least one empty location within the bucket.

### Claim 23 (depends on 20)

The computer program product of claim 20, wherein the value to be searched represents a value to be inserted into the skiplist.

### Claim 24 (depends on 23)

The computer program product of claim 23, wherein comparing the value to be searched comprises identifying a particular location within the bucket of the particular node to insert the value to be searched.

### Claim 25 (depends on 24)

The computer program product of claim 24, wherein the identified particular location within the bucket is an empty location within the bucket of the particular node, wherein the empty location is after a relatively lower value within the bucket, wherein the computer-readable medium further includes instructions stored thereon which, when executed by the one or more computers, cause the one or more computers to perform operations comprising adding the value to be inserted into the empty location.

### Claim 26 (depends on 24)

The computer program product of claim 24, wherein the computer-readable medium further includes instructions stored thereon which, when executed by the one or more computers, cause the one or more computers to perform operations comprising:
identifying the value to be inserted as already existing within the bucket of the particular node; and
aborting the insertion of the value into the skiplist.

### Claim 27 (depends on 24)

The computer program product of claim 24, wherein the identified particular location within the bucket of the particular node to insert the value is between two existing values in the bucket, and wherein no empty locations remain available within the bucket of the particular node, wherein the computer-readable medium further includes instructions stored thereon which, when executed by the one or more computers, cause the one or more computers to perform operations comprising:
identifying a location storing a relatively higher value in the bucket to initiate a bucket split;
inserting a new node into the skiplist after the particular node;
moving the relatively higher value and any subsequent values within the bucket into the bucket of the new node, wherein moving the relatively higher value and any subsequent values results in at least one empty location within the bucket; and
inserting the value into a first empty location within the particular bucket.

### Claim 28 (depends on 27)

The computer program product of claim 27, wherein the computer-readable medium further includes instructions stored thereon which, when executed by the one or more computers, cause the one or more computers to perform operations comprising adding connections to the new node in at least the lowest linked list of the skiplist.
