# US 2022/0092194 A1 · Smart Direct Access

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

- Number: US 2022/0092194 A1
- Document ID: US20220092194A1
- Status: Published application
- Kind: A1
- Application number: 17/027,555
- Filed: 2020-09-21
- Published: 2022-03-24
- Earliest claimed: 2020-09-21
- Assignees: Sap SE
- Applicants: Sap SE
- Inventors: Stephane Debaecker
- Web page: https://patentgrep.com/patent/US20220092194A1

## CPC

- G06F 21/604: {Tools and structures for managing or administering access control systems}
- G06F 21/6218: {to a system of files or objects, e.g. local or distributed file system or database}
- G06F 16/24552: {Database cache management}
- G06F 16/907: Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F 21/6227: {where protection concerns the structure of data, e.g. records, types, queries}
- G06N 20/00: Machine learning
- G06F 12/145: {the protection being virtual, e.g. for virtual blocks or segments before a translation mechanism}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A computer system including in-memory cache storage may be used to store collections of metadata that provide a semantic layer for a query of a data source. The computer system may provide multiple users access to the metadata collection, using different security policies for the users, without duplicating the metadata collection in the in-memory storage. For instance, the computer system may retrieve the metadata collection and provide the first user access to the metadata collection based on a first security policy of the first user. The computer system may then provide a second user access to the metadata collection based on a second security policy of the second user, without the metadata collection being duplicated in the in-memory cache storage.

## Claims

### Claim 1

A computer system, comprising:
one or more processors;
in-memory cache storage coupled to the one or more processors;
one or more machine-readable medium coupled to the one or more processors and storing computer program code comprising sets instructions executable by the one or more processors to:
obtain a first request for a first user to access a metadata collection providing a semantic layer for a query of a data source;
determine whether the metadata collection corresponding to the query is stored in the in-memory cache storage;
retrieve the metadata collection from the in-memory cache storage;
provide the first user access to the metadata collection based on a first security policy of the first user;
obtain a second request for a second user to access the metadata collection; and
provide the second user access to the metadata collection based on a second security policy of the second user, the first user and the second user accessing the metadata collection without the metadata collection being duplicated in the in-memory cache storage.

### Claim 2 (depends on 1)

The computer system of claim 1, wherein the computer program code further comprises sets instructions executable by the one or more processors to:
determine that the metadata collection corresponding to the query is not stored in an in-memory cache storage;
determine that the metadata collection is stored at a central management system;
retrieve the metadata collection from the central management system; and
store the metadata collection retrieved from the central management system in the in-memory cache storage.

### Claim 3 (depends on 1)

The computer system of claim 1, wherein the computer program code further comprises sets instructions executable by the one or more processors to:
determine that the metadata collection corresponding to the query is not stored in an in-memory cache storage;
determine that the metadata collection is not stored at a central management system;
generate the metadata collection;
store the generated metadata collection in the in-memory cache storage; and
send the generated metadata collection to the central management system for storage.

### Claim 4 (depends on 1)

The computer system of claim 1, wherein the computer program code further comprises sets instructions executable by the one or more processors to:
generate a machine learning model based on records indicating times and frequency of access to the metadata collection;
determine a predicted request to access the metadata collection at a predicted time based on the machine learning model.

### Claim 5 (depends on 4)

The computer system of claim 4, wherein the computer program code further comprises sets instructions executable by the one or more processors to:
retrieve the metadata collection from a central management system in response to the determination of the predicted request; and
store the generated metadata collection in the in-memory cache storage.

### Claim 6 (depends on 4)

The computer system of claim 4, wherein the computer program code further comprises sets instructions executable by the one or more processors to:
generate the metadata collection in response to the determination of the predicted request; and
store the generated metadata collection in the in-memory cache storage.

### Claim 7 (depends on 4)

The computer system of claim 4, wherein the computer program code further comprises sets instructions executable by the one or more processors to:
determine a time period during which requests to access the metadata collection are not predicted based on the machine learning model; and
removing the metadata collection from the in-memory cache storage during the time period.

### Claim 8

One or more non-transitory computer-readable medium storing computer program code comprising sets of instructions to:
obtain a first request for a first user to access metadata collection providing a semantic layer for a query of a data source;
determine whether the metadata collection corresponding to the query is stored in an in-memory cache storage;
retrieve the metadata collection from the in-memory cache storage;
provide the first user access to the metadata collection based on a first security policy of the first user;
obtain a second request for a second user to access the metadata collection; and
provide the second user access to the metadata collection based on a second security policy of the second user, the first user and the second user accessing the metadata collection without the metadata collection being duplicated in the in-memory cache storage.

### Claim 9 (depends on 8)

The non-transitory computer-readable medium of claim 8, wherein the computer program code further comprises sets of instructions to:
determine that the metadata collection corresponding to the query is not stored in an in-memory cache storage;
determine that the metadata collection is stored at a central management system;
retrieve the metadata collection from the central management system; and
store the metadata collection retrieved from the central management system in the in-memory cache storage.

### Claim 10 (depends on 8)

The non-transitory computer-readable medium of claim 8, wherein the computer program code further comprises sets of instructions to:
determine that the metadata collection corresponding to the query is not stored in an in-memory cache storage;
determine that the metadata collection is not stored at a central management system;
generate the metadata collection;
store the generated metadata collection in the in-memory cache storage; and
send the generated metadata collection to the central management system for storage.

### Claim 11 (depends on 8)

The non-transitory computer-readable medium of claim 8, wherein the computer program code further comprises sets of instructions to:
generate a machine learning model based on records indicating times and frequency of access to the metadata collection;
determine a predicted request to access the metadata collection at a predicted time based on the machine learning model.

### Claim 12 (depends on 11)

The non-transitory computer-readable medium of claim 11, wherein the computer program code further comprises sets instructions executable by the one or more processors to:
retrieve the metadata collection from a central management system in response to the determination of the predicted request; and
store the generated metadata collection in the in-memory cache storage.

### Claim 13 (depends on 11)

The non-transitory computer-readable medium of claim 11, wherein the computer program code further comprises sets of instructions to:
generate the metadata collection in response to the determination of the predicted request; and
store the generated metadata collection in the in-memory cache storage.

### Claim 14 (depends on 11)

The non-transitory computer-readable medium of claim 11, wherein the computer program code further comprises sets of instructions to:
determine a time period during which requests to access the metadata collection are not predicted based on the machine learning model; and
removing the metadata collection from the in-memory cache storage during the time period.

### Claim 15

A computer-implemented method, comprising:
obtaining a first request for a first user to access metadata collection providing a semantic layer for a query of a data source;
determining whether the metadata collection corresponding to the query is stored in an in-memory cache storage;
retrieving the metadata collection from the in-memory cache storage;
providing the first user access to the metadata collection based on a first security policy of the first user;
obtaining a second request for a second user to access the metadata collection; and
providing the second user access to the metadata collection based on a second security policy of the second user, the first user and the second user accessing the metadata collection without the metadata collection being duplicated in the in-memory cache storage.

### Claim 16 (depends on 14)

The computer-implemented method of claim 14, further comprising:
determine that the metadata collection corresponding to the query is not stored in an in-memory cache storage;
determining that the metadata collection is stored at a central management system;
retrieving the metadata collection from the central management system; and
storing the metadata collection retrieved from the central management system in the in-memory cache storage.

### Claim 17 (depends on 14)

The computer-implemented method of claim 14, further comprising:
determining that the metadata collection corresponding to the query is not stored in an in-memory cache storage;
determining that the metadata collection is not stored at a central management system;
generating the metadata collection;
storing the generated metadata collection in the in-memory cache storage; and
sending the generated metadata collection to the central management system for storage.

### Claim 18 (depends on 14)

The computer-implemented method of claim 14, further comprising:
generating a machine learning model based on records indicating times and frequency of access to the metadata collection;
determining a predicted request to access the metadata collection at a predicted time based on the machine learning model.

### Claim 19 (depends on 18)

The computer-implemented method of claim 18, further comprising:
retrieving the metadata collection from a central management system in response to the determination of the predicted request; and
storing the generated metadata collection in the in-memory cache storage.

### Claim 20 (depends on 18)

The computer-implemented method of claim 18, further comprising:
generating the metadata collection in response to the determination of the predicted request; and
storing the generated metadata collection in the in-memory cache storage.
