# US 2021/0279400 A1 · Memory-efficient document processing

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

- Number: US 2021/0279400 A1
- Document ID: US20210279400A1
- Status: Published application
- Kind: A1
- Application number: 16/811,457
- Filed: 2020-03-06
- Published: 2021-09-09
- Earliest claimed: 2020-03-06
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Peter Willem Jan Staar; Michele Dolfi; Christoph Auer; Leonidas Georgopoulos; Konstantinos Bekas
- Web page: https://patentgrep.com/patent/US20210279400A1

## CPC

- G06F 16/93: Document management systems
- G06F 40/114: Pagination
- G06F 40/143: Markup, e.g. Standard Generalized Markup Language [SGML] or Document Type Definition [DTD]
- G06F 40/205: Parsing
- G06V 30/414: Extracting the geometrical structure, e.g. layout tree; Block segmentation, e.g. bounding boxes for graphics or text
- G06V 30/10: Character recognition
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

The invention is notably directed to a computer-implemented method for processing a plurality of documents. The method comprises providing the plurality of documents in a first format and splitting each of the plurality of documents of the first format into one or more individual pages. The method further comprises individually parsing the one or more individual pages of the plurality of documents. The parsing comprises identifying a predefined set of items of the one or more individual pages. Further processing comprises gathering the predefined set of items of each of the one or more individual pages of the plurality of documents into individual page files of a second format and performing the document processing service with the individual page files of the second format. The invention further concerns a corresponding computing system and a related computer program product.

## Claims

### Claim 1

A computer-implemented method, the method comprising:
providing a plurality of documents in either a first format, or in a third format that is other than the first format;
separating each of the plurality of documents into individual pages, and creating a plurality of files, each file storing one individual page;
individually parsing each individual page of the plurality of documents, the parsing comprising identifying a predefined set of items on each individual page, wherein the predefined set of items comprises text cells including their text content and bounding boxes, bitmap resources and their bounding boxes, and straight paths and curved paths connecting each item in the set of items;
gathering the predefined set of items and the location of each item on each individual page of the plurality of documents into individual page files of a second format; and
performing a document processing service using only the individual page files of the second format as input, thereby reducing a median file size compared with each individual page of the plurality of documents.

### Claim 2

(canceled)

### Claim 3

(canceled)

### Claim 4 (depends on 1)

The method according to claim 1, wherein straight paths comprise an x-y coordinate pair, wherein an origin coordinate begins in a lower left corner of the individual page and an end coordinate ends in an upper right corner of the individual page.

### Claim 5 (depends on 4)

The method according to claim 4, wherein a curved path comprises a number of straight line segments, each having the x-y coordinate pair, wherein connecting the straight line segments forms the curved path.

### Claim 6

(canceled)

### Claim 7 (depends on 1)

The method according to claim 1, further comprising:
performing an optical character recognition on bitmap resources;
identifying text cells including their text content and their bounding boxes in the bitmap resources; and
identifying paths including corresponding path information in the bitmap resources, the path information comprising path coordinates.

### Claim 8 (depends on 7)

The method according to claim 7, wherein the path information comprises color information of a color of a path and width information of a width of the path.

### Claim 9 (depends on 1)

The method according to claim 1, wherein the first format is a cross-platform software format.

### Claim 10

(canceled)

### Claim 11 (depends on 1)

The method according to claim 1, wherein the second format is a text format comprising textual information of a predefined structure.

### Claim 12

(canceled)

### Claim 13 (depends on 1)

The method according to claim 1, wherein the document processing service is embodied as micro-service.

### Claim 14 (depends on 1)

The method according to claim 1, wherein the document processing service is embodied as cloud-service.

### Claim 15

(canceled)

### Claim 16 (depends on 1)

The method according to claim 1, wherein the second format is configured to provide a reduction of an average and a median file size of the plurality of documents compared with the first format.

### Claim 17 (depends on 1)

The method according to claim 1, wherein the predefined set of items is selected in dependence on the document processing service.

### Claim 18 (depends on 1)

The method according to claim 1, wherein the computer-implemented method is provided as a service in a cloud environment.

### Claim 19

A computing system, comprising:
one or more processors for executing computer-readable instructions, the computer-readable instructions controlling the one or more processors to perform operations comprising:
receiving a plurality of documents in either a first format, or in a third format that is other than the first format;
separating each of the plurality of documents into individual pages, and creating a plurality of files, each file storing one individual page;
individually parsing each individual page of the plurality of documents, the parsing comprising identifying a predefined set of items on each individual page, wherein the predefined set of items comprises text cells including their text content and bounding boxes, bitmap resources and their bounding boxes, and straight paths and curved paths connecting each item in the set of items;
gathering the predefined set of items and the location of each item on each individual page of the plurality of documents into individual page files of a second format; and
performing a document processing service using only the individual page files of the second format as input.

### Claim 20

(canceled)

### Claim 21

(canceled)

### Claim 22

(canceled)

### Claim 23

A computer program product comprising a computer-readable storage medium having program instructions embodied therewith, the program instructions executable by a processor to cause the processor to perform operations comprising:
receiving a plurality of documents in either a first format, or in a third format that is other than the first format;
separating each of the plurality of documents into individual pages, and creating a plurality of files, each file storing one individual page;
individually parsing each individual page of the plurality of documents, the parsing comprising identifying a predefined set of items on each individual page, wherein the predefined set of items comprises text cells including their text content and bounding boxes, bitmap resources and their bounding boxes, and straight paths and curved paths connecting each item in the set of items;
gathering the predefined set of items and the location of each item on each individual page of the plurality of documents into individual page files of a second format; and
performing a document processing service using only the individual page files of the second format as input.

### Claim 24

A node of a computing environment comprising:
one or more processors for executing computer-readable instructions, the computer-readable instructions controlling the one or more processors to perform operations comprising:
separating each of a plurality of documents into individual pages, and creating a plurality of files, each file storing one individual page;
individually parsing each individual page of the plurality of documents, the parsing comprising identifying a predefined set of items on each individual page, wherein the predefined set of items comprises text cells including their text content and bounding boxes, bitmap resources and their bounding boxes, and straight paths and curved paths connecting each item in the set of items;
gathering the predefined set of items and the location of each item on each individual page of the plurality of documents into individual page files of a second format; and
performing a document processing service using only the individual page files of the second format as input.

### Claim 25

A server comprising:
one or more processors for executing computer-readable instructions, the computer-readable instructions controlling the one or more processors to perform operations comprising:
separating each of a plurality of documents into individual pages, and creating a plurality of files, each file storing one individual page;
individually parsing each individual page of the plurality of documents, the parsing comprising identifying a predefined set of items on each individual page, wherein the predefined set of items comprises text cells including their text content and bounding boxes, bitmap resources and their bounding boxes, and straight paths and curved paths connecting each item in the set of items;
gathering the predefined set of items and the location of each item on each individual page of the plurality of documents into individual page files of a second format; and
performing a document processing service using only the individual page files of the second format as input.

### Claim 26 (depends on 23)

The computer program product according to claim 23, wherein
straight paths comprise an x-y coordinate pair, wherein an origin coordinate begins in a lower left corner of the individual page and an end coordinate ends in an upper right corner of the individual page;
wherein a curved path comprises a number of straight line segments, each having an x-y coordinate pair, wherein connecting the straight line segments forms the curved path; and
wherein a text cell comprises a box delimited by a pair of x-y coordinates.

### Claim 27 (depends on 23)

The computer program product of claim 23, wherein the individual page files of the second format include individual entries for each of the predefined set of items, the individual entries comprising: an identifier corresponding to a type of item, a position of a lower left and upper right corner of the bounding box of the type of item, content of the bounding box wherein the type of item is text, and a color identifier and a width identifier wherein the type of item is path.
