# US 2018/0024988 A1 · Method for generating search index and server utilizing the same

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

- Number: US 2018/0024988 A1
- Document ID: US20180024988A1
- Status: Published application
- Kind: A1
- Application number: 15/615,650
- Filed: 2017-06-06
- Published: 2018-01-25
- Earliest claimed: 2016-07-21
- Assignees: Avision Inc.
- Applicants: Avision Inc.
- Inventors: Hsin-Chen LEE
- Web page: https://patentgrep.com/patent/US20180024988A1

## CPC

- G06F 40/295: Named entity recognition
- G06F 16/13: File access structures, e.g. distributed indices (arrangements of input from, or output to, record carriers G06F3/06)
- G06F 16/313: {Selection or weighting of terms for indexing}
- G06V 30/416: Extracting the logical structure, e.g. chapters, sections or page numbers; Identifying elements of the document, e.g. authors
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

A method for generating a search index, applicable for a database system having a first database and a second database, includes the follow steps: receiving an access instruction corresponding to a first document, analyzing the first document to obtain a plurality of key character strings, writing the first document into the first database or the second database based on the access instruction and generating address information corresponding to the first document accordingly, and generating a search index corresponding to the first document based on the address information and the key character strings.

## Claims

### Claim 1

A method for generating a search index, applicable for a database system having a first database and a second database, wherein the method comprises:
receiving an access instruction corresponding to a first document;
analyzing the first document to obtain a plurality of first key character strings corresponding to the first document;
storing the first document into the first database or/and the second database according to the access instruction and generating a first address information corresponding to the first document; and
generating a first search index corresponding to the first document according to the first address information and the plurality of first key character strings.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the step of analyzing the first document to obtain a plurality of first key character strings corresponding to the first document comprises:
when the first document is a text file, capturing contents of the text file to obtain the plurality of first key character strings; and
when the first document is not the text file, performing an image recognition to the first document to generate the contents of the first document and to obtain the plurality of first key character strings accordingly.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the image recognition is Pattern Recognition.

### Claim 4 (depends on 1)

The method according to claim 1, further comprising:
receiving a writing information corresponding to a second document from the first database;
capturing the second document from the first database according to the writing information;
analyzing the second document to obtain a plurality of second key character strings corresponding to the second document;
generating a second address information corresponding to the second document according to the writing information; and
generating a second search index corresponding to the second document according to the second address information and the plurality of second key character strings.

### Claim 5

A server applicable for communicating with a first database and a second database, wherein the server comprises:
a processor configured for analyzing a first document to obtain a plurality of first key character strings corresponding to the first document when receiving an access instruction corresponding to the first document; and
an access controller communicating with the processor, the first database and the second database, and configured for writing the first document to the first database or the second database according to the access instruction, and for generating a first address information corresponding to the first document;
wherein the processor further generates a first search index corresponding to the first document with the first address information and the plurality of first key character strings.

### Claim 6 (depends on 5)

The server according to claim 5, further comprising an image capturing device communicating with the processor and used for capturing an image of a paper document to generate the first document.

### Claim 7 (depends on 5)

The server in claim 5, wherein the processor further determines whether the first document is a text file, and when the first document is not the text file, the processor performs an image recognition process on the first document to generate the text file of the first document, and the processor captures contents of the text file of the first document to obtain the plurality of first key character strings, and when the first document is the text file, the processor captures the contents of the first document to obtain the plurality of first key character strings.

### Claim 8 (depends on 7)

The server according to claim 7, wherein the processor performs the image recognition process of an Optical Character Recognition on the first document.

### Claim 9 (depends on 5)

The server according to claim 5, wherein when the first database sends a writing information corresponding to a second document to the server, the processor determines whether the second document is written into the first database by the processor, and when the second document is not written by the processor, the processor captures the second document from the first database via the access controller, and the processor analyzes the second document to obtain a plurality of second key character strings corresponding to the second document, and the processor further generates a second address information according to the writing information and generates a second search index corresponding to the second document according to the second address information and the plurality of second key character strings.

### Claim 10

A search database, comprising:
a non-volatile storage medium for storing a first search index corresponding to a first document, wherein the first search index comprises:
at least one key character string corresponding to the first document; and
a first address corresponding to a first database where the first document is stored;
wherein the first database is different from the search database.

### Claim 11 (depends on 10)

The search database according to claim 10, wherein the non-volatile storage medium is further used for storing a first file arrangement table corresponding to the first database.
