# US 2024/0256469 A1 · Key-value caching method and apparatus for event-driven system operation on geo-distributed infrastructure

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

- Number: US 2024/0256469 A1
- Document ID: US20240256469A1
- Status: Published application
- Kind: A1
- Application number: 18/507,348
- Filed: 2023-11-13
- Published: 2024-08-01
- Earliest claimed: 2023-01-27
- Assignees: Electronics and Telecommunications Research Institute
- Applicants: Electronics and Telecommunications Research Institute
- Inventors: Yun-Kon KIM; Dong-Jae KANG; Byoung-Seob KIM; Soo-Young KIM; Seung-Jo BAE; Ji-Hoon SEO; Seok-Ho SON; Byeong-Thaek OH; Young-Woo JUNG
- Web page: https://patentgrep.com/patent/US20240256469A1

## CPC

- G06F 12/1475: {in a virtual system, e.g. with translation means}
- G06F 12/0857: {by multiple requestors}
- G06F 12/0871: Allocation or management of cache space
- G06F 16/24552: {Database cache management}
- G06F 16/28: Databases characterised by their database models, e.g. relational or object models
- G06F 2212/1024: Latency reduction
- G06F 2212/154: Networked environment
- G06F 2212/163: Server or database system
- G06F 2212/284: being distributed
- G06F 2212/465: Structured object, e.g. database record
- H04L 67/1097: for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Disclosed herein is a method for key-value caching. The method may include initializing a key-value cache and processing data in the order of a key-value store, a service, and the key-value cache.

## Claims

### Claim 1

A method for key-value caching, comprising:
initializing a key-value cache; and
processing data in an order of a key-value store, a service, and the key-value cache.

### Claim 2 (depends on 1)

The method of claim 1, wherein initializing the key-value cache includes:
initializing a lock-related variable;
attempting acquisition of a lock and waiting for the acquisition of the lock; and
enabling a watch function in order to track a change in a key.

### Claim 3 (depends on 2)

The method of claim 2, wherein initializing the key-value cache further includes storing data related to the key-value cache in the key-value cache.

### Claim 4 (depends on 3)

The method of claim 3, wherein initializing the key-value cache further includes releasing the lock after storing the data related to the key-value cache.

### Claim 5 (depends on 1)

The method of claim 1, wherein a lock is applied to all keys during initialization of the key-value cache.

### Claim 6 (depends on 1)

The method of claim 1, wherein processing the data includes:
pushing, by the key-value store, changed data to the service;
storing, by the service, the received data in the key-value cache; and
performing, by the service, a process of reading data from the key-value cache.

### Claim 7 (depends on 6)

The method of claim 6, wherein processing the data further includes recording a result of performing the process in the key-value store.

### Claim 8 (depends on 1)

The method of claim 1, wherein each of the key-value store and the service is run on multi-cloud infrastructure.

### Claim 9

An apparatus for key-value caching, comprising:
memory in which a control program for key-value caching is stored; and
a processor for executing the control program stored in the memory,
wherein the processor initializes a key-value cache and processes data in an order of a key-value store, a service, and the key-value cache.

### Claim 10 (depends on 9)

The apparatus of claim 9, wherein the processor initializes a lock-related variable, attempts acquisition of a lock, waits for the acquisition of the lock, and enables a watch function in order to track a change in a key, thereby initializing the key-value cache.

### Claim 11 (depends on 10)

The apparatus of claim 10, wherein the processor stores data related to the key-value cache in the key-value cache.

### Claim 12 (depends on 11)

The apparatus of claim 11, wherein the processor releases the lock after storing the data related to the key-value cache.

### Claim 13 (depends on 9)

The apparatus of claim 9, wherein the processor applies a lock to all keys during initialization of the key-value cache.

### Claim 14 (depends on 9)

The apparatus of claim 9, wherein the processor processes the data in such a way that the key-value store pushes changed data to the service, the service stores the received data in the key-value cache, and the service performs a process of reading data from the key-value cache.

### Claim 15 (depends on 14)

The apparatus of claim 14, wherein the processor records a result of performing the process in the key-value store.

### Claim 16 (depends on 9)

The apparatus of claim 9, wherein each of the key-value store and the service is run on multi-cloud infrastructure.
