# US 2017/0285961 A1 · 3d stackable hybrid phase change memory with improved endurance and non-volatility

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

- Number: US 2017/0285961 A1
- Document ID: US20170285961A1
- Status: Published application
- Kind: A1
- Application number: 15/091,203
- Filed: 2016-04-05
- Published: 2017-10-05
- Earliest claimed: 2016-04-05
- Assignees: Alibaba Group Holding Limited
- Applicants: Alibaba Group Holding Limited
- Inventors: Shu LI
- Web page: https://patentgrep.com/patent/US20170285961A1

## CPC

- G06F 3/0605: {by facilitating the interaction with a user or administrator}
- G06F 3/0616: {in relation to life time, e.g. increasing Mean Time Between Failures [MTBF]}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 12/08: in hierarchically structured memory systems, e.g. virtual memory systems
- G06F 3/061: {Improving I/O performance}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

Systems and methods for using PCM to implement a non-volatile memory solution characterized by high density, high capacity, enhanced endurance, and low power consumption are described. The PCM memory solutions described are thousands of time faster than NAND flash memory, and the endurance thereof is improved significantly compared to traditional PCM implementations. The frequency with which data is written to PCM is controlled to extend the useful life of the PCM. This is accomplished using assisting memories such as DRAM and NAND flash, for example, to adjust the time interval between subsequent PCM write operations.

## Claims

### Claim 1

A memory system, comprising:
a memory controller;
a first storage tier coupled to the memory controller, comprising DRAM;
a second storage tier coupled to the memory controller, comprising flash memory; and
a third storage tier coupled to the memory controller, comprising phase change memory,
wherein new data to be written to the memory system is written to DRAM, the new data and subsequent data are merged to generate a data chunk, the data chunk is divided into a plurality of data slices, a hash value is calculated for a data slice of the plurality of data slices, the data slice is written to flash memory when the calculated hash value for the respective data slice does not exist in a hash library, and a plurality of data slices written to the flash memory are written from the flash memory to the phase change memory.

### Claim 2 (depends on 1)

The memory system of claim 1, wherein the memory controller waits a preset period of time before writing the data slices to the phase change memory

### Claim 3 (depends on 1)

The memory system of claim 1, wherein the flash memory comprises 3D SLC NAND Flash.

### Claim 4 (depends on 1)

The memory system of claim 1, wherein the memory controller identifies valid data slices of the data slices and writes only the valid data slices from the flash memory to the phase change memory.

### Claim 5 (depends on 4)

The method of claim 4, wherein the memory controller identifies data slices that have expired and data slices that have been updated.

### Claim 6 (depends on 1)

The memory system of claim 1, wherein the DRAM comprises 64 MB, the flash memory comprises 16 GB, and the phase change memory comprises 16 GB.

### Claim 7 (depends on 1)

The memory system of claim 1, wherein the data chunk comprises 4 MB.

### Claim 8

A method for storing data using phase change memory, comprising:
writing a first set of data to DRAM;
merging the first set of data with subsequent data to generate a data chunk;
dividing the data chunk into a plurality of data slices;
calculating a hash value for a data slice of the plurality of data slices;
determining if the hash value calculated for each respective data slice exists in a hash library;
writing the data slice to flash memory when the calculated hash value for the respective data slice does not exist in the hash library; and
writing a plurality of a plurality of data slices written to flash memory from the flash memory to the phase change memory.

### Claim 9 (depends on 8)

The method of claim 8, wherein the calculating a hash value for each data slice of the plurality of data slices is performed immediately when the respective data slice is received.

### Claim 10 (depends on 8)

The method of claim 8, further comprising waiting a preset period of time before writing the data slices to phase change memory.

### Claim 11 (depends on 8)

The method of claim 8, wherein the writing the data slices from the flash memory to the phase change memory further comprises:
identifying valid data slices of the data slices; and
writing only the valid data slices from the flash memory to the phase change memory.

### Claim 12 (depends on 11)

The method of claim 11, wherein the identifying valid data slices of the data slices further comprises:
identifying data slices that have expired; and
identifying data slices that have been updated.

### Claim 13 (depends on 8)

The method of claim 8, wherein the DRAM comprises 64 MB, the flash memory comprises 16 GB, and the phase change memory comprises 16 GB.

### Claim 14 (depends on 8)

The method of claim 8, wherein the data chunk comprises 4 MB.

### Claim 15

A computer program product tangibly embodied in a computer-readable storage device and comprising instructions that when executed by a processor perform a method for storing data using phase change memory, the method comprising:
writing a first set of data to DRAM;
merging the first set of data with subsequent data to generate a data chunk;
dividing the data chunk into a plurality of data slices;
calculating a hash value for a data slice of the plurality of data slices;
determining if the hash value calculated for each respective data slice exists in a hash library;
writing the data slice to flash memory when the calculated hash value for the respective data slice does not exist in the hash library; and
writing a plurality of data slices written to flash memory from the flash memory to the phase change memory.

### Claim 16 (depends on 15)

The method of claim 15, wherein the calculating a hash value for each data slice of the plurality of data slices is performed immediately when the respective data slice is received.

### Claim 17 (depends on 15)

The method of claim 15, further comprising waiting a preset period of time before writing the data slices to phase change memory.

### Claim 18 (depends on 15)

The method of claim 15, wherein the writing the data slices from the flash memory to the phase change memory further comprises:
identifying valid data slices of the data slices; and
writing only the valid data slices from the flash memory to the phase change memory.

### Claim 19 (depends on 18)

The method of claim 18, wherein the identifying valid data slices of the data slices further comprises:
identifying data slices that have expired; and
identifying data slices that have been updated.

### Claim 20 (depends on 15)

The method of claim 15, wherein the DRAM comprises 64 MB, the flash memory comprises 16 GB, and the phase change memory comprises 16 GB.
