ORAM optimization method in multi-user shared storage scenario

Through the recursively designed location map and parallel access strategy, it solves the problems of third-party trust proxy security threats and high client storage overhead in multi-user ORAM solutions, achieving efficient user privacy protection and system performance improvement.

CN118627129BActive Publication Date: 2024-10-11XIANGJIANG LAB
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411107321.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-13
Publication Date
2024-10-11
Estimated Expiration
2044-08-13

AI Technical Summary

Technical Problem

Existing multi-user ORAM solutions have problems such as security threats from third-party trust agents, large client storage overhead, and system performance being affected by serialization operations.

Method used

A recursively designed location map is used to implement a solution that does not require a third-party trust agent. The client communicates directly with the untrusted server. Through parallel access strategies and path merging optimization strategies, system performance and throughput are improved, and client storage burden is reduced.

Benefits of technology

Effectively hide the data storage structure, protect user privacy, reduce storage overhead, improve the efficiency of simultaneous access by multiple users, and improve system performance and security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118627129B_ABST
    Figure CN118627129B_ABST
Patent Text Reader

Abstract

The present application provides an ORAM optimization strategy in a multi-user shared storage scenario, including the following steps: Step 1: Each client checks whether there is a target data block in the local cache; Step 2: Each client obtains the location of the target data block; Step 3: Each client sends a read and write request to the server; Step 4: The server arranges the requests sent by each client by path; Step 5: The server obtains the data block in path p; Step 6: Each client performs corresponding read and write operations; Step 7: The client performs an eviction operation after each A read and write operations; Step 8: When a node in the ORAM tree is read and written for more than S times, a shuffle operation will be performed. The present invention provides an ORAM optimization strategy in a multi-user shared storage scenario, so that multi-user clients can communicate directly with untrusted servers, avoiding performance bottlenecks caused by trusted agents; reducing the storage overhead of the client, reducing communication costs, and improving the efficiency of multiple users accessing at the same time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of information security technology, and in particular to an ORAM optimization method in a multi-user shared storage scenario. Background Art

[0002] Cloud computing is developing rapidly. Users can make full use of the large-capacity storage resources in the cloud without being constrained by local storage limitations. Although the data is stored in the cloud, users can still easily access and manage their data. Through appropriate access control policies, users can obtain data from the cloud when needed and modify, update or delete it. However, cloud computing faces many problems in its development, and its security issues are particularly prominent. Traditional encryption can ensure the security of data content, but encryption alone is not enough to fully ensure the privacy of data, because with the rapid development of data mining technology, access patterns have also become a potential way to leak user privacy.

[0003] Oblivious random access machine (ORAM) is an effective way to protect user access patterns in the current existing technology. It transforms one-step access into multiple steps through a specific access address selection strategy to hide the access address of the real data block and enhance the privacy of the access pattern. However, in most existing ORAM schemes, there are several problems: first, they are all for a single user, or multiple mutually trusted users, and the users share a secret key; second, many ORAM schemes require a trusted third party to act as a proxy for multiple clients to coordinate and process requests from multiple users, but the existence of a trusted third party may become a potential target of attack, thereby threatening the security of the entire system; third, the client storage overhead is large, mainly caused by additional data structures such as location maps, which increases with the increase in data volume and the number of users, and constitutes a significant burden on storage resources and may affect the operating efficiency of the system; finally, in most multi-user ORAM schemes, due to the need to avoid data conflicts, sequential execution is usually used when responding to client requests. When multiple users access at the same time, due to the serialization of the operation, the system performance is limited and the concurrent access capability is affected. Summary of the invention

[0004] The present application is made in view of the above problems, and its purpose is to provide an ORAM optimization method in a multi-user shared storage scenario, design an innovative storage form of the location map based on the recursive idea, realize a third-party trust agent solution, and enable multi-user clients to communicate directly with untrusted servers; at the same time, since key data structures such as the location map ORAM1 are stored on the server side, the storage burden of the client is greatly reduced; through an innovative parallel access strategy, the performance and throughput of the system are improved, and the efficiency of multiple users accessing at the same time is improved.

[0005] Specifically, the first aspect of the present application provides an ORAM optimization method in a multi-user shared storage scenario, comprising the following steps:

[0006] Step 1: Each client accesses its own local cache to see if the target data block exists. If so, it directly reads and writes. If not, it continues with the following steps;

[0007] Step 2: Each client accesses the location map stored on the server based on the recursive ORAM design, obtains the specific location of its own target data in the ORAM data tree and generates a read-write path p;

[0008] Step 3: Each client sends a read / write request to the server according to the read / write path p of the target data block, and marks the request as a normal request or a low-security request;

[0009] Step 4: The server arranges the requests according to the path number;

[0010] The server distinguishes the security protection level of the read and write requests based on the client's annotations and arranges the read and write requests according to the path number;

[0011] Step 5: The server selects path p and obtains the data block in path p according to the path merging optimization strategy and the client annotation, and returns the data block to the corresponding client;

[0012] In path p, the target data block corresponding to the common request is the primary target block, and the client sending the request is the primary client; the priority of the low-security request is lower than that of the common request, and the corresponding target data block is the secondary target block;

[0013] Step 6: After each client obtains the data block, it performs corresponding read and write operations;

[0014] When the corresponding read / write request of the client is a read operation, only reading is performed without changing the data; when the corresponding read / write request is a write operation, the data block is modified and the data block in the ORAM tree is updated;

[0015] Step 7: The client performs an eviction operation after each A path access, and evicts the local cache data into the memory;

[0016] The main purpose of the client performing the eviction operation after each A read and write operation is to prevent the client's local cache from overflowing. It is a mechanism used in ORAM to manage memory allocation and data storage;

[0017] Step 8: When a node in the ORAM tree is read and written more than S times, a shuffle operation will be performed to read the data blocks in the path, mix and shuffle them with the data in the buffer, and then randomly select data blocks to write back to the path.

[0018] The shuffle operation of the ORAM tree randomly arranges the corresponding nodes and their associated paths, which can effectively hide the actual structure of the data storage, thereby protecting sensitive information from being easily inferred or attacked.

[0019] Furthermore, each client accesses the location map stored on the server side based on the design of recursive ORAM to obtain the specific location of its own target data in the ORAM data tree, specifically including:

[0020] Step 1: Generate a location map ORAM1 for the ORAM data tree and store it on the server side, then generate a location map ORAM2 for ORAM1 and store it on each client side;

[0021] The ORAM data tree is directly stored on the untrusted server side. ORAM1 is the location mapping of the data storage structure on the ORAM data tree. ORAM1 is also stored on the server side in a recursive manner, and a new location mapping map ORAM2 is built for the storage of ORAM1 and stored on the client side. This can more effectively utilize the storage space and meet the access requirements of multiple users to the location mapping map, thereby reducing storage overhead while ensuring data privacy;

[0022] Step 2: When the client initiates an access request for data block a, the client first searches for the storage information of data block a in the local cache, which is recorded as data block a1; if it exists, a1 is returned immediately; if it does not exist, the following steps are continued;

[0023] If data block a1 is located in the client's temporary cache, it means that the client has read this data block recently and can read it from the cache without communicating with the server to obtain the data block.

[0024] Step 3: The client obtains the location of data block a1 in ORAM1 and the read / write path PA from ORAM2, and randomly selects the path PB for remapping of data block a1;

[0025] Step 4: The client will request the server to download all data blocks on the path PA where a1 is located to the client;

[0026] Step 5: The client writes all data blocks on path PA except the target data block a1 back to the server together with the data blocks mapped to path PA in the local storage;

[0027] The client downloads and writes back all data blocks on the path PA except the target data block a1, which serves to cover the user's target data block and protect the user's privacy;

[0028] Step 6: The client writes data block a1 back to ORAM1 after accessing path PB.

[0029] Writing back read data involves relocating the modified data block to another location; this process is accompanied by reselection of paths to ensure that the data block is stored correctly and the access pattern remains anonymous.

[0030] Furthermore, the location map is used to track the location of the data block in the ORAM storage binary tree to achieve hiding of the data access mode, and the location information of each data block needs to be recorded.

[0031] Furthermore, the storage information of the data block a specifically includes the storage ID and the path PA where the data block a is stored in the ORAM tree;

[0032] Further, the remapping is to randomly remap the position of the target data block a to a new random position;

[0033] Remapping not only helps update the location information of data blocks, but also ensures the anonymity of data access patterns by dynamically remapping and balancing evictions while maintaining its statistical safety in tree-based ORAM;

[0034] Further, the read and write operations specifically include: if it is a read operation, directly reading the data, and for a write operation, updating the value of the data block a in the subtree;

[0035] Furthermore, the server selects path p and obtains data blocks in path p according to the path merging optimization strategy and the client annotation, specifically including:

[0036] Step 1: The server inserts the read and write requests of each client into the corresponding request queue in sequence according to the path number, and distinguishes between ordinary requests and low-security requests;

[0037] Step 2: When a request queue meets the path merging optimization strategy or a request counter reaches the threshold, the corresponding path P is accessed;

[0038] Step 3: Traverse the entire path P and try to find all target blocks in each node on the path;

[0039] Step 4: If the target block is found in a node on the path, the data block is directly obtained; if the target block is not found in the node, a data block is randomly obtained to serve as a virtual block;

[0040] Step 5: Return all read data to the corresponding multiple clients.

[0041] Furthermore, the path merging optimization strategy adopts a 1+m+n strategy, namely, 1 primary data block, m secondary data blocks, and n virtual blocks.

[0042] Furthermore, the path merging optimization strategy requires that n reaches a threshold, that is, 1+m must be smaller than the height of the ORAM tree.

[0043] Furthermore, the ORAM data tree stores data in the form of a binary tree.

[0044] In the second aspect, the present application also provides an ORAM optimization method computing device in a multi-user shared storage scenario, which has the function of implementing the method described in the first aspect above. The beneficial effects can be found in the description of the first aspect, which will not be repeated here. The function can be implemented by hardware, or the corresponding software can be implemented by hardware. The hardware or software includes one or more modules corresponding to the above functions. In one possible design, the structure of the device includes an acquisition module, a training module, and optionally, a construction module. These modules can implement the function of the training node in the method example of the first aspect above, and specifically refer to the detailed description in the method example, which will not be repeated here.

[0045] In the third aspect, the present application also provides an ORAM optimization method computing device in a multi-user shared storage scenario, which is used to implement the function of the method described in the first aspect above. The beneficial effects can be found in the description of the first aspect and will not be repeated here. The structure of the computing device includes a processor and a memory, and the memory is used to store instructions and / or data. The memory is coupled to the processor, and when the processor executes the program instructions stored in the memory, the function of the training node in the above-mentioned first aspect example can be implemented. The structure of the computing device also includes a communication interface for communicating with other devices.

[0046] In a fourth aspect, the present application also provides a computer-readable storage medium for an ORAM optimization method in a multi-user shared storage scenario, wherein the computer-readable storage medium stores instructions that, when executed on a computer, enable the computer to execute the method in the first aspect and various possible designs of the first aspect.

[0047] In a fifth aspect, the present application also provides a computer program product comprising instructions for an ORAM optimization method in a multi-user shared storage scenario, which, when executed on a computer, enables the computer to execute the method in the above-mentioned first aspect and various possible designs of the first aspect.

[0048] In a sixth aspect, the present application also provides an ORAM optimization method computing chip in a multi-user shared storage scenario. The chip is connected to a memory, and the chip is used to read and execute a software program stored in the memory to execute the methods in the above-mentioned first aspect and various possible implementation methods of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] In order to more clearly illustrate the embodiments of the present drawings or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present drawings. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying any creative work.

[0050] Figure 1 The overall architecture diagram of the ORAM optimization method in a multi-user shared storage scenario;

[0051] Figure 2 A flowchart of an ORAM optimization method in a multi-user shared storage scenario;

[0052] Figure 3 This is a flow chart of how the server in the present invention obtains data blocks in path p according to the path merging optimization strategy.

[0053] The purpose, features and advantages of this figure will be further described in conjunction with the embodiments with reference to the accompanying drawings. DETAILED DESCRIPTION

[0054] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is described and illustrated below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. Based on the embodiments provided in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.

[0055] Obviously, the drawings described below are only some examples or embodiments of the present application. For ordinary technicians in this field, the present application can also be applied to other similar scenarios based on these drawings without creative work. In addition, it can also be understood that although the efforts made in this development process may be complicated and lengthy, for ordinary technicians in this field related to the content disclosed in this application, some changes in design, manufacturing or production based on the technical content disclosed in this application are just conventional technical means, and should not be understood as insufficient content disclosed in this application.

[0056] If not otherwise specified, all embodiments and optional embodiments of the present application can be combined with each other to form a new technical solution.

[0057] Unless otherwise specified, all technical features and optional technical features of this application can be combined with each other to form a new technical solution.

[0058] If there is no special explanation, all steps of the present application can be performed sequentially or randomly, preferably sequentially. For example, the method includes steps (a) and (b), which means that the method may include steps (a) and (b) performed sequentially, or may include steps (b) and (a) performed sequentially. For example, the method may further include step (c), which means that step (c) may be added to the method in any order. For example, the method may include steps (a), (b) and (c), or may include steps (a), (c) and (b), or may include steps (c), (a) and (b), etc.

[0059] If there is no special explanation, the "include" and "comprising" mentioned in this application represent open-ended or closed-ended expressions. For example, the "include" and "comprising" may represent that other components not listed may also be included or only the listed components may be included or only the listed components may be included.

[0060] If not specifically stated, in this application, the term "or" is inclusive. For example, the phrase "A or B" means "A, B, or both A and B". More specifically, any of the following conditions satisfies the condition "A or B": A is true (or exists) and B is false (or does not exist); A is false (or does not exist) and B is true (or exists); or both A and B are true (or exist).

[0061] In order to better understand the solutions of the embodiments of the present application, some relevant terms and concepts that may be involved in the embodiments of the present application are first introduced below.

[0062] (1) ORAM (Oblivious Random Access Machine) is an encryption scheme that can be used to completely hide the data access pattern of IO operations. The access pattern refers to the order in which IO operations access files, the frequency of accessing files, the order of reading and writing, etc. When users store data in an untrusted third party, even if the data is encrypted, the third party can still infer the user's privacy by collecting user access pattern information. In the ORAM scheme, if the length of two access sequences is the same, then their access patterns are the same, making it impossible for a third party to obtain user privacy through the access pattern. Simply put, ORAM converts a user's file access request into multiple file access requests, thereby obscuring information such as the probability and pattern of user access to files.

[0063] (2) Greedy algorithm, also known as greedy algorithm, is an algorithm that takes the best or optimal (i.e. most favorable) choice under the current state in each step, hoping to lead to the best or optimal result. It is particularly effective in problems with optimal substructure. Optimal substructure means that the local optimal solution can determine the global optimal solution. Simply put, the problem can be decomposed into sub-problems to be solved, and the optimal solution of the sub-problem can be recursively derived to the optimal solution of the final problem.

[0064] (3) A binary tree is a finite set of n (n>=0) nodes, which is either an empty set (called an empty binary tree) or consists of a root node and two non-intersecting left and right subtrees of the root node. The characteristics of a binary tree are as follows: Each node has at most two subtrees, so there is no node with a degree greater than 2 in a binary tree. The left and right subtrees are ordered, and the order cannot be arbitrarily reversed. Even if a node in the tree has only one subtree, it is necessary to distinguish whether it is a left subtree or a right subtree.

[0065] like Figure 1 to Figure 2 As shown, an ORAM optimization method in a multi-user shared storage scenario is provided, including the following steps:

[0066] Step 1: Each client accesses its own local cache to see if the target data block exists. If so, it directly reads and writes. If not, it continues with the following steps;

[0067] Step 2: Each client accesses the location map stored on the server based on the recursive ORAM design, obtains the specific location of its own target data in the ORAM data tree and generates a read-write path p;

[0068] Step 3: Each client sends a read / write request to the server according to the read / write path p of the target data block, and marks the request as a normal request or a low-security request;

[0069] Step 4: The server arranges the requests according to the path number;

[0070] The server distinguishes the security protection level of the read and write requests based on the client's annotations and arranges the read and write requests according to the path number;

[0071] Step 5: The server selects path p and obtains the data block in path p according to the path merging optimization strategy and the client annotation, and returns the data block to the corresponding client;

[0072] In path p, the target data block corresponding to the common request is the primary target block, and the client sending the request is the primary client; the priority of the low-security request is lower than that of the common request, and the corresponding target data block is the secondary target block;

[0073] Step 6: After each client obtains the data block, it performs corresponding read and write operations;

[0074] When the corresponding read / write request of the client is a read operation, only reading is performed without changing the data; when the corresponding read / write request is a write operation, the data block is modified and the data block in the ORAM tree is updated;

[0075] Step 7: The client performs an eviction operation after every 5 path accesses to evict the local cache data into the memory;

[0076] The main purpose of the client performing the eviction operation after every 5 read and write operations is to prevent the client's local cache from overflowing. It is a mechanism used in ORAM to manage memory allocation and data storage;

[0077] Step 8: When a node in the ORAM tree is read and written more than S times, a shuffle operation will be performed to read the data blocks in the path, mix and shuffle them with the data in the buffer, and then randomly select data blocks to write back to the path.

[0078] In this embodiment, the read and write access times of the shuffle operation are limited to 5 times, which is compatible with the eviction operation on the server side. These two times limits can be adjusted accordingly according to actual conditions. The smaller the number limit, the better the protection of data privacy; the larger the number limit, the lower the performance requirement;

[0079] The shuffle operation of the ORAM tree randomly arranges the corresponding nodes and their associated paths, which can effectively hide the actual structure of the data storage, thereby protecting sensitive information from being easily inferred or attacked.

[0080] Figure 1 In the figure, ORAM0 is the ORAM data tree, which is the real stored data; Pos* is ORAM2, which stores the location map corresponding to ORAM1; Stash refers to the local cache area of ​​the client; the different requests in the figure represent different annotations of the requests, and the complete box requests are ordinary requests, namely P1, P5, and P7; the dotted boxes are low-security requests, namely p1, p2, p4, p5, and p7;

[0081] Furthermore, each client accesses the location map stored on the server based on the recursive ORAM design to obtain the specific location of its own target data in the ORAM data tree, including:

[0082] Step 1: Generate a location map ORAM1 for the ORAM data tree and store it on the server side, then generate a location map ORAM2 for ORAM1 and store it on each client side;

[0083] The ORAM data tree is directly stored on the untrusted server side. ORAM1 is the location mapping of the data storage structure on the ORAM data tree. ORAM1 is also stored on the server side in a recursive manner, and a new location mapping map ORAM2 is built for the storage of ORAM1 and stored on the client side. This can more effectively utilize the storage space and meet the access requirements of multiple users to the location mapping map, thereby reducing storage overhead while ensuring data privacy;

[0084] Step 2: When the client initiates an access request for data block a, the client first searches for the storage information of data block a in the local cache, which is recorded as data block a1; if it exists, a1 is returned immediately; if it does not exist, the following steps are continued;

[0085] In this embodiment, since the ORAM data tree and the location map ORAM1 are stored on the server side, the storage burden of the client is greatly reduced;

[0086] If data block a1 is located in the client's temporary cache, it means that the client has read this data block recently and can read it from the cache without communicating with the server to obtain the data block.

[0087] Step 3: The client obtains the location of data block a1 in ORAM1 and the read / write path PA from ORAM2, and randomly selects the path PB for remapping of data block a1;

[0088] Step 4: The client will request the server to download all data blocks on the path PA where a1 is located to the client;

[0089] Step 5: The client writes all data blocks on path PA except the target data block a1 back to the server together with the data blocks mapped to path PA in the local storage;

[0090] The client downloads and writes back all data blocks on the path PA except the target data block a1, which serves to cover the user's target data block and protect the user's privacy;

[0091] Step 6: The client writes data block a1 back to ORAM1 after accessing path PB.

[0092] Writing back read data involves relocating the modified data block to another location; this process is accompanied by reselection of paths to ensure that the data block is stored correctly and the access pattern remains anonymous.

[0093] Furthermore, the location map is used to track the location of the data block in the ORAM storage binary tree to achieve hiding of the data access mode, and the location information of each data block needs to be recorded.

[0094] Furthermore, the storage information of the data block a specifically includes the storage ID and the path PA where the data block a is stored in the ORAM tree;

[0095] Further, remapping is to randomly remap the position of the target data block a to a new random position;

[0096] Remapping not only helps update the location information of data blocks, but also ensures the anonymity of data access patterns by dynamically remapping and balancing evictions while maintaining its statistical safety in tree-based ORAM;

[0097] Further, the read and write operations specifically include: if it is a read operation, directly reading the data, and for a write operation, updating the value of the data block a in the subtree;

[0098] Furthermore, the server selects path p and obtains data blocks in path p according to the path merging optimization strategy and the client annotation, which specifically includes:

[0099] Step 1: The server inserts the read and write requests of each client into the corresponding request queue in sequence according to the path number, and distinguishes between ordinary requests and low-security requests;

[0100] Step 2: When a request queue meets the path merging optimization strategy or a request counter reaches the threshold, the corresponding path P is accessed;

[0101] In this embodiment, satisfying the path merging optimization strategy means satisfying the composition mode of 1+m+n; when the request counter reaches the threshold, it indicates that the queuing time of this request queue is too long and needs to be processed immediately;

[0102] Step 3: Traverse the entire path P and try to find all target blocks in each node on the path;

[0103] Traversing the entire path P is to visit all nodes on the path, which is one of the important operations of the binary tree;

[0104] Step 4: If the target block is found in a node on the path, the data block is directly obtained; if the target block is not found in the node, a data block is randomly obtained to serve as a virtual block;

[0105] In this embodiment, a data block is randomly selected to serve as a virtual block for access to achieve the purpose of obfuscation, which is used to protect the privacy of the user;

[0106] Step 5: Return all read data to the corresponding multiple clients.

[0107] In this embodiment, the design of the path merging optimization strategy can make full use of low-security requests, improve the efficiency of parallel access, achieve the goal of responding to multiple requests when accessing a path, and at the same time ensure the security and privacy of ordinary requests; through this optimization strategy, the parallel access efficiency of the system can be improved without reducing data security, thereby better meeting the needs of users. The implementation of this strategy can not only effectively utilize the characteristics of low-security requests, but also optimize the overall performance of the system and improve user experience.

[0108] Furthermore, the path merging optimization strategy adopts a 1+m+n strategy, namely, 1 primary data block, m secondary data blocks, and n virtual blocks.

[0109] In this embodiment, the path merging optimization strategy refers to the greedy scheduling strategy, which specifically includes 1 main data block, which represents the target data block of the common client request to be responded to by the server; m secondary data blocks, which represent the target data block of the low-security request to be responded to by the server; n virtual blocks, which are virtual data blocks used to confuse the access mode of the main data block;

[0110] Furthermore, the path merging optimization strategy requires that n reaches a threshold, that is, 1+m must be smaller than the height of the ORAM tree.

[0111] In tree-based ORAM, tree height is a key parameter because it directly affects the efficiency of data access and the overall performance of the system. The higher the tree height, the longer the data access path, which increases bandwidth overhead and latency. Therefore, in order to improve performance, the tree height needs to be controlled within a reasonable range;

[0112] In this embodiment, the path merging optimization strategy requires that 1+m must be less than the tree height of the ORAM tree. This means that in each access, in addition to the target node, other nodes can be accessed, but the number of these additional nodes cannot exceed the tree height minus 1. The purpose of this is to ensure that the access mode is not leaked during the data read and write access process.

[0113] In addition, by limiting the number of nodes in each access, memory resources can be better managed to avoid data overflow and other potential problems. This approach is particularly important in multi-core processor systems because it can significantly reduce the processor execution overhead and improve the overall performance of the system; making 1+m always smaller than the tree height of the ORAM tree, thereby optimizing the performance of ORAM and reducing bandwidth overhead.

[0114] Furthermore, the ORAM data tree stores data in the form of a binary tree.

[0115] The tree storage method can improve the storage and reading efficiency of data. Each node of the binary tree has at most two child nodes, which supports dynamic insertion and search. It is highly dynamic and ensures that the time complexity of the operation is low.

[0116] It should be noted that the present application is not limited to the above-mentioned embodiments. The above-mentioned embodiments are only examples, and the embodiments having the same structure as the technical idea and exerting the same effect within the scope of the technical solution of the present application are all included in the technical scope of the present application. In addition, without departing from the scope of the main purpose of the present application, various modifications that can be thought of by those skilled in the art to the embodiments and other methods of combining some of the constituent elements in the embodiments are also included in the scope of the present application.

Claims

1. An ORAM optimization method in a multi-user shared storage scenario, characterized in that: The following steps are involved: Step 1: Each client accesses its own local cache to see if the target data block exists. If so, it directly reads and writes. If not, it continues with the following steps; Step 2: Each client accesses the location map stored on the server based on the recursive ORAM design, obtains the specific location of its own target data in the ORAM data tree and generates a read / write path p, which specifically includes: Step 2.1: Generate a location map ORAM1 for the ORAM data tree and store it on the server side, and then generate a location map ORAM2 for ORAM1 and store it on each client side; Step 2.2: When the client initiates an access request for data block a, the client first searches for the storage information of data block a in the local cache, which is recorded as data block a1; if it exists, a1 is returned immediately; if it does not exist, the following steps are continued; Step 2.3: The client obtains the location of data block a1 in ORAM1 and the read / write path PA from ORAM2, and randomly selects the path PB for remapping of data block a1; Step 2.4: The client will request the server to download all data blocks on the path PA where a1 is located to the client; Step 2.5: The client writes all data blocks on path PA except data block a1 back to the server together with the data blocks mapped to path PA in the local storage; Step 2.6: The client writes the data block a1 back to ORAM1 after accessing the path PB; Step 3: Each client sends a read / write request to the server according to the read / write path p of the target data block, and marks the request as a normal request or a low-security request; Step 4: The server arranges the requests according to the path number; Step 5: The server selects path p and obtains the data block in path p according to the path merging optimization strategy and the client annotation, and returns the data block to the corresponding client, including: Step 5.1: The server inserts the read and write requests of each client into the corresponding request queue in sequence according to the path number, and distinguishes between ordinary requests and low-security requests; Step 5.2: When a request queue meets the path merging optimization strategy or a request counter reaches a threshold, the corresponding path P is accessed; Step 5.3: Traverse the entire path P and try to find all target blocks in each node on the path; Step 5.4: If the target block is found in a node on the path, the data block is directly obtained; if the target block is not found in the node, a data block is randomly obtained to serve as a virtual block; Step 5.5: Return all the read data to the corresponding multiple clients; The path merging optimization strategy is based on the greedy scheduling strategy and adopts a 1+m+n strategy, including 1 main data block, which represents the target data block of the common client request to be responded to by the server; m secondary data blocks, which represent the target data block of the low-security request to be responded to by the server; and n virtual blocks, which are virtual data blocks used to confuse the access mode of the main data block. Step 6: After each client obtains the data block, it performs corresponding read and write operations; Step 7: The client performs an eviction operation after each A path access, and evicts the local cache data into the memory; Step 8: When a node in the ORAM tree is read and written for more than S times, the data in the node path is shuffled.

2. The ORAM optimization method in a multi-user shared storage scenario according to claim 1, characterized in that: The location map is used to track the location of the data block in the ORAM storage binary tree to achieve hiding of the data access mode, and the location information of each data block needs to be recorded.

3. The ORAM optimization method in a multi-user shared storage scenario according to claim 1, characterized in that: The storage information of the data block a specifically includes the storage ID and the path PA where the data block a is stored in the ORAM tree.

4. The ORAM optimization method in a multi-user shared storage scenario according to claim 1, characterized in that: The remapping is to randomly remap the position of the target data block a to a new random position.

5. The ORAM optimization method in a multi-user shared storage scenario according to claim 1, characterized in that: The read and write operations specifically include: if it is a read operation, directly reading the data; for a write operation, updating the value of the data block a in the subtree.

6. The ORAM optimization method in a multi-user shared storage scenario according to claim 1, characterized in that: The path merging optimization strategy requires that n reaches a threshold, that is, 1+m must be smaller than the height of the ORAM tree.

7. The ORAM optimization method in a multi-user shared storage scenario according to claim 1, characterized in that: The ORAM data tree stores data in the form of a binary tree.