CN117215832A - Mapping block delay processing method and device based on abnormal power failure and computer equipment - Google Patents

Mapping block delay processing method and device based on abnormal power failure and computer equipment Download PDF

Info

Publication number
CN117215832A
CN117215832A CN202311170834.2A CN202311170834A CN117215832A CN 117215832 A CN117215832 A CN 117215832A CN 202311170834 A CN202311170834 A CN 202311170834A CN 117215832 A CN117215832 A CN 117215832A
Authority
CN
China
Prior art keywords
mapping
abnormal
block
log
exception
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202311170834.2A
Other languages
Chinese (zh)
Inventor
李建
罗乾亮
赵连庚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Yilian Information System Co Ltd
Original Assignee
Suzhou Yilian Information System Co Ltd
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 Suzhou Yilian Information System Co Ltd filed Critical Suzhou Yilian Information System Co Ltd
Priority to CN202311170834.2A priority Critical patent/CN117215832A/en
Publication of CN117215832A publication Critical patent/CN117215832A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The application relates to a mapping block delay processing method, a device, computer equipment and a storage medium based on abnormal power failure, wherein the method comprises the steps of scanning to acquire the end point stored in the mapping table of the last time during power-on reconstruction after generating an abnormal mapping block by abnormal power failure; if the mapping table is stored in the initialization process, directly distributing a new mapping block storage mapping table and writing an exception handling log page in the last storage position; recording an exception processing mark, an end point of the last normal completion of mapping writing and a starting point of the current mapping writing in the exception processing log page; and in the process of recovering the mapping block, the log information recorded by the exception handling log ignores residual data generated by abnormal power failure. The application can obviously reduce the reconstruction time under the scene and does not influence the recovery of the abnormal mapping block.

Description

Mapping block delay processing method and device based on abnormal power failure and computer equipment
Technical Field
The application relates to the technical field of solid state disks, in particular to a mapping block delay processing method and device based on abnormal power failure, computer equipment and a storage medium.
Background
SSDs (solid state drives) and their widespread use in various applications, have now gradually replaced traditional HDDs (mechanical hard drives) in the PC market, providing users with a better experience in terms of reliability and performance.
Currently, SSD user space mapping tables are large, and are typically stored in separate blocks in a sliced manner. If an abnormal power failure occurs in the process of storing the mapping table, because the storage requirement of the mapping table may exist in the power-on reconstruction process, the effective data in the abnormal mapping block generated when the power failure is immediately performed is usually required to be moved and recovered to restore the normal mapping data writing point. However, as the capacity of the NAND block increases, the time for moving the valid data in the abnormal mapping block increases, which may result in excessively long SSD rebuilding time and further cause host disk identification failure.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a mapping block delay processing method, apparatus, computer device, and storage medium based on abnormal power failure.
A method for processing a map block delay based on abnormal power failure, the method comprising:
after an abnormal mapping block is generated by abnormal power failure, scanning and acquiring an end point stored in a mapping table of the last time during power-on reconstruction;
if the mapping table is stored in the initialization process, directly distributing a new mapping block storage mapping table and writing an exception handling log page in the last storage position;
recording an exception processing mark, an end point of the last normal completion of mapping writing and a starting point of the current mapping writing in the exception processing log page;
and in the process of recovering the mapping block, the log information recorded by the exception handling log ignores residual data generated by abnormal power failure.
In one embodiment, the step of ignoring residual data generated by abnormal power down through log information recorded by the exception handling log during the mapping block recovery process includes:
before the mapping block is scanned, an exception handling log page is acquired from the mapping block after the mapping block, so that the residual data generated by exception power failure which needs to be ignored is found, and the residual data is not read in the scanning process.
In one embodiment, during the recovery of the mapping block, the step of ignoring the residual data generated by the abnormal power failure through the log information recorded in the abnormal processing log further includes:
when a reading error occurs, searching pages recorded with log information of the abnormal mapping blocks in the mapping blocks behind the current block, and if the found and problematic pages are not in the normal page range pointed by the log, directly discarding the page with the reading failure.
In one embodiment, the method further comprises:
before the process of recovering the mapping blocks, checking whether the mapping blocks contain the exception handling log pages, and if so, recovering the exception blocks recorded in the exception handling log pages.
A mapping block delay processing apparatus based on abnormal power loss, the apparatus comprising:
the scanning module is used for scanning and acquiring the end point stored in the mapping table of the last time when the power-on reconstruction is performed after the abnormal power-off generates an abnormal mapping block;
the allocation module is used for directly allocating a new mapping block to store the mapping table and writing an exception handling log page in the last position of the storage if the mapping table is stored in the initialization process;
the recording module is used for recording an exception processing mark, an end point of the last normal completion of mapping writing and a starting point of the current mapping writing in the exception processing log page;
and the recovery module is used for ignoring residual data generated by abnormal power failure through the log information recorded by the abnormal processing log in the process of recovering the mapping block.
In one embodiment, the recycling module is further configured to:
before the mapping block is scanned, an exception handling log page is acquired from the mapping block after the mapping block, so that the residual data generated by exception power failure which needs to be ignored is found, and the residual data is not read in the scanning process.
In one embodiment, the recycling module is further configured to:
when a reading error occurs, searching pages recorded with log information of the abnormal mapping blocks in the mapping blocks behind the current block, and if the found and problematic pages are not in the normal page range pointed by the log, directly discarding the page with the reading failure.
In one embodiment, the apparatus further comprises an inspection module for:
before the process of recovering the mapping blocks, checking whether the mapping blocks contain the exception handling log pages, and if so, recovering the exception blocks recorded in the exception handling log pages.
A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of any one of the methods described above when the computer program is executed.
A computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of any of the methods described above.
The method, the device, the computer equipment and the storage medium for processing the mapping block delay based on abnormal power failure do not immediately process the abnormal mapping block in the initialization reconstruction process when the abnormal mapping block is generated in abnormal power failure, but delay the processing time point to the garbage collection process of the mapping block. If the mapping table is stored in the initialization process, a new mapping block is directly allocated to store the mapping table, log information is recorded in the last stored position, and the ending position of the effective data in the abnormal data block and the starting position of the current storage are identified. The invalid data can be skipped in the recovery process of the subsequent abnormal mapping block, so that recovery failure is avoided. The application can obviously reduce the reconstruction time under the scene and does not influence the recovery of the abnormal mapping block.
Drawings
FIG. 1 is a flow diagram of a method for processing a delay of a mapping block based on abnormal power down in one embodiment;
FIG. 2 is a schematic diagram of an abnormal power down reconstruction process write map in one embodiment;
FIG. 3 is a schematic diagram of a map-block reclamation flow in one embodiment;
FIG. 4 is a block diagram of a mapping block delay processing device based on abnormal power down in one embodiment;
FIG. 5 is a block diagram of a mapping block delay processing device based on abnormal power down in another embodiment;
fig. 6 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
Currently, SSD user space mapping tables are large, and are typically stored in separate blocks in a sliced manner. If an abnormal power failure occurs in the process of storing the mapping table, because the storage requirement of the mapping table may exist in the power-on reconstruction process, the effective data in the abnormal mapping block generated when the power failure is immediately performed is usually required to be moved and recovered to restore the normal mapping data writing point. However, as the capacity of the NAND block increases, the time for moving the valid data in the abnormal mapping block increases, which may result in excessively long SSD rebuilding time and further cause host disk identification failure.
Based on the above, the application provides a mapping block delay processing method based on abnormal power failure, which aims to reduce the initialization reconstruction time of SSD.
In one embodiment, as shown in fig. 1, there is provided a method for processing a mapping block delay based on abnormal power failure, the method comprising:
102, after an abnormal power failure generates an abnormal mapping block, scanning and acquiring an end point stored in a mapping table of the last time during power-on reconstruction;
step 104, if the mapping table is stored in the initialization process, directly distributing a new mapping block to store the mapping table and writing an exception handling log page in the last stored position;
step 106, recording an exception processing mark, an end point of the last normal completion of mapping writing and a starting point of the current mapping writing in the exception processing log page;
and step 108, in the process of recovering the mapping block, the log information recorded by the exception handling log ignores residual data generated by the abnormal power failure.
In this embodiment, a method for deferring processing of a mapping block based on abnormal power failure is provided, in which when an abnormal mapping block is generated by abnormal power failure, the abnormal mapping block is not immediately processed in an initialization rebuilding process, and a processing time point is deferred to a garbage collection process of the mapping block.
If the mapping table is stored in the initialization process, a new mapping block is directly allocated to store the mapping table, log information is recorded in the last stored position, and the end position of the effective data in the abnormal data block and the initial position of the current storage are identified.
In particular, reference is made to the schematic diagram of the abnormal power down reconstruction process write map shown in FIG. 2.
Firstly, after the abnormal power-down of the mapping table writing process, when the power-up is rebuilt, scanning to obtain the end point stored in the mapping table for the last time (the data written in the abnormal power-down process is the data which needs to be discarded).
Before the mapping information is written in the reconstruction process, the mapping block with residual data is not recovered, and is only submitted to the mapping block garbage recovery module for processing. At the end of writing the mapping information, a special log page is written, in which: the method comprises the steps of performing exception handling, marking, finishing the last normal completion of mapping writing, and starting the mapping writing.
In one embodiment, during the map block reclamation process, the step of ignoring residual data generated by an abnormal power down through log information recorded by an exception handling log includes:
before the mapping block is scanned, an exception handling log page is acquired from the mapping block after the mapping block, so that the residual data generated by exception power failure which needs to be ignored is found, and the residual data is not read in the scanning process.
In one embodiment, in the mapping block recovery process, the step of ignoring the residual data generated by the abnormal power down through the log information recorded by the abnormal processing log further includes:
when a reading error occurs, searching pages recorded with log information of the abnormal mapping blocks in the mapping blocks behind the current block, and if the found and problematic pages are not in the normal page range pointed by the log, directly discarding the page with the reading failure.
In the subsequent map-block reclamation process or the secondary map (the map pointing to the user map tile) reconstruction process, the residual data is generated by omitting the abnormal power down through the exception handling log information. The reconstruction of the secondary mapping (mapping pointing to user mapping shards) is similar to the recovery of the mapping blocks, and in the process of reconstructing the secondary mapping by scanning the mapping blocks, invalid pages needing to be ignored are also acquired by reading exception handling log pages first so as to avoid failure in reconstructing the secondary mapping.
Specifically, the generation of residual data by exception power down is ignored by exception handling log information, which may be implemented in two ways:
before the mapping block is scanned, an exception handling log page is acquired from the mapping block after the mapping block, residual data generated by exception power failure which needs to be ignored is found, and the data are not read in the scanning process.
When a reading error occurs, searching pages recorded with log information of abnormal mapping blocks in the mapping blocks behind the current block, and if the found and problematic pages are not in the normal page range pointed by the log, directly discarding the page with the reading failure.
In the above embodiment, when an abnormal map block is generated at the time of abnormal power down, the abnormal map block is not immediately processed at the time of initialization reconstruction, but the processing time point is deferred to the garbage collection process of the map block. If the mapping table is stored in the initialization process, a new mapping block is directly allocated to store the mapping table, log information is recorded in the last stored position, and the end position of the effective data in the abnormal data block and the initial position of the current storage are identified. The invalid data can be skipped in the recovery process of the subsequent abnormal mapping block, so that recovery failure is avoided. The application can obviously reduce the reconstruction time under the scene and does not influence the recovery of the abnormal mapping block.
In one embodiment, a method for processing a mapping block delay based on abnormal power failure is provided, and the method further includes:
before the process of recovering the mapping blocks, checking whether the mapping blocks contain the exception handling log pages, and if so, recovering the exception blocks recorded in the exception handling log pages.
Specifically, for each mapping block to be recycled, it is required to scan whether it includes an exception handling log page, and if so, it is required to first bring the exception mapping block pointed to in the log page. When the mapping block is recovered, whether the mapping block is an abnormal mapping block needs to be confirmed by scanning the subsequent mapping block, if yes, the recovery end point of the mapping block needs to be set as the last valid data position recorded in the log page so as to ignore invalid pages generated by abnormal power failure.
Referring to the schematic diagram of the map-block reclamation flow shown in fig. 3, the specific implementation steps are as follows:
and 3.1, judging whether the number of the mapping blocks exceeds a threshold value or whether the abnormal mapping blocks to be processed exist, if so, directly ending, otherwise, continuing the next step.
And 3.2, acquiring a mapping block for recycling, and searching whether an abnormal processing log page exists in the mapping block.
And 3.3, if the abnormal block exists, acquiring the abnormal block recorded in the abnormal processing log page, and judging whether the abnormal block is recovered or not.
And 3.4, if the log page is recovered, acquiring the next mapping block of the mapping blocks to be recovered, and searching whether an exception handling log page exists.
Step 3.5, if the mapping block exists, acquiring the position of the last valid page recorded in the log page, and setting the position as the processing end point of the mapping block to be recovered; and if the mapping block to be recycled does not exist, setting the processing end point of the mapping block to be recycled as the final position of the block.
And 3.6, scanning the block to be recovered to an end point, and recovering after moving the effective data in the block to be recovered.
It should be understood that, although the steps in the flowcharts of fig. 1-3 are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in fig. 1-3 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, nor does the order in which the sub-steps or stages are performed necessarily occur in sequence, but may be performed alternately or alternately with at least a portion of the other steps or sub-steps or stages of other steps.
In one embodiment, as shown in fig. 4, there is provided a mapping block delay processing apparatus 400 based on abnormal power down, the apparatus comprising:
the scanning module 401 is used for scanning and acquiring the end point stored in the mapping table of the last time when the power-on reconstruction is performed after the abnormal power-off generates an abnormal mapping block;
the allocation module 402 is configured to directly allocate a new mapping block to store the mapping table and write an exception handling log page in a last location of the storing if the storing of the mapping table occurs in the initializing process;
a recording module 403, configured to record an exception processing flag, an end point of last normal completion of mapping writing, and a start point of this mapping writing in the exception processing log page;
and the recycling module 404 is used for ignoring residual data generated by abnormal power failure through the log information recorded by the abnormal processing log in the mapping block recycling process.
In one embodiment thereof, the reclamation module 404 is further configured to:
before the mapping block is scanned, an exception handling log page is acquired from the mapping block after the mapping block, so that the residual data generated by exception power failure which needs to be ignored is found, and the residual data is not read in the scanning process.
In one embodiment, the reclamation module 404 is further configured to:
when a reading error occurs, searching pages recorded with log information of the abnormal mapping blocks in the mapping blocks behind the current block, and if the found and problematic pages are not in the normal page range pointed by the log, directly discarding the page with the reading failure.
In one embodiment, as shown in fig. 5, there is provided a mapping block delay processing apparatus 400 based on abnormal power failure, the apparatus further comprising a checking module 405 for:
before the process of recovering the mapping blocks, checking whether the mapping blocks contain the exception handling log pages, and if so, recovering the exception blocks recorded in the exception handling log pages.
For specific limitation of the mapping block delay processing device based on abnormal power failure, reference may be made to the limitation of the mapping block delay processing method based on abnormal power failure hereinabove, and the description thereof will not be repeated here.
In one embodiment, a computer device is provided, the internal structure of which may be as shown in FIG. 6. The computer device includes a processor, a memory, and a network interface connected by a device bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The nonvolatile storage medium stores an operating device, a computer program, and a database. The internal memory provides an environment for the operation of the operating device and the computer program in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program, when executed by a processor, implements a method for processing a mapped block delay based on an exception power down.
It will be appreciated by those skilled in the art that the structure shown in FIG. 6 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements may be applied, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, a computer device is provided that includes a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the steps in the method embodiments above when executing the computer program.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when executed by a processor, carries out the steps of the above method embodiments.
Those skilled in the art will appreciate that implementing all or part of the above described embodiment methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples illustrate only a few embodiments of the application, which are described in detail and are not to be construed as limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of protection of the present application is to be determined by the appended claims.

Claims (10)

1. A method for processing a map block delay based on abnormal power failure, the method comprising:
after an abnormal mapping block is generated by abnormal power failure, scanning and acquiring an end point stored in a mapping table of the last time during power-on reconstruction;
if the mapping table is stored in the initialization process, directly distributing a new mapping block storage mapping table and writing an exception handling log page in the last storage position;
recording an exception processing mark, an end point of the last normal completion of mapping writing and a starting point of the current mapping writing in the exception processing log page;
and in the process of recovering the mapping block, the log information recorded by the exception handling log ignores residual data generated by abnormal power failure.
2. The method for processing the map block delay based on the abnormal power down according to claim 1, wherein the step of ignoring the residual data generated by the abnormal power down through the log information recorded by the abnormal processing log during the recovery of the map block comprises the steps of:
before the mapping block is scanned, an exception handling log page is acquired from the mapping block after the mapping block, so that the residual data generated by exception power failure which needs to be ignored is found, and the residual data is not read in the scanning process.
3. The method for processing the map block delay based on the abnormal power down according to claim 2, wherein the step of ignoring the residual data generated by the abnormal power down through the log information recorded by the abnormal processing log during the recovery of the map block further comprises:
when a reading error occurs, searching pages recorded with log information of the abnormal mapping blocks in the mapping blocks behind the current block, and if the found and problematic pages are not in the normal page range pointed by the log, directly discarding the page with the reading failure.
4. A method of processing abnormal power down based map block delay according to any of claims 1-3, wherein the method further comprises:
before the process of recovering the mapping blocks, checking whether the mapping blocks contain the exception handling log pages, and if so, recovering the exception blocks recorded in the exception handling log pages.
5. A mapping block delay processing apparatus based on abnormal power failure, the apparatus comprising:
the scanning module is used for scanning and acquiring the end point stored in the mapping table of the last time when the power-on reconstruction is performed after the abnormal power-off generates an abnormal mapping block;
the allocation module is used for directly allocating a new mapping block to store the mapping table and writing an exception handling log page in the last position of the storage if the mapping table is stored in the initialization process;
the recording module is used for recording an exception processing mark, an end point of the last normal completion of mapping writing and a starting point of the current mapping writing in the exception processing log page;
and the recovery module is used for ignoring residual data generated by abnormal power failure through the log information recorded by the abnormal processing log in the process of recovering the mapping block.
6. The abnormal power down based map block delay processing apparatus of claim 5, wherein the reclamation module is further configured to:
before the mapping block is scanned, an exception handling log page is acquired from the mapping block after the mapping block, so that the residual data generated by exception power failure which needs to be ignored is found, and the residual data is not read in the scanning process.
7. The abnormal power down based map block delay processing apparatus of claim 6, wherein the reclamation module is further configured to:
when a reading error occurs, searching pages recorded with log information of the abnormal mapping blocks in the mapping blocks behind the current block, and if the found and problematic pages are not in the normal page range pointed by the log, directly discarding the page with the reading failure.
8. The abnormal power down based map block delay processing apparatus of any one of claims 5-7, further comprising a checking module to:
before the process of recovering the mapping blocks, checking whether the mapping blocks contain the exception handling log pages, and if so, recovering the exception blocks recorded in the exception handling log pages.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any one of claims 1 to 4 when the computer program is executed.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 4.
CN202311170834.2A 2023-09-12 2023-09-12 Mapping block delay processing method and device based on abnormal power failure and computer equipment Pending CN117215832A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311170834.2A CN117215832A (en) 2023-09-12 2023-09-12 Mapping block delay processing method and device based on abnormal power failure and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311170834.2A CN117215832A (en) 2023-09-12 2023-09-12 Mapping block delay processing method and device based on abnormal power failure and computer equipment

Publications (1)

Publication Number Publication Date
CN117215832A true CN117215832A (en) 2023-12-12

Family

ID=89038193

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311170834.2A Pending CN117215832A (en) 2023-09-12 2023-09-12 Mapping block delay processing method and device based on abnormal power failure and computer equipment

Country Status (1)

Country Link
CN (1) CN117215832A (en)

Similar Documents

Publication Publication Date Title
US11068391B2 (en) Mapping table updating method for data storage device
US10007468B2 (en) Method and apparatus for erasing data in data section in flash memory
TWI650644B (en) Method for managing flash memory module and related flash memory controller and electronic device
US20170228154A1 (en) Device and method for power loss protection in solid state drive
US10698809B2 (en) Method, associated flash controller and electronic device for accessing flash module with data validity verification
US9645918B2 (en) Storage devices including non-volatile memory and memory controller and methods of allocating write memory blocks
KR101992934B1 (en) Memory system and operating method of the same
US10877898B2 (en) Method and system for enhancing flash translation layer mapping flexibility for performance and lifespan improvements
US20110231713A1 (en) Flash memory module
CN110568998B (en) Trim command implementation method and device based on solid state disk and computer equipment
US20130311712A1 (en) Control apparatus, storage device, and storage control method
US9772790B2 (en) Controller, flash memory apparatus, method for identifying data block stability, and method for storing data in flash memory apparatus
CN109697170B (en) Method for accessing flash memory module, related flash memory controller and electronic device
US20150074336A1 (en) Memory system, controller and method of controlling memory system
CN110727395A (en) Flash memory controller, method and storage device
US11372578B2 (en) Control method for flash memory controller and associated flash memory controller and memory device
US10942811B2 (en) Data processing method for solid state drive
CN114253483B (en) Command-based write cache management method and device, computer equipment and storage medium
CN109426436B (en) Variable large block-based garbage recycling method and device
US20230142948A1 (en) Techniques for managing context information for a storage device
CN117215832A (en) Mapping block delay processing method and device based on abnormal power failure and computer equipment
CN114816860A (en) Data recovery processing method and system based on solid state disk and computer equipment
CN111142792B (en) Power-down protection method of storage device
CN110389706B (en) Fingerprint recovery method and storage system
CN110489053B (en) Method for managing flash memory module, related flash memory controller and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination