# US 2023/0410861 A1 · Memory device and data searching method thereof

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

- Number: US 2023/0410861 A1
- Document ID: US20230410861A1
- Status: Published application
- Kind: A1
- Application number: 17/841,866
- Filed: 2022-06-16
- Published: 2023-12-21
- Earliest claimed: 2022-06-16
- Assignees: Macronix International Co., Ltd.
- Applicants: Macronix International Co., Ltd.
- Inventors: Shih-Hung CHEN
- Web page: https://patentgrep.com/patent/US20230410861A1

## CPC

- G11C 7/12: Bit line control circuits, e.g. drivers, boosters, pull-up circuits, pull-down circuits, precharging circuits, equalising circuits, for bit lines
- G06F 21/32: using biometric data, e.g. fingerprints, iris scans or voiceprints
- G11C 7/1009: {Data masking during input/output}
- G11C 8/14: Word line organisation; Word line lay-out
- G11C 16/08: Address circuits; Decoders; Word-line control circuits
- G11C 16/24: Bit-line control circuits
- G06F 21/6254: {by anonymising data, e.g. decorrelating personal data from the owner's identification}
- G11C: STATIC STORES (semiconductor memory devices H10B)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A data search method for a memory device is provided. The data search method includes: based on a recorded compression mode, vectoring a search data to generate a search data vector, and based on the recorded compression mode, compressing the search data and a plurality of objects in a database; setting a search condition; searching the objects of the database by the search data vector to determine whether the search data is matched with the objects of the database; and recording and outputting at least one matched object of the database, the at least one matched object matched with the search data.

## Claims

### Claim 1

A data search method for a memory device, the data search method comprising:
based on a recorded compression mode, vectoring a search data to generate a search data vector, and based on the recorded compression mode, compressing the search data and a plurality of objects in a database;
setting a search condition;
searching the objects of the database by the search data vector to determine whether the search data is matched with the objects of the database; and
recording and outputting at least one matched object of the database, the at least one matched object matched with the search data.

### Claim 2 (depends on 1)

The data search method according to claim 1, wherein the step of recording the at least one matched object of the database includes recording an object number, an object name and a matched value of the at least one matched object.

### Claim 3 (depends on 1)

The data search method according to claim 1, wherein the step of outputting the at least one matched object of the database includes outputting original data of the at least one matched object, a sorted data of the at least one matched object, several object data having predetermined matched degree and an object data having highest matched degree.

### Claim 4 (depends on 1)

The data search method according to claim 1, wherein
the recorded compression mode includes a data-equal-quantity compression mode or a dimension-equal-quantity compression mode; and
the search condition includes a matched dimension quantity or a matched dimension ratio.

### Claim 5 (depends on 1)

The data search method according to claim 1, further including:
generating and storing respective feature vectors of the objects of the database; and
generating a feature vector of the search data;
wherein the feature vector of the search data is compared with the respective feature vectors of the objects of the database to determine whether the search data is matched with the objects of the database.

### Claim 6 (depends on 5)

The data search method according to claim 5, further including:
generating and storing respective mask vectors of the objects of the database based on a mask ratio;
based on the mask vectors of the objects of the database, the feature vector of the search data is compared with the respective feature vectors of the objects of the database to determine whether the search data is matched with the objects of the database.

### Claim 7 (depends on 5)

The data search method according to claim 5, wherein
as for multi-dimension vectors of the object, most common values of the respective dimension vectors of the object are as the feature vector of the object; and
as for multi-dimension vectors of the search data, most common values of the respective dimension vectors of the search data are as the feature vector of the search data.

### Claim 8 (depends on 1)

The data search method according to claim 1, wherein based on the recorded compression mode, each dimension vector of the object of the database is compressed as or below 3 bits, and each dimension vector of the search data is compressed as or below 3 bits.

### Claim 9

A memory device comprising:
a plurality of word lines;
a plurality of bit lines; and
a plurality of memory cells on a plurality of intersections between the word lines and the bit lines;
wherein
a first feature vector of a first object is stored on the memory cells on a first word line among the word lines;
a feature vector of a search data is input into the memory cells on the first word line of the memory device via the bit lines;
logic operations on the feature vector of the search data with the first feature vector of the first object are performed to generate a plurality of first logic operation results for determining whether the search data is matched with the first object.

### Claim 10 (depends on 9)

The memory device according to claim 9, further including a counter coupled to the bit lines, for counting the first logic operation results returned from the bit lines to generate a first count,
wherein a first number of the first object is output, or the first count of the first object is output.

### Claim 11 (depends on 9)

The memory device according to claim 9, wherein
a first word line group of the word lines are for storing a plurality of feature vectors of a plurality of objects; and
a second word line group of the word lines are for storing a plurality of mask vectors of the plurality of objects.

### Claim 12 (depends on 9)

The memory device according to claim 9, wherein
a first mask vector of the first object is stored in the memory cells on the first word line among the word lines;
a reference vector is input into the first word line via the bit lines;
logic operations are performed on the feature vector of the search data, the first feature vector of the first object, the first mask vector of the first object and the reference vector to generate the plurality of first logic operation results for determining whether the search data is matched with the first object.

### Claim 13 (depends on 9)

The memory device according to claim 9, wherein
the bit lines are multi-level bit lines; and
the memory cells are multi-level memory cells.

### Claim 14 (depends on 9)

The memory device according to claim 9, wherein
the bit lines are single-level bit lines; and
the memory cells are single-level memory cells.

### Claim 15 (depends on 14)

The memory device according to claim 14, wherein
at least two of the bit lines are used to transmit multi-state information of the same dimension of the feature vector of the search data; and
at least two of the memory cells are used to store multi-state information of the same dimension of the first feature vector of the first object.

### Claim 16 (depends on 9)

The memory device according to claim 9, wherein a second feature vector of a second object is stored in other memory cells on the first word line.

### Claim 17 (depends on 9)

The memory device according to claim 9, further including a page buffer coupled to the bit lines, the page buffer including a plurality of operation units for executing logic operations.

### Claim 18 (depends on 9)

The memory device according to claim 9, wherein each dimension of the feature vector of the search data has several vector states and the number of the vector states is equal to or lower than 3 bits or 8 bits; and each dimension of the feature vector of the first object has several vector states and the number of the vector states is equal to or lower than 3 bits or 8 bits.

### Claim 19

A memory device comprising:
a memory array; and
a controller, coupled to the memory array,
wherein the controller is configured for:
based on a recorded compression mode, vectoring a search data to generate a search data vector, and based on the recorded compression mode, compressing the search data and a plurality of objects in a database, the plurality of objects of the database are stored in the memory array;
setting a search condition;
searching the objects of the database by the search data vector to determine whether the search data is matched with the objects of the database of the memory array; and
recording and outputting at least one matched object of the database, the at least one matched object matched with the search data.
