# US 2025/0094512 A1 · Method and apparatus for processing data in recommendation system, method and apparatus for recommendation, device, and medium

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

- Number: US 2025/0094512 A1
- Document ID: US20250094512A1
- Status: Published application
- Kind: A1
- Application number: 18/816,275
- Filed: 2024-08-27
- Published: 2025-03-20
- Earliest claimed: 2023-09-18
- Applicants: Beijing Volcano Engine Technology Co., Ltd.
- Inventors: Yifeng PAN; Xiaoxi LIU; Xiao WANG; Xuemin TONG
- Web page: https://patentgrep.com/patent/US20250094512A1

## CPC

- G06F 16/9535: Search customisation based on user profiles and personalisation
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The present disclosure relates to the field of computer technology, and discloses a method and apparatus for processing data in a recommendation system, a method and apparatus for recommendation, a device, and a medium. The method provided in the present disclosure includes: obtaining data-to-be-processed of a target industry; analyzing the data-to-be-processed to obtain a plurality of fields and values of the fields in the data-to-be-processed; and querying a recommendation template for a target field corresponding to each field of the fields, and matching a value of the field with the queried target field, to obtain target data for recommendation, wherein the recommendation template is applicable to data-to-be-processed corresponding to a plurality of industries.

## Claims

### Claim 1

A method for processing data in a recommendation system, comprising:
obtaining data-to-be-processed of a target industry;
analyzing the data-to-be-processed to obtain a plurality of fields and values of the fields in the data-to-be-processed; and
querying a recommendation template for a target field corresponding to each field of the fields, and matching a value of the field with the queried target field, to obtain target data for recommendation, wherein the recommendation template is applicable to data-to-be-processed corresponding to a plurality of industries.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the recommendation template comprises a first type of fields and a second type of fields, and
querying the recommendation template for the target field corresponding to each field of the fields, and matching the value of the field with the queried target field, to obtain target data for recommendation comprise:
for each field of the fields, querying the first type of fields of the recommendation template for the target field corresponding to the field; and
in response to failing to query the target field corresponding to the field in the first type of fields of the recommendation template, matching the value of the field with the second type of fields, wherein the second type of fields is used for storing values of differentiated fields of different industries.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the first type of fields comprises a category field, a label field, and an identifier field, and
querying the recommendation template for the target field corresponding to each field of the fields, and matching the value of the field with the queried target field, to obtain target data for recommendation further comprise:
in response to querying out the target field corresponding to the field in the first type of fields of the recommendation template, matching the value of the field with the corresponding first type of fields, to obtain a value of the category field, a value of the label field, and a value of the identifier field.

### Claim 4 (depends on 3)

The method according to claim 3, wherein in response to a determination that the target field is the category field, matching the value of the field with the corresponding first type of fields, to obtain the value of the category field comprises:
querying a hierarchy of the field corresponding to the category field;
in response to a determination that a quantity of the hierarchies of the field is greater than 1, obtaining a field-hierarchy relationship of the field corresponding to the category field and a sub-field of each of the hierarchies; and
determining the value of the category field based on the field-hierarchy relationship and the sub-field of each of the hierarchies.

### Claim 5 (depends on 3)

The method according to claim 3, wherein in response to a determination that the recommendation template is a first recommendation template, the target data corresponding to the first recommendation template is used for recommendation of forward indexes, and the first recommendation template comprises the first type of fields and the second type of fields.

### Claim 6 (depends on 3)

The method according to claim 3, wherein in response to a determination that the recommendation template is a second recommendation template, the target data corresponding to the second recommendation template is used for recommendation of candidate indexes, the second recommendation template comprises the first type of fields and the second type of fields, the first type of fields further comprises function fields, and the function fields are used for storing values of the function fields of the candidate indexes.

### Claim 7 (depends on 6)

The method according to claim 6, wherein the function fields comprise a channel field, a creation time field, and a feature field, and
querying the recommendation template for the target field corresponding to each field of the fields, and matching the value of the field with the queried target field, to obtain target data for recommendation further comprises:
for each field of the fields, querying the function fields of the second recommendation template for the target field corresponding to the field, to obtain values of the channel field, the creation time field, and the feature field, wherein the channel field is used for representing different candidate indexes classified based on different industries, the creation time field is used for representing time-based recall indexes of different industries, and the feature field is used for representing feature information of the data-to-be-processed.

### Claim 8 (depends on 1)

The method according to claim 1, wherein analyzing the data-to-be-processed to obtain the plurality of fields and values of the fields in the data-to-be-processed comprises:
querying for a connection identifier in the data-to-be-processed, wherein the connection identifier is used for connecting different fields; and
dividing the data-to-be-processed based on the connection identifier to obtain the plurality of fields and the values of the fields.

### Claim 9 (depends on 1)

A method for recommendation, comprising:
obtaining a current filtering condition; and
querying target data for recommendation based on the current filtering condition to obtain target recommendation data, wherein the target data for recommendation is obtained according to the method for processing data in the recommendation system according to claim 1.

### Claim 10

A computer device, comprising:
a memory; and
a processor, wherein the memory and the processor are in communicative connection with each other, the memory has computer instructions stored thereon, and the processor is configured to execute the computer instructions to:
obtain data-to-be-processed of a target industry;
analyze the data-to-be-processed to obtain a plurality of fields and values of the fields in the data-to-be-processed; and
query a recommendation template for a target field corresponding to each field of the fields, and match a value of the field with the queried target field, to obtain target data for recommendation, wherein the recommendation template is applicable to data-to-be-processed corresponding to a plurality of industries.

### Claim 11 (depends on 10)

The computer device according to claim 10, wherein the recommendation template comprises a first type of fields and a second type of fields, and
the computer instructions to query the recommendation template for the target field corresponding to each field of the fields, and match the value of the field with the queried target field, to obtain target data for recommendation comprise computer instructions to:
for each field of the fields, query the first type of fields of the recommendation template for the target field corresponding to the field; and
in response to failing to query the target field corresponding to the field in the first type of fields of the recommendation template, match the value of the field with the second type of fields, wherein the second type of fields is used for storing values of differentiated fields of different industries.

### Claim 12 (depends on 11)

The computer device according to claim 11, wherein the first type of fields comprises a category field, a label field, and an identifier field, and
the computer instructions to query the recommendation template for the target field corresponding to each field of the fields, and match the value of the field with the queried target field, to obtain target data for recommendation further comprise computer instructions to:
in response to querying out the target field corresponding to the field in the first type of fields of the recommendation template, match the value of the field with the corresponding first type of fields, to obtain a value of the category field, a value of the label field, and a value of the identifier field.

### Claim 13 (depends on 12)

The computer device according to claim 12, wherein the computer instructions to in response to a determination that the target field is the category field, match the value of the field with the corresponding first type of fields, to obtain the value of the category field comprise computer instructions to:
query a hierarchy of the field corresponding to the category field;
in response to a determination that a quantity of the hierarchies of the field is greater than 1, obtain a field-hierarchy relationship of the field corresponding to the category field and a sub-field of each of the hierarchies; and
determine the value of the category field based on the field-hierarchy relationship and the sub-field of each of the hierarchies.

### Claim 14 (depends on 12)

The computer device according to claim 12, wherein in response to a determination that the recommendation template is a first recommendation template, the target data corresponding to the first recommendation template is used for recommendation of forward indexes, and the first recommendation template comprises the first type of fields and the second type of fields.

### Claim 15 (depends on 12)

The computer device according to claim 12, wherein in response to a determination that the recommendation template is a second recommendation template, the target data corresponding to the second recommendation template is used for recommendation of candidate indexes, the second recommendation template comprises the first type of fields and the second type of fields, the first type of fields further comprises function fields, and the function fields are used for storing values of the function fields of the candidate indexes.

### Claim 16 (depends on 15)

The computer device according to claim 15, wherein the function fields comprise a channel field, a creation time field, and a feature field, and
the computer instructions to query the recommendation template for the target field corresponding to each field of the fields, and match the value of the field with the queried target field, to obtain target data for recommendation further comprise computer instructions to:
for each field of the fields, query the function fields of the second recommendation template for the target field corresponding to the field, to obtain values of the channel field, the creation time field, and the feature field, wherein the channel field is used for representing different candidate indexes classified based on different industries, the creation time field is used for representing time-based recall indexes of different industries, and the feature field is used for representing feature information of the data-to-be-processed.

### Claim 17 (depends on 10)

The computer device according to claim 10, wherein the computer instructions to analyze the data-to-be-processed to obtain the plurality of fields and values of the fields in the data-to-be-processed comprise computer instructions to:
query for a connection identifier in the data-to-be-processed, wherein the connection identifier is used for connecting different fields; and
divide the data-to-be-processed based on the connection identifier to obtain the plurality of fields and the values of the fields.

### Claim 18 (depends on 1)

A computer device, comprising:
a memory; and
a processor, wherein the memory and the processor are in communicative connection with each other, the memory has computer instructions stored thereon, and the processor is configured to execute the computer instructions to:
obtain a current filtering condition; and
query target data for recommendation based on the current filtering condition to obtain target recommendation data, wherein the target data for recommendation is obtained according to the method for processing data in the recommendation system according to claim 1.

### Claim 19

A non-transitory computer-readable storage medium, having computer instructions stored thereon, wherein the computer instructions are used for configuring a computer to:
obtain data-to-be-processed of a target industry;
analyze the data-to-be-processed to obtain a plurality of fields and values of the fields in the data-to-be-processed; and
query a recommendation template for a target field corresponding to each field of the fields, and match a value of the field with the queried target field, to obtain target data for recommendation, wherein the recommendation template is applicable to data-to-be-processed corresponding to a plurality of industries.

### Claim 20 (depends on 1)

A non-transitory computer-readable storage medium, having computer instructions stored thereon, wherein the computer instructions are used for configuring a computer to
obtain a current filtering condition; and
query target data for recommendation based on the current filtering condition to obtain target recommendation data, wherein the target data for recommendation is obtained according to the method for processing data in the recommendation system according to claim 1.
