# US 2022/0292093 A1 · Techniques For In Memory Key Range Searches

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

- Number: US 2022/0292093 A1
- Document ID: US20220292093A1
- Status: Published application
- Kind: A1
- Application number: 17/831,240
- Filed: 2022-06-02
- Published: 2022-09-15
- Earliest claimed: 2019-01-04
- Assignees: Visa International Service Association
- Applicants: Visa International Service Association
- Inventors: Naveen Pishe; Abhilash Srimat Tirumala Pallerlamudi
- Web page: https://patentgrep.com/patent/US20220292093A1

## CPC

- G06F 16/2474: {Sequence data queries, e.g. querying versioned data}
- G06F 16/2246: {Trees, e.g. B+trees}
- G06F 16/2255: {Hash tables}
- G06F 16/248: Presentation of query results
- G06F 16/9027: {Trees}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

One embodiment of the invention is directed to a method for performing efficient key range searches in a distributed computing system. The method may comprise, receiving a first key (e.g., an alphanumeric identifier). A key range tree map associated with the first key may be identified from a plurality of key range tree maps. In some embodiments, individual key range tree maps map a set of minimum range values to a set of index values. The method may further comprise determining an index value associated with a second key using the determined key range tree map. Transaction processing data associated with the first key may be determined using the index value and provided to the requesting source. Utilizing the plurality of key range tree maps as described herein enables a key range search to be performed using on-board memory of an electronic device.

## Claims

### Claim at position 1

1-20. (canceled)

### Claim 21

A method comprising:
generating an indexed list comprising a plurality of entries that comprise a plurality of index values and a plurality of data instances respectively corresponding to the plurality of entries;
generating a first tree map with nodes mapping minimum range values to the plurality of index values;
sorting nodes of the first tree map according to corresponding minimum range values associated with the nodes; and
generating a hash map comprising a plurality of hash values formed from hashed keys, and a corresponding plurality of key values, the key values comprising tree maps including the first tree map.

### Claim 22 (depends on 21)

The method of claim 21, wherein sorting the nodes of the first tree map enables derivation of a specific index value for a minimum range value based at least in part on a traversal of the first tree map and performing comparisons of the minimum range value to one or more keys corresponding to respective nodes of the first tree map, wherein particular steps of the traversal of the first tree map is determined based at least in part on the comparisons.

### Claim 23 (depends on 21)

The method of claim 21, further comprising storing the indexed list, the first tree map, and the hash map on different nodes of a distributed system.

### Claim 24 (depends on 21)

The method of claim 21, wherein the indexed list is a first indexed list and wherein the method further comprises:
determining a maximum range value of a numerical range associated with a particular data instance of the plurality of data instances; and
generating or updating a second indexed list based at least in part on the maximum range value, the second indexed list being configured to map a set of index values to one or more maximum range values individually corresponding to a particular numerical range, the second indexed list maintaining a mapping between a particular index value and the maximum range value.

### Claim 25 (depends on 24)

The method of claim 24, wherein the particular index value is mapped to the maximum range value of the second indexed list, and wherein the particular index value is mapped to the particular data instance of the first indexed list.

### Claim 26 (depends on 21)

The method of claim 21, wherein the indexed list, the first tree map, and the hash map enable execution of a subsequent key-range search.

### Claim 27 (depends on 21)

The method of claim 21, wherein the plurality of data instances comprises one or more protocol sets associated with determining whether a transaction is fraudulent.

### Claim 28 (depends on 21)

The method of claim 21, wherein the indexed list, the first tree map, and the hash map are configured to be stored in local memory at respective computing nodes of a distributed system.

### Claim 29 (depends on 21)

The method of claim 21, wherein respective memory sizes of the indexed list, the first tree map, and the hash map are configured based at least in part on corresponding memory resources of respective computing nodes on which they are stored.

### Claim 30

A computing device, comprising:
one or more processors, and
a computer readable medium coupled to the processor, the computer readable medium comprising computer-executable instructions that, when executed by the one or more processors, cause the computing device to:
generate an indexed list comprising a plurality of entries that comprise a plurality of index values and a plurality of data instances respectively corresponding to the plurality of entries;
generate a first tree map with nodes mapping minimum range values to the plurality of index values;
sort nodes of the first tree map according to corresponding minimum range values associated with the nodes; and
generate a hash map comprising a plurality of hash values formed from hashed keys, and a corresponding plurality of key values, the key values comprising tree maps including the first tree map.

### Claim 31 (depends on 30)

The computing device of claim 30, wherein executing the computer-executable instructions further causes the computing device to:
determine that a set of numerical ranges individually associated with the plurality of data instances are non-contiguous;
in response to determining that the set of numerical ranges are non-contiguous, generate an additional indexed list, the additional indexed list associating an additional plurality of index values to a plurality of maximum range values of the set of numerical ranges; and
store the additional indexed list.

### Claim 32 (depends on 30)

The computing device of claim 30, wherein the first tree map is one of a plurality of tree maps stored by a plurality of worker nodes of a distributed system, wherein the plurality of tree maps individually storing respective minimum range values corresponding to a portion of the plurality of data instances.

### Claim 33 (depends on 30)

The computing device of claim 30, wherein executing the computer-executable instructions further causes the computing device to generate a node for the first tree map, wherein generating the node comprises transmitting, to a worker node of a distributed system, a request to update the first tree map.

### Claim 34 (depends on 30)

The computing device of claim 30, wherein at least one key value of the corresponding plurality of key values indicates a location of the first tree map.

### Claim 35 (depends on 30)

The computing device of claim 30, wherein a respective indexed list, a respective tree map, and a respective hash map are updated for each of the plurality of data instances.

### Claim 36 (depends on 30)

The computing device of claim 30, wherein the indexed list is a first indexed list, and wherein executing the computer-executable instructions further causes the computing device to:
generate a second tree map different from the first tree map, the second tree map mapping at least one minimum range value to at least one index value of the first indexed list.

### Claim 37 (depends on 36)

The computing device of claim 36, wherein the first tree map is stored in a first memory resource of a first worker node of a distributed system and the second tree map is stored in a second memory resource of a second worker node of the distributed system.

### Claim 38 (depends on 37)

The computing device of claim 37, wherein the first memory resource is configured to store more data than the second memory resource.

### Claim 39 (depends on 30)

The computing device of claim 30, wherein executing the computer-executable instructions further cause the computing device to store the hash map in local memory at a manager node of a distributed system, the distributed system comprising the manager node and one or more worker nodes.

### Claim 40 (depends on 30)

The computing device of claim 30, wherein utilizing the indexed list, the first tree map, and the hash map enables a subsequent key-range search to be performed in logarithmic time.
