# US 2025/0156445 A1 · Lakehouse metadata tag creation method, lakehouse metadata tag query method and electronic device

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

- Number: US 2025/0156445 A1
- Document ID: US20250156445A1
- Status: Published application
- Kind: A1
- Application number: 18/942,247
- Filed: 2024-11-08
- Published: 2025-05-15
- Earliest claimed: 2023-11-09
- Assignees: Beijing Volcano Engine Technology Co., Ltd.
- Applicants: Beijing Volcano Engine Technology Co., Ltd.
- Inventors: Mengjun LI; Jun GUO; Ke SUN; Qing XU
- Web page: https://patentgrep.com/patent/US20250156445A1

## CPC

- G06F 16/283: {Multi-dimensional databases or data warehouses, e.g. MOLAP or ROLAP}
- G06F 16/2455: Query execution
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A lakehouse metadata tag creation method, a lakehouse metadata tag query method and an electronic device are provided. The method includes: after a metadata service gateway determines a metadata tag creation request based on a metadata tag creation parameter provided by a data engine, sending, by the metadata service gateway, the metadata tag creation request to a metadata tag service system, so that the metadata tag service system executes a tag creation logic based on the metadata tag creation parameter carried in the metadata tag creation request, to implement a requirement of tagging one or more pieces of metadata.

## Claims

### Claim 1

A lakehouse metadata tag creation method, applied to a metadata tag service system, the method comprising:
receiving a metadata tag creation request sent by a metadata service gateway, wherein the metadata tag creation request is determined by the metadata service gateway based on a metadata tag creation parameter provided by a data engine, and the metadata tag creation parameter comprises a first tag name, a first tag value, and first tag effect object description information; and
executing a tag creation logic based on the metadata tag creation parameter carried in the metadata tag creation request.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the tag creation logic comprises:
writing tag name record content corresponding to the first tag name into a tag name record table, wherein the tag name record content comprises a tag name identifier corresponding to the first tag name;
writing tag effect object record content corresponding to the first tag effect object description information into a tag effect object record table, wherein the tag effect object record content comprises a tag effect object identifier corresponding to the first tag effect object description information; and
writing tag value record content corresponding to the first tag value into a tag value record table, wherein the tag value record content is determined based on the first tag value, the tag name identifier, and the tag effect object identifier.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the metadata tag creation parameter further comprises a first tag set name; and
before the writing tag name record content corresponding to the first tag name into a tag name record table, the tag creation logic further comprises:
writing tag set record content corresponding to the first tag set name into a tag set record table, wherein the tag set record content comprises a set identifier corresponding to the first tag set name; and
determining the tag name record content corresponding to the first tag name based on the set identifier and the first tag name.

### Claim 4 (depends on 2)

The method according to claim 2, wherein the writing tag effect object record content corresponding to the first tag effect object description information into a tag effect object record table comprises:
in response to a non-existence of tag effect object record content corresponding to the first tag effect object description information in the tag effect object record table, writing the tag effect object record content corresponding to the first tag effect object description information into the tag effect object record table.

### Claim 5 (depends on 1)

The method according to claim 1, further comprising:
in response to detecting that the tag creation logic has been executed, generating feedback information corresponding to the metadata tag creation request; and
sending the feedback information to the metadata service gateway, wherein the metadata service gateway is configured to forward the feedback information to the data engine.

### Claim 6 (depends on 5)

The method according to claim 5, wherein the metadata tag creation parameter comprises a first tag set name, a first tag name, a first tag value, and first tag effect object description information; and
the generating feedback information corresponding to the metadata tag creation request comprises:
combining the first tag value, a set identifier corresponding to the first tag set name, a tag name identifier corresponding to the first tag name, and a tag effect object identifier corresponding to the first tag effect object description information to obtain the feedback information.

### Claim 7 (depends on 1)

The method according to claim 1, wherein the metadata tag creation request is a request for creating a tag corresponding to one piece of metadata or a plurality of pieces of metadata;
the one piece of metadata or the plurality of pieces of metadata are managed by a metadata storage system; and
the metadata service gateway is configured to route a metadata processing request sent by the data engine to the metadata storage system, and the metadata storage system is configured to execute data processing logic corresponding to the metadata processing request.

### Claim 8 (depends on 1)

A lakehouse metadata tag query method, applied to a metadata tag service system, wherein the metadata tag service system is configured to query a tag created by using the lakehouse metadata tag creation method according to claim 1; and
the query method comprises:
receiving a metadata tag query request sent by a metadata service gateway, wherein the metadata tag query request is determined by the metadata service gateway based on a metadata tag query parameter provided by a data engine;
performing tag query processing based on the metadata tag query parameter carried in the metadata tag query request, to obtain a tag query result corresponding to the metadata tag query request; and
sending the tag query result to the metadata service gateway, wherein the metadata service gateway is configured to feed back the tag query result to the data engine.

### Claim 9 (depends on 8)

The method according to claim 8, wherein the metadata tag query parameter comprises a second tag name and second tag effect object description information; and
a process of determining the tag query result comprises:
searching for a tag name identifier corresponding to the second tag name in a tag name record table;
searching for a tag effect object identifier corresponding to the second tag effect object description information in a tag effect object record table;
querying a tag value record table based on the tag name identifier and the tag effect object identifier, to obtain a second tag value; and
determining the tag query result based on the second tag value.

### Claim 10 (depends on 9)

The method according to claim 9, wherein the metadata tag creation parameter further comprises a second tag set name; and
before the searching for a tag name identifier corresponding to the second tag name in a tag name record table, the process of determining the tag query result further comprises:
searching for a set identifier corresponding to the second tag set name in a tag set record table; and
the searching for a tag name identifier corresponding to the second tag name in a tag name record table comprises:
querying the tag name record table based on the set identifier and the second tag name, to obtain the tag name identifier corresponding to the second tag name.

### Claim 11 (depends on 10)

The method according to claim 10, wherein the determining the tag query result based on the second tag value comprises:
combining the set identifier, the tag name identifier, the tag effect object identifier, and the second tag value to obtain the tag query result.

### Claim 12

An electronic device, comprising: at least one processor and a memory;
the memory is configured to store an instruction or a computer program; and
the at least one processor is configured to execute the instruction or the computer program in the memory, so that the electronic device executes a lakehouse metadata tag creation method, comprising:
receiving a metadata tag creation request sent by a metadata service gateway, wherein the metadata tag creation request is determined by the metadata service gateway based on a metadata tag creation parameter provided by a data engine, and the metadata tag creation parameter comprises a first tag name, a first tag value, and first tag effect object description information; and
executing a tag creation logic based on the metadata tag creation parameter carried in the metadata tag creation request.

### Claim 13 (depends on 12)

The electronic device according to claim 12, wherein in the lakehouse metadata tag creation method,
the tag creation logic comprises:
writing tag name record content corresponding to the first tag name into a tag name record table, wherein the tag name record content comprises a tag name identifier corresponding to the first tag name;
writing tag effect object record content corresponding to the first tag effect object description information into a tag effect object record table, wherein the tag effect object record content comprises a tag effect object identifier corresponding to the first tag effect object description information; and
writing tag value record content corresponding to the first tag value into a tag value record table, wherein the tag value record content is determined based on the first tag value, the tag name identifier, and the tag effect object identifier.

### Claim 14 (depends on 13)

The electronic device according to claim 13, wherein in the lakehouse metadata tag creation method,
the metadata tag creation parameter further comprises a first tag set name; and
before the writing tag name record content corresponding to the first tag name into a tag name record table, the tag creation logic further comprises:
writing tag set record content corresponding to the first tag set name into a tag set record table, wherein the tag set record content comprises a set identifier corresponding to the first tag set name; and
determining the tag name record content corresponding to the first tag name based on the set identifier and the first tag name.

### Claim 15 (depends on 13)

The electronic device according to claim 13, wherein in the lakehouse metadata tag creation method,
the writing tag effect object record content corresponding to the first tag effect object description information into a tag effect object record table comprises:
in response to a non-existence of tag effect object record content corresponding to the first tag effect object description information in the tag effect object record table, writing the tag effect object record content corresponding to the first tag effect object description information into the tag effect object record table.

### Claim 16 (depends on 12)

The electronic device according to claim 12, wherein the lakehouse metadata tag creation method further comprises:
in response to detecting that the tag creation logic has been executed, generating feedback information corresponding to the metadata tag creation request; and
sending the feedback information to the metadata service gateway, wherein the metadata service gateway is configured to forward the feedback information to the data engine.

### Claim 17 (depends on 16)

The electronic device according to claim 16, wherein in the lakehouse metadata tag creation method,
the metadata tag creation parameter comprises a first tag set name, a first tag name, a first tag value, and first tag effect object description information; and
the generating feedback information corresponding to the metadata tag creation request comprises:
combining the first tag value, a set identifier corresponding to the first tag set name, a tag name identifier corresponding to the first tag name, and a tag effect object identifier corresponding to the first tag effect object description information to obtain the feedback information.

### Claim 18 (depends on 12)

The electronic device according to claim 12, wherein in the lakehouse metadata tag creation method,
the metadata tag creation request is a request for creating a tag corresponding to one piece of metadata or a plurality of pieces of metadata;
the one piece of metadata or the plurality of pieces of metadata are managed by a metadata storage system; and
the metadata service gateway is configured to route a metadata processing request sent by the data engine to the metadata storage system, and the metadata storage system is configured to execute data processing logic corresponding to the metadata processing request.

### Claim 19 (depends on 12)

The electronic device according to claim 12, wherein the at least one processer is further configured to execute the instruction or the computer program in the memory, so that the electronic device executes a query method for a tag created by using the lakehouse metadata tag creation method,
the query method comprises:
receiving a metadata tag query request sent by the metadata service gateway, wherein the metadata tag query request is determined by the metadata service gateway based on a metadata tag query parameter provided by the data engine;
performing tag query processing based on the metadata tag query parameter carried in the metadata tag query request, to obtain a tag query result corresponding to the metadata tag query request; and
sending the tag query result to the metadata service gateway, wherein the metadata service gateway is configured to feed back the tag query result to the data engine.

### Claim 20 (depends on 19)

The electronic device according to claim 19, wherein in the query method, the metadata tag query parameter comprises a second tag name and second tag effect object description information; and
a process of determining the tag query result comprises:
searching for a tag name identifier corresponding to the second tag name in a tag name record table;
searching for a tag effect object identifier corresponding to the second tag effect object description information in a tag effect object record table;
querying a tag value record table based on the tag name identifier and the tag effect object identifier, to obtain a second tag value; and
determining the tag query result based on the second tag value.
