IP Library Granted Patent US 11,023,168
Granted Patent B2
US 11,023,168 · App. 16/365,224 · Granted Jun 1, 2021

Oblivious RAM with logarithmic overhead

Inventors: Kevin Yeo (Long Island City, NY); Sarvar Patel (Montville, NJ); Giuseppe Persiano (New York, NY); Mariana Raykova (Mountain View, CA)
Assignee: Google LLC
G06F3/0659G06F3/064G06F3/0604G06F3/0644G06F3/0673G06F16/2255G06F21/10G06F21/78H04L67/10
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,023,168
App. No.
16/365,224
Granted
Jun 1, 2021
Kind
B2
Abstract

A method includes executing an instruction to execute a query for a data block, the data block associated with a corresponding memory level of a logarithmic number of memory levels (l i ) of memory, each memory level (l i ) including physical memory (RAM i ) residing on memory hardware of a distributed system. The method also includes retrieving a value associated with the data block from an oblivious hash table using a corresponding key, and extracting un-queried key value pairs from the oblivious hash table associated with un-queried data blocks after executing a threshold number of queries for data blocks. The method also includes a multi-array shuffle routine on the extracted key value pairs from the oblivious hash table to generate an output array containing the un-queried key value pairs.

Claims (42)

1. A method comprising:

executing, by data processing hardware, an instruction to execute a query (q) for a data block (B), the data block (B) associated with a corresponding memory level (l i ) of a logarithmic number of memory levels (l i ) of memory, each memory level (l i ) comprising physical memory (RAM i ) residing on memory hardware of a distributed system in communication with the data processing hardware;

retrieving, by the data processing hardware, a value (v) associated with the data block (B) from an oblivious hash table using a corresponding key (k);

extracting, by the data processing hardware, un-queried key value pairs (k, v) from the oblivious hash table associated with un-queried data blocks after executing a threshold number of queries (q) for data blocks; and

executing, by the data processing hardware, a multi-array shuffle routine on the extracted key value pairs from the oblivious hash table to generate an output array containing the un-queried key value pairs (k, v).

2. The method of claim 1 , wherein executing the multi-array shuffle routine comprises:

merging one or more input arrays of data blocks (B) each having a capacity less than a threshold capacity into a new array; and

shuffling the new array obliviously.

3. The method of claim 1 , wherein the logarithmic number of memory levels (l i ) comprise a logarithmic number of memory levels (l i ) of increasing size where each memory level (l i ) has a storage capacity equal to the joint capacity of all preceding smaller memory levels (l i ).

4. The method of claim 1 , wherein the instruction to execute the query (q) for the data block (B) comprises an operation including a read or write operation on the data block and an address indicating a memory location for the data block (B).

5. The method of claim 4 , wherein the instruction to execute the query (q) for the data block (B) further comprises data when the operation includes the write operation.

6. The method of claim 1 , further comprising, when the corresponding memory level (l i ) associated with the data block (B) is not a lowest memory level (l l ), moving the data block (B) to the lowest memory level (l l ) after executing the instruction to execute the query (q).

7. The method of claim 6 , further comprising, after moving the data block (B) to the lowest memory level (l l ), updating, by the data processing hardware, a memory-level map in communication with the data processing hardware to indicate that the corresponding memory level (l i ) associated with the data block (B) now includes the lowest memory level (l l ).

8. The method of claim 1 , wherein the data processing hardware resides on a client device.

9. The method of claim 8 , wherein the client device stores a memory-level map in memory hardware of the client device, the memory-level map mapping each data block stored on the memory hardware of the distributed system to a corresponding query memory level (l q ).

10. The method of claim 1 , further comprising:

executing, by the data processing hardware, an instruction to execute a new query (q) for another data block (B);

determining, by the data processing hardware, whether the other data block (B) is stored locally on memory hardware of a client device; and

when the other data block (B) is stored locally on the memory hardware of the client device, retrieving, by the data processing hardware, the other data block (B) from the memory hardware of the client device.

11. The method of claim 10 , further comprising, when the other data block (B) is stored locally on the memory hardware of the client device, issuing, by the data processing hardware, one or more fake queries to the distributed system for retrieving a corresponding dummy block (D) to conceal the retrieval of the other data block (B) from the memory hardware of the client device.

12. A system comprising:

data processing hardware; and

memory hardware in communication with the data processing hardware and storing instructions, that when executed by the data processing hardware, cause the data processing hardware to perform operations comprising:

executing an instruction to execute a query (q) for a data block (B), the data block (B) associated with a corresponding memory level (l i ) of a logarithmic number of memory levels (l i ) of memory, each memory level (l i ) comprising physical memory (RAM i ) residing on a storage abstraction of a distributed system in communication with the data processing hardware;

retrieving a value (v) associated with the data block (B) from an oblivious hash table using a corresponding key (k);

extracting un-queried key value pairs (k, v) from the oblivious hash table associated with un-queried data blocks after executing a threshold number of queries (q) for data blocks; and

executing a multi-array shuffle routine on the extracted key value pairs from the oblivious hash table to generate an output array containing the un-queried key value pairs (k, v).

13. The system of claim 12 , wherein executing the multi-array shuffle routine comprises:

merging one or more input arrays of data blocks (B) each having a capacity less than a threshold capacity into a new array; and

shuffling the new array obliviously.

14. The system of claim 12 , wherein the logarithmic number of memory levels (l i ) comprise a logarithmic number of memory levels (l i ) of increasing size where each memory level (l i ) has a storage capacity equal to the joint capacity of all preceding smaller memory levels (l i ).

15. The system of claim 12 , wherein the instruction to execute the query (q) for the data block (B) comprises an operation including a read or write operation on the data block and an address indicating a memory location for the data block (B).

16. The system of claim 15 , wherein the instruction to execute the query (q) for the data block (B) further comprises data when the operation includes the write operation.

17. The system of claim 12 , wherein the operations further comprise, when the corresponding memory level (l i ) associated with the data block (B) is not a lowest memory level (l l ), moving the data block (B) to the lowest memory level (l i ) after executing the instruction to execute the query (q).

18. The system of claim 17 , wherein the operations further comprise, after moving the data block (B) to the lowest memory level (l l ), updating a memory-level map stored on the memory hardware to indicate that the corresponding memory level (l i ) associated with the data block (B) now includes the lowest memory level (l l ).

19. The system of claim 12 , wherein the data processing hardware and the memory hardware reside on a client device.

20. The system of claim 12 , wherein the memory hardware stores a memory-level map, the memory-level map mapping each data block stored on the storage abstraction of the distributed system to a corresponding query memory level (l q ).

21. The system of claim 12 , wherein the operations further comprise:

executing an instruction to execute a new query (q) for another data block (B);

determining whether the other data block (B) is stored locally on the memory hardware; and

when the other data block (B) is stored locally on the memory hardware, retrieving the other data block (B) from the memory hardware.

22. The system of claim 21 , wherein the operations further comprise, when the other data block (B) is stored locally on the memory hardware, issuing one or more fake queries to the storage abstraction for retrieving a corresponding dummy block (D) to conceal the retrieval of the other data block (B) from the memory hardware.

Assignments (3)
CONVERSION Recorded Sep 15, 2020
From: GOOGLE INC.
To: GOOGLE LLC
Reel/Frame 053783/0792 →
CONVERSION Recorded Mar 18, 2020
From: GOOGLE INC.
To: GOOGLE LLC
Reel/Frame 053036/0050 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 6, 2019
From: YEO, KEVIN; PATEL, SARVAR; PERSIANO, GIUSEPPE; RAYKOVA, MARIANA
To: GOOGLE INC.
Reel/Frame 049389/0908 →
Continuity (2)
Provisional Application 62653762 · Apr 6, 2018
Related Publication 20190310799A1 · Oct 10, 2019