# US 2022/0294713 A1 · Self-definable counter-based filtering method and device, and computer readable storage medium

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

- Number: US 2022/0294713 A1
- Document ID: US20220294713A1
- Status: Published application
- Kind: A1
- Application number: 17/629,140
- Filed: 2020-06-04
- Published: 2022-09-15
- Earliest claimed: 2019-07-24
- Assignees: Zte Corporation
- Applicants: ZTE Corporation
- Inventors: Dunfu YU; Zhengbin LIANG; Yang YANG; Jianwei QU
- Web page: https://patentgrep.com/patent/US20220294713A1

## CPC

- H04L 43/10: Active monitoring, e.g. heartbeat, ping or trace-route
- H04L 43/12: Network monitoring probes
- H04L 43/028: by filtering
- H04W 4/38: for collecting sensor information
- H04W 4/70: Services for machine-to-machine communication [M2M] or machine type communication [MTC]
- H04W 12/084: using delegated authorisation, e.g. open authorisation [OAuth] protocol
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

A customizable filtering method for a counter, apparatus, and a computer storage medium are disclosed. The method may include: configuring a first filter condition according to a filter parameter table, at least one category of first filter parameters being configured in the first filter condition (S101); converting the first filter parameters into second filter parameters by means of category uniformization (S102); analyzing a second filter condition according to the filter parameter table, converting the second filter condition into a first data structure that facilitates local filter processing and saving the first data structure (S103); collecting performance data, the performance data comprising filter indication information (S104); processing the filter indication information according to the filter parameter table, and storing the filter indication information in a second data structure (S105); and performing filter processing on the filter indication information stored in the second data structure, and recording the filter result (S106).

## Claims

### Claim 1

A customizable filtering method for a counter, comprising:
configuring a first filter condition according to a loaded filter parameter table, wherein the first filter condition is configured with at least one type of first filter parameters;
converting the first filter parameter into a second filter parameter through type unification, and correspondingly, converting the first filter condition into a second filter condition;
analyzing, according to the filter parameter table, the second filter parameter configured in the second filter condition, and converting and storing the second filter parameter as a first data structure that is easy to filter locally;
collecting performance data, wherein the performance data comprises basic performance information and filter indication information;
processing the filter indication information according to the filter parameter table, and storing the filter indication information into a second data structure; and
performing filtering, according to the first data structure, on the filter indication information stored in the second data structure, and recording a filtering result.

### Claim 2 (depends on 1)

The customizable filtering method for a counter of claim 1, wherein the first filter condition is a filter condition combination, and configuring a first filter condition according to a loaded filter parameter table comprises:
setting a name of the filter condition combination, wherein the filter condition combination comprises at least one sub-filter condition;
selecting filter parameters;
setting ranges of the filter parameters; and
whether the sub-filter condition comprises a NOT operation.

### Claim 3 (depends on 1)

The customizable filtering method for a counter of claim 1, wherein when the filter condition combination comprises at least two sub-filter conditions, configuring a first filter condition according to a loaded filter parameter table further comprises:
setting logical operations between the sub-filter conditions and setting a processing order of the sub-filter conditions.

### Claim 4 (depends on 1)

The customizable filtering method for a counter of claim 1, wherein the filter parameters comprise name information, description information, a coded value, an original data type, a range, a unified target type, and a conversion indication.

### Claim 5 (depends on 4)

The customizable filtering method for a counter of claim 4, wherein type unification performed on the filter parameter comprises:
determining whether the original data type is consistent with the unified target type;
in response to the original data type being consistent with the unified target type, skipping unification; and
in response to the original data type being not consistent with the unified target type, converting the original data type into the unified target type according to the conversion indication.

### Claim 6 (depends on 2)

The customizable filtering method for a counter of claim 2, wherein performing filtering on the filter indication information stored in the second data structure according to the second filter condition in the first data structure comprises:
performing cyclic filtering on the filter indication information by adopting each sub-filter condition in the filter condition combination.

### Claim 7 (depends on 6)

The customizable filtering method for a counter of claim 6, wherein performing cyclic filtering on the filter indication information by adopting each sub-filter condition in the filter condition combination comprises:
searching the filter indication information for the filter parameters according to type information of the second filter parameter in the sub-filter condition;
determining whether the filter parameters in the filter indication information have a filter parameter of a same type as the second filter parameter; and
in response to the filter parameters in the filter indication information having a filter parameter of a same type as the second filter parameter, invoking a first range corresponding to the second filter parameter in the corresponding sub-filter condition according to a data type of the filter parameter in the filter indication information, and determining whether a second range of the filter parameters in the filter indication information is within the first range;
in response to the second range of the filter parameters in the filter indication information being within the first range, when the sub-filter condition comprises the NOT operation, performing the NOT operation on the sub-filter condition to complete filtering; and
in response to the second range of the filter parameters in the filter indication information being not within the first range, determining that filtering fails.

### Claim 8 (depends on 1)

The customizable filtering method for a counter of claim 1, wherein performing filtering on the filter indication information stored in the second data structure according to the second filter condition in the first data structure, and recording a filtering result comprises:
converting the filtering result into a form required for subsequent processing.

### Claim 9

A customizable filtering apparatus for a counter comprising:
a filter setting module, a type unification module, a filtering execution module, and a performance collection module, wherein
the filter setting module is configured to: load a filter parameter table, send all or a part of content of the filter parameter table to the filtering execution module, and configure a first filter condition and send the first filter condition to the type unification module, wherein the first filter condition comprises at least one filter parameter;
the type unification module is configured to: convert the filter parameter into a second filter parameter through type unification, and correspondingly, convert the first filter condition into a second filter condition and send the second filter condition to the filtering execution module in a self-explanatory form;
the filtering execution module is configured to: load the received filter parameter table, analyze, according to the filter parameter table, the second filter parameter configured in the second filter condition, and convert and store the second filter parameter as a first data structure that is easy to filter locally;
the performance collection module is configured to collect performance data and send the performance data to the filtering execution module, wherein the performance data at least comprises basic performance information and filter indication information; and
the filtering execution module is further configured to: process the filter indication information according to the filter parameter table, store the filter indication information into a second data structure, perform filtering on the second data structure according to the second filter condition in the first data structure, and send a filtering result and the received basic performance information to a subsequent processing module.

### Claim 10 (depends on 1)

A non-transitory computer-readable storage medium storing at least one computer program executable by at least one processor to implement the customizable filtering method for a counter of claim 1.
