# US 2021/0240784 A1 · Method, apparatus and storage medium for searching blockchain data

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

- Number: US 2021/0240784 A1
- Document ID: US20210240784A1
- Status: Published application
- Kind: A1
- Application number: 17/265,576
- Filed: 2019-07-29
- Published: 2021-08-05
- Earliest claimed: 2018-08-03
- Assignees: Shanghai Dianrong Information Technology Co., Ltd.
- Applicants: Shanghai Dianrong Information Technology Co., Ltd.
- Inventors: Shiyuan Xiao
- Web page: https://patentgrep.com/patent/US20210240784A1

## CPC

- G06F 16/953: Querying, e.g. by the use of web search engines
- G06F 21/64: Protecting data integrity, e.g. using checksums, certificates or signatures
- G06F 16/258: {Data format conversion from or to a database}
- G06F 16/9024: {Graphs; Linked lists (G06F16/9027 takes precedence)}
- G06F 16/9566: {URL specific, e.g. using aliases, detecting broken or misspelled links}
- G06F 21/52: during program execution, e.g. stack integrity {; Preventing unwanted data erasure; Buffer overflow}
- G06F 21/602: {Providing cryptographic facilities or services}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The disclosure of the present invention provides a method for searching blockchain data, comprising: A. receiving a webpage read request sent by a search engine via a hypertext transfer protocol (HTTP) interface, the webpage read request including a first uniform resource locator address and smart contract supporting information; B. obtaining first blockchain data at the first uniform resource locator address; C. obtaining smart contract information associated with the first blockchain data, wherein the smart contract information includes a smart contract address information; D. determining whether there is at least one second uniform resource locator address, wherein second blockchain data at the at least one second uniform resource locator address is associated with the first blockchain data; E. generating a response to the webpage read request according to the first blockchain data, the smart contract information associated with the first blockchain data, and the at least one second uniform resource locator address, in the case where there is the at least one second uniform resource locator address; and F. returning the response to the webpage read request to the search engine via the HTTP interface.

## Claims

### Claim at position 1

-24. (canceled)

### Claim 25

A method for searching blockchain data, comprising:
A. receiving a webpage read request sent by a search engine via a hypertext transfer protocol (HTTP) interface, the webpage read request including a first uniform resource locator address and smart contract supporting information;
B. obtaining first blockchain data at the first uniform resource locator address;
C. obtaining smart contract information associated with the first blockchain data, wherein the smart contract information includes a smart contract address information;
D. determining whether there is at least one second uniform resource locator address, wherein second blockchain data at the at least one second uniform resource locator address is associated with the first blockchain data;
E. generating a response to the webpage read request according to the first blockchain data, the smart contract information associated with the first blockchain data, and the at least one second uniform resource locator address, in the case where there is the at least one second uniform resource locator address; and
F. returning the response to the webpage read request to the search engine via the HTTP interface.

### Claim 26 (depends on 25)

The method of claim 25, further comprising:
E1. generating the response to the webpage read request according to the first blockchain data and the smart contract information associated with the first blockchain data in the case where there is no the at least one second uniform resource locator address.

### Claim 27 (depends on 25)

The method of claim 25, wherein the smart contract information further includes smart contract function description information and/or calling parameter description information.

### Claim 28 (depends on 25)

The method of claim 25, wherein D. determining whether there is at least one second uniform resource locator address further comprises:
D1. determining whether there is the at least one second uniform resource locator address according to a hierarchical attribute and a predetermined hierarchical relationship tree included in the first blockchain data.

### Claim 29 (depends on 25)

The method of claim 25, wherein B. obtaining first blockchain data at the first uniform resource locator address further comprises:
B1. parsing the first blockchain data at the first uniform resource locator address according to a data format name of the first blockchain data.

### Claim 30 (depends on 25)

The method of claim 25, wherein B. obtaining first blockchain data at the first uniform resource locator address further comprises:
B2. parsing the first blockchain data at the first uniform resource locator address according to a data format analytical function name, a data format parsing service address, or a data format parsing smart contract address of the first blockchain data.

### Claim 31 (depends on 25)

The method of claim 25, wherein the first blockchain data and/or the second blockchain data comprises a first attribute, and wherein B. obtaining first blockchain data at the first uniform resource locator address further comprises:
B3. determining whether to obtain the first blockchain data at the first uniform resource locator address according to the first attribute of the first blockchain data.

### Claim 32 (depends on 31)

The method of claim 31, wherein the first blockchain data and/or the second blockchain data are stored in a Key/Value manner.

### Claim 33 (depends on 31)

The method of claim 31, wherein,
the first attribute of the first blockchain data is a first value in the case where the first blockchain data is public data;
the first attribute of the second blockchain data is the first value in the case where the second blockchain data is public data;
the first attribute of the first blockchain data is a second value different from the first value in a case where the first blockchain data is private data;
the first attribute of the second blockchain data is the second value in the case where the second blockchain data is private data.

### Claim 34

An apparatus for searching blockchain data, the apparatus comprising:
a processor; and
a memory used to store instructions, and when the instructions are executed, the processor can perform the following operations:
A. receiving a webpage read request sent by a search engine via a hypertext transfer protocol (HTTP) interface, the webpage read request including a first uniform resource locator address and smart contract supporting information;
B. obtaining first blockchain data at the first uniform resource locator address;
C. obtaining smart contract information associated with the first blockchain data, wherein the smart contract information includes a smart contract address information;
D. determining whether there is at least one second uniform resource locator address, wherein second blockchain data at the at least one second uniform resource locator address is associated with the first blockchain data;
E. generating a response to the webpage read request according to the first blockchain data, the smart contract information associated with the first blockchain data, and the at least one second uniform resource locator address, in the case where there is the at least one second uniform resource locator address; and
F. returning the response to the webpage read request to the search engine via the HTTP interface.

### Claim 35 (depends on 34)

The apparatus of claim 34, when the instructions are executed, the processor can perform the following operations:
D1. generating the response to the webpage read request according to the first blockchain data and the smart contract information associated with the first blockchain data in the case where there is no the at least one second uniform resource locator address.

### Claim 36 (depends on 34)

The apparatus of claim 34, wherein the smart contract information further includes smart contract function description information and/or calling parameter description information.

### Claim 37 (depends on 34)

The apparatus of claim 34, wherein D. determining whether there is at least one second uniform resource locator address further comprises:
D1. determining whether there is the at least one second uniform resource locator address according to a hierarchical attribute and a predetermined hierarchical relationship tree included in the first blockchain data.

### Claim 38 (depends on 34)

The apparatus of claim 34, wherein B. obtaining first blockchain data at the first uniform resource locator address further comprises:
B1. parsing the first blockchain data at the first uniform resource locator address according to a data format name of the first blockchain data.

### Claim 39 (depends on 34)

The apparatus of claim 34, wherein B. obtaining first blockchain data at the first uniform resource locator address further comprises:
B2. parsing the first blockchain data at the first uniform resource locator address according to a data format analytical function name, a data format parsing service address, or a data format parsing smart contract address of the first blockchain data.

### Claim 40 (depends on 34)

The apparatus of claim 34, wherein the first blockchain data and/or the second blockchain data comprises a first attribute, and wherein B. obtaining first blockchain data at the first uniform resource locator address further comprises:
B3. determining whether to obtain the first blockchain data at the first uniform resource locator address according to the first attribute of the first blockchain data.

### Claim 41 (depends on 34)

The apparatus of claim 34, wherein the first blockchain data and/or the second blockchain data are stored in a Key/Value manner.

### Claim 42 (depends on 40)

The apparatus of claim 40, wherein,
the first attribute of the first blockchain data is a first value in the case where the first blockchain data is public data;
the first attribute of the second blockchain data is the first value in the case where the second blockchain data is public data;
the first attribute of the first blockchain data is a second value different from the first value in a case where the first blockchain data is private data;
the first attribute of the second blockchain data is the second value in the case where the second blockchain data is private data.

### Claim 43 (depends on 25)

A computer-readable storage medium having computer-readable program instructions stored thereon, the computer-readable program instructions are used to execute the method for searching blockchain data according to claim 25.
