WO2019205452A1 - 一种提升多颗闪存平行写入校能的管理方法 - Google Patents
一种提升多颗闪存平行写入校能的管理方法 Download PDFInfo
- Publication number
- WO2019205452A1 WO2019205452A1 PCT/CN2018/105884 CN2018105884W WO2019205452A1 WO 2019205452 A1 WO2019205452 A1 WO 2019205452A1 CN 2018105884 W CN2018105884 W CN 2018105884W WO 2019205452 A1 WO2019205452 A1 WO 2019205452A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- flash
- memory
- channel
- timer
- flash memories
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/061—Improving I/O performance
- G06F3/0611—Improving I/O performance in relation to response time
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0673—Single storage device
- G06F3/0679—Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]
Definitions
- the invention relates to the field of flash memory technology, and in particular relates to a management method for improving parallel write writing energy of multiple flash memories.
- Flash memory is a long-lived non-volatile memory that retains stored data information in the event of a power outage. Data deletion is not in a single byte but in a fixed block. The block size is typically 256KB to 20MB. Flash memory is a variant of electronically erasable read-only memory (EEPROM). Unlike flash memory, EEPROM can be erased and rewritten at the byte level instead of the entire chip eraser, while most chips in flash require a block erase. except. Since data can still be saved when it is powered off, flash memory is often used to save setup information, such as saving data in a computer's BIOS (basic program), PDA (personal digital assistant), digital camera, and so on.
- BIOS basic program
- PDA personal digital assistant
- Flash memory is a non-disappearing memory device with a three-bit three-level cell (TLC), two-bit multi-level cell (MLC) flash memory, and a single-level cell (SLC) flash memory, regardless of the flash memory.
- TLC three-bit three-level cell
- MLC multi-level cell
- SLC single-level cell
- the traditional method usually has two ways to confirm, the first is to read the flash with the flash status command, and the second is through the state of the busy busy pin on the flash chip. Both need to poll the chip all the time, causing the delay of the flash master chip to wait too long, affecting efficiency.
- a management method for improving parallel writing of a plurality of flash memories comprising a memory control chip, wherein the memory control chip is provided with a flash instruction control device, a plurality of timers, a plurality of channels, the memory control chip is connected to the external plurality of flash memories; the plurality of timers comprise a first timer, a second timer, an Nth timer, and N is an integer greater than 2.
- the plurality of channels include a first channel, a second channel, and an Mth channel, and M is an integer greater than 2;
- the plurality of flash memories include a first flash memory, a second flash memory, a P-th flash memory, and P is an integer greater than 2;
- Channels can control one or more flash memories.
- the method comprises the following steps:
- A. issuing, writing/programming or erasing instructions to the flash memory chip by the flash instruction control device in the memory control chip;
- a read status command is issued to the flash memory through the flash command control device to determine whether the flash read, write/program or erase command is completed.
- the invention has the beneficial effects that the invention avoids the unnecessary waiting of the memory control chip and takes precious time. Moreover, the flash delay time in the multi-channel is reduced, and the timer time of each word can be processed by the timers of the respective channels, thereby improving the efficiency of the memory control chip.
- Figure 1 is a schematic block diagram of the present invention
- Figure 2 is a flow chart of the present invention.
- the present invention provides a technical solution: a management method for improving parallel writing of a plurality of flash memories, comprising a memory control chip 1 , wherein the memory control chip 1 is provided with a flash instruction control device 2 .
- a timer, a plurality of channels, the memory control chip 1 is connected to an external plurality of flash memories;
- the plurality of timers include a first timer 3, a second timer 4, an Nth timer, and N is an integer greater than 2;
- the channels include a first channel 5, a second channel 6, and an Mth channel, and M is an integer greater than 2;
- the plurality of flash memories include a first flash memory 7, a second flash memory 8, a P-th flash memory, and P is an integer greater than 2;
- Channels can control one or more flash memories.
- the management method for improving the parallel writing of the plurality of flash memories includes the following steps:
- A. issuing, writing/programming or erasing instructions to the flash memory chip by the flash instruction control device in the memory control chip;
- a read status command is issued to the flash memory through the flash command control device to determine whether the flash read, write/program or erase command is completed.
- the present invention avoids the unnecessary waiting of the memory control chip and takes precious time. Moreover, the flash delay time in the multi-channel is reduced, and the timer time of each word can be processed by the timers of the respective channels, thereby improving the efficiency of the memory control chip.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Read Only Memory (AREA)
Abstract
本发明公开了一种提升多颗闪存平行写入校能的管理方法,包括存储器控制芯片,所述存储器控制芯片内设有闪存指令控制装置、多个定时器、多个通道,所述存储器控制芯片连接外部多个闪存;多个定时器包括第一定时器、第二定时器、第N定时器,N为大于2的整数,多个通道包括第一通道、第二通道、第M通道,M为大于2的整数;多个闪存包括第一闪存、第二闪存、第P闪存,P为大于2的整数;每个通道可以控制一颗或多颗闪存。本发明避免了存储器控制芯片无谓的等待,耗费宝贵的时间。并且减低多通道内的闪存延迟时间,可以由各个通道的定时器各别处理个字的定时器时间,进而提升存储器控制芯片的效率。
Description
本发明涉及闪存技术领域,具体为一种提升多颗闪存平行写入校能的管理方法。
闪存是一种长寿命的非易失性(在断电情况下仍能保持所存储的数据信息)的存储器,数据删除不是以单个的字节为单位而是以固定的区块为单位,区块大小一般为256KB到20MB。闪存是电子可擦除只读存储器(EEPROM)的变种,闪存与EEPROM不同的是,EEPROM能在字节水平上进行删除和重写而不是整个芯片擦写,而闪存的大部分芯片需要块擦除。由于其断电时仍能保存数据,闪存通常被用来保存设置信息,如在电脑的BIOS(基本程序)、PDA(个人数字助理)、数码相机中保存资料等。
闪存为非消失性的存储器装置,有存储三个比特的三级单元(TLC),两个比特的多级单元(MLC)闪存以及一个单级单元(SLC)闪存,不管何种闪存,都需要透过存储器控制芯片控置闪存芯片,存储器控制芯片发出闪存指令(例如读取指令、写入/编程指令和擦除指令)后,闪存芯片做出对应的行为读取或写入数据,由于存储器控制芯片无法得知闪存芯片的运行状况,因此对闪存芯片发出一个读取闪存状态指令,读取正确的闪存状态(成功或失败),判断闪存动作成功与否。传统方式通常有两种方式可以确认,第一种是用闪存状态指令读取闪存,第二种是透过闪存芯片上的就绪忙碌针的状态。两种都需要一直轮流询问芯片,导致延迟闪存主控芯片过长的等待时间,影响效率。
发明内容
本发明的目的在于提供一种提升多颗闪存平行写入校能的管理方法,以解决上述背景技术中提出的问题。
为实现上述目的,本发明提供如下技术方案:一种提升多颗闪存平行写 入校能的管理方法,包括存储器控制芯片,所述存储器控制芯片内设有闪存指令控制装置、多个定时器、多个通道,所述存储器控制芯片连接外部多个闪存;多个定时器包括第一定时器、第二定时器、第N定时器,N为大于2的整数。
优选的,多个通道包括第一通道、第二通道、第M通道,M为大于2的整数;多个闪存包括第一闪存、第二闪存、第P闪存,P为大于2的整数;每个通道可以控制一颗或多颗闪存。
优选的,包括以下步骤:
A、由存储器控制芯片内的闪存指令控制装置对闪存芯片发出读取、写入/编程或擦除指令;
B、启动对应通道的定时器,设定一个相对应的时间;
C、当定时器计时中止时,透过闪存指令控制装置对闪存发出读取状态指令,判断是否完成闪存读取、写入/编程或擦除指令。
与现有技术相比,本发明的有益效果是:本发明避免了存储器控制芯片无谓的等待,耗费宝贵的时间。并且减低多通道内的闪存延迟时间,可以由各个通道的定时器各别处理个字的定时器时间,进而提升存储器控制芯片的效率。
图1为本发明原理框图;
图2为本发明流程图。
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
请参阅图1,本发明提供一种技术方案:一种提升多颗闪存平行写入校能的管理方法,包括存储器控制芯片1,所述存储器控制芯片1内设有闪存指令控制装置2、多个定时器、多个通道,所述存储器控制芯片1连接外部多个闪存;多个定时器包括第一定时器3、第二定时器4、第N定时器,N为大于2的整数;多个通道包括第一通道5、第二通道6、第M通道,M为大于2的整数;多个闪存包括第一闪存7、第二闪存8、第P闪存,P为大于2的整数;每个通道可以控制一颗或多颗闪存。
本发明中,提升多颗闪存平行写入校能的管理方法包括以下步骤:
A、由存储器控制芯片内的闪存指令控制装置对闪存芯片发出读取、写入/编程或擦除指令;
B、启动对应通道的定时器,设定一个相对应的时间;
C、当定时器计时中止时,透过闪存指令控制装置对闪存发出读取状态指令,判断是否完成闪存读取、写入/编程或擦除指令。
综上所述,本发明避免了存储器控制芯片无谓的等待,耗费宝贵的时间。并且减低多通道内的闪存延迟时间,可以由各个通道的定时器各别处理个字的定时器时间,进而提升存储器控制芯片的效率。
尽管已经示出和描述了本发明的实施例,对于本领域的普通技术人员而言,可以理解在不脱离本发明的原理和精神的情况下可以对这些实施例进行多种变化、修改、替换和变型,本发明的范围由所附权利要求及其等同物限定。
Claims (3)
- 一种提升多颗闪存平行写入校能的管理方法,包括存储器控制芯片(1),其特征在于:所述存储器控制芯片(1)内设有闪存指令控制装置(2)、多个定时器、多个通道,所述存储器控制芯片(1)连接外部多个闪存;多个定时器包括第一定时器(3)、第二定时器(4)、第N定时器,N为大于2的整数。
- 根据权利要求1所述的一种提升多颗闪存平行写入校能的管理方法,其特征在于:多个通道包括第一通道(5)、第二通道(6)、第M通道,M为大于2的整数;多个闪存包括第一闪存(7)、第二闪存(8)、第P闪存,P为大于2的整数;每个通道可以控制一颗或多颗闪存。
- 根据权利要求1所述的一种提升多颗闪存平行写入校能的管理方法,其特征在于:包括以下步骤:A、由存储器控制芯片内的闪存指令控制装置对闪存芯片发出读取、写入/编程或擦除指令;B、启动对应通道的定时器,设定一个相对应的时间;C、当定时器计时中止时,透过闪存指令控制装置对闪存发出读取状态指令,判断是否完成闪存读取、写入/编程或擦除指令。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810394413.0 | 2018-04-27 | ||
CN201810394413.0A CN108595124A (zh) | 2018-04-27 | 2018-04-27 | 一种提升多颗闪存平行写入校能的管理方法 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2019205452A1 true WO2019205452A1 (zh) | 2019-10-31 |
Family
ID=63610446
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2018/105884 WO2019205452A1 (zh) | 2018-04-27 | 2018-09-15 | 一种提升多颗闪存平行写入校能的管理方法 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108595124A (zh) |
WO (1) | WO2019205452A1 (zh) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109445700A (zh) * | 2018-10-24 | 2019-03-08 | 江苏华存电子科技有限公司 | 闪存主控装置配置状态指令轮询可调变定时器的方法 |
CN109558336A (zh) * | 2018-12-09 | 2019-04-02 | 江苏华存电子科技有限公司 | 用于闪存主控硬件自动快速产生闪存接口讯号序列的方法 |
EP3891614B1 (en) * | 2019-04-30 | 2023-06-21 | Yangtze Memory Technologies Co., Ltd. | Electronic apparatus and method of managing read levels of flash memory |
CN114780032A (zh) * | 2022-04-22 | 2022-07-22 | 山东云海国创云计算装备产业创新中心有限公司 | 一种数据读取方法、装置、设备及存储介质 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030084231A1 (en) * | 2001-11-01 | 2003-05-01 | Mitsubishi Denki Kabushiki Kaisha | Nonvolatile semiconductor storage device with interface functions |
US20090089492A1 (en) * | 2007-10-01 | 2009-04-02 | Tony Yoon | Flash memory controller |
CN104916326A (zh) * | 2014-03-14 | 2015-09-16 | 三星电子株式会社 | 存储装置和使用定时器设置的相关方法 |
CN106708441A (zh) * | 2016-12-29 | 2017-05-24 | 忆正科技(武汉)有限公司 | 一种用于降低固态存储读延迟的操作方法 |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6799241B2 (en) * | 2002-01-03 | 2004-09-28 | Intel Corporation | Method for dynamically adjusting a memory page closing policy |
KR100746036B1 (ko) * | 2006-02-23 | 2007-08-06 | 삼성전자주식회사 | 플래시 메모리를 제어하는 장치 및 방법 |
CN104615503B (zh) * | 2015-01-14 | 2018-10-30 | 广东华晟数据固态存储有限公司 | 降低对存储器接口性能影响的闪存错误检测方法及装置 |
-
2018
- 2018-04-27 CN CN201810394413.0A patent/CN108595124A/zh active Pending
- 2018-09-15 WO PCT/CN2018/105884 patent/WO2019205452A1/zh active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030084231A1 (en) * | 2001-11-01 | 2003-05-01 | Mitsubishi Denki Kabushiki Kaisha | Nonvolatile semiconductor storage device with interface functions |
US20090089492A1 (en) * | 2007-10-01 | 2009-04-02 | Tony Yoon | Flash memory controller |
CN104916326A (zh) * | 2014-03-14 | 2015-09-16 | 三星电子株式会社 | 存储装置和使用定时器设置的相关方法 |
CN106708441A (zh) * | 2016-12-29 | 2017-05-24 | 忆正科技(武汉)有限公司 | 一种用于降低固态存储读延迟的操作方法 |
Also Published As
Publication number | Publication date |
---|---|
CN108595124A (zh) | 2018-09-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2019205452A1 (zh) | 一种提升多颗闪存平行写入校能的管理方法 | |
US11860774B2 (en) | User device including a nonvolatile memory device and a data write method thereof | |
JP5072723B2 (ja) | 不揮発性半導体記憶装置 | |
CN102165532B (zh) | 具有并行操作模式的固态存储装置控制器 | |
CN111724827B (zh) | 存储器***及非易失性存储器 | |
US20080181000A1 (en) | Method Of Improving Programming Precision In Flash Memory | |
KR101082756B1 (ko) | 반도체 메모리 소자의 동작 방법 | |
KR100754226B1 (ko) | 비휘발성 데이터 저장장치의 프로그래밍 방법 및 그 장치 | |
WO2009046115A1 (en) | Flash memory controller | |
US11656673B2 (en) | Managing reduced power memory operations | |
US8869004B2 (en) | Memory storage device, memory controller thereof, and data transmission method thereof | |
US20210035646A1 (en) | Semiconductor memory device | |
KR20200015190A (ko) | 데이터 저장 장치 및 동작 방법, 이를 포함하는 스토리지 시스템 | |
US8081517B2 (en) | Solid state storage system for uniformly using memory area and method controlling the same | |
JP2021111259A (ja) | メモリシステムとその制御方法 | |
CN111028878B (zh) | 一种闪存写入方法、闪存芯片及非易失性的存储设备 | |
WO2020118941A1 (zh) | 用于闪存主控硬件自动快速产生闪存接口讯号序列的方法 | |
US11175856B2 (en) | Background operation selection based on host idle time | |
KR102312399B1 (ko) | 메모리 시스템 및 이의 동작 방법 | |
JP2006127623A (ja) | 半導体記憶装置とそのアクセス方法 | |
US20160306569A1 (en) | Memory system | |
WO2019205447A1 (zh) | 一种提升闪存垃圾数据回收方法 | |
WO2020118942A1 (zh) | 一种用以连续快速产生闪存接口讯号序列的方法 | |
WO2019136981A1 (zh) | 一种强化数据可靠度的***和方法 | |
WO2020082457A1 (zh) | 闪存主控装置配置状态指令轮询可调变定时器的方法 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 18916806 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 18916806 Country of ref document: EP Kind code of ref document: A1 |