WO2021082113A1 - Method for maintaining dataset management operation effect of non-volatile memory host controller - Google Patents

Method for maintaining dataset management operation effect of non-volatile memory host controller Download PDF

Info

Publication number
WO2021082113A1
WO2021082113A1 PCT/CN2019/119830 CN2019119830W WO2021082113A1 WO 2021082113 A1 WO2021082113 A1 WO 2021082113A1 CN 2019119830 W CN2019119830 W CN 2019119830W WO 2021082113 A1 WO2021082113 A1 WO 2021082113A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
solid state
volatile memory
host controller
command
Prior art date
Application number
PCT/CN2019/119830
Other languages
French (fr)
Chinese (zh)
Inventor
陈立奇
魏智汎
王展南
谢享奇
Original Assignee
江苏华存电子科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 江苏华存电子科技有限公司 filed Critical 江苏华存电子科技有限公司
Publication of WO2021082113A1 publication Critical patent/WO2021082113A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3037Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a memory, e.g. virtual memory, cache
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/062Securing storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0646Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
    • G06F3/0652Erasing, e.g. deleting, data cleaning, moving of data to a wastebasket

Abstract

Disclosed is a method for maintaining the dataset management operation effect of a non-volatile memory host controller. The present invention can enable a solid-state hard disk to serve a dataset management command of an interface specification of a non-volatile memory host controller in a timely manner and to still maintain a state in which data has been canceled after an unexpected power failure, and the data is canceled again during a recovery period after the unexpected power failure, thereby achieving the effect of the canceled data no longer being able to be read.

Description

非易失性内存主机控制器数据集管理操作效果保持方法Non-volatile memory host controller data set management operation effect maintaining method 技术领域Technical field
本发明涉及非易失性内存技术领域,具体为非易失性内存主机控制器数据集管理操作效果保持方法。The invention relates to the technical field of non-volatile memory, in particular to a method for maintaining the effect of non-volatile memory host controller data set management operation.
背景技术Background technique
现有技术中,在收到非易失性内存主机控制器接口规范之数据集管理命令后直接对资料进行注销或是背景处理都将储存于固态硬盘的非易失性存储器空间,但在非预期断电后,这些已注销的资料会因部分备份的系统状态而复原,导致应注销资料能被访问和读取。In the prior art, after receiving the data set management command of the non-volatile memory host controller interface specification, the data is directly cancelled or the background processing is stored in the non-volatile memory space of the solid-state hard disk. It is expected that after the power failure, these cancelled data will be restored due to the partial backup system state, resulting in the data that should be cancelled can be accessed and read.
发明内容Summary of the invention
本发明的目的在于提供非易失性内存主机控制器数据集管理操作效果保持方法,以解决上述背景技术中提出的问题。The purpose of the present invention is to provide a method for maintaining the data set management operation effect of a non-volatile memory host controller to solve the above-mentioned problems in the background art.
为实现上述目的,本发明提供如下技术方案:非易失性内存主机控制器数据集管理操作效果保持方法,包括固态硬盘,所述固态硬盘接收数据集管理命令,所述固态硬盘储存命令项,所述固态硬盘内储存有效数据和无效数据。In order to achieve the above objective, the present invention provides the following technical solution: a method for maintaining a data set management operation effect of a non-volatile memory host controller, including a solid state hard disk, the solid state hard disk receives a data set management command, the solid state hard disk stores command items, The solid-state hard disk stores valid data and invalid data.
优选的,所述固态硬盘包括控制模块、存储模块和无线通信模块,所述控制模块,用于将数据写入所述存储模块;还用于从所述存储模块中读出数据;所述存储模块,用于存储写入的数据,所述控制模块,还用于将固态硬盘的状态信息经无线通信模块发送至主机;还用于经无线通信模块接收主机发送的管理信息;所述存储模块,包括缓存区域和非易失性存储区域;所述缓存区域,用于缓存所述控制模块接收 到的写入数据;所述非易失性存储区域,用于存储写入的数据。Preferably, the solid-state hard disk includes a control module, a storage module, and a wireless communication module. The control module is used to write data into the storage module; and is also used to read data from the storage module; the storage The module is used to store the written data, the control module is also used to send the status information of the solid state drive to the host via the wireless communication module; it is also used to receive the management information sent by the host via the wireless communication module; the storage module , Including a cache area and a non-volatile storage area; the cache area is used to cache the written data received by the control module; the non-volatile storage area is used to store the written data.
优选的,非易失性内存主机控制器数据集管理操作效果保持方法,包括以下步骤:Preferably, the method for maintaining the effect of non-volatile memory host controller data set management operation includes the following steps:
A、固态硬盘接收数据集管理命令;A. The solid state drive receives the data set management command;
B、接收命令后将资料进行对应的注销,并且将其命令储存;B. After receiving the order, log off the data and save the order;
C、从非预期电源循环恢复后,固态硬盘将从存储的命令项中重新注销无效数据。C. After recovering from an unexpected power cycle, the solid state drive will re-register invalid data from the stored command items.
优选的,所述命令项包括命令项1、命令项2和新命令项3。Preferably, the command item includes a command item 1, a command item 2, and a new command item 3.
与现有技术相比,本发明的有益效果是:本发明能够使固态硬盘既能及时服务非易失性内存主机控制器接口规范之数据集管理命令,并且在非预期断电后依然能够保持资料已被注销的状态,而非预期断电后的复原期间再次进行资料注销,达到被注销的资料无法再次读取。Compared with the prior art, the beneficial effect of the present invention is that the present invention can enable the solid state drive to serve the data set management commands of the non-volatile memory host controller interface specification in a timely manner, and it can still maintain the data set management command after unexpected power failure. The data has been cancelled, instead of the data being cancelled again during the recovery period after the power outage, the data that has been cancelled cannot be read again.
附图说明Description of the drawings
图1为本发明示意图;Figure 1 is a schematic diagram of the present invention;
图2为本发明另一示意图。Figure 2 is another schematic diagram of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
请参阅图1-2,本发明提供如下技术方案:非易失性内存主机控 制器数据集管理操作效果保持方法,包括固态硬盘,所述固态硬盘接收数据集管理命令,所述固态硬盘储存命令项,命令项包括命令项1、命令项2和新命令项3。所述固态硬盘内储存有效数据和无效数据。Referring to Figures 1-2, the present invention provides the following technical solution: a method for maintaining a data set management operation effect of a non-volatile memory host controller, including a solid state drive, the solid state drive receiving a data set management command, and the solid state drive storing the command Items, command items include command item 1, command item 2, and new command item 3. The solid-state hard disk stores valid data and invalid data.
本发明中,固态硬盘包括控制模块、存储模块和无线通信模块,所述控制模块,用于将数据写入所述存储模块;还用于从所述存储模块中读出数据;所述存储模块,用于存储写入的数据,所述控制模块,还用于将固态硬盘的状态信息经无线通信模块发送至主机;还用于经无线通信模块接收主机发送的管理信息;所述存储模块,包括缓存区域和非易失性存储区域;所述缓存区域,用于缓存所述控制模块接收到的写入数据;所述非易失性存储区域,用于存储写入的数据。本发明的固态硬盘包括控制模块和存储模块,用于实现数据的读出和写入。该固态硬盘还包括无线通信模块,用于将固态硬盘的状态信息发送给主机和接收主机发送的管理信息,从而保证固态硬盘除了可以通过传统的带内数据接口复用为管理接口,实现对固态硬盘的管理控制外,还可以通过无线通信方式来实现对固态硬盘的健康日志信息等方面的获取及配置或调试等功能的实现,可以使运维人员随时随地的对存储系统中的固态硬盘进行监控,提高操作的便捷性,从而提高了产品的竞争力。In the present invention, the solid state drive includes a control module, a storage module, and a wireless communication module. The control module is used to write data into the storage module; and is also used to read data from the storage module; the storage module , Used to store the written data, the control module is also used to send the status information of the solid state drive to the host via the wireless communication module; also used to receive the management information sent by the host via the wireless communication module; the storage module, It includes a cache area and a non-volatile storage area; the cache area is used to cache the written data received by the control module; the non-volatile storage area is used to store the written data. The solid-state hard disk of the present invention includes a control module and a storage module, which are used for reading and writing data. The solid state drive also includes a wireless communication module, which is used to send the status information of the solid state drive to the host and receive the management information sent by the host, so as to ensure that the solid state drive can be multiplexed as a management interface through the traditional in-band data interface to realize the In addition to the management and control of the hard disk, wireless communication can also be used to realize the acquisition and configuration or debugging of the health log information of the solid state hard disk, which can enable the operation and maintenance personnel to perform the operation of the solid state hard disk in the storage system anytime and anywhere. Monitoring, improve the convenience of operation, thereby enhancing the competitiveness of the product.
本发明中,非易失性内存主机控制器数据集管理操作效果保持方法,包括以下步骤:In the present invention, the non-volatile memory host controller data set management operation effect retention method includes the following steps:
A、固态硬盘接收数据集管理命令;A. The solid state drive receives the data set management command;
B、接收命令后将资料进行对应的注销,并且将其命令储存;B. After receiving the order, log off the data and save the order;
C、从非预期电源循环恢复后,固态硬盘将从存储的命令项中重新注销无效数据。C. After recovering from an unexpected power cycle, the solid state drive will re-register invalid data from the stored command items.
综上所述,本发明能够使固态硬盘既能及时服务非易失性内存主机控制器接口规范之数据集管理命令,并且在非预期断电后依然能够保持资料已被注销的状态,而非预期断电后的复原期间再次进行资料注销,达到被注销的资料无法再次读取。In summary, the present invention can enable the solid state drive to serve the data set management commands of the non-volatile memory host controller interface specification in a timely manner, and it can still keep the data in the state of being cancelled after the unexpected power failure. It is expected that the data will be cancelled again during the recovery period after the power failure, and the cancelled data cannot be read again.
尽管已经示出和描述了本发明的实施例,对于本领域的普通技术人员而言,可以理解在不脱离本发明的原理和精神的情况下可以对这些实施例进行多种变化、修改、替换和变型,本发明的范围由所附权利要求及其等同物限定。Although the embodiments of the present invention have been shown and described, those of ordinary skill in the art can understand that various changes, modifications, and substitutions can be made to these embodiments without departing from the principle and spirit of the present invention. And variations, the scope of the present invention is defined by the appended claims and their equivalents.

Claims (4)

  1. 非易失性内存主机控制器数据集管理操作效果保持方法,其特征在于:包括固态硬盘,所述固态硬盘接收数据集管理命令,所述固态硬盘储存命令项,所述固态硬盘内储存有效数据和无效数据。A method for maintaining a data set management operation effect of a non-volatile memory host controller, characterized in that it includes a solid state hard disk, the solid state hard disk receives a data set management command, the solid state hard disk stores command items, and the solid state hard disk stores valid data. And invalid data.
  2. 根据权利要求1所述的非易失性内存主机控制器数据集管理操作效果保持方法,其特征在于:所述固态硬盘包括控制模块、存储模块和无线通信模块,所述控制模块,用于将数据写入所述存储模块;还用于从所述存储模块中读出数据;所述存储模块,用于存储写入的数据,所述控制模块,还用于将固态硬盘的状态信息经无线通信模块发送至主机;还用于经无线通信模块接收主机发送的管理信息;所述存储模块,包括缓存区域和非易失性存储区域;所述缓存区域,用于缓存所述控制模块接收到的写入数据;所述非易失性存储区域,用于存储写入的数据。The method for maintaining a data set management operation effect of a non-volatile memory host controller according to claim 1, wherein the solid state hard disk comprises a control module, a storage module and a wireless communication module, and the control module is used for Data is written into the storage module; also used to read data from the storage module; the storage module is used to store the written data, and the control module is also used to transmit the status information of the solid state drive via wireless The communication module is sent to the host; it is also used to receive the management information sent by the host via the wireless communication module; the storage module includes a buffer area and a non-volatile storage area; the buffer area is used to buffer the control module received The written data; the non-volatile storage area is used to store the written data.
  3. 根据权利要求1所述的非易失性内存主机控制器数据集管理操作效果保持方法,其特征在于:包括以下步骤:The method for maintaining a data set management operation effect of a non-volatile memory host controller according to claim 1, characterized in that it comprises the following steps:
    A、固态硬盘接收数据集管理命令;A. The solid state drive receives the data set management command;
    B、接收命令后将资料进行对应的注销,并且将其命令储存;B. After receiving the order, log off the data and save the order;
    C、从非预期电源循环恢复后,固态硬盘将从存储的命令项中重新注销无效数据。C. After recovering from an unexpected power cycle, the solid state drive will re-register invalid data from the stored command items.
  4. 根据权利要求1所述的非易失性内存主机控制器数据集管理操作效果保持方法,其特征在于:所述命令项包括命令项1、命令项2和新命令项3。The method for maintaining the effect of non-volatile memory host controller data set management operation according to claim 1, wherein the command item includes a command item 1, a command item 2, and a new command item 3.
PCT/CN2019/119830 2019-10-31 2019-11-21 Method for maintaining dataset management operation effect of non-volatile memory host controller WO2021082113A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911057008.0A CN110825586A (en) 2019-10-31 2019-10-31 Method for maintaining data set management operation effect of nonvolatile memory host controller
CN201911057008.0 2019-10-31

Publications (1)

Publication Number Publication Date
WO2021082113A1 true WO2021082113A1 (en) 2021-05-06

Family

ID=69552124

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/119830 WO2021082113A1 (en) 2019-10-31 2019-11-21 Method for maintaining dataset management operation effect of non-volatile memory host controller

Country Status (2)

Country Link
CN (1) CN110825586A (en)
WO (1) WO2021082113A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102088361A (en) * 2009-12-02 2011-06-08 成都市华为赛门铁克科技有限公司 Data backup equipment, method and system
US20150121003A1 (en) * 2010-09-07 2015-04-30 Daniel L. Rosenband Storage controllers
CN109086219A (en) * 2017-06-14 2018-12-25 北京忆恒创源科技有限公司 It removes distribution command handling method and its stores equipment
CN109164975A (en) * 2018-06-28 2019-01-08 华为技术有限公司 A kind of method and solid state hard disk writing data into solid state hard disk
CN109840048A (en) * 2017-11-29 2019-06-04 北京忆恒创源科技有限公司 Store command processing method and its storage equipment
CN110362276A (en) * 2019-07-10 2019-10-22 深圳忆联信息系统有限公司 Trim execution efficiency method for improving and device based on solid state hard disk

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109407990A (en) * 2018-10-19 2019-03-01 郑州云海信息技术有限公司 A kind of solid state hard disk

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102088361A (en) * 2009-12-02 2011-06-08 成都市华为赛门铁克科技有限公司 Data backup equipment, method and system
US20150121003A1 (en) * 2010-09-07 2015-04-30 Daniel L. Rosenband Storage controllers
CN109086219A (en) * 2017-06-14 2018-12-25 北京忆恒创源科技有限公司 It removes distribution command handling method and its stores equipment
CN109840048A (en) * 2017-11-29 2019-06-04 北京忆恒创源科技有限公司 Store command processing method and its storage equipment
CN109164975A (en) * 2018-06-28 2019-01-08 华为技术有限公司 A kind of method and solid state hard disk writing data into solid state hard disk
CN110362276A (en) * 2019-07-10 2019-10-22 深圳忆联信息系统有限公司 Trim execution efficiency method for improving and device based on solid state hard disk

Also Published As

Publication number Publication date
CN110825586A (en) 2020-02-21

Similar Documents

Publication Publication Date Title
US8862808B2 (en) Control apparatus and control method
US9632714B2 (en) Solid-state drive device
TWI385516B (en) Flash memory storage system and data writing method thereof
WO2016082524A1 (en) Data storage method, device and system
TWI606343B (en) Memory module controller supporting extended writes
CN103530237B (en) A kind of rubbish recovering method of Solid-state disc array
CN101782875B (en) Storage unit and data storage method
WO2019120133A1 (en) Log file reading and writing method based on solid state disk, and solid state disk
CN102591748A (en) Solid state disc and power failure protection method and system thereof
WO2010066098A1 (en) Method and device for constructing high speed solid state storage disk with larger capacity dram involved in management of flash media
CN101963891A (en) Method and device for data storage and processing, solid-state drive system and data processing system
TWI512609B (en) Methods for scheduling read commands and apparatuses using the same
CN104303161A (en) SSD (solid state drive) device
US11966298B2 (en) Data backup method and data recovery method for NVDIMM, NVDIMM controller, and NVDIMM
US9965400B2 (en) Memory management method, memory control circuit unit and memory storage device
US8117391B2 (en) Storage system and data management method
TW201740385A (en) Data writing method, memory control circuit unit and memory storage apparatus
JP2013157068A (en) Data storage control device, data storage device and data storage method
WO2021082113A1 (en) Method for maintaining dataset management operation effect of non-volatile memory host controller
TWI744049B (en) Data processing method and memory controller utilizing the same
CN113711189B (en) System and method for managing reduced power failure energy requirements on solid state drives
CN107943610A (en) A kind of method of lifting SSD comprehensive performances
WO2021082115A1 (en) Non-volatile memory host controller interface permission setting and asymmetric encryption method
US20160334861A1 (en) Power management for a data storage system
JP2007058873A (en) Device control device using nonvolatile memory

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: 19950427

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: 19950427

Country of ref document: EP

Kind code of ref document: A1