# US 2021/0397785 A1 · Classifying Input Fields and Groups of Input Fields of a Webpage

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

- Number: US 2021/0397785 A1
- Document ID: US20210397785A1
- Status: Published application
- Kind: A1
- Application number: 17/407,573
- Filed: 2021-08-20
- Published: 2021-12-23
- Earliest claimed: 2019-09-24
- Assignees: Intersections, Inc.
- Applicants: Intersections Inc.
- Inventors: Mykola Chernov; Pavlo Malin; Oleksandr Chaikovskyi; Vitalii Afanasiev; Vasyl Shutovskyi; Volodymyr Shelest
- Web page: https://patentgrep.com/patent/US20210397785A1

## CPC

- G06F 40/174: Form filling; Merging
- G06F 16/9574: {of access to content, e.g. by caching}
- G06F 16/986: {Document structures and storage, e.g. HTML extensions}
- G06V 30/412: Layout analysis of documents structured with printed lines or input boxes, e.g. business forms or tables
- G06V 30/413: Classification of content, e.g. text, photographs or tables
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

A method, a system and a machine-readable data carrier, which are intended to classify input fields and groups of input fields of a webpage, are described. The method for classifying input fields and groups of input fields of a webpage may include a browser extension that contains program elements Content Script and Background Script and a program recognition module. The method may form a hierarchy of HTML-documents of a webpage. A multicomponent system for classifying input fields and groups of input fields of a webpage may include a processor device and a storage, and a set of instructions that, when executed by the processor, control the processor to form a hierarchy with grouped fields and a report file for HTML-documents of the webpage. The instructions may also identify elements of the HTML-documents on the webpage.

## Claims

### Claim 1

(canceled)

### Claim 2

A computer-implemented method comprising:
identifying content of a webpage, the webpage comprising input fields, the webpage comprising two or more HTML-encoded documents, the identifying comprising:
executing, on one or more processors and for each HTML-encoded document of the two or more HTML-encoded documents, a separate instance of first computer-executable instructions, wherein each instance comprises:
generating, for each HTML-encoded document of the two or more HTML-encoded documents, a document identifier associated with the HTML-encoded document;
determining, based on the document identifiers, a hierarchy of the HTML-encoded documents;
determining, for each HTML-encoded document, important and visible elements; and
generating, based on the hierarchy and the important and visible elements, a report;
executing, on the one or more processors and based on the report, second computer-executable instructions that generate a tree data structure of the important and visible elements; and
outputting the tree data structure.

### Claim 3 (depends on 2)

The computer-implemented method of claim 2,
wherein executing the second computer-executable instructions comprise determining, via a machine-learning model and as important and visible elements, clickable elements.

### Claim 4 (depends on 2)

The computer-implemented method of claim 2, wherein executing the second computer-executable instructions comprises:
determining, via a machine-learning model and for the important and visible elements, label classifications.

### Claim 5 (depends on 2)

The computer-implemented method of claim 2, wherein executing the second computer-executable instructions comprises:
determining, via a machine-learning model, a probability that a label is associated with an input field.

### Claim 6 (depends on 2)

The computer-implemented method of claim 2, wherein executing the second computer-executable instructions comprises:
determining, via a machine-learning model, a probability that a label is associated with an input field.

### Claim 7 (depends on 2)

The computer-implemented method of claim 2, wherein executing the second computer-executable instructions comprises:
determining, via a machine-learning model, a tree graph with feature vectors.

### Claim 8 (depends on 2)

The computer-implemented method of claim 2, wherein executing the second computer-executable instructions comprises:
generating, via a machine-learning model, a JavaScript Object Notation (JSON) document comprising a tree graph with feature vectors.

### Claim 9 (depends on 8)

The computer-implemented method of claim 8, wherein determining important and visible elements comprises:
determining, for each for each HTML-encoded document, one or more clickable elements.

### Claim 10 (depends on 2)

The computer-implemented method of claim 2, wherein determining important and visible elements comprises:
determining, for each for each HTML-encoded document, one or more form submission buttons.

### Claim 11 (depends on 2)

The computer-implemented method of claim 2, wherein determining important and visible elements comprises:
determining, for each for each HTML-encoded document, a label associated with an input field of the input fields.

### Claim 12 (depends on 11)

The computer-implemented method of claim 11, wherein determining important and visible elements comprises determining, for each for each HTML-encoded document, one or more form submission buttons, and the computer-implemented method further comprising:
grouping, into one or more groups, the input fields with the one or more form submission buttons.

### Claim 13 (depends on 12)

The computer-implemented method of claim 12, further comprising:
determining one or more labels for the groups.

### Claim 14 (depends on 13)

The computer-implemented method of claim 13, further comprising:
classifying, based on a machine-learning model, the input fields.

### Claim 15 (depends on 14)

The computer-implemented method of claim 14, further comprising:
populating, based on the classifying, the input fields; and
outputting the populated input fields.

### Claim 16

An apparatus comprising:
one or more processors; and
memory storing instructions that, when executed by the one or more processors, cause the apparatus to:
identify content of a webpage, the webpage comprising input fields, the webpage comprising two or more HTML-encoded documents, wherein the instructions to identify cause the apparatus to:
execute, on one or more processors and for each HTML-encoded document of the two or more HTML-encoded documents, a separate instance of first computer-executable instructions, wherein each instance comprises:
generate, for each HTML-encoded document of the two or more HTML-encoded documents, a document identifier associated with the HTML-encoded document;
determine, based on the document identifiers, a hierarchy of the HTML-encoded documents;
determine, for each HTML-encoded document, important and visible elements; and
generate, based on the hierarchy and the important and visible elements, a report;
execute, on the one or more processors and based on the report, second computer-executable instructions that generate a tree data structure of the important and visible elements; and
output the tree data structure.

### Claim 17 (depends on 16)

The apparatus of claim 16, wherein the execution of the second computer-executable instructions cause the apparatus to:
determine, via a machine-learning model and as important and visible elements, clickable elements.

### Claim 18 (depends on 16)

The apparatus of claim 16, wherein the execution of the second computer-executable instructions cause the apparatus to:
determine, via a machine-learning model and for the important and visible elements, label classifications.

### Claim 19 (depends on 16)

The apparatus of claim 16, wherein the execution of the second computer-executable instructions cause the apparatus to:
determine, via a machine-learning model, a probability that a label is associated with an input field.

### Claim 20 (depends on 16)

The apparatus of claim 16, wherein the execution of the second computer-executable instructions cause the apparatus to:
determine, via a machine-learning model, a probability that a label is associated with an input field.

### Claim 21 (depends on 16)

The apparatus of claim 16, wherein the execution of the second computer-executable instructions cause the apparatus to:
determine, via a machine-learning model, a tree graph with feature vectors.
