# US 2025/0156422 A1 · System, cache server, method, and program for performing processing relating to rdb

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

- Number: US 2025/0156422 A1
- Document ID: US20250156422A1
- Status: Published application
- Kind: A1
- Application number: 19/024,567
- Filed: 2025-01-16
- Published: 2025-05-15
- Earliest claimed: 2022-08-05
- Assignees: Cygames, Inc.
- Applicants: Cygames, Inc.
- Inventors: Shuichi Kurabayashi
- Web page: https://patentgrep.com/patent/US20250156422A1

## CPC

- G06F 16/24552: {Database cache management}
- G06F 16/242: Query formulation
- G06F 16/2455: Query execution
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

One or more embodiments of the invention is a system including a query generation unit that generates a predefined query that acts on a single row in a single table of a prescribed RDB, a query execution unit, and an object management unit. The query generation unit generates a query including cache identification information for identifying a cache object. The object management unit stores a cache object in a prescribed memory or deletes a cache object from the prescribed memory in prescribed cases. The query execution unit, in the case of executing a query including a select command, in the case where the cache identification information included in the query is stored in the prescribed memory, obtains the cache object associated with the cache identification information from the prescribed memory without executing the query on the prescribed RDB.

## Claims

### Claim 1

A system comprising:
a query generation unit that generates a predefined query that acts on a single row in a single table of a prescribed relational database, predefined queries including a query including an insert command, a query including a select command, and a query including a delete command;
a query execution unit that executes the query generated by the query generation unit; and
an object management unit that manages a cache object based on a query execution result obtained by the query execution unit as a result of executing the query,
wherein:
the query generation unit generates a query including cache identification information for identifying a cache object;
in the case where the query execution unit has obtained a query execution result as a result of executing the query including the insert command or the query including the select command, the object management unit stores the cache object based on the query execution result in a prescribed memory in association with the cache identification information included in the query executed, whereas in the case where the query execution unit has obtained a query execution result as a result of executing the query including the delete command, the object management unit deletes the cache object associated with the cache identification information included in the query including the delete command from the prescribed memory; and
in the case of executing the query including the select command, the query execution unit, in the case where the cache identification information included in the query is stored in the prescribed memory, obtains the cache object associated with the cache identification information from the prescribed memory without executing the query on the prescribed relational database.

### Claim 2 (depends on 1)

The system according to claim 1, wherein the query generation unit generates a query in which query identification information generated on the basis of a given argument is added as a comment.

### Claim 3 (depends on 2)

The system according to claim 2, wherein in the case where the query execution unit has obtained a query execution result as a result of executing the query including the insert command or the query including the select command, the object management unit does not store the cache object based on the query execution result in the prescribed memory in the case where the given argument satisfies a prescribed condition.

### Claim 4 (depends on 1)

The system according to claim 1, wherein:
the query generated by the query generation unit is an SQL query; and
the query generation unit generates a query including an INSERT command, a SELECT command, a SELECT FOR UPDATE command, an UPDATE command, or a DELETE command.

### Claim 5 (depends on 4)

The system according to claim 4, wherein in the case where the query execution unit has obtained a query execution result as a result of executing a query including the UPDATE command, the object management unit deletes the cache object associated with the cache identification information included in the query from the prescribed memory.

### Claim 6 (depends on 1)

The system according to claim 1, wherein the prescribed memory is a memory or SSD storage of a cache server included in the system.

### Claim 7 (depends on 1)

The system tem according to claim 1, wherein:
the system includes a game server; and
the prescribed relational database is a relational database that stores information relating to a game.

### Claim 8

A cache server comprising:
a query reception unit that receives, from a service providing server, a predefined query that acts on a single row in a single table of a prescribed relational database, predefined queries including a query including an insert command, a query including a select command, and a query including a delete command;
a query execution unit that executes the query received by the query reception unit; and
an object management unit that manages a cache object based on a query execution result obtained by the query execution unit as a result of executing the query,
wherein:
the query reception unit receives a query including cache identification information for identifying a cache object;
in the case where the query execution unit has obtained a query execution result as a result of executing the query including the insert command or the query including the select command, the object management unit stores the cache object based on the query execution result in a prescribed memory in association with the cache identification information included in the query executed, whereas in the case where the query execution unit has obtained a query execution result as a result of executing the query including the delete command, the object management unit deletes the cache object associated with the cache identification information included in the query including the delete command from the prescribed memory; and
in the case of executing the query including the select command, the query execution unit, in the case where the cache identification information included in the query is stored in the prescribed memory, obtains the cache object associated with the cache identification information from the prescribed memory without executing the query on the prescribed relational database.

### Claim 9 (depends on 8)

The cache server according to claim 8, wherein the query generation unit generates a query in which query identification information generated on the basis of a given argument is added as a comment.

### Claim 10

A method comprising:
a step of generating a predefined query that acts on a single row in a single table of a prescribed relational database, predefined queries including a query including an insert command, a query including a select command, and a query including a delete command;
a step of executing the query generated in the generating step; and
a step of storing or deleting a cache object based on a query execution result obtained in the executing step as a result of executing the query,
wherein:
the query generated in the generating step includes cache identification information for identifying a cache object;
the storing step, in the case where a query execution result has been obtained in the executing step as a result of executing the query including the insert command or the query including the select command, includes storing the cache object based on the query execution result in a prescribed memory in association with the cache identification information included in the query executed;
the deleting step, in the case where a query execution result has been obtained in the executing step as a result of executing the query including the delete command, includes deleting the cache object associated with the cache identification information included in the query including the delete command from the prescribed memory; and
the executing step, in the case of executing the query including the select command, in the case where the cache identification information included in the query is stored in the prescribed memory, includes obtaining the cache object associated with the cache identification information from the prescribed memory without executing the query on the prescribed relational database.

### Claim 11 (depends on 10)

The method according to claim 10, wherein in the step of generating a query, a query in which query identification information generated on the basis of a given argument is added as a comment is generated.

### Claim 12 (depends on 10)

A non-transitory computer readable medium storing a program for causing a computer to execute the steps of a method according to claim 10.
