# US 2023/0054426 A1 · Read-write method

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

- Number: US 2023/0054426 A1
- Document ID: US20230054426A1
- Status: Published application
- Kind: A1
- Application number: 17/439,068
- Filed: 2021-06-07
- Published: 2023-02-23
- Earliest claimed: 2020-09-30
- Assignees: Changxin Memory Technologies, Inc.
- Applicants: Changxin Memory Technologies, Inc.
- Inventors: Shuliang NING; Jun HE; Jie LIU; Zhan YING
- Web page: https://patentgrep.com/patent/US20230054426A1

## CPC

- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G11C 7/1006: {Data managing, e.g. manipulating data before writing or reading out, data bus switches or control circuits therefor}
- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/0673: {Single storage device}
- G11C 11/4096: Input/output [I/O] data management or control circuits, e.g. reading or writing circuits, I/O drivers or bit-line switches
- G11C 29/44: Indication or identification of errors, e.g. for repair
- G06F 11/10: Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
- G11C 7/1015: {Read-write modes for single port memories, i.e. having either a random port or a serial port}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G11C: STATIC STORES (semiconductor memory devices H10B)

## Abstract

The present disclosure provides a read-write method. The read-write method includes: when a write operation is performed on a memory, a number of first values and a number of second values in data to be written are determined; and if the number of first values is greater than the number of second values in the data to be written, the data to be written is inverted and then stored, and an identification bit is allocated, the identification bit stores a first mark to identify the data to be written.

## Claims

### Claim 1

A read-write method, the read-write method comprises: when a write operation is performed on a memory, a number of first values and a number of second values in data to be written are determined; and if the number of first values is greater than the number of second values in the data to be written, the data to be written is inverted and then stored, and an identification bit is allocated, the identification bit stores a first mark to identify the data to be written.

### Claim 2 (depends on 1)

The read-write method according to claim 1, wherein a number of first values and a number of second values in data to be written are determined; and if the number of second values is greater than the number of first values in the data to be written, the data to be written is directly stored, and an identification bit is allocated, the identification bit stores a second mark to identify the data to be written.

### Claim 3 (depends on 1)

The read-write method according to claim 1, wherein the data to be written is divided into several groups, and a number of first values and a number of second values in each group of data to be written are determined; and if the number of first values is greater than the number of second values in a group of data to be written, the group of data to be written is inverted and then stored, and an identification bit is allocated, the identification bit stores a first mark to identify the group of data to be written.

### Claim 4 (depends on 3)

The read-write method according to claim 3, wherein a number of first values and a number of second values in each group of data to be written are determined; and if the number of second values is greater than the number of first values in a group of data to be written, the group of data to be written is directly stored, and an identification bit is allocated, the identification bit stores a second mark to identify the group of data to be written.

### Claim 5 (depends on 3)

The read-write method according to claim 3, wherein a number of data included in each group of data to be written is the same as a number of data pins of the memory.

### Claim 6 (depends on 3)

The read-write method according to claim 3, wherein a number of data included in each group of data to be written is a multiple of a number of data pins of the memory.

### Claim 7 (depends on 2)

The read-write method according to claim 2, wherein the first mark and the second mark are different values.

### Claim 8 (depends on 1)

The read-write method according to claim 1, the read-write method further comprises: when a read operation is performed on the memory, data to be read and identification bit data corresponding to the data to be read are read, and an output operation is performed.

### Claim 9 (depends on 8)

The read-write method according to claim 8, wherein the output operation comprises: determining, according to the identification bit data, whether the data to be read is inverted, and if the data to be read is inverted, inverting the data to be read and then outputting the inverted data to be read as output data.

### Claim 10 (depends on 8)

The read-write method according to claim 8, wherein the output operation comprises: determining, according to the identification bit data, whether the data to be read is inverted, and if the data to be read is not inverted, directly outputting the stored data as output data.

### Claim 11 (depends on 8)

The read-write method according to claim 8, wherein the output operation comprises: outputting the data to be read out as output data, and outputting the identification bit data using a mark pin, or inverting the identification bit data and then outputting the inverted identification bit data using a mark pin.

### Claim 12 (depends on 8)

The read-write method according to claim 8, wherein the output operation comprises: inverting all the data to be read and then outputting all the inverted data to be read as output data, and outputting the identification bit data using mark pins, or inverting the identification bit data and then outputting the inverted identification bit data using mark pins.

### Claim 13 (depends on 8)

The read-write method according to claim 8, wherein the output operation comprises: determining, according to a working state of the memory, whether the data to be read needs to be inverted; and if the data to be read needs to be inverted, inverting all the data to be read and then outputting all the inverted data to be read as output data, and outputting the identification bit data using mark pins, or inverting the identification bit data and then outputting the inverted identification bit using mark pins.

### Claim 14 (depends on 8)

The read-write method according to claim 8, wherein the output operation comprises: determining, according to a working state of the memory, whether the data to be read needs to be inverted; and if the data to be read does not need to be inverted, outputting the data to be read as output data, and outputting the identification bit data using mark pins, or inverting the identification bit data and then outputting the inverted identification bit using mark pins.

### Claim 15 (depends on 3)

The read-write method according to claim 3, the read-write method further comprises: when a read operation is performed on the memory, data to be read and identification bit data corresponding to the data to be read are read, and an output operation is performed.

### Claim 16 (depends on 15)

The read-write method according to claim 15, wherein the output operation comprises: determining, according to the identification bit data, whether the data to be read is inverted, and if the data to be read is inverted, inverting the data to be read and then outputting the inverted data to be read as output data.

### Claim 17 (depends on 15)

The read-write method according to claim 15, wherein the output operation comprises: determining, according to the identification bit data, whether the data to be read is inverted, and if the data to be read is not inverted, directly outputting the stored data as output data.

### Claim 18 (depends on 15)

The read-write method according to claim 15, wherein the output operation comprises: outputting the data to be read out as output data, and outputting the identification bit data using a mark pin, or inverting the identification bit data and then outputting the inverted identification bit using a mark pin.

### Claim 19 (depends on 15)

The read-write method according to claim 15, wherein the output operation comprises: inverting all the data to be read and then outputting all the inverted data to be read as output data, and outputting the identification bit data using mark pins, or inverting the identification bit data and then outputting the inverted identification bit using mark pins.

### Claim 20 (depends on 15)

The read-write method according to claim 15, wherein the output operation comprises: determining, according to a working state of the memory, whether the data to be read needs to be inverted; and if the data to be read needs to be inverted, inverting all the data to be read and then outputting all the inverted data to be read as output data, and outputting the identification bit data using mark pins, or inverting the identification bit data and then outputting the inverted identification bit using mark pins.
