# US 2021/0286900 A1 · Method for displaying blockchain data, blockchain browser, user node, and medium

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

- Number: US 2021/0286900 A1
- Document ID: US20210286900A1
- Status: Published application
- Kind: A1
- Application number: 17/337,305
- Filed: 2021-06-02
- Published: 2021-09-16
- Earliest claimed: 2019-01-09
- Assignees: Tencent Technology (Shenzhen) Company Limited
- Applicants: Tencent Technology (Shenzhen) Company Limited
- Inventors: Maocai LI; Zongyou WANG; Kaiban ZHOU; Jinsong ZHANG; Hu LAN; Li KONG; Changqing YANG; Yifang SHI
- Web page: https://patentgrep.com/patent/US20210286900A1

## CPC

- G06F 21/64: Protecting data integrity, e.g. using checksums, certificates or signatures
- G06F 21/602: {Providing cryptographic facilities or services}
- G06F 21/6218: {to a system of files or objects, e.g. local or distributed file system or database}
- G06F 40/20: Natural language analysis (semantic analysis of natural language G06F40/30)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Aspects of the disclosure provide a method for displaying blockchain data, a blockchain browser, a user node, and a medium. The method can include transmitting a blockchain data query request, and receiving blockchain data obtained through query in response to the blockchain data query request. Further, the method can include obtaining filtered blockchain data, the filtered blockchain data being generated after illegal content in the blockchain data is filtered out based on a filtering rule, and displaying the filtered blockchain data. In embodiments of this disclosure, the display of the illegal content in the blockchain data can be automatically skipped.

## Claims

### Claim 1

A method for displaying blockchain data that is performed by a computing device, the method comprising:
transmitting a blockchain data query request;
receiving blockchain data obtained through query in response to the blockchain data query request;
obtaining filtered blockchain data that is generated after illegal content in the blockchain data is filtered out based on a filtering rule; and
displaying the filtered blockchain data.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the obtaining filtered blockchain data further comprises:
transmitting the blockchain data to a content security device, so that the content security device filters out the illegal content in the blockchain data based on the filtering rule to generate the filtered blockchain data; and
receiving the filtered blockchain data transmitted by the content security device.

### Claim 3 (depends on 2)

The method according to claim 2, wherein:
the transmitting the blockchain data to a content security device further comprises:
transmitting the blockchain data together with a user node type to the content security device, and
the filtering out the illegal content in the blockchain data based on the filtering rule further comprises:
searching a pre-stored table of a correspondence between a user node type and a filtering rule based on the user node type to obtain a filtering rule corresponding to the user node type; and
filtering out the illegal content in the blockchain data based on the filtering rule corresponding to the user node type.

### Claim 4 (depends on 2)

The method according to claim 2, wherein:
the blockchain includes a plurality of sub-blockchains, each sub-blockchain having a sub-blockchain identifier,
the transmitting the blockchain data to a content security module further comprises:
transmitting the blockchain data together with a sub-blockchain identifier of a sub-blockchain where the blockchain data is located to the content security device, and
the filtering out the illegal content in the blockchain data based on the filtering rule further comprises:
searching a pre-stored table of a correspondence between a sub-blockchain identifier and a filtering rule based on the sub-blockchain identifier to obtain a filtering rule corresponding to the sub-blockchain identifier; and
filtering out the illegal content in the blockchain data based on the filtering rule corresponding to the sub-blockchain identifier.

### Claim 5 (depends on 2)

The method according to claim 2, wherein the receiving blockchain data obtained through query in response to the blockchain data query request comprises:
receiving encoded blockchain data obtained through query in response to the blockchain data query request; and
the method further comprises decoding the encoded blockchain data before transmitting the blockchain data to a content security device.

### Claim 6 (depends on 2)

The method according to claim 2, wherein the filtering rule includes an illegal word list, and the filtering out the illegal content in the blockchain data based on the filtering rule further comprises:
performing word segmentation on each piece of transaction information in the blockchain data; and
comparing each segmented word with an illegal word in the illegal word list one by one, and filtering out illegal content including the segmented word when one of segmented words matches the illegal word in the illegal word list.

### Claim 7 (depends on 2)

The method according to claim 2, wherein the filtering rule includes an illegal word list, and the filtering out the illegal content in the blockchain data according to the filtering rule further comprises:
performing word segmentation on each piece of transaction information in the blockchain data;
searching a synonym table to determine a synonym of each segmented word; and
determining whether at least one of synonyms of the word matches an illegal word in the illegal word list for each segmented word, and filtering out illegal content including the segmented word in a case that a synonym of the word matches the illegal word in the illegal word list.

### Claim 8 (depends on 6)

The method according to claim 6, wherein the illegal content comprising the segmented word includes any one of:
the illegal word;
a sentence where the illegal word is located;
a section where the illegal word is located;
transaction information where the illegal word is located; and
content determined based on a filtering level corresponding to the illegal word, the illegal word list further including the filtering level corresponding to the illegal word.

### Claim 9 (depends on 2)

The method according to claim 2, wherein the filtering rule includes an illegal sentence list, and the filtering out the illegal content in the blockchain data based on the filtering rule further comprises:
performing sentence segmentation on each piece of transaction information in the blockchain data; and
determining a cosine distance between a sentence vector of the segmented sentence and a sentence vector of each illegal sentence in the illegal sentence list for each segmented sentence, and filtering out illegal content including the segmented sentence when the cosine distance between the sentence vector of the segmented sentence and the sentence vector of the illegal sentence in the illegal sentence list is less than a predetermined cosine distance threshold.

### Claim 10 (depends on 9)

The method according to claim 9, wherein the determining the cosine distance further comprises:
performing word segmentation on the segmented sentence and the illegal sentence respectively;
searching a word vector table to determine a word vector of each word obtained based on the word segmentation on the segmented sentence and a word vector of each word obtained based on the word segmentation on the illegal sentence, respectively;
constructing the sentence vector of the segmented sentence based on the word vector of each word obtained based on the word segmentation on the segmented sentence, constructing the sentence vector of the illegal sentence according to the word vector of each word obtained based on the word segmentation on the illegal sentence, and making the sentence vector of the segmented sentence and the sentence vector of the illegal sentence have a same dimension; and
determining the cosine distance between the sentence vector of the segmented sentence and the sentence vector of the illegal sentence.

### Claim 11 (depends on 10)

The method according to claim 10, wherein the constructing the sentence vector of the segmented sentence further comprises:
determining a quantity of times of occurrence of a notional word in blockchain data historically transmitted to the content security device by a user node transmitting the blockchain data to the content security device as a first quantity of times of occurrence for each notional word obtained based on the word segmentation on the segmented sentence;
concatenating word vectors of a pre-determined quantity of notional words ranking at the top in descending order of first quantities of times of occurrence into the sentence vector of the segmented sentence based on the order of the notional words in the segmented sentence;
determining a quantity of times of occurrence of the notional word in blockchain data transmitted historically by all user nodes to the content security device as a second quantity of times of occurrence for each notional word obtained based on the word segmentation on the illegal sentence; and
concatenating word vectors of a pre-determined quantity of notional words ranking at a top in descending order of second quantities of times of occurrence into the sentence vector of the illegal sentence based on the order of the notional words in the illegal sentence, the two pre-determined quantities being the same.

### Claim 12 (depends on 2)

The method according to claim 2, wherein the filtering rule includes at least one of an illegal data block identifier and an illegal transaction information identifier, and the filtering out the illegal content in the blockchain data based on the filtering rule further comprises:
filtering out a data block where the illegal data block identifier is located when the blockchain data includes the illegal data block identifier; and
filtering out transaction information where the illegal transaction information identifier is located when that the blockchain data includes the illegal transaction information identifier.

### Claim 13

A blockchain browser, comprising:
a blockchain data query request transmitting device that is configured to transmit a blockchain data query request;
a blockchain data receiving device that is configured to receive blockchain data obtained through query in response to the blockchain data query request;
an obtaining device that is configured to obtain filtered blockchain data, the filtered blockchain data being generated after illegal content in the blockchain data is filtered out based on a filtering rule; and
a display device that is configured to display the filtered blockchain data.

### Claim 14

A user node having a memory that stores non-transitory computer-readable instructions and a processor that reads the computer-readable instructions stored in the memory and performs a method for displaying blockchain data comprising:
transmitting a blockchain data query request;
receiving blockchain data obtained through query in response to the blockchain data query request;
obtaining filtered blockchain data that is generated after illegal content in the blockchain data is filtered out based on a filtering rule; and
displaying the filtered blockchain data.

### Claim 15 (depends on 1)

A computer program medium that stores non-transitory computer-readable instructions that, when executed by a processor of a computer, cause the computer to perform the method according to claim 1.

### Claim 16 (depends on 1)

A computer program product, comprising non-transitory instructions that, when run on a computer, cause the computer to perform the method according to claim 1.

### Claim 17 (depends on 14)

The user node according to claim 14, wherein the obtaining filtered blockchain data further comprises:
transmitting the blockchain data to a content security device, so that the content security device filters out the illegal content in the blockchain data based on the filtering rule to generate the filtered blockchain data; and
receiving the filtered blockchain data transmitted by the content security device.

### Claim 18 (depends on 17)

The user node according to claim 17, wherein:
the transmitting the blockchain data to a content security device further comprises:
transmitting the blockchain data together with a user node type to the content security device, and
the filtering out the illegal content in the blockchain data based on the filtering rule further comprises:
searching a pre-stored table of a correspondence between a user node type and a filtering rule based on the user node type to obtain a filtering rule corresponding to the user node type; and
filtering out the illegal content in the blockchain data based on the filtering rule corresponding to the user node type.

### Claim 19 (depends on 17)

The user node according to claim 17, wherein:
the blockchain includes a plurality of sub-blockchains, each sub-blockchain having a sub-blockchain identifier,
the transmitting the blockchain data to a content security module further comprises:
transmitting the blockchain data together with a sub-blockchain identifier of a sub-blockchain where the blockchain data is located to the content security device, and
the filtering out the illegal content in the blockchain data based on the filtering rule further comprises:
searching a pre-stored table of a correspondence between a sub-blockchain identifier and a filtering rule based on the sub-blockchain identifier to obtain a filtering rule corresponding to the sub-blockchain identifier; and
filtering out the illegal content in the blockchain data based on the filtering rule corresponding to the sub-blockchain identifier.

### Claim 20 (depends on 17)

The user node according to claim 17, wherein the receiving blockchain data obtained through query in response to the blockchain data query request comprises:
receiving encoded blockchain data obtained through query in response to the blockchain data query request; and
the method for displaying blockchain data further comprises decoding the encoded blockchain data before transmitting the blockchain data to a content security device.
