# US 2025/0148204 A1 · Combined sensitive term detection method, apparatus, and cluster

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

- Number: US 2025/0148204 A1
- Document ID: US20250148204A1
- Status: Published application
- Kind: A1
- Application number: 19/017,070
- Filed: 2025-01-10
- Published: 2025-05-08
- Earliest claimed: 2022-07-11
- Assignees: Huawei Cloud Computing Technologies Co., Ltd.
- Applicants: Huawei Cloud Computing Technologies Co., Ltd.
- Inventors: Zhenchao JIANG; Di WU; Xiaohui SHI; Chuanling SHAO; Changxuan LI
- Web page: https://patentgrep.com/patent/US20250148204A1

## CPC

- G06F 40/205: Parsing
- G06F 40/279: Recognition of textual entities
- G06F 40/284: Lexical analysis, e.g. tokenisation or collocates
- G06N 3/0442: characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU]
- G06N 3/08: Learning methods
- G06N 3/09: Supervised learning
- G06F 40/242: Dictionaries
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A combined sensitive term detection method and apparatus, and a cluster are provided to improve accuracy of sensitive term detection. In this application, after obtaining a combined sensitive term expression provided by a user, a detection apparatus parses the combined sensitive term expression provided by the user, to generate a user combined sensitive term entry. The user combined sensitive term entry and a preset candidate combined sensitive term entry are stored in a combined sensitive term library. The detection apparatus detects, based on the combined sensitive term library, a collected to-be-detected text to obtain a first matching result, where the first matching result indicates a hit combined sensitive term entry; and presents the first matching result to the user.

## Claims

### Claim 1

A method of combined sensitive term detection, comprising:
obtaining, from a user, a combined sensitive term expression comprising a logical operator and a plurality of terms;
generating a combined sensitive term library comprising a plurality of combined sensitive term entries, the plurality of combined sensitive term entries comprising a preset candidate combined sensitive term entry and a user combined sensitive term entry generated by parsing the combined sensitive term expression;
detecting, based on the combined sensitive term library, a to-be-detected text to obtain a first matching result indicating a hit combined sensitive term entry of the to-be-detected text in the combined sensitive term library; and
presenting the first matching result to the user.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the preset candidate combined sensitive term entry is extracted from a pre-configured training sample using an artificial intelligence (AI) technology.

### Claim 3 (depends on 1)

The method according to claim 1, wherein after the presenting the first matching result to the user, the method further comprising:
detecting a review operation performed by the user on the first matching result, and determining an incorrectly hit combined sensitive term entry annotated by the user; and
filtering the combined sensitive term library based on the incorrectly hit combined sensitive term entry.

### Claim 4 (depends on 1)

The method according to claim 1, further comprising:
invoking an AI detection model to detect the to-be-detected text to obtain a second matching result indicating a hit combined sensitive term entry of the to-be-detected text in the combined sensitive term library, and the AI detection model is a pre-trained model configured to detect a combined sensitive term entry existing in a text; and
presenting the second matching result to the user.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the detecting, based on the combined sensitive term library, the to-be-detected text comprises:
constructing a dictionary tree based on the plurality of combined sensitive term entries in the combined sensitive term library;
invoking an AC automaton to obtain a candidate term sequence in the to-be-detected text, wherein the candidate term sequence comprises one or more terms in the to-be-detected text; and
performing matching on the candidate term sequence in the dictionary tree, and determining a combined sensitive term entry matching a part or all of terms in the candidate term sequence, wherein the combined sensitive term entry matching the part or all of terms in the candidate term sequence is the hit combined sensitive term entry.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the combined sensitive term expression comprises one or more of AND, OR, NOT, and an operator representing preferential calculation.

### Claim 7

A computing device cluster, comprising at least one computing device, wherein each computing device of the at least one computing device comprises a processor and a memory; and
the processor of the at least one computing device is configured to execute instructions stored in the memory of the at least one computing device, to cause the computing device cluster to:
obtain, from a user, a combined sensitive term expression comprising a logical operator and a plurality of terms;
generate a combined sensitive term library comprising a plurality of combined sensitive term entries, the plurality of combined sensitive term entries comprising a preset candidate combined sensitive term entry and a user combined sensitive term entry generated by parsing the combined sensitive term expression;
detect, based on the combined sensitive term library, a to-be-detected text to obtain a first matching result indicating a hit combined sensitive term entry of the to-be-detected text in the combined sensitive term library; and
present the first matching result to the user.

### Claim 8 (depends on 7)

The computing device cluster according to claim 7, wherein the preset candidate combined sensitive term entry is extracted from a pre-configured training sample using an artificial intelligence (AI) technology.

### Claim 9 (depends on 7)

The computing device cluster according to claim 7, wherein after the presenting the first matching result to the user, the processor executes the instructions to further cause the computing device cluster to:
detect a review operation performed by the user on the first matching result, and determining an incorrectly hit combined sensitive term entry annotated by the user; and
filter the combined sensitive term library based on the incorrectly hit combined sensitive term entry.

### Claim 10 (depends on 7)

The computing device cluster according to claim 7, the processor executes the instructions to further cause the computing device cluster to:
invoke an AI detection model to detect the to-be-detected text to obtain a second matching result indicating a hit combined sensitive term entry of the to-be-detected text in the combined sensitive term library, and the AI detection model is a pre-trained model configured to detect a combined sensitive term entry existing in a text; and
present the second matching result to the user.

### Claim 11 (depends on 7)

The computing device cluster according to claim 7, wherein, to detect, based on the combined sensitive term library, the processor executes the instructions to further cause the computing device cluster to:
construct a dictionary tree based on the plurality of combined sensitive term entries in the combined sensitive term library;
invoke an AC automaton to obtain a candidate term sequence in the to-be-detected text, wherein the candidate term sequence comprises one or more terms in the to-be-detected text; and
perform matching on the candidate term sequence in the dictionary tree, and determining a combined sensitive term entry matching a part or all of terms in the candidate term sequence, wherein the combined sensitive term entry matching the part or all of terms in the candidate term sequence is the hit combined sensitive term entry.

### Claim 12 (depends on 7)

The computing device cluster according to claim 7, wherein the combined sensitive term expression comprises one or more of AND, OR, NOT, or an operator representing preferential calculation.

### Claim 13

A non-transitory machine-readable medium having instructions stored therein, which when executed by at least one computing device, cause the at least one computing device to:
obtain, from a user, a combined sensitive term expression comprising a logical operator and a plurality of terms;
generate a combined sensitive term library comprising a plurality of combined sensitive term entries, the plurality of combined sensitive term entries comprising a preset candidate combined sensitive term entry and a user combined sensitive term entry generated by parsing the combined sensitive term expression;
detect, based on the combined sensitive term library, a to-be-detected text to obtain a first matching result indicating a hit combined sensitive term entry of the to-be-detected text in the combined sensitive term library; and
present the first matching result to the user.

### Claim 14 (depends on 13)

The non-transitory machine-readable medium according to claim 13, wherein the preset candidate combined sensitive term entry is extracted from a pre-configured training sample using an artificial intelligence (AI) technology.

### Claim 15 (depends on 13)

The non-transitory machine-readable medium according to claim 13, wherein after the presenting the first matching result to the user, the at least one computing device is further caused to:
detect a review operation performed by the user on the first matching result, and determining an incorrectly hit combined sensitive term entry annotated by the user; and
filter the combined sensitive term library based on the incorrectly hit combined sensitive term entry.

### Claim 16 (depends on 13)

The non-transitory machine-readable medium according to claim 13, the at least one computing device is further caused to:
invoke an AI detection model to detect the to-be-detected text to obtain a second matching result indicating a hit combined sensitive term entry of the to-be-detected text in the combined sensitive term library, and the AI detection model is a pre-trained model configured to detect a combined sensitive term entry existing in a text; and
present the second matching result to the user.

### Claim 17 (depends on 13)

The non-transitory machine-readable medium according to claim 13, wherein, to detect, based on the combined sensitive term library, the at least one computing device is further caused to:
construct a dictionary tree based on the plurality of combined sensitive term entries in the combined sensitive term library;
invoke an AC automaton to obtain a candidate term sequence in the to-be-detected text, wherein the candidate term sequence comprises one or more terms in the to-be-detected text; and
perform matching on the candidate term sequence in the dictionary tree, and determining a combined sensitive term entry matching a part or all of terms in the candidate term sequence, wherein the combined sensitive term entry matching the part or all of terms in the candidate term sequence is the hit combined sensitive term entry.

### Claim 18 (depends on 13)

The non-transitory machine-readable medium according to claim 13, wherein the combined sensitive term expression comprises one or more of AND, OR, NOT, or an operator representing preferential calculation.
