# US 2021/0173777 A1 · Dynamic memory address encoding

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

- Number: US 2021/0173777 A1
- Document ID: US20210173777A1
- Status: Published application
- Kind: A1
- Application number: 16/709,192
- Filed: 2019-12-10
- Published: 2021-06-10
- Earliest claimed: 2019-12-10
- Assignees: Pony Al Inc.
- Applicants: Pony Al Inc.
- Inventors: Yubo Zhang; Pingfan Meng
- Web page: https://patentgrep.com/patent/US20210173777A1

## CPC

- G06F 12/0811: with multilevel cache hierarchies
- G06F 12/0215: {with look ahead addressing means}
- G06F 12/0292: {using tables or multilevel address translation means (G06F12/023 takes precedence; address translation in virtual memory systems G06F12/10)}
- G06F 12/0802: Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
- G06F 12/0851: {Cache with interleaved addressing}
- G06F 12/1045: associated with a data cache
- G06F 2212/1021: Hit rate improvement
- G06F 2212/40: Specific encoding of data in memory or cache
- G06F 2212/454: Vector or matrix data
- G06F 2212/502: using adaptive policy
- G06F 2212/6024: History based prefetching
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Described herein is a memory architecture that is configured to dynamically determine an address encoding to use to encode multi-dimensional data such as multi-coordinate data in a manner that provides a coordinate bias corresponding to a current memory access pattern. The address encoding may be dynamically generated in response to receiving a memory access request or may be selected from a set of preconfigured address encodings. The dynamically generated or selected address encoding may apply an interleaving technique to bit representations of coordinate values to obtain an encoded memory address. The interleaving technique may interleave a greater number of bits from the bit representation corresponding to the coordinate direction in which a coordinate bias is desired than from bit representations corresponding to other coordinate directions.

## Claims

### Claim 1

A computer-implemented method for dynamic memory address encoding of coordinate data, the method comprising:
receiving a memory access request for the coordinate data;
identifying one or more constraints associated with the coordinate data;
predicting a coordinate bias for the coordinate data based at least in part on the one or more constraints;
determining an address encoding for the coordinate data that provides the predicted coordinate bias;
applying the address encoding to the coordinate data to obtain an encoded memory address; and
storing the coordinate data at a memory location corresponding to the encoded memory address.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein determining the address encoding comprises dynamically generating the address encoding responsive, at least in part, to receiving the memory access request for the coordinate data.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein determining the address encoding comprises selecting the address encoding from a set of preconfigured address encodings.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein determining the address encoding comprises determining an interleaving technique to apply to bit representations of coordinate values of the coordinate data to obtain the encoded memory address.

### Claim 5 (depends on 4)

The computer-implemented method of claim 4, wherein determining the interleaving technique comprises:
determining a particular coordinate direction associated with the predicted coordinate bias; and
determining a number of bits from a respective bit representation of a particular coordinate value in the coordinate data that corresponds to the particular coordinate direction to be interleaved with a respective one or more bits from each of one or more other coordinate directions in order to obtain the encoded memory address.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5, wherein the number of bits included in the encoded memory address from the respective bit representation of the particular coordinate value in the coordinate data that corresponds to the particular coordinate direction is greater than the respective one or more bits included in the encoded memory address from each of one or more other coordinate directions.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, further comprising retrieving the coordinate data from first data storage, wherein the memory location corresponding to the encoded memory address at which the coordinate data is stored is located in second data storage, and wherein the second data storage provides faster data access than the first data storage.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, wherein the coordinate data is map data, and wherein the coordinate bias is further predicted based at least in part on at least one of a navigation route of a vehicle or a direction of travel of the vehicle.

### Claim 9 (depends on 1)

The computer-implemented method of claim 1, wherein the coordinate data is map data, and wherein the one or more constraints comprise one or more obstacles identified in at least a portion of the map data that prevent vehicle travel in one or more coordinate directions while the vehicle traverses a physical environment corresponding to the at least a portion of the map data.

### Claim 10

A system for dynamic memory address encoding of coordinate data, the system comprising:
at least one processor; and
at least one memory storing computer-executable instructions, wherein the at least one processor is configured to access the at least one processor and execute the computer-executable instructions to:
receive a memory access request for the coordinate data;
identify one or more constraints associated with the coordinate data;
predict a coordinate bias for the coordinate data based at least in part on the one or more constraints;
determine an address encoding for the coordinate data that provides the predicted coordinate bias;
apply the address encoding to the coordinate data to obtain an encoded memory address; and
store the coordinate data at a memory location corresponding to the encoded memory address.

### Claim 11 (depends on 10)

The system of claim 10, wherein the at least one processor is configured to determine the address encoding by executing the computer-executable instructions to dynamically generate the address encoding responsive, at least in part, to receiving the memory access request for the coordinate data.

### Claim 12 (depends on 10)

The system of claim 10, wherein the at least one processor is configured to determine the address encoding by executing the computer-executable instructions to select the address encoding from a set of preconfigured address encodings.

### Claim 13 (depends on 10)

The system of claim 10, wherein the at least one processor is configured to determine the address encoding by executing the computer-executable instructions to determine an interleaving technique to apply to bit representations of coordinate values of the coordinate data to obtain the encoded memory address.

### Claim 14 (depends on 13)

The system of claim 13, wherein the at least one processor is configured to determine the interleaving technique by executing the computer-executable instructions to:
determine a particular coordinate direction associated with the predicted coordinate bias; and
determine a number of bits from a respective bit representation of a particular coordinate value in the coordinate data that corresponds to the particular coordinate direction to be interleaved with a respective one or more bits from each of one or more other coordinate directions in order to obtain the encoded memory address.

### Claim 15 (depends on 14)

The system of claim 14, wherein the number of bits included in the encoded memory address from the respective bit representation of the particular coordinate value in the coordinate data that corresponds to the particular coordinate direction is greater than the respective one or more bits included in the encoded memory address from each of one or more other coordinate directions.

### Claim 16 (depends on 10)

The system of claim 10, wherein the at least one processor is further configured to execute the computer-executable instructions to retrieve the coordinate data from first data storage, wherein the memory location corresponding to the encoded memory address at which the coordinate data is stored is located in second data storage, and wherein the second data storage provides faster data access than the first data storage.

### Claim 17 (depends on 10)

The system of claim 10, wherein the coordinate data is map data, and wherein the coordinate bias is further predicted based at least in part on at least one of a navigation route of a vehicle or a direction of travel of the vehicle.

### Claim 18 (depends on 10)

The system of claim 10, wherein the coordinate data is map data, and wherein the one or more constraints comprise one or more obstacles identified in at least a portion of the map data that prevent vehicle travel in one or more coordinate directions while the vehicle traverses a physical environment corresponding to the at least a portion of the map data.

### Claim 19

A computer program product for dynamic memory address encoding of coordinate data, the computer program product comprising a non-transitory computer-readable medium readable by a processing circuit, the non-transitory computer-readable medium storing instructions executable by the processing circuit to cause a method to be performed, the method comprising:
receiving a memory access request for the coordinate data;
identifying one or more constraints associated with the coordinate data;
predicting a coordinate bias for the coordinate data based at least in part on the one or more constraints;
determining an address encoding for the coordinate data that provides the predicted coordinate bias;
applying the address encoding to the coordinate data to obtain an encoded memory address; and
storing the coordinate data at a memory location corresponding to the encoded memory address.

### Claim 20 (depends on 19)

The computer program product of claim 19, wherein determining the address encoding comprises one of dynamically generating the address encoding responsive, at least in part, to receiving the memory access request for the coordinate data or selecting the address encoding from a set of preconfigured address encodings.
