hottub.patents
US 12,236,100 B2#3603354 Most CitedActiveUnited States (USPTO)Utility

Operating method, memory controller, and memory system

0Forward Citations (#3603354 Global)
0.0/yrCitation Velocity (#3603354 Global)
0.00Citation PageRank (#3603354 Global)
5Prior Art Cited
8Claims (1 Indep. · 7 Dep.)
0Drawings / Sheets

Abstract

The present disclosure is directed to an operating method of a memory controller, a memory controller, a memory system, and an electronic device. Herein, the operating method can include determining a backup region to be used in an idle state from a memory array, when detecting that remaining capacity of a currently used backup region for storing redundancy parity data in the memory array is less than a required capacity of redundancy parity data to be written, determining the quantity of all backup regions for storing redundancy parity data including the backup region to be used in the memory array, deciding whether the quantity is larger than a preset threshold, and erasing backup regions having stored redundancy parity data in the memory array when the quantity is larger than the preset threshold.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 0.

Claims (8 — 1 Independent, 7 Dependent)

  1. Claim 1Independent Claim

    An operating method of a memory controller included in a memory system including a memory having a memory array that is controlled by the memory controller, the operating method comprising: upon a determination that first redundancy parity data in the memory controller is to be backed up into the memory array, comparing a remaining capacity of a currently used backup region for storing redundancy parity data in the memory array with a required capacity of the first redundancy parity data to be backed up; in response to determining the remaining capacity of the currently used backup region is less than the required capacity, assigning an idle backup region in the memory array, as a backup region to be used; comparing a number of all backup regions for storing redundancy parity data in the memory array, including the backup region to be used, with a preset threshold; in response to determining the number is larger than the preset threshold, erasing backup regions having stored redundancy

  2. Claim 2Depends on #1

    The operating method according to claim 1, further comprising: setting a first backup flag, the first backup flag being used to indicate whether the first backup mode or the second backup mode is applied for the first redundancy parity data in a redundancy parity cache of the memory controller, wherein, when the first backup flag is a first flag, the first backup mode is applied, which includes backing up all of the first redundancy parity data in the memory controller into the memory array.

  3. Claim 3Depends on #2

    The operating method according to claim 2, further comprising: setting the first backup flag as a second flag, after all of the first redundancy parity data in the memory controller has been backed up to the memory array, wherein, when the first backup flag is the second flag, the second backup mode is applied, which includes backing up the first redundancy parity data in an updated state in the memory controller into the memory array.

  4. Claim 4Depends on #3

    The operating method according to claim 3, wherein the backing up the first redundancy parity data in the updated state in the memory further comprises: determining a state of the first redundancy parity data in the redundancy parity cache of the memory controller, and sequentially writing the first redundancy parity data in the updated state into the memory array.

  5. Claim 5Depends on #4

    The operating method according to claim 4, wherein the determining the state of the first redundancy parity data in the redundancy parity cache of the memory controller further comprises: checking a second backup flag corresponding to the first redundancy parity data, and determining the state of the first redundancy parity data based on the second backup flag, wherein: in response to determining the second backup flag is a third flag, the state of the first redundancy parity data is determined as the updated state, and in response to determining the second backup flag is a fourth flag, determining that the state of the first redundancy parity data is determined as a non-updated state.

  6. Claim 6Depends on #5

    The operating method according to claim 5, wherein the sequentially writing the first redundancy parity data in the updated state into the memory array further comprises: traversing the first redundancy parity data in the redundancy parity cache included in the memory controller, backing up the first redundancy parity data whose second backup flag is the third flag to the memory array, and skipping the first redundancy parity data whose second backup flag is the fourth flag without backing up, until all of the first redundancy parity data in the redundancy parity cache is traversed.

  7. Claim 7Depends on #5

    The operating method according to claim 5, wherein the operating method further comprising: setting the second backup flag corresponding to the first redundancy parity data as the fourth flag, after completing backup of the first redundancy parity data in the updated state.

  8. Claim 8Depends on #2

    The operating method according to claim 2, wherein the backing up all of the first redundancy parity data in the memory controller further comprises: traversing the redundancy parity data in the redundancy parity cache of the memory controller, and sequentially writing all of the first redundancy parity data in the redundancy parity cache into the memory array.

Technical Overview & Description

CROSS-REFERENCE OF RELATED APPLICATIONS The present application claims the benefit of priority to China Application No. 202211486127.X, filed on Nov. 24, 2022, the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD The present disclosure relates to a technical field of data storage, and more particularly, to an operating method of a memory controller, a memory controller, a memory system, and an electronic device. BACKGROUND In a memory system, before some operations are performed, some volatile data in the memory controller included in the memory system need to be back up for subsequent data reconstruction. The currently used data backup mode renders less Over provisioning (OP) of the memory system, which affects performance and service life of the memory system. SUMMARY In view of this, embodiments of the present disclosure provide an operating method of a memory controller, a memory controller, a memory system and an electronic device. In a first aspect, an embodiment of the present disclosure provides an operating method of a memory controller that is included in a memory system. The memory system further includes a memory having a memory array and controlled by the memory controller. The operating method includes determining a backup region to be used in an idle state from the memory array, when detecting that remaining capacity of a currently used backup region for storing redundancy parity data in the memory array is less than a required capacity of redundancy parity data to be written, determining the quantity of all backup regions for storing redundancy parity data including the backup region to be used in the memory array, deciding whether the quantity is larger than a preset threshold, and erasing backup regions having stored redundancy parity data in the memory array, when the quantity is larger than the preset threshold. In a second aspect, an embodiment of the present disclosure further provides a memory controller th

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

References Cited — Backward Prior Art (5)