# US 2025/0147969 A1 · Data processing method and apparatus for user profile, device, medium, and program

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

- Number: US 2025/0147969 A1
- Document ID: US20250147969A1
- Status: Published application
- Kind: A1
- Application number: 19/012,914
- Filed: 2025-01-08
- Published: 2025-05-08
- Earliest claimed: 2022-07-25
- Assignees: Shenzhen Futu Network Technology Co., Ltd.
- Applicants: Shenzhen Futu Network Technology Co., Ltd.
- Inventors: Rui CHEN; Shujun WANG; Tao YANG; Hongli GE; Xiaoyong PENG
- Web page: https://patentgrep.com/patent/US20250147969A1

## CPC

- G06F 16/2457: with adaptation to user needs
- G06F 21/629: {to features or functions of an application}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Provided are a data processing method and a data processing apparatus based on a user profile, a device, a medium, and a program. The method includes: acquiring multiple pieces of user data and a generation time of a last piece of user data; generating, each time a piece of first user data is read from the pieces of user data, a user feature corresponding to the first user data; storing the user feature corresponding to the first user data into a target database when a generation time of the first user data is consistent with the generation time of the last piece of user data; otherwise, not storing the user feature corresponding to the first user data into the target database; and generating a user profile based on the user feature in the target database.

## Claims

### Claim 1

A data processing method based on a user profile, the method comprising:
acquiring a plurality of pieces of user data and a generation time of a last piece of user data among the plurality of pieces of user data;
generating, each time a piece of first user data is read from the plurality of pieces of user data, a user feature corresponding to the first user data;
storing the user feature corresponding to the first user data into a target database when a generation time of the first user data is consistent with the generation time of the last piece of user data;
not storing the user feature corresponding to the first user data into the target database when the generation time of the first user data is inconsistent with the generation time of the last piece of user data; and
generating a user profile based on the user feature in the target database.

### Claim 2 (depends on 1)

The method according to claim 1, further comprising:
acquiring a first user feature query request;
determining, in response to the first user feature query request, whether a target user feature is stored by searching in the target database;
decomposing the target user feature into the plurality of sub-user features when the target user feature is not stored in the target database and the target user feature is composed of a plurality of sub-user features in the target database; and
performing a user feature query based on the plurality of sub-user features.

### Claim 3 (depends on 2)

The method according to claim 2, wherein said determining, in response to the first user feature query request, whether the target user feature is stored by searching in the target database comprises:
converting, in response to the first user feature query request, the first user feature query request into a second user feature query request with a same meaning as the first user feature query request; and
determining, in response to the second user feature query request, whether the target user feature is stored by searching in the target database.

### Claim 4 (depends on 2)

The method according to claim 2, further comprising, prior to said determining, in response to the first user feature query request, whether the target user feature is stored by searching in the target database:
performing permission verification on a sender of the first user feature query request,
wherein said determining, in response to the first user feature query request, whether the target user feature is stored by searching in the target database comprises:
when the permission verification on the sender passes, determining, in response to the first user feature query request, whether the target user feature is stored by searching in the target database.

### Claim 5 (depends on 4)

The method according to claim 4, wherein said performing the permission verification on the sender of the first user feature query request comprises:
acquiring an identifier of the sender;
determining a permission range of the sender based on the identifier of the sender;
determining that the permission verification on the sender passes, when the permission range of the sender comprises permission to query the target user feature; and
determining that the permission verification on the sender fails, when the permission range of the sender does not comprise the permission to query the target user feature.

### Claim 6 (depends on 2)

The method according to claim 2, further comprising, prior to said determining, in response to the first user feature query request, whether the target user feature is stored by searching in the target database:
determining a query interface corresponding to the first user feature query request,
wherein said determining, in response to the first user feature query request, whether the target user feature is stored by searching in the target database comprises:
determining, in response to the first user feature query request and based on the query interface corresponding to the first user feature query request, whether the target user feature is stored by searching in the target database.

### Claim 7 (depends on 6)

The method according to claim 6, wherein said determining the query interface corresponding to the first user feature query request comprises:
determining that the query interface corresponding to the first user feature query request is an On-Line Transaction Processing (OLTP) interface, when the first user feature query request comprises a user identifier; and
determining that the query interface corresponding to the first user feature query request is an On-Line Analytical Processing (OLAP) interface, when the first user feature query request does not comprise the user identifier.

### Claim 8 (depends on 1)

The method according to claim 1, further comprising:
determining whether an abnormal user feature exists in the target database;
generating prompt information when the abnormal user feature exists in the target database; and
pushing the prompt information to prompt the user that the abnormal user feature exists in the target database.

### Claim 9 (depends on 8)

The method according to claim 8, wherein said determining whether the abnormal user feature exists in the target database comprises:
acquiring a first user feature stored in the target database at any moment and at least one second user feature within a predetermined duration before the any moment;
performing a statistical analysis on the at least one second user feature to obtain a distribution range of the first user feature;
determining that the abnormal user feature exists in the target database when the first user feature is not within the distribution range; and
determining that no abnormal user feature exists in the target database when the first user feature is within the distribution range.

### Claim 10 (depends on 1)

The method according to claim 1, wherein said generating, each time a piece of the first user data is read from the plurality of pieces of user data, the user feature corresponding to the first user data comprises:
selecting, each time a piece of the first user data is read from the plurality of pieces of user data, a generation approach for the user feature corresponding to the first user data based on a calculation caliber and an application scenario, the generation approach being a stream generation approach or a batch generation approach; and
generating the user feature corresponding to the first user data based on the generation approach for the user feature corresponding to the first user data.

### Claim 11

An electronic device, comprising:
a memory configured to store a computer program; and
a processor configured to invoke and execute the computer program stored in the memory to perform a data processing method based on a user profile, the method comprising:
acquiring a plurality of pieces of user data and a generation time of a last piece of user data among the plurality of pieces of user data;
generating, each time a piece of first user data is read from the plurality of pieces of user data, a user feature corresponding to the first user data;
storing the user feature corresponding to the first user data into a target database when a generation time of the first user data is consistent with the generation time of the last piece of user data;
not storing the user feature corresponding to the first user data into the target database when the generation time of the first user data is inconsistent with the generation time of the last piece of user data; and
generating a user profile based on the user feature in the target database.

### Claim 12 (depends on 11)

The electronic device according to claim 11, wherein the processor is further configured to invoke and execute the computer program stored in the memory to perform following operations:
acquiring a first user feature query request;
determining, in response to the first user feature query request, whether a target user feature is stored by searching in the target database;
decomposing the target user feature into the plurality of sub-user features when the target user feature is not stored in the target database and the target user feature is composed of a plurality of sub-user features in the target database; and
performing a user feature query based on the plurality of sub-user features.

### Claim 13 (depends on 12)

The electronic device according to claim 12, wherein said determining, in response to the first user feature query request, whether the target user feature is stored by searching in the target database comprises:
converting, in response to the first user feature query request, the first user feature query request into a second user feature query request with a same meaning as the first user feature query request; and
determining, in response to the second user feature query request, whether the target user feature is stored by searching in the target database.

### Claim 14 (depends on 12)

The electronic device according to claim 12, wherein the processor is further configured to invoke and execute the computer program stored in the memory to perform following operations, prior to said determining, in response to the first user feature query request, whether the target user feature is stored by searching in the target database:
performing permission verification on a sender of the first user feature query request,
wherein said determining, in response to the first user feature query request, whether the target user feature is stored by searching in the target database comprises:
when the permission verification on the sender passes, determining, in response to the first user feature query request, whether the target user feature is stored by searching in the target database.

### Claim 15 (depends on 14)

The electronic device according to claim 14, wherein said performing the permission verification on the sender of the first user feature query request comprises:
acquiring an identifier of the sender;
determining a permission range of the sender based on the identifier of the sender;
determining that the permission verification on the sender passes, when the permission range of the sender comprises permission to query the target user feature; and
determining that the permission verification on the sender fails, when the permission range of the sender does not comprise the permission to query the target user feature.

### Claim 16 (depends on 12)

The electronic device according to claim 12, wherein the processor is further configured to invoke and execute the computer program stored in the memory to perform following operations, prior to said determining, in response to the first user feature query request, whether the target user feature is stored by searching in the target database:
determining a query interface corresponding to the first user feature query request,
wherein said determining, in response to the first user feature query request, whether the target user feature is stored by searching in the target database comprises:
determining, in response to the first user feature query request and based on the query interface corresponding to the first user feature query request, whether the target user feature is stored by searching in the target database.

### Claim 17 (depends on 16)

The electronic device according to claim 16, wherein said determining the query interface corresponding to the first user feature query request comprises:
determining that the query interface corresponding to the first user feature query request is an On-Line Transaction Processing (OLTP) interface, when the first user feature query request comprises a user identifier; and
determining that the query interface corresponding to the first user feature query request is an On-Line Analytical Processing (OLAP) interface, when the first user feature query request does not comprise the user identifier.

### Claim 18 (depends on 11)

The electronic device according to claim 11, wherein the processor is further configured to invoke and execute the computer program stored in the memory to perform following operations:
determining whether an abnormal user feature exists in the target database;
generating prompt information when the abnormal user feature exists in the target database; and
pushing the prompt information to prompt the user that the abnormal user feature exists in the target database.

### Claim 19

A non-transitory computer-readable storage medium, having a computer program stored thereon, wherein the computer program causes a computer to perform a data processing method based on a user profile, the method comprising:
acquiring a plurality of pieces of user data and a generation time of a last piece of user data among the plurality of pieces of user data;
generating, each time a piece of first user data is read from the plurality of pieces of user data, a user feature corresponding to the first user data;
storing the user feature corresponding to the first user data into a target database when a generation time of the first user data is consistent with the generation time of the last piece of user data;
not storing the user feature corresponding to the first user data into the target database when the generation time of the first user data is inconsistent with the generation time of the last piece of user data; and
generating a user profile based on the user feature in the target database.

### Claim 20 (depends on 1)

A computer program product, comprising an instruction, wherein the computer program product, when running on an electronic device, causes the electronic device to perform the method according to claim 1.
